Re: pl/{perl,pgsql} (was Re: AW: [HACKERS] triggers, views and ru

Поиск
Список
Период
Сортировка
От ocie@paracel.com
Тема Re: pl/{perl,pgsql} (was Re: AW: [HACKERS] triggers, views and ru
Дата
Msg-id 9802232015.AA00934@dolomite.paracel.com
обсуждение исходный текст
Ответ на Re: pl/{perl,pgsql} (was Re: AW: [HACKERS] triggers, views and ru  (jwieck@debis.com (Jan Wieck))
Ответы Re: pl/{perl,pgsql} (was Re: AW: [HACKERS] triggers, views and ru
Список pgsql-hackers
Jan Wieck wrote:
> > BTW.: How do you write an input or output function in pl/tcl if all you get
> > is the external representation ?
>
>     Impossible.

We could have the backend check file permissions, open the file and
pass the file pointer to the pl/tcl procedure.  This sounds a bit
complicated I know.  It seems to me that we would want at least a
"stdout" available to the procedure so that it can "talk to" the user.
If we provide stdin, stdout and stderr, then we could use redirection
to pipe input to and from a procedure.

Ocie Mitchell

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Views on aggregates - need assistence
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] pg_user "sealed"