Unqualified pg_catalog casts in pg_dump - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Unqualified pg_catalog casts in pg_dump
Date
Msg-id 4AFB8CAD-3D7A-4231-AE42-3B71725A7EC1@yesql.se
Whole thread Raw
Responses Re: Unqualified pg_catalog casts in pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
When looking at something different, I happened to notice that pg_dump is a bit
inconsistent in how it qualifies casts to pg_catalog entities like regclass and
oid.  Most casts are qualified, but not all.  Even though it functionally is
the same, being consistent is a good thing IMO and I can't see a reason not to,
so the attached patch adds qualifications (the unqualified regclass cast in the
TAP test left on purpose).

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: [PATCH] Keeps tracking the uniqueness with UniqueKey
Next
From: Amit Kapila
Date:
Subject: Re: backup manifests