Re: Review for pg_dump: Sort overloaded functions in deterministic order - Mailing list pgsql-hackers

From Joel Jacobson
Subject Re: Review for pg_dump: Sort overloaded functions in deterministic order
Date
Msg-id CAASwCXcHgEoM7CiOahL54GEMDpyuUU81nEOpXdCdn60_+UZ5VA@mail.gmail.com
Whole thread Raw
In response to Review for pg_dump: Sort overloaded functions in deterministic order  (Joachim Wieland <joe@mcknight.de>)
Responses Re: Review for pg_dump: Sort overloaded functions in deterministic order  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi Joachim,

Attached, please find new patch. Test unchanged.

Best regards,

Joel

> Patch looks good, all concerns that had been raised previously have
> been addressed in this version of the patch.
>
> The only thing that IMO needs to change is a stylistic issue:
>
> if (fout->remoteVersion >= 80200)
> {
>     [...]
>     (fout->remoteVersion >= 80400) ?
> "pg_catalog.pg_get_function_identity_arguments(oid)" : "NULL::text",
>     [...]
> }
>
> Please just create a whole new
>
> if (fout->remoteVersion >= 80400)
> {
>    [...]
> }
>
> here.
>
> Other than that, the feature works as advertised and does not
> negatively affect runtime or memory consumption (the new field is only
> added to functions / aggregates).
>
> Please send a new version of the patch that changes the above
> mentioned item, the patch also needs rebasing (off by a couple of
> lines).

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] pg_upgrade not detecting version properly
Next
From: Tomas Vondra
Date:
Subject: Re: change in LOCK behavior