Content-Length: 256025 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4e8b2fd335a913a09f32cc0f51b6f03405631cbb

DE pg_dump: Fix typo in query · postgrespro/postgres_cluster@4e8b2fd · GitHub
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)








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_cluster/commit/4e8b2fd335a913a09f32cc0f51b6f03405631cbb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy