Search Postgresql Archives

Re: Fetching Server configured port from C Module

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

 






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. 

[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 Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux