Help with quotes in plpgsql

Поиск
Список
Период
Сортировка
От Richard Ray
Тема Help with quotes in plpgsql
Дата
Msg-id Pine.LNX.4.64.0612191404580.30942@rray.drdc.mstc.ms.gov
обсуждение исходный текст
Ответы Re: Help with quotes in plpgsql  ("Jim Buttafuoco" <jim@contactbda.com>)
Re: Help with quotes in plpgsql  ("Milen A. Radev" <milen@radev.net>)
Re: Help with quotes in plpgsql  ("Hector Villarreal" <HVillarreal@mynewplace.com>)
Re: Help with quotes in plpgsql  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-sql
How should this be properly quoted

create or replace function test(integer) returns setof text as $$
declare  a record;
begin  select into a now() - interval '$1 day';  return next a;  return;
end
$$ language 'plpgsql';

I'm not having a lot of luck
Thanks
Richard


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Desc table
Следующее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: Help with quotes in plpgsql