Re: ALTER TABLE ... REPLACE WITH

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: ALTER TABLE ... REPLACE WITH
Дата
Msg-id
1295128923.3282.126.camel@ebony
Ответ на
Список
Дерево обсуждения
Re: ALTER TABLE ... REPLACE WITH "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: ALTER TABLE ... REPLACE WITH Robert Haas <robertmhaas@gmail.com>
On Tue, 2010-12-14 at 19:48 +0000, Simon Riggs wrote:
> On Tue, 2010-12-14 at 11:34 -0800, Josh Berkus wrote:
> > As for the utility of this command: there is no question that I would
> > use it.  I'm not sure I like the syntax (I'd prefer REPLACE TABLE ____
> > WITH _____), but that's painting the bike shed.
> 
> REPLACE TABLE ying WITH yang
> 
> is probably easier to implement than hacking at the ALTER TABLE code
> mountain. 
> 
> >   While the command may
> > appear frivolous and unnecessary syntactical ornamentation to some, I
> > have to say that doing the "table doesy-doe" which this command
> > addresses is something I have written scripts for on at least 50% of
> > my professional clients.  It keeps coming up. 
> 
> Yeh.

Patch. Needs work.

-- 
 Simon Riggs           http://www.2ndQuadrant.com/books/
 PostgreSQL Development, 24x7 Support, Training and Services
 
В списке pgsql-hackers по дате отправления
От: Magnus Hagander
Дата:
Сообщение: Re: Sync Rep for 2011CF1
От: Dimitri Fontaine
Дата:
FAQ