User Tools

Site Tools


soft:pgbouncer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
soft:pgbouncer [2019/08/07 16:22]
phil created
soft:pgbouncer [2019/08/07 18:58]
phil
Line 110: Line 110:
 % PGPASSWORD=wrong psql -p 6432 -U foo -d template1 -c 'select current_user;' % PGPASSWORD=wrong psql -p 6432 -U foo -d template1 -c 'select current_user;'
 psql: ERROR:  auth failed psql: ERROR:  auth failed
 +
 +% PGPASSWORD=bar createdb -p 6432 -U bar bar
 +createdb: database creation failed: ERROR:  permission denied to create database
 +
 +% PGPASSWORD=foo createdb -p 6432 -U foo foo
 +
 +% PGPASSWORD=foo psql -p 6432 -U foo -d foo -c 'select current_user;'
 + current_user 
 +--------------
 + foo
 +(1 row)
 </code> </code>
soft/pgbouncer.txt ยท Last modified: 2019/08/07 19:12 by phil