PLPGSQL OID Bug

Поиск
Список
Период
Сортировка
От Kevin McArthur
Тема PLPGSQL OID Bug
Дата
Msg-id 006801c592eb$e12c64c0$0701a8c0@kdesktop
обсуждение исходный текст
Ответы Re: PLPGSQL OID Bug
Список pgsql-patches
This patch will resolve the oid retrieval bugs from plpgsql. There are however several other places where isnull=false was removed and replaced with isnull which may also need to be corrected.
 
Kevin McArthur
StormTide Digital Studios Inc.
 
Index: src/pl/plpgsql/src/pl_exec.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v
retrieving revision 1.149
diff -c -r1.149 pl_exec.c
*** src/pl/plpgsql/src/pl_exec.c        26 Jun 2005 22:05:42 -0000      1.149
--- src/pl/plpgsql/src/pl_exec.c        27 Jul 2005 20:38:25 -0000
***************
*** 1143,1149 ****
        {
                PLpgSQL_diag_item       *diag_item = (PLpgSQL_diag_item *) lfirst(lc);
                PLpgSQL_datum           *var;
!               bool                             isnull;
 
                if (diag_item->target <= 0)
                        continue;
--- 1143,1149 ----
        {
                PLpgSQL_diag_item       *diag_item = (PLpgSQL_diag_item *) lfirst(lc);
                PLpgSQL_datum           *var;
!               bool                             isnull=false;
 
                if (diag_item->target <= 0)
                        continue;
Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Autovacuum loose ends
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Autovacuum loose ends