Re: Example Database Script
От | Bruce Momjian |
---|---|
Тема | Re: Example Database Script |
Дата | |
Msg-id | 200011280700.CAA08344@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Example Database Script (Philip Warner <pjw@rhyme.com.au>) |
Список | 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 по дате отправления: