| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql(at)groks(dot)org, pgsql-interfaces(at)postgresql(dot)org |
| Subject: | Re: Type implemented in plpythonu crashes backend |
| Date: | 2004-08-17 02:45:52 |
| Message-ID: | 200408170245.i7H2jqN03343@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Added to open items list:
* have plpython reject pseudotype arguments because it crashes
---------------------------------------------------------------------------
Tom Lane wrote:
> pgsql(at)groks(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Tilles | 2004-08-20 12:25:48 | Version 7.4.4 |
| Previous Message | Tom Lane | 2004-08-16 14:34:25 | Re: C text to string issue |