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
|
| Список | 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 по дате отправления: