Azure PG edit pg_ident.conf

Michelle Schwan 1 Reputation point
2020-09-23T16:30:29.487+00:00

I was wondering if it was possible to edit the pg_ident.conf file.
I am hoping that a mapping will resolve the issue our application is having with the @hostname.
I want to avoid changing the code.
I can currently connect to Google PostgreSQL without any issues (or changing code) as they do not use @hostname.
If the mapping for @hostname is supported, how does the pg_ident and pg_hba conf files look?

Thanks

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Ubezzi 2,776 Reputation points
    2020-09-25T02:25:56.223+00:00

    Hi @Michelle Schwan - Are you using Azure Database for PostgreSQL or do you have PostgreSQL Server deployed to an Azure VM? If you are using the DB PaaS (Azure Database for PostgreSQL) you do not have access to the file system to edit these files. What are you attempting to accomplish?

    Reference
    [Google Docs] How to set up PostgreSQL for high availability and replication with Hot Standby (link)
    [MicrosoftDocs] Install and configure PostgreSQL on Azure VM (link)
    [MicrosoftDocs] High availability concepts in Azure Database for PostgreSQL - Flexible Server (link)

    1 person found this answer helpful.
    0 comments No comments