Search Postgresql Archives

Re: PGDLLIMPORT: patch or not to patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George Tarasov <george.v.tarasov@xxxxxxxxx> writes:
> So, my questions are there any rules / descriptions / agreements inside 
> the PostgreSQL Project that define which global variables inside a core 
> code should by specified by a PGDLLIMPORT and which should not?? Or 
> there is freedom; you need this variable in the extension (under 
> Windows), make patch for it yourself! Or there is plan in the community 
> that all global non-static variables should be PGDLLIMPORT-ed by default 
> in the future?? What the right way to propose the PGDLLIMPORT patch to 
> the master and back-ported PostgreSQL code in order to avoid dup patches 
> in the extensions?

Our policy so far has been to add PGDLLIMPORT to variables for which
someone makes a case that an extension would have a reasonable use
for it.  The bar's not terribly high, but it does exist.  The idea of
just doing a blanket s/extern/extern PGDLLIMPORT/g has been discussed
and rejected, because we don't want to commit to supporting absolutely
every global variable as something that's okay for extensions to touch.

So if you've got specific proposals (such as "Mode"), bring them up
on pgsql-hackers.

			regards, tom lane





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux