| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
| Cc: | Christoph Berg <cb(at)df7cb(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: includedir_internal headers are not self-contained |
| Date: | 2014-04-28 15:29:14 |
| Message-ID: | 13145.1398698954@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> writes:
> On 04/28/2014 04:51 PM, Tom Lane wrote:
>> I'm not even worried about which headers this program uses. What I'm
>> worried about is that you've got CATALOG_VERSION_NO compiled into a
>> non-server executable. Is that really such a great idea? Wouldn't it be
>> better if pg_rewind did not depend on that? (Perhaps it should get the
>> database's catalog version out of the pg_control file, for example.)
> Sure, that would be better. Although I don't have much hope to make it
> completely version-independent. At the moment, pg_rewind explicitly
> reads the control file (yeah, it knows about that too), and checks that
> the catalog version matches what pg_rewind was compiled with.
... which might or might not be the same one that libpgcommon was compiled
with, no? I don't think you're really protecting yourself against version
skew that way.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2014-04-28 15:32:15 | Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-( |
| Previous Message | Tom Lane | 2014-04-28 15:19:46 | Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-( |