Skip site navigation (1) Skip section navigation (2)

Re: Example Database Script

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Pgsql-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Example Database Script
Date: 2000-11-28 07:00:09
Message-ID: 200011280700.CAA08344@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: john huttleyDate: 2000-11-28 07:53:42
Subject: Re: Full text Indexing -out of contrib and into main..
Previous:From: Bruce MomjianDate: 2000-11-28 06:56:26
Subject: Re: Full text Indexing -out of contrib and into main..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group