From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | sferac(at)bo(dot)nettuno(dot)it (Jose' Soares Da Silva) |
Cc: | brett(at)work(dot)chicken(dot)org, pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] dump/reload |
Date: | 1998-06-03 13:00:11 |
Message-ID: | 199806031300.JAA06176@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(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)
From | Date | Subject | |
---|---|---|---|
Next Message | andre | 1998-06-03 14:15:31 | Buffer leak? |
Previous Message | Bruce Momjian | 1998-06-03 12:58:46 | Re: [HACKERS] keeping track of connections |