Re: Example Database Script - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Example Database Script
Date
Msg-id 200011280700.CAA08344@candle.pha.pa.us
Whole thread Raw
In response to Re: Example Database Script  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> At 14:11 28/11/00 +0800, Christopher Kings-Lynne wrote:
> >Hi,
> >
> >Does anyone have a snippet of postgres SQL that will create a database with
> >_everything_ that postgres supports?  (ie. types, functions, constraints,
> >operators, everything...)
> 
> I tend to use my own databases (because the have lots of data), and the
> regression database (because it has a lot of PG things). When you find
> something missing from the regression DB, you might consider adding it...
> 
> Also, bear in mind that pg_dump does not work properly with the regression
> DB - something about column order in the CREATE TABLE vs. COPY statements,
> but there is only the one error.

The real test is to run the regression test, dump the database, reload
it into another db, do a dump of that db, and compare the original
regression dump with that one.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Full text Indexing -out of contrib and into main..
Next
From: Tom Samplonius
Date:
Subject: Re: 8192 BLCKSZ ?