Skip to content

Commit 4e8b2fd

Browse files
committed
pg_dump: Fix typo in query
This could lead to incorrect dumping of language privileges in some cases, which is probably a rare situation.
1 parent 7ba903a commit 4e8b2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7260,7 +7260,7 @@ getProcLangs(Archive *fout, int *numProcLangs)
72607260
"FROM pg_language l "
72617261
"LEFT JOIN pg_init_privs pip ON "
72627262
"(l.oid = pip.objoid "
7263-
"AND pip.classoid = 'pg_type'::regclass "
7263+
"AND pip.classoid = 'pg_language'::regclass "
72647264
"AND pip.objsubid = 0) "
72657265
"WHERE l.lanispl "
72667266
"ORDER BY l.oid",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy