Skip to content

Instantly share code, notes, and snippets.

@calebsullivan
Created April 28, 2016 20:34
Show Gist options
  • Select an option

  • Save calebsullivan/8a0cb8c95c8723c04d9ef70b5fbd9324 to your computer and use it in GitHub Desktop.

Select an option

Save calebsullivan/8a0cb8c95c8723c04d9ef70b5fbd9324 to your computer and use it in GitHub Desktop.

Revisions

  1. Caleb Sullivan revised this gist Apr 28, 2016. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion pg helpful things
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,10 @@ SHOW config_file;
    # modify listen_interfaces = '*'

    SHOW hba_file;
    # modify allowed hosts /0
    # modify allowed hosts /0


    pg_hba.conf
    host all all 0.0.0.0/0 md5
    postgresql.conf
    listen_addresses='*'
  2. Caleb Sullivan created this gist Apr 28, 2016.
    5 changes: 5 additions & 0 deletions pg helpful things
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    SHOW config_file;
    # modify listen_interfaces = '*'

    SHOW hba_file;
    # modify allowed hosts /0