pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vince Gonzalez <vince@nycrc.net>
To: Vladimir Terziev <vlady@school.digsys.bg>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Problem with PL/pgSQL
Date: Tue, 8 Feb 2000 09:09:47 -0500
Message-ID: <20000208090947.A31471@newton.baruch.cuny.edu> (raw)
In-Reply-To: <200002081346.PAA11001@lorna.digsys.bg>
References: <200002081346.PAA11001@lorna.digsys.bg>

On Tue, Feb 08, 2000 at 03:46:14PM +0200, Vladimir Terziev wrote:
>     I try to create the next function:
<snip>
> The result is:
> ERROR:  Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.  
> Recognized languages are sql, C, internal and the created procedural languages.

You need to do createlang on the table, like so:

$ createlang plpgsql test

Where test is the database.

--vince



view thread (11+ messages)  latest in thread

Message-ID: <20000208090947.A31471@newton.baruch.cuny.edu>
Permalink:  ../20000208090947.A31471@newton.baruch.cuny.edu/
Also on:    postgresql.org/message-id/20000208090947.A31471@newton.baruch.cuny.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: vince@nycrc.net, vlady@school.digsys.bg
  Subject: Re: [SQL] Problem with PL/pgSQL
  In-Reply-To: <20000208090947.A31471@newton.baruch.cuny.edu>
  References: <200002081346.PAA11001@lorna.digsys.bg> <20000208090947.A31471@newton.baruch.cuny.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox