> > > % 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(at)candle(dot)pha(dot)pa(dot)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)
In response to
pgsql-hackers by date
| Next: | From: andre | Date: 1998-06-03 14:15:31 |
| Subject: Buffer leak? |
| Previous: | From: Bruce Momjian | Date: 1998-06-03 12:58:46 |
| Subject: Re: [HACKERS] keeping track of connections |