Re: createdb script bug in 7.3RC2? - Mailing list pgsql-bugs

From Jean-Christian Imbeault
Subject Re: createdb script bug in 7.3RC2?
Date
Msg-id 3DE4FE6E.8020104@mega-bucks.co.jp
Whole thread Raw
In response to createdb script bug in 7.3RC2?  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Responses Re: createdb script bug in 7.3RC2?
List pgsql-bugs
As a follow-up I get an error when dropping plpgsql and then trying to
re-create it ...

$ psql JC -c "drop language plpgsql cascade"
NOTICE:  Drop cascades to function cancell_all_li()
NOTICE:  Drop cascades to trigger insert_invoices on table invoices
NOTICE:  Drop cascades to function update_invoice_price()
NOTICE:  Drop cascades to trigger update_invoice_li_price on table
invoice_li
NOTICE:  Drop cascades to function max(date,date,date)
DROP LANGUAGE
$ createlang plpgsql JC
ERROR:  function plpgsql_call_handler already exists with same argument
types
createlang: language installation failed

Once a language is dropped I should be able to re-add it no? Or isn't
dropping it enough?

Jc

pgsql-bugs by date:

Previous
From: Szabó Roland
Date:
Subject: Pg_dump uses up RAM and swap space
Next
From: Jean-Christian Imbeault
Date:
Subject: Re: createdb script bug in 7.3RC2?