Re: ecpg bug and patch

Поиск
Список
Период
Сортировка
От Adriaan Joubert
Тема Re: ecpg bug and patch
Дата
Msg-id 3AC1B0CB.D106BC3E@albourne.com
обсуждение исходный текст
Ответ на ecpg bug and patch  (Adriaan Joubert <a.joubert@albourne.com>)
Ответы Re: ecpg bug and patch  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Ooops, patch was the wrong way round. Here is a better one.

Sorry,

Adriaandiff -Naur postgresql-7.1RC1.orig/src/interfaces/ecpg/include/ecpgtype.h
postgresql-7.1RC1/src/interfaces/ecpg/include/ecpgtype.h
--- postgresql-7.1RC1.orig/src/interfaces/ecpg/include/ecpgtype.h    Sun Jan  7 04:03:39 2001
+++ postgresql-7.1RC1/src/interfaces/ecpg/include/ecpgtype.h    Wed Mar 28 12:36:05 2001
@@ -70,7 +70,7 @@
         ECPGd_EODT                /* End of descriptor types. */
     };

-#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2)
+#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2 || (type)>=ECPGt_long_long)

 #ifdef __cplusplus
 }

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

Предыдущее
От: Adriaan Joubert
Дата:
Сообщение: ecpg bug and patch
Следующее
От: Pete Forman
Дата:
Сообщение: Re: RC1 core dumps in initdb on Solaris 2.6