Re: [HACKERS] dump/reload - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] dump/reload
Date
Msg-id 199806031300.JAA06176@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] dump/reload  ("Jose' Soares Da Silva" <sferac@bo.nettuno.it>)
List pgsql-hackers
> > > % pg_dump postgres > tmpfile
> > > % cat tmpfile
> > > \connect - postgres
> > > CREATE TABLE a (b int4 DEFAULT foo ( ));
> > > \connect - postgres
> > > CREATE FUNCTION foo ( ) RETURNS int4 AS 'select 1' LANGUAGE 'SQL';
> > > COPY a FROM stdin;
> > > \.
> > > % destroydb
> > > % createdb
> > > % psql < tmpfile
> > >


Yes, I have this in my mailbox.  Doesn't hurt to be reminded though.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] keeping track of connections
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [PATCHES] Postgres-6.3.2 locale patch