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)

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to