Re: SET DATESTYLE to time_t style for client libraries?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adam Haberlach <adam(at)newsnipple(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SET DATESTYLE to time_t style for client libraries?
Date: 2002-01-03 15:05:24
Message-ID: 12650.1010070324@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Adam Haberlach <adam(at)newsnipple(dot)com> writes:
> Is there a better way?

SELECT EXTRACT(epoch FROM timestamp-value)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2002-01-03 15:11:13 Re: PGSQL - FAQ 4.1
Previous Message Reinoud van Leeuwen 2002-01-03 14:11:11 setof (more than one column)