> -----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