Re: currawong is not a happy animal - Mailing list pgsql-hackers

From Tom Lane
Subject Re: currawong is not a happy animal
Date
Msg-id 19486.1390064057@sss.pgh.pa.us
Whole thread Raw
In response to Re: currawong is not a happy animal  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: currawong is not a happy animal
List pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes:
> Is there any specific reason why adding PGDLLIMPORT for exporting
> const variables is not good, when we are already doing for other variables
> like InterruptHoldoffCount, CritSectionCount?

> On searching in code, I found that for few const variables we do
> extern PGDLLIMPORT. For example:
> extern PGDLLIMPORT const int NumScanKeywords;

OK, that one is a direct counterexample to my worry.

I'm still unconvinced that having a contrib module checking stuff based
on the size of a struct it's not supposed to access represents a sane
division of responsibilities; but let's fix the build problem now and
then Robert can contemplate that question at his leisure.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Changeset Extraction v7.0 (was logical changeset generation)
Next
From: Tom Lane
Date:
Subject: Re: Changeset Extraction v7.0 (was logical changeset generation)