Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional
| От | Craig Ringer |
|---|---|
| Тема | Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional |
| Дата | |
| Msg-id | 4884500F.9010304@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional (el dorado <do_ra_do@mail.ru>) |
| Список | pgsql-general |
el dorado wrote: > > Hello. > Thank you very much for your answer. > 1>d:\pgsql83\getstring\c_getstring.c(10) : warning C4273: 'Pg_magic_func' : inconsistent dll linkage > 1> d:\pgsql83\getstring\c_getstring.c(10) : see previous definition of 'Pg_magic_func' This should be a big red flag to you. It suggests that you have issues with __declspec(dllimport) and __declspec(dllexport) annotations. It looks like you are using a Microsoft Visual Studio compiler. If you are using Visual Studio 2005 Express Edition you must modify the project's preprocessor definitions to set the WIN32 macro, as 2005 Express Edition does not do so by default. See earlier discussion in the archives from a few months ago. Alternately, modify the definition of the default win32 project to set the right macros, then create a new project. This issue does NOT affect the full version, only the Express edition. It also does not affect 2008 Express Edition. I've just reproduced it on a clean install of Windows and the Express Edition. -- Craig Ringer
В списке pgsql-general по дате отправления: