From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql@groks.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Type implemented in plpythonu crashes backend
Date: Mon, 16 Aug 2004 22:45:52 -0400 (EDT)
Message-ID: <200408170245.i7H2jqN03343@candle.pha.pa.us> (raw)
In-Reply-To: <28793.1092596530@sss.pgh.pa.us>
Added to open items list:
* have plpython reject pseudotype arguments because it crashes
---------------------------------------------------------------------------
Tom Lane wrote:
> pgsql@groks.org writes:
> > I'd like to implement new postgres types in a language other than C for
> > prototyping speed. plpgsql won't let me create a function which takes a
> > cstring, and neither will pltcl. Happily, plpythonu will, and it seems
> > to work fine.
>
> I'd say this is an oversight in the plpython code --- it should be
> rejecting pseudotype arguments, since as you've discovered it cannot
> really cope. It should *certainly* reject "opaque" ... might be okay to
> allow cstring but I'm not sure.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, pgsql@groks.org
Subject: Re: Type implemented in plpythonu crashes backend
In-Reply-To: <200408170245.i7H2jqN03343@candle.pha.pa.us>
* 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