> CREATE TABLE example > ( example_id serial > > -- Must be a ZIP or Postal Code > , region varchar(6) > > -- Descriptive text > , description varchar(60) > ); Actually - this is something I _could_ do. As the pg_dump is running, it shouldn't be too hard to select the comment associated with each entity as it is being dumped. ie. In the example above, the comments for each attribute would be retrieved from pg_description (or whatever) and output as '-- ...' comments. Then, if the COMMENT ON statements are also still dumped at the bottom, you get the ability to see comments conveniently in your dump, but with the ability to still hand-edit them before restoring the dump... Chris
- Re: [HACKERS] Table/Column Constraints Tom Lane
- Re: [HACKERS] Table/Column Constraints Hannu Krosing
- Re: [HACKERS] Table/Column Constraints Ross J. Reedstrom
- Re: [HACKERS] Table/Column Constraint... Tom Lane
- RE: [HACKERS] Table/Column Constr... Christopher Kings-Lynne
- Re: [HACKERS] Table/Column C... Tom Lane
- Re: [HACKERS] Table/Colu... Rod Taylor
- RE: [HACKERS] Table/Colu... Christopher Kings-Lynne
- Re: [HACKERS] Table/Colu... Rod Taylor
- Re: [HACKERS] Table/Colu... Philip Warner
- RE: [HACKERS] Table/Colu... Christopher Kings-Lynne
- RE: [HACKERS] Table/Colu... Philip Warner
- RE: [HACKERS] Table/Colu... Christopher Kings-Lynne
- Re: [HACKERS] Table/Colu... Tom Lane
- RE: [HACKERS] Table/Colu... Christopher Kings-Lynne
- Re: [HACKERS] Table/Colu... Larry Rosenman
- Re: [HACKERS] Table/Colu... Thomas Lockhart
- Re: [HACKERS] Table/Colu... Karl DeBisschop
- Re: [HACKERS] Table/Colu... Don Baccus
- RE: [HACKERS] Table/Colu... Stephan Szabo
- Re: [HACKERS] Table/Colu... Don Baccus