Getting DateStyle Using C++ Library

From: Colin Taylor <Colin_Taylor(at)portasystemsdev(dot)com>
To: "Pgsql Mailing List (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Getting DateStyle Using C++ Library
Date: 2000-10-17 08:14:03
Message-ID: 4B045DC53446D111A6CD00A0C949AB735E777D@TOBY
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Alfred Perlstein 2000-10-17 08:28:04 Re: Limit on number of queries from CGI or PHP (security)
Previous Message AGRE Enterprises 2000-10-17 08:12:36 Stumped on PlPgSql