projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba903a
)
pg_dump: Fix typo in query
author
Peter Eisentraut
Fri, 17 Feb 2017 20:06:34 +0000
(15:06 -0500)
committer
Peter Eisentraut
Fri, 17 Feb 2017 20:06:34 +0000
(15:06 -0500)
This could lead to incorrect dumping of language privileges in some
cases, which is probably a rare situation.
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index ea64c77621cc9a1d9dc52f3fe30ed4e31c87770e..2306735a5e21a38949a573358ab1b3cf9ba6bbf4 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
src/bin/pg_dump/pg_dump.c
@@
-7260,7
+7260,7
@@
getProcLangs(Archive *fout, int *numProcLangs)
"FROM pg_language l "
"LEFT JOIN pg_init_privs pip ON "
"(l.oid = pip.objoid "
- "AND pip.classoid = 'pg_
typ
e'::regclass "
+ "AND pip.classoid = 'pg_
languag
e'::regclass "
"AND pip.objsubid = 0) "
"WHERE l.lanispl "
"ORDER BY l.oid",