On Fri, Jun 17, 2011 at 6:39 PM, Thom Brown <thom@linux.com> wrote:
> On 17 June 2011 18:18, Thom Brown <thom@linux.com> wrote:
>> On 17 June 2011 18:16, Thom Brown <thom@linux.com> wrote:
>>
>>> Very well then. Dodgy patch attached.
>>
>> And again without ugly whitespace.
>
> Erk... just been trying to break it and found that this generates the
> alter statement every time once the value has been set, so fixed that
> too (attached).
LOL. The patch looks great as far as it goes - not at all dodgy. It
currently only affects tables though - you need to do roughly the same
thing in dlgIndex.cpp and dlgIndexConstraint.cpp to cover the cases
you reported :-)
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company