summaryrefslogtreecommitdiff
path: root/src/backend/parser/scansup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:16 +0000
commitfa2dbb6800f974372399e58b1b405b57acf37547 (patch)
treec8297d6cc24cb1492d88ef183abc8236737988ef /src/backend/parser/scansup.c
parent89ddf54fe5d6a374ffdd6f1eab74beb286ba0d23 (diff)
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/parser/scansup.c')
0 files changed, 0 insertions, 0 deletions