Re: table value function help

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: table value function help
Дата
Msg-id CAKFQuwavpGYpRRoj3sEG7fzU-isQ+WuJwnVYjquxt5biwb_5yA@mail.gmail.com
обсуждение исходный текст
Ответ на table value function help  (Glenn Schultz <glenn@bondlab.io>)
Ответы Re: table value function help
Список pgsql-general
On Thursday, November 22, 2018, Glenn Schultz <glenn@bondlab.io> wrote:
Hello,

I have a table value function and would like the first and second input to take multiple arguments (array or list) I suppose.  Like the below:
create or replace function myfunction(sector, agency, term)

Create function myfunction(arg1 text[], arg2 text[]) ...

David J.

p.s. You should avoid using the “char” data type in PostgreSQL, use text or varcar instead.

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