Re: [why copy ? its not correct working outside static

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: [why copy ? its not correct working outside static
Дата
Msg-id 20020510091131.A39883-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на [why copy ? its not correct working outside static sytax ? ]  ("R.Tichy" <r.tichy@sew-eurodrive.at>)
Список pgsql-general
On Fri, 10 May 2002, R.Tichy wrote:

> Hallo, erverybody !
>
> I am working with Postgresql 7.2 on cygwin !
>
> I have this problem inside from Database with functions and inside from
> JDBC....
>
> A Example :
>
> create or replace function copy_data (varchar,varchar) returns varchar
> as '
> declare
>   aurl ALIAS FOR $1;
>   adelim ALIAS FOR $2;
> begin
>
> -- nice its work very fine with static param ...
>  copy transimport from  ''/home/usrer/imports/trans.txt'';
>
>  -- where default \t is fieldseparator don't work with params wy ?
>  copy transimport from aurl;

I'm not sure of the details of why this doesn't work, but
it appears you may be able to make this work using EXECUTE.



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

Предыдущее
От: "Marin Dimitrov"
Дата:
Сообщение: Re: Subject: bool / vacuum full bug followup part 2
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: trouble with (lack of) indexing