Re: help with "plpgsql" - Mailing list pgsql-general

From Pau Marc Munoz Torres
Subject Re: help with "plpgsql"
Date
Msg-id 19b5841a0804210851n56f5382y754e9463695a06c7@mail.gmail.com
Whole thread Raw
Responses Re: help with "plpgsql"  (Craig Ringer <craig@postnewspapers.com.au>)
Re: help with "plpgsql"  (Christophe <xof@thebuild.com>)
Re: help with "plpgsql"  (Shane Ambler <pgsql@Sheeky.Biz>)
List pgsql-general
Hi everybody

I trying to upload some plpsql functions to postgresql database using a perl script and i get the following error


 psql:/usr/local/Make2D-DB_II
/pgsql/make2db_functions.pgsql:85: ERROR:  language "plpgsql" does not exist
HINT:  Use CREATE LANGUAGE to load the language into the database.


and then when I try to create the language, i get

geldb=# CREATE LANGUAGE plpgsql;

ERROR:  language "plpgsql" already exists

anybody knows what's wrong?

Thanks

--
Pau Marc Muñoz Torres

Laboratori de Biologia Computacional  
Institut de  Biotecnologia   i Biomedicina Vicent Villar                                    
Universitat Autonoma de Barcelona
E-08193 Bellaterra (Barcelona)
              
telèfon: 93 5812807
Email : paumarc.munoz@bioinf.uab.cat

pgsql-general by date:

Previous
From: David Wall
Date:
Subject: Re: JDBC addBatch more efficient?
Next
From: Craig Ringer
Date:
Subject: Re: help with "plpgsql"