On 12/13/2016 10:33 AM, Tom Lane wrote:
Jesper Pedersen <jesper.peder...@redhat.com> writes:
Attached is a new builtin function that exposes the CATALOG_VERSION_NO
constant under the pg_catversion() function, e.g.
I'm pretty sure that we intentionally didn't expose that, reasoning that
users should only care about the user-visible version number. What
exactly is the argument for exposing this?
I'm using it to get the catalog version from a running instance in order
to figure out if a dump/restore is needed for the next daily build --
instead of keeping the catversion.h file around for each installation,
with script magic.
Test databases are external to PostgreSQL's test suite, and one is quite
big, so "cp" is faster than dump/restore :)
But I understand your concern, so "Rejected" is ok under
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: