Re: [GENERAL] Allowing SYSDATE to Work

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [GENERAL] Allowing SYSDATE to Work
Дата
Msg-id 20061119223752.GA6436@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Allowing SYSDATE to Work  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: [GENERAL] Allowing SYSDATE to Work  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Список 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.


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Nasty VACUUM/bgwriter/segmentation bug
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: [Fwd: Index Advisor]