Re: MERGE vs REPLACE
От | Jaime Casanova |
---|---|
Тема | Re: MERGE vs REPLACE |
Дата | |
Msg-id | c2d9e70e0511221056v3cf9f62s254d7b754af3b351@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: MERGE vs REPLACE (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
On 11/22/05, Bruce Momjian <pgman@candle.pha.pa.us> wrote: > Jaime Casanova wrote: > > > > > > And yes merge CAN be used to do REPLACE (oracle uses their dummy table > > > for this, we can use the fact that FROM clause isn't required in postgres). > > > > > > > the FROM clause is required by default (starting with 8.1) unless you > > change a postgresql.conf parameter. > > > > and i don't think that idea will have any fan... > > No, it is not, try SELECT 1. Oracle requires SELECT 1 FROM dual. The > change in 8.1 is that SELECT pg_class.relname no longer works. You have to > do SELECT relname FROM pg_class. > > -- > Bruce Momjian | http://candle.pha.pa.us > pgman@candle.pha.pa.us | (610) 359-1001 > + If your life is a hard drive, | 13 Roberts Road > + Christ can be your backup. | Newtown Square, Pennsylvania 19073 > touche... -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)
В списке pgsql-hackers по дате отправления: