Re: [SQL] Determining the DATE format with libpq - Mailing list pgsql-sql

From Sebastien FLAESCH
Subject Re: [SQL] Determining the DATE format with libpq
Date
Msg-id ba3575db-7a3a-f1f7-1e22-8e6f044516bb@4js.com
Whole thread Raw
In response to Re: [SQL] Determining the DATE format with libpq  (Sebastien FLAESCH <sf@4js.com>)
List pgsql-sql
Seems that even if one can change the date style while fetching rows from a
server cursor, the date format returned by PQgetvalue() does not change in
the middle of a result set processing, which is obviously better.

So we just need to inspect the date format when opening the cursor and
stuck to that format for result set values processing.

Seb



pgsql-sql by date:

Previous
From: Sebastien FLAESCH
Date:
Subject: Re: [SQL] Determining the DATE format with libpq
Next
From: anand086
Date:
Subject: [SQL] Execute format Insert sql failing with query string argument ofEXECUTE is null for column with timestamp with timezone