Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allows unix socket #62

Open
NicolasJungers opened this issue Mar 3, 2020 · 1 comment
Open

allows unix socket #62

NicolasJungers opened this issue Mar 3, 2020 · 1 comment

Comments

@NicolasJungers
Copy link

Hi,

The configuration example shows a network connection to localhost/127.0.01 and the psql connection string forces the use of the -h <host> parameter.

Would it be possible with an empty PGPOOLHOST to use a Local connection?

pool_connections=$(psql -A --field-separator=',' -p $PGPOOLPORT -U $PGPOOLROLE -d $PGPOOLDATABASE -t -X -c "${POOL}" 2>&1) should do the trick.

There should then no need to have a password set.

@pengbo0328
Copy link
Contributor

You want to connect to pgpool by usig a local connection.

You can add pgpool socket file directory in pgpool_funcs.conf.

PGPOOLHOST=<socket file directory>

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

No branches or pull requests

2 participants