Content-Length: 256608 | pFad | http://github.com/postgrespro/postgres/commit/39370e6a0ae6e92a79a50a9531b6a291cb2ee590

51 pg_dump: Fix typo in query · postgrespro/postgres@39370e6 · GitHub
Skip to content

Commit 39370e6

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 638d650 commit 39370e6

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
@@ -7160,7 +7160,7 @@ getProcLangs(Archive *fout, int *numProcLangs)
71607160
"FROM pg_language l "
71617161
"LEFT JOIN pg_init_privs pip ON "
71627162
"(l.oid = pip.objoid "
7163-
"AND pip.classoid = 'pg_type'::regclass "
7163+
"AND pip.classoid = 'pg_language'::regclass "
71647164
"AND pip.objsubid = 0) "
71657165
"WHERE l.lanispl "
71667166
"ORDER BY l.oid",

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/39370e6a0ae6e92a79a50a9531b6a291cb2ee590

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy