Getting DateStyle Using C++ Library - Mailing list pgsql-general

From Colin Taylor
Subject Getting DateStyle Using C++ Library
Date
Msg-id 4B045DC53446D111A6CD00A0C949AB735E777D@TOBY
Whole thread Raw
List 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 by date:

Previous
From: Rikul Patel
Date:
Subject: Limit on number of queries from CGI or PHP (security)
Next
From: AGRE Enterprises
Date:
Subject: Stumped on PlPgSql