Re: psql: add \create_function command

Поиск
Список
Период
Сортировка
От walther@technowledgy.de
Тема Re: psql: add \create_function command
Дата
Msg-id 52afb85b-35d9-4290-82cd-b8c95fda53c7@technowledgy.de
обсуждение исходный текст
Ответ на Re: psql: add \create_function command  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane:
> Or we could cut out the intermediate variable altogether
> by inventing something that works like :'...' but reads
> from a file not a variable.  That might be too specialized
> though, and I'm not sure about good syntax for it either.
> Maybe like
> 
> CREATE FUNCTION foo() RETURNS whatever AS :{source_file.txt} LANGUAGE ...;

That would indeed be very useful! I would immediately use this in a lot 
of places.



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Improve WALRead() to suck data directly from WAL buffers when possible
Следующее
От: walther@technowledgy.de
Дата:
Сообщение: Re: psql: add \create_function command