Re: Type implemented in plpythonu crashes backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Type implemented in plpythonu crashes backend
Дата
Msg-id 28793.1092596530@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Type implemented in plpythonu crashes backend  (pgsql@groks.org)
Ответы Re: Type implemented in plpythonu crashes backend
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Calling C++ function
Следующее
От: Richard Welty
Дата:
Сообщение: Re: Calling C++ function