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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared
Дата
Msg-id 21381.1262025958@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared  (momjian@postgresql.org (Bruce Momjian))
Ответы Re: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-committers
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.

            regards, tom lane

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

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add PGDLLIMPORT for binary_upgrade global variables so shared
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Remove PGDLLIMPORT used for binary upgrade; must be on the