Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1
Дата
Msg-id CA+bJJbxexatxrEaALKV0Dd5vqUC-VuWvQ7FgP0hG1-1y+j6UTg@mail.gmail.com
обсуждение исходный текст
Ответ на SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1  (Alexander Farber <alexander.farber@gmail.com>)
Ответы Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1  (Alexander Farber <alexander.farber@gmail.com>)
Список pgsql-general
On Fri, Aug 12, 2016 at 10:41 AM, Alexander Farber
<alexander.farber@gmail.com> wrote:
> why does this syntax fail in 9.5.3 please?

Maybe because.......

> $func$ LANGUAGE plpgsql;

... you are writing pspgsql.....

> The doc https://www.postgresql.org/docs/9.5/static/sql-selectinto.html just

But are looking at the docs for SQL. This kind of languages are
similar to SQL, but not the same. I think

https://www.postgresql.org/docs/9.5/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-SQL-ONEROW

is the proper place to look it up.

Francisco Olarte.


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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: Postgres Pain Points 2 ruby / node language drivers