From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Vicky Vergara <vicky_vergara(at)hotmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Location of PG_CATALOG_VERSION |
Date: | 2017-05-22 01:28:17 |
Message-ID: | 63987.1495416497@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Vicky Vergara <vicky_vergara(at)hotmail(dot)com> writes:
> From this message:
> /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
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2017-05-22 01:36:40 | Fix a typo in hash.c |
Previous Message | Vicky Vergara | 2017-05-22 01:14:08 | Location of PG_CATALOG_VERSION |