| From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
|---|---|
| To: | John Sidney-Woollett <johnsw(at)wardbrook(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Missing OID rant |
| Date: | 2004-04-22 16:04:57 |
| Message-ID: | 20040422160457.GA3292@dcc.uchile.cl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, Apr 22, 2004 at 02:07:39PM +0100, John Sidney-Woollett wrote:
> There are loads of instances (db in flux, move table to another schema
> etc) why you might want/need to drop a table, and recreate it. But in
> Postgres, you have to reapply all DDL statements to the db that referenced
> that dropped/recreated object - this is just not fun!
Actually, in your example the only thing you need to do is close the
connection and reconnect. I agree it would be nice to recompile the
function automatically, but it's not as bad as you put it.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Sallah, I said NO camels! That's FIVE camels; can't you count?"
(Indiana Jones)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joshua D. Drake | 2004-04-22 16:09:26 | Re: FW: Postgres alongside MS SQL Server |
| Previous Message | John Sidney-Woollett | 2004-04-22 15:51:11 | Re: Missing OID rant |