any way to convert date via libpq?

Поиск
Список
Период
Сортировка
От Tena Sakai
Тема any way to convert date via libpq?
Дата
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C0378F7CE@egcrc-ex01.egcrc.org
обсуждение исходный текст
Ответы Re: any way to convert date via libpq?  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-admin

Hi Everybody,

I have a C program to read a postgres table.  One of
the columns of this table is defined as:

  timestamp without time zone

Is there any routine/function that I can use to convert
this field/column value into unix/linux style date for
comparison purpose?

Thank you.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu

В списке pgsql-admin по дате отправления:

Предыдущее
От: Shoaib Mir
Дата:
Сообщение: Re: how to figure out how long a query takes in the pg log file...
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: any way to convert date via libpq?