pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Shraibman <jks@selectacast.net>
To: josh@agliodbs.com
Cc: sqllist <pgsql-sql@postgresql.org>
Subject: Re: how to do plpgsql?
Date: Tue, 06 Feb 2001 20:18:34 -0500
Message-ID: <3A80A26A.9018B598@selectacast.net> (raw)
References: <3A809D8C.DDFEB954@selectacast.net>
	<3A809F15.1C60699C@agliodbs.com>

Huh.  You'd think this would be prominent in the documentation page at
http://www.postgresql.org/docs/postgres/c4091.htm

Thanks.

Josh Berkus wrote:
> 
> Joseph,
> 
> First you need to install plpgsql on a per database
> basis, or you can just install it on template1 and it
> will get added to all new databases.
> 
> CREATE FUNCTION "plpgsql_call_handler" ( ) RETURNS opaque AS
> '/usr/lib/pgsql/plpgsql.so' LANGUAGE 'C';
> 
> CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql' HANDLER
> "plpgsql_call_handler" LANCOMPILER 'PL/pgSQL';
> 
>                                         -Josh Berkus
> 
> (Instructions courtesy of Jeff at PGSQL Inc.)
> --
> ______AGLIO DATABASE SOLUTIONS___________________________
>                                         Josh Berkus
>    Complete information technology      josh@agliodbs.com
>     and data management solutions       (415) 565-7293
>    for law firms, small businesses       fax  621-2533
>     and non-profit organizations.       San Francisco

-- 
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com



view thread (4+ messages)  latest in thread

Message-ID: <3A80A26A.9018B598@selectacast.net>
Permalink:  ../3A80A26A.9018B598@selectacast.net/
Also on:    postgresql.org/message-id/3A80A26A.9018B598@selectacast.net

 · 

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: jks@selectacast.net, josh@agliodbs.com
  Subject: Re: how to do plpgsql?
  In-Reply-To: <3A80A26A.9018B598@selectacast.net>
  References: <3A809D8C.DDFEB954@selectacast.net> <3A809F15.1C60699C@agliodbs.com> <3A80A26A.9018B598@selectacast.net>

* 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