Getting DateStyle Using C++ Library

Поиск
Список
Период
Сортировка
От Colin Taylor
Тема Getting DateStyle Using C++ Library
Дата
Msg-id 4B045DC53446D111A6CD00A0C949AB735E777D@TOBY
обсуждение исходный текст
Список pgsql-general
Hi,
I am new to the list, just joined this morning.
I am writing a PostGreSQL client using C++, and am having fun with the
DateStyle variable.
I can set the variable using exec("set DateStyle = 'European'").
But I am having fun reading the current setting.
I guess the start is exec("show DateStyle").
But then I get stuck.
How do I get the result of the exec("show DateStyle"), into a C++ variable,
for example.
Thanks,
Colin

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

Предыдущее
От: Rikul Patel
Дата:
Сообщение: Limit on number of queries from CGI or PHP (security)
Следующее
От: AGRE Enterprises
Дата:
Сообщение: Stumped on PlPgSql