Re: Fetching Server configured port from C Module

Поиск
Список
Период
Сортировка
От Mike Roest
Тема Re: Fetching Server configured port from C Module
Дата
Msg-id CAE7ByhiRXMhOS9R_GAciniq-ZaPe7hTe_xwP4m=HPqoysoGzsg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fetching Server configured port from C Module  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Fetching Server configured port from C Module
Список pgsql-general



SHOW PORT;
 test=> SELECT setting FROM pg_settings WHERE name = 'port';
         setting
        ---------
         5432
  
Both of these are from a query context.  This is in a C module, I suppose I could run a query but there has to be a direct C function to get this data. 

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Fetching Server configured port from C Module
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fetching Server configured port from C Module