Juan Ramón Cortabitarte wrote:
> Hello,
>
> I'm trying to do some store procedure in pl/pgsql but the sql server says
> me:
>
> Error: ERROR: Unrecognized language specified in a CREATE FUNCTION:
> 'plpgsql'. Recognized languages are sql, C, internal and the created
> procedural languages.
>
> I´m using Red Hat Linux 7.0 and Postgress 7.02.
> i executed:
>
> #createlang plpgsql dbhtc
>
> createlang: missing required argument PGLIB directory
createlang --username=postgres --dbname=yourdb --pglib=/usr/lib/pgsql plpgsql
yourdb
If you don't see plpgsql.so in PGLIB directory, then you better re-install
your
PostgreSQL.