Re: psql: add \create_function command

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql: add \create_function command
Дата
Msg-id 1029916.1706300266@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql: add \create_function command  (Steve Chavez <steve@supabase.io>)
Ответы Re: psql: add \create_function command  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: psql: add \create_function command  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I don't know, maybe I have a problem with the described use case. I cannot
> imagine holding the body and head of PL routines in different places and I
> don't understand the necessity to join it.

It seems a little weird to me too, and I would vote against accepting
\create_function as described because I think too few people would
want to use it.  However, the idea of an easy way to pull in a file
and convert it to a SQL literal seems like it has many applications.

            regards, tom lane



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: psql: add \create_function command
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: psql: add \create_function command