Re: ecpg bug and patch

Поиск
Список
Период
Сортировка
Искать
От
Adriaan Joubert
Тема
Re: ecpg bug and patch
Дата
Msg-id
3AC1B0CB.D106BC3E@albourne.com
Список
Дерево обсуждения
Re: ecpg bug and patch Adriaan Joubert <a.joubert@albourne.com>
Re: ecpg bug and patch Michael Meskes <meskes@postgresql.org>
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
Дата:
FAQ