Re: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared
Дата
Msg-id 200912281849.nBSInGY08632@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> momjian@postgresql.org (Bruce Momjian) writes:
> > Log Message:
> > -----------
> > Add PGDLLIMPORT for binary_upgrade global variables so shared object
> > libraries can access them.
>
> This change is useless, and contrary to our coding standards elsewhere.
> You need PGDLLIMPORT on the externs seen by the loadable module.  We
> don't put it on the actual variable definitions.

Thanks, I will make the necessary adjustments.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Remove PGDLLIMPORT used for binary upgrade; must be on the
Следующее
От: bmomjian@pgfoundry.org (User Bmomjian)
Дата:
Сообщение: pg-migrator - pg_migrator: Stamp 8.4.9.