Vicky Vergara <vicky_verg...@hotmail.com> writes: > From this message: > https://www.postgresql.org/message-id/1585.1472410329%40sss.pgh.pa.us > I deduced that in the code I can use > PG_CATALOG_VERSION
No, sorry, thinko on my part. It's CATALOG_VERSION_NO, from <catalog/catversion.h>, that people usually use for this sort of thing. That gives you finer grain than PG_VERSION would, although that only matters if you're concerned about working with development versions. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers