Custom Insert function

Поиск
Список
Период
Сортировка
От Brian C. Doyle
Тема Custom Insert function
Дата
Msg-id 5.0.2.1.0.20010920221714.00abc0e0@pop.jbbent.com
обсуждение исходный текст
Ответы Re: Custom Insert function
Список pgsql-general
Hello all,

Is it possible to create a function that would look like
this_function('file.csv');

and make it run
COPY this_table FROM '/this/location/file.csv' USING DELIMITERS ',';

Thus eliminating alot of repeated work each time???

if so what would I put on the returns


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

Предыдущее
От: Keary Suska
Дата:
Сообщение: Re: Global constants
Следующее
От: "Karen Ellrick"
Дата:
Сообщение: Re: Second byte of multibyte characters causing trouble