Re: Problems with temp table and PL

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Problems with temp table and PL
Дата
Msg-id 20070221213706.GA8665@a-kretschmer.de
обсуждение исходный текст
Ответ на Problems with temp table and PL  (Martin Marques <martin@bugs.unl.edu.ar>)
Список pgsql-sql
am  Wed, dem 21.02.2007, um 18:17:50 -0300 mailte Martin Marques folgendes:
> I create a temp table inside a plpgsql function, which is drop just before 
> ending (the function).
> 
> My problem is that if I execute the same function again (in the same 
> session) I get an error when trying to insert data into it (looks like the 
> session has an old reference of the table):

Right. Use EXECUTE for DDL-commands.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Problems with temp table and PL
Следующее
От: "Sabin Coanda"
Дата:
Сообщение: How compare current_setting(..) ?