Re: text formatting in a query, a la sprintf

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Reece Hart <reece(at)harts(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: text formatting in a query, a la sprintf
Date: 2006-08-21 03:38:03
Message-ID: 20060821033802.GA20904@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Aug 20, 2006 at 08:21:18PM -0700, Reece Hart wrote:
> On Sat, 2006-08-19 at 16:50 -0600, Michael Fuhr wrote:
> > Here's a trivial (and only minimally tested) PL/Ruby function:
>
> Thanks, Michael. That's a solution I can use. Now I just have to
> compile postgresql for ruby support...

You don't have to recompile PostgreSQL; PL/Ruby isn't included with
the source code as PL/Perl, PL/Python, and PL/Tcl are. You can get
it from here:

http://raa.ruby-lang.org/project/pl-ruby

Unpack the tarball and see README.en for instructions.

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2006-08-21 15:27:58 Re: Inserting Data
Previous Message Alvaro Herrera 2006-08-21 00:10:58 Re: Locale, encoding, sort order confusion