Re: WIP: pl/pgsql cleanup

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: WIP: pl/pgsql cleanup
Дата
Msg-id 1108018668.1286.191.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: WIP: pl/pgsql cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP: pl/pgsql cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Wed, 2005-02-09 at 23:57 -0500, Tom Lane wrote:
> That seems like a step backwards from the current behavior [...]

Hmm, fair enough. Is this better?

create function bad_sql1() returns int as $$
declare a int;
begin
    a := 5;
    Johnny Yuma;
    a := 10;
    return a;
end$$ language 'plpgsql';
ERROR:  syntax error at or near "Johnny" at character 1
QUERY:  Johnny Yuma
CONTEXT:  SQL statement embedded in PL/PgSQL function "bad_sql1" near
line 4
LINE 1: Johnny Yuma
        ^

-Neil



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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: [Fwd: Re: [DOCS] Instructions for FreeBSD ipc config
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Clarify use of NOW() in pl/pgsql docs