aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execUtils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:08 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:08 +0000
commit599dba4aab4f3b91aac606ee7158b4dc9b252a63 (patch)
tree87d4f902b793d5d4b5f74e4c11db2577e69381e1 /src/backend/executor/execUtils.c
parentd494e685c580ae149639f4a380157996a7b61f74 (diff)
downloadpostgresql-599dba4aab4f3b91aac606ee7158b4dc9b252a63.tar.gz
postgresql-599dba4aab4f3b91aac606ee7158b4dc9b252a63.zip
Fix several problems in pg_dump's handling of SQL/MED objects, notably failure
to dump a PUBLIC user mapping correctly, as per bug #5560 from Shigeru Hanada. Use the pg_user_mappings view rather than trying to access pg_user_mapping directly, so that the code doesn't fail when run by a non-superuser. And clean up some minor carelessness such as unsafe usage of fmtId(). Back-patch to 8.4 where this code was added.
Diffstat (limited to 'src/backend/executor/execUtils.c')
0 files changed, 0 insertions, 0 deletions