From: niromon <morin.arnaud@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: How to change the date in a postgres database via JDBC
Date: Wed, 24 Feb 2010 09:00:12 -0800 (PST)
Message-ID: <27714250.post@talk.nabble.com> (raw)
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.htm...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: morin.arnaud@gmail.com
Subject: Re: How to change the date in a postgres database via JDBC
In-Reply-To: <27714250.post@talk.nabble.com>
References: <27714250.post@talk.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox