Re: ALTER TABLE ... NOREWRITE option

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: ALTER TABLE ... NOREWRITE option
Дата
Msg-id 000001cdd004$d33820d0$79a86270$@pjmodos.net
обсуждение исходный текст
Ответ на Re: ALTER TABLE ... NOREWRITE option  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-
> owner@postgresql.org] On Behalf Of Andres Freund
> Sent: 01 December 2012 21:40
> To: Josh Berkus
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] ALTER TABLE ... NOREWRITE option
> 
> On 2012-12-01 12:35:15 -0800, Josh Berkus wrote:
> >
> > > If you have a framework and you want to test for this you can just
> > > compare relfilenodes before/after.
> >
> > You're targeting the wrong users.  This feature isn't for helping you
> > or me.  It's for helping the Rails users.
> 
> I am not targeting anything. All I am saying is that if some framework
(not the
> framework's users!) wants to build something like that today its not all
that
> complicated.

I would prefer to be able to detect this *before* the rewrite happens though
when writing tooling.

Regards
Petr Jelinek




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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: --single-transaction hack to pg_upgrade does not work
Следующее
От: Phil Sorber
Дата:
Сообщение: Re: [WIP] pg_ping utility