Re: Problem with temporary tables

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: Problem with temporary tables
Дата
Msg-id AANLkTimj-sA4C7zs8xhjfpxA5qAdUd3OWyj-crb6tYpN@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem with temporary tables  (Andrea Lombardoni <andrea@lombardoni.ch>)
Список pgsql-general
On Wed, Jun 30, 2010 at 2:41 PM, Andrea Lombardoni <andrea@lombardoni.ch> wrote:
>> You need to use EXECUTE for the INSERT statement as well per error:
>>
>> CONTEXT:  SQL statement "INSERT INTO idmap (oldid, type, newid) VALUES(1,
>>  1, 1)" PL/pgSQL function "test" line 16 at SQL statement
>
> Thanks, this works and solves my problem.
>
> Still, I find this behaviour to be rather quirky.
>

it is fixed on 8.3. So you are out of luck with 8.2 on this one I'm
afraid, gotta go with eXECUTe


--
GJ

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

Предыдущее
От: Andrea Lombardoni
Дата:
Сообщение: Re: Problem with temporary tables
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Problem with temporary tables