OSDN Git Service

It has been tested only against CVS backend, however. Some checking of the
authorBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 06:26:30 +0000 (06:26 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 06:26:30 +0000 (06:26 +0000)
commit1b3d4cefe8e025a40e3a795f311d4711178366e9
treedd2096334345d355eb157f2e473e21ceddbeeaa4
parent44aba280207740d0956160c0288e61f28f024a71
It has been tested only against CVS backend, however.  Some checking of the
changes to the SQL to retrieve attributes for older versions of Postgres is
probably wise.  Also, please make sure that I have mapped the storage types
to the correct storage names, as this is relatively poorly documented.

I think that this patch might need to be considered for back-porting to
7.3.3 since at the moment, people will be losing valuable information after
upgrades.

Will dump:

CREATE TABLE test (
    a text,
    b text,
    c text,
    d text
);
ALTER TABLE ONLY test ALTER COLUMN a SET STATISTICS 55;
ALTER TABLE ONLY test ALTER COLUMN a SET STORAGE PLAIN;
ALTER TABLE ONLY test ALTER COLUMN b SET STATISTICS 1000;
ALTER TABLE ONLY test ALTER COLUMN c SET STORAGE EXTERNAL;
ALTER TABLE ONLY test ALTER COLUMN d SET STORAGE MAIN;

Christopher Kings-Lynne
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h