Skip to content

Conversation

anasY2
Copy link
Contributor

@anasY2 anasY2 commented Aug 2, 2023

Adds appropriate authentication method in pg_hba.conf file sample that works with Postgres version 15.
Closes #4 .

@netlify
Copy link

netlify bot commented Aug 2, 2023

Deploy Preview for silly-marzipan-04567e ready!

Name Link
🔨 Latest commit 059c73d
🔍 Latest deploy log https://app.netlify.com/sites/silly-marzipan-04567e/deploys/64ca08e8826c97000875c499
😎 Deploy Preview https://deploy-preview-11--silly-marzipan-04567e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@selectiveduplicate
Copy link
Contributor

@robert-s-lee I think we need your review here. The issue only talks about adding the trust authentication method to each record. Does that mean we don't need to talk about the other auth-methods? If not, we can just edit the existing sample from this:

# allow remote replication connection from any client machine  to <username> (IPv4 + IPv6)
host     replication          <username>    0.0.0.0/0                        <auth-method>
host     replication          <username>    ::0/0                            <auth-method>

To this:

# allow remote replication connection from any client machine  to <username> (IPv4 + IPv6)
host     replication          <username>    0.0.0.0/0                        trust
host     replication          <username>    ::0/0                            trust

Copy pasting my comment from the first PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pg: ph_hba.conf suggestion on pg15 results in syntax error

2 participants