Re: [INTERFACES] ERROR: cannot find attribute 1 of relation pg_temp.460.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] ERROR: cannot find attribute 1 of relation pg_temp.460.0
Дата
Msg-id 9171.943832726@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: cannot find attribute 1 of relation pg_temp.460.0  (Ivo Simicevic <ivo@ultra.hr>)
Ответы Re: [INTERFACES] ERROR: cannot find attribute 1 of relation pg_temp.460.0  (Michael Meskes <meskes@postgresql.org>)
Re: [INTERFACES] ERROR: cannot find attribute 1 of relation pg_temp.460.0  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-interfaces
Ivo Simicevic <ivo@ultra.hr> writes:
> After creating temporary table with CREATE TEMP TABLE command in ECPG
> I get following error when disconnecting / exiting program:

I believe this is triggered by ecpg's autocommit feature, and that
you could work around it by ensuring that at least one commit occurs
between creation of the temp table and application exit.  It looks
like 6.5.* gets confused if it has to delete a never-yet-committed
temp table :-(.

I don't see any such problem with current sources, but I dunno if it's
practical to back-patch a fix into 6.5.*.  The current sources have
diverged quite a bit in that area...
        regards, tom lane


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

Предыдущее
От: Ivo Simicevic
Дата:
Сообщение: ERROR: cannot find attribute 1 of relation pg_temp.460.0
Следующее
От: The Hermit Hacker
Дата:
Сообщение: libpq + multiple connections ...