Review for pg_dump: Sort overloaded functions in deterministic order

From: Joachim Wieland <joe(at)mcknight(dot)de>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Review for pg_dump: Sort overloaded functions in deterministic order
Date: 2012-09-26 02:01:13
Message-ID: CACw0+10=JN6jHQxhVZ1UhmLEgOXNyn0iZXdZmQxj309xn0ZMrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-09-26 02:34:55 Re: _FORTIFY_SOURCE by default?
Previous Message Robert Haas 2012-09-26 00:56:15 Re: Oid registry