Re: Example Database Script - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Example Database Script
Date
Msg-id 3.0.5.32.20001128174717.00a67580@mail.rhyme.com.au
Whole thread Raw
In response to Example Database Script  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Example Database Script  (Bruce Momjian <pgman@candle.pha.pa.us>)
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.




----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: Constraint names using 'user namespace'?
Next
From: Bruce Momjian
Date:
Subject: Re: 8192 BLCKSZ ?