Re: Fix dumping pre-10 DBs by pg_dump10 if table "name" exists
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vitaly Burovoy <vitaly.burovoy@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-10-31T17:42:41Z
Lists: pgsql-hackers
Vitaly Burovoy <vitaly.burovoy@gmail.com> writes: > I left an other "NULL::name AS rolname" at > src/bin/pg_dump/pg_dump.c:2978 because can't check (remoteVersion < > 90000) it and it is under strict "selectSourceSchema(fout, > "pg_catalog");" schema set. Yeah, there are quite a few unqualified casts in pg_dump, but AFAICS all the rest are OK because the search_path is just pg_catalog. But I did find psql's describe.c making a similar mistake :-(. Pushed that along with your fix. regards, tom lane
Commits
-
In client support of v10 features, use standard schema handling.
- f4e13963ca88 10.1 landed
- 51f4d3ed7ea4 11.0 landed
-
Fix underqualified cast-target type names in pg_dump and psql queries.
- 9cf2b854a59d 10.1 landed
- 080351466c5a 11.0 landed
-
Add CREATE SEQUENCE AS <data type> clause
- 2ea5b06c7a70 10.0 cited
-
pg_dump: Fix some schema issues when dumping sequences
- da4d1c0c15ab 10.0 cited