]> granicus.if.org Git - pgbouncer/commitdiff
doc: auth_query - mention that function is run in target db
authorMarko Kreen <markokr@gmail.com>
Tue, 20 Dec 2016 10:39:25 +0000 (12:39 +0200)
committerMarko Kreen <markokr@gmail.com>
Tue, 20 Dec 2016 10:39:25 +0000 (12:39 +0200)
doc/config.rst

index 8f836f6090f4f23c00d85383b86fbabf49b30dc8..49750a1e6c44c3cdfeb077882c82c26379f0324a 100644 (file)
@@ -144,6 +144,9 @@ Query to load user's password from database.
 Direct access to pg_shadow requires admin rights.  It's preferable to
 use non-admin user that calls SECURITY DEFINER function instead.
 
+Note that the query is run inside target database, so if a function
+is used it needs to be installed into each database.
+
 Default: ``SELECT usename, passwd FROM pg_shadow WHERE usename=$1``
 
 pool_mode