Skip site navigation (1) Skip section navigation (2)

inserting time_t into timestamp field(C language)

From: Cal McPherson <calm(at)adtec(dot)com(dot)au>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: inserting time_t into timestamp field(C language)
Date: 2004-03-17 00:29:10
Message-ID: 65ED19764468D411A6AF006094EA0F3B275D73@SERVER (view raw or flat)
Thread:
Lists: pgsql-interfaces
What is the most efficient way to convert a time_t struct so that I can
insert it into a timestamp field.

Cal McPherson
Software Engineer
ADTEC Communications
Phone: +612 9213 9917 Fax: +612 9281 7575
Email: calm(at)adtec(dot)com(dot)au
Web: www.adtec.com.au


Responses

pgsql-interfaces by date

Next:From: Jonathan GardnerDate: 2004-03-17 01:43:17
Subject: Extending PlPythonU
Previous:From: Tom LaneDate: 2004-03-16 15:40:52
Subject: Re: DataType OID for PQexecParams-call in libpq

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group