From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Emanuel Araújo <eacshm(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to clone CURRENT_DATE to SYSDATE ? |
Date: | 2014-09-25 13:13:40 |
Message-ID: | 54241504.8070401@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 09/25/2014 03:24 AM, Emanuel Araújo wrote:
> Thank's Adrian,
>
> I want really create another CURRENT_DATE called SYSDATE.
>
> postgres=# SELECT CURRENT_DATE ;
> date
> ------------
> 2014-09-25
> (1 row)
>
> I need that:
>
> postgres=# SELECT SYSDATE ;
> date
> ------------
> 2014-09-25
>
> Because, I am trying SymmetricDS between Oracle and PostgreSQL, in my
> case, there are a lot of fields with "DEFAULT trunc(sysdate)". This
> situation break when I start the sincronization why the data type there
> isn't in PostgreSQL.
Best guess is the answer lies here:
http://www.symmetricds.org/doc/3.6/user-guide/html/config.html#configuration-transforms
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2014-09-25 13:58:00 | Re: Installing Postgresql on Linux Friendlyarm |
Previous Message | Michael Paquier | 2014-09-25 12:10:26 | Re: Synchronous replication + pgPool: not all transactions immediately visible on standby |