aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-07-14 21:21:23 +0000
commit7fce4dc6cc27e9421e06cedbf90f2668e1998fc4 (patch)
treeb02463e732fef2bdc2f64faa3bea0cf28867709f /src/backend/parser/parse_expr.c
parentba1dfcec9624d12f008e4e2d27a40a2d18b8479c (diff)
downloadpostgresql-7fce4dc6cc27e9421e06cedbf90f2668e1998fc4.tar.gz
postgresql-7fce4dc6cc27e9421e06cedbf90f2668e1998fc4.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/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions