How to change the date in a postgres database via JDBC

Поиск
Список
Период
Сортировка
От niromon
Тема How to change the date in a postgres database via JDBC
Дата
Msg-id 27714250.post@talk.nabble.com
обсуждение исходный текст
Ответы Re: How to change the date in a postgres database via JDBC  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgsql-jdbc
Hi,

I need to build a JUnit test that involes to change the date of the database
during the test.
I know how to do that with Oracle :
ALTER SYSTEM SET fixed_date = '2003-01-01-10:00:00';

But I work with Postgres now and I've found nothing about it on the web.

Someone can help me ?

have a nice day.

Arnaud
--
View this message in context:
http://old.nabble.com/How-to-change-the-date-in-a-postgres-database-via-JDBC-tp27714250p27714250.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: COPY problem in JDBC driver
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: How to change the date in a postgres database via JDBC