Aloha!

I am testing Guillaume's version of pgadmin3.exe from Apr. 17.

The fix below is included and it seems to fix the problem just fine. However, as a side effect (?) there is now a redundant statement for each and every column:
    ALTER TABLE foo ALTER COLUMN bar SET STORAGE PLAIN;
or
    ALTER TABLE foo ALTER COLUMN baz SET STORAGE EXTENDED;

I think those statements should only be included, if the storage type differs from the default setting - like "SET STATISTICS" is handled now.
It is pretty noisy as it is now.

On a side note: I would handle "WITH (OIDS=FALSE)" for table definitions likewise: only print it, if it differs from the default setting.


Regards
Erwin


On 03.04.2010 11:46, guilla...@lelarge.info wrote:
Le 03/04/2010 11:19, Dave Page a écrit :
On Sat, Apr 3, 2010 at 4:01 AM, Guillaume Lelarge
<guilla...@lelarge.info>  wrote:
OK, I have a patch (attached) that seems to work. It adds some
functions, and I'm not sure I should push this into the 1.10 branch.
What do you guys think about this? only in trunk or in trunk and in the
1.10 branch?
Seems like a bug fix to me, so I say 1.10.

OK, commited to both branches.

Thanks.

--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to