Re: ECPG - Timestamp to ascii Conversion PG version 7.4 - Mailing list pgsql-general

From Michael Meskes
Subject Re: ECPG - Timestamp to ascii Conversion PG version 7.4
Date
Msg-id 20050506204949.GA15070@1
Whole thread Raw
In response to ECPG - Timestamp to ascii Conversion PG version 7.4  (Don Laurine <donald.laurine@noaa.gov>)
List pgsql-general
On Thu, May 05, 2005 at 11:07:10AM -0700, Don Laurine wrote:
> We are currently transitioning to Postgresql 7.4 from Informix. IN ECPG,
> is there a Postgresql function which will convert the timestamp data
> type to a string equivalent.  INFORMIX has the dtcvasc function but I
> prefer not to use the -C compatibility option. I rather have a complete
> port and get away from INFORMIX.

There is. You can use PGTYPEStimestamp_from_asc instead. You just have
to link against pgtypeslib.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_ctl bug or feature?
Next
From: Paul Thomas
Date:
Subject: Re: Question about running "Vacuum" through JDBC