pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Leja <martin@unix-ag.org>
To: José Soares <jose@sferacarta.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Howto convert floats to text?
Date: Fri, 04 Jun 1999 19:22:21 +0200
Message-ID: <199906041721.NAA82580@hub.org> (raw)
In-Reply-To: <3757CBD7.66FBE889@sferacarta.com>
References: <199906041045.GAA67778@hub.org>

At 14:51 04.06.99 +0200, you wrote:
>Use this PL/pgSQL script to create text(float), varchar(float), char(float):
>create function text(float) returns text as
>'begin
> return $1;
>end;
>' language 'plpgsql';

Thanks for the tip, but if i try the above, i get:
ERROR:  Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
Recognized languages are sql, C, internal and the created procedural
languages.

what is pl/pgsql? I using postgres 6.3.2 (slink/stable debian package), do
i hve to upgrade to a higer version, or is this plpgsql thing to be
installed separately?

--
Regards, martin@unix-ag.org



view thread (4+ messages)  latest in thread

Message-ID: <199906041721.NAA82580@hub.org>
Permalink:  ../199906041721.NAA82580@hub.org/
Also on:    postgresql.org/message-id/199906041721.NAA82580@hub.org

 · 

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: martin@unix-ag.org, jose@sferacarta.com
  Subject: Re: [SQL] Howto convert floats to text?
  In-Reply-To: <199906041721.NAA82580@hub.org>
  References: <199906041045.GAA67778@hub.org> <199906041721.NAA82580@hub.org>

* 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