Re: [GENERAL] Allowing SYSDATE to Work

Lists: pgsql-generalpgsql-hackers
From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: pgsql-general(at)postgresql(dot)org
Subject: Allowing SYSDATE to Work
Date: 2006-11-17 22:26:37
Message-ID: 1163802397.5464.276316451@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

I'd like SYSDATE to work syntactically and semantically the same as
CURRENT_TIMESTAMP (or CURRENT_TIME, or whatever). I can create a
function called "sysdate" that does the trick, but then it seems I have
to reference the function as "sysdate ()," but I want to be able to get
away with just "sysdate." It seems that CURRENT_TIMESTAMP and their
friends are magic functions that can be referenced without an explicit
empty argument list.

I have much Oracle-specific code that references sysdate, and porting
would be easier if that syntax could work unchanged in Postgres.


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Allowing SYSDATE to Work
Date: 2006-11-17 22:31:07
Message-ID: 20061117223107.GF5293@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Matt Miller wrote:
> I'd like SYSDATE to work syntactically and semantically the same as
> CURRENT_TIMESTAMP (or CURRENT_TIME, or whatever). I can create a
> function called "sysdate" that does the trick, but then it seems I have
> to reference the function as "sysdate ()," but I want to be able to get
> away with just "sysdate." It seems that CURRENT_TIMESTAMP and their
> friends are magic functions that can be referenced without an explicit
> empty argument list.

current_time and the like are hardcoded in the grammar. You'd have to
do the same for sysdate. It's not hard, but then I'd question the
hassle of having to patch all the Postgres installations you're going to
want to run your code on.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Allowing SYSDATE to Work
Date: 2006-11-17 23:55:08
Message-ID: 455E4BDC.1090905@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/17/06 16:31, Alvaro Herrera wrote:
> Matt Miller wrote:
>> I'd like SYSDATE to work syntactically and semantically the same as
>> CURRENT_TIMESTAMP (or CURRENT_TIME, or whatever). I can create a
>> function called "sysdate" that does the trick, but then it seems I have
>> to reference the function as "sysdate ()," but I want to be able to get
>> away with just "sysdate." It seems that CURRENT_TIMESTAMP and their
>> friends are magic functions that can be referenced without an explicit
>> empty argument list.
>
> current_time and the like are hardcoded in the grammar. You'd have to
> do the same for sysdate. It's not hard, but then I'd question the
> hassle of having to patch all the Postgres installations you're going to
> want to run your code on.

Or is he asking that this feature be added to PG?

- --
Ron Johnson, Jr.
Jefferson LA USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFXkvcS9HxQb37XmcRAtwHAJ9+GBgAQHI9FoUhjGPmMgImb2cNfQCcC3zZ
2jk+k6ObhXKOZf+HV4j/OY8=
=5bRZ
-----END PGP SIGNATURE-----


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 00:05:29
Message-ID: 1163808329.14079.276325895@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Redirecting from -general.

> > I'd like SYSDATE to work syntactically and semantically the same as
> > CURRENT_TIMESTAMP
>
> current_time and the like are hardcoded in the grammar. You'd have to
> do the same for sysdate.

Okay, I patched. The patch follows. Please comment. In particular,
I've just copied the CURRENT_TIMESTAMP code block in gram.y. Is this
the best approach? I saw similar code copying between a couple of the
other time-related functions in gram.y. Can't keywords share code
blocks in bison?

I found it interesting that gram.c and parse.h already supported SYSDATE.
I patched only gram.y and keywords.c

> I'd question the hassle of having to patch all the Postgres
> installations you're going to want to run your code on.

Yeah, and I don't expect that they'll be a rush to commit this to head
anytime soon. I'll be happy enough tracking this locally. I think it's
a win for my situation.

===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/parser/gram.y,v
retrieving revision 2.568
diff -c -r2.568 gram.y
*** gram.y 5 Nov 2006 22:42:09 -0000 2.568
--- gram.y 17 Nov 2006 23:36:35 -0000
***************
*** 419,425 ****
SERIALIZABLE SESSION SESSION_USER SET SETOF SHARE
SHOW SIMILAR SIMPLE SMALLINT SOME STABLE START STATEMENT
STATISTICS STDIN STDOUT STORAGE STRICT_P SUBSTRING SUPERUSER_P SYMMETRIC
! SYSID SYSTEM_P

TABLE TABLESPACE TEMP TEMPLATE TEMPORARY THEN TIME TIMESTAMP
TO TRAILING TRANSACTION TREAT TRIGGER TRIM TRUE_P
--- 419,425 ----
SERIALIZABLE SESSION SESSION_USER SET SETOF SHARE
SHOW SIMILAR SIMPLE SMALLINT SOME STABLE START STATEMENT
STATISTICS STDIN STDOUT STORAGE STRICT_P SUBSTRING SUPERUSER_P SYMMETRIC
! SYSDATE SYSID SYSTEM_P

TABLE TABLESPACE TEMP TEMPLATE TEMPORARY THEN TIME TIMESTAMP
TO TRAILING TRANSACTION TREAT TRIGGER TRIM TRUE_P
***************
*** 7540,7545 ****
--- 7540,7559 ----
n->location = @1;
$$ = (Node *)n;
}
+ | SYSDATE
+ {
+ /*
+ * Translate as "now()", since we have a function that
+ * does exactly what is needed.
+ */
+ FuncCall *n = makeNode(FuncCall);
+ n->funcname = SystemFuncName("now");
+ n->args = NIL;
+ n->agg_star = FALSE;
+ n->agg_distinct = FALSE;
+ n->location = @1;
+ $$ = (Node *)n;
+ }
| CURRENT_TIMESTAMP '(' Iconst ')'
{
/*
***************
*** 8893,8898 ****
--- 8907,8913 ----
| SESSION_USER
| SOME
| SYMMETRIC
+ | SYSDATE
| TABLE
| THEN
| TO
Index: keywords.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/parser/keywords.c,v
retrieving revision 1.177
diff -c -r1.177 keywords.c
*** keywords.c 7 Oct 2006 21:51:02 -0000 1.177
--- keywords.c 17 Nov 2006 23:36:35 -0000
***************
*** 324,329 ****
--- 324,330 ----
{"substring", SUBSTRING},
{"superuser", SUPERUSER_P},
{"symmetric", SYMMETRIC},
+ {"sysdate", SYSDATE},
{"sysid", SYSID},
{"system", SYSTEM_P},
{"table", TABLE},


From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 01:29:26
Message-ID: 2874.24.211.165.134.1163813366.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Matt Miller wrote:
> Can't keywords share code

Code blocks belong to productions. the way to do what you want I think is
like this:

foo: bar_or_baz
{ code block }
;

bar_or_baz: bar | baz ;

cheers

andrew


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 01:30:00
Message-ID: 200611171730.00957.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Matt,

> > > I'd like SYSDATE to work syntactically and semantically the same as
> > > CURRENT_TIMESTAMP

Huh? Is SYSDATE part of the standard somewhere?

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 02:41:30
Message-ID: 23700.1163817690@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

"Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm> writes:
> I found it interesting that gram.c and parse.h already supported SYSDATE.

Only after you ran bison ;-). They're derived files.

regards, tom lane


From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 03:33:29
Message-ID: 20061118033329.GC3075@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Matt Miller wrote:

> Yeah, and I don't expect that they'll be a rush to commit this to head
> anytime soon. I'll be happy enough tracking this locally. I think it's
> a win for my situation.
>
Why should we add this Oraclism to PostgreSQL? I doesn't add any new
feature.
I suggest you to contribute this kind of code to orafce project [1]
because it's not standardized.

[1] http://pgfoundry.org/projects/orafce/

--
Euler Taveira de Oliveira
http://www.timbira.com/


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 07:47:21
Message-ID: 200611180847.22042.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Euler Taveira de Oliveira wrote:
> Matt Miller wrote:
> > Yeah, and I don't expect that they'll be a rush to commit this to
> > head anytime soon. I'll be happy enough tracking this locally. I
> > think it's a win for my situation.
>
> Why should we add this Oraclism to PostgreSQL? I doesn't add any new
> feature.

Certainly, this feature falls well within the class of completely
gratuitous proprietary extensions that we typically reject.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 15:29:00
Message-ID: 1163863740.13830.276380643@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> > Can't keywords share code
>
> the way to do what you want I think is
> like this:
>
> foo: bar_or_baz
> { code block }
> ;
>
> bar_or_baz: bar | baz ;

I'll try that, thanks.


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Euler Taveira de Oliveira" <euler(at)timbira(dot)com>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 15:38:21
Message-ID: 1163864301.14269.276381249@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> I suggest you to contribute this kind of code to orafce project [1]

Thanks, I'll go play over there for a while.


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 15:41:29
Message-ID: 1163864489.14487.276381461@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> > I found it interesting that gram.c and parse.h already supported SYSDATE.
>
> Only after you ran bison ;-). They're derived files.

Well, so much for my conspiracy theory.

Thanks for the bison lesson.


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Cc: "Euler Taveira de Oliveira" <euler(at)timbira(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 17:42:03
Message-ID: 1163871723.24644.276390321@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> > Why should we add this Oraclism to PostgreSQL? I doesn't add any new
> > feature.
>
> Certainly, this feature falls well within the class of completely
> gratuitous proprietary extensions that we typically reject.

I now agree completely. My purpose is to migrate Oracle databases to
Posgres, and I had thought that Oracle didn't support CURRENT_DATE,
CURRENT_TIMESTAMP, and so on. However, I've just learned otherwise. So,
I think the proper migration process for a production database would be
to first change the Oracle DB to use CURRENT_DATE (or some other
standard psuedo column), since that will work properly under both Oracle
and Postgres.


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Euler Taveira de Oliveira" <euler(at)timbira(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-18 23:34:31
Message-ID: 200611181534.31729.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Matt,

> I now agree completely. My purpose is to migrate Oracle databases to
> Posgres, and I had thought that Oracle didn't support CURRENT_DATE,
> CURRENT_TIMESTAMP, and so on. However, I've just learned otherwise. So,
> I think the proper migration process for a production database would be
> to first change the Oracle DB to use CURRENT_DATE (or some other
> standard psuedo column), since that will work properly under both Oracle
> and Postgres.

Yep, or use the Orafce project. We're happy to support compatibility syntax
in completely separate add-in projects. Just not in the core code.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-19 22:37:53
Message-ID: 20061119223752.GA6436@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Josh Berkus wrote:
> Matt,
>
> > I now agree completely. My purpose is to migrate Oracle databases to
> > Posgres, and I had thought that Oracle didn't support CURRENT_DATE,
> > CURRENT_TIMESTAMP, and so on. However, I've just learned otherwise. So,
> > I think the proper migration process for a production database would be
> > to first change the Oracle DB to use CURRENT_DATE (or some other
> > standard psuedo column), since that will work properly under both Oracle
> > and Postgres.
>
> Yep, or use the Orafce project. We're happy to support compatibility syntax
> in completely separate add-in projects. Just not in the core code.

How does Orafce allow for grammar extensions like what would be needed
for SYSDATE to work? (Note no parens)

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Euler Taveira de Oliveira" <euler(at)timbira(dot)com>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-20 15:07:21
Message-ID: 36e682920611200707y5e15bd7ep2e5e5cd456ceae9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On 11/19/06, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> How does Orafce allow for grammar extensions like what would be needed
> for SYSDATE to work? (Note no parens)

IIRC, it doesn't handle SYSDATE as that would require a change to the grammar.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/


From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-20 16:50:47
Message-ID: 65937bea0611200850q205ef2d8qe2a038e23cdd7340@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On 11/18/06, Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm> wrote:
>
> So,
> I think the proper migration process for a production database would be
> to first change the Oracle DB to use CURRENT_DATE (or some other
> standard psuedo column), since that will work properly under both Oracle
> and Postgres.
>

Correct approach. BTW, have you given EnterpriseDB a try?

--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com


From: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
To: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-11-21 18:59:49
Message-ID: 1164135589.14563.276843505@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> BTW, have you given EnterpriseDB a try?

I looked at it a year or more ago, but I decided it wasn't the type of
approach I wanted. I want to focus on getting Oracle DBs migrated to
Postgres proper. If I have to hack Postgres to ease the transition I'd
rather do that than migrate to another commercial offering.

Thanks for the reminder, though, I'll probably take another look, just
to see what they're up to.


From: "Jim Nasby" <jim(dot)nasby(at)enterprisedb(dot)com>
To: "Matt Miller" <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Allowing SYSDATE to Work
Date: 2006-11-24 19:32:11
Message-ID: 0B9BA73A-93FB-4139-B2BF-2245AB5BCF79@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On Nov 17, 2006, at 4:26 PM, Matt Miller wrote:
> I'd like SYSDATE to work syntactically and semantically the same as
> CURRENT_TIMESTAMP (or CURRENT_TIME, or whatever). I can create a
> function called "sysdate" that does the trick, but then it seems I
> have
> to reference the function as "sysdate ()," but I want to be able to
> get
> away with just "sysdate." It seems that CURRENT_TIMESTAMP and their
> friends are magic functions that can be referenced without an explicit
> empty argument list.
>
> I have much Oracle-specific code that references sysdate, and porting
> would be easier if that syntax could work unchanged in Postgres.

If you've got a lot of Oracle-specific code you might want to
consider using EnterpriseDB.
--
Jim Nasby jim(dot)nasby(at)enterprisedb(dot)com
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>, "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Allowing SYSDATE to Work
Date: 2006-12-01 00:40:48
Message-ID: 47C73E7A-3F37-422D-ADD2-72877D5F524D@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On Nov 21, 2006, at 10:59 AM, Matt Miller wrote:
>> BTW, have you given EnterpriseDB a try?
>
> I looked at it a year or more ago, but I decided it wasn't the type of
> approach I wanted. I want to focus on getting Oracle DBs migrated to
> Postgres proper. If I have to hack Postgres to ease the transition
> I'd
> rather do that than migrate to another commercial offering.
>
> Thanks for the reminder, though, I'll probably take another look, just
> to see what they're up to.

Well, EnterpriseDB supports both PostgreSQL and Oracle syntax, so it
does ease migration since you don't have to migrate every last piece
of code at once. It'd probably be worth your time to download it and
give it a try, but then again I'm biased. :)
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)