Re: libpq.dll on win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq.dll on win32
Дата
Msg-id 26050.1097541466@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq.dll on win32  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: libpq.dll on win32  (Reini Urban <rurban@x-ray.at>)
Список pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:

*** src/interfaces/libpq/fe-secure.c    28 Sep 2004 00:06:02 -0000    1.54
--- src/interfaces/libpq/fe-secure.c    11 Oct 2004 19:50:22 -0000
***************
*** 1201,1206 ****
--- 1201,1212 ----
          return NULL;
      return conn->ssl;
  }
+ #else
+ void *
+ PQgetssl(PGconn *conn)
+ {
+     return NULL;
+ }
  #endif   /* USE_SSL */


This seems like a good idea, but that particular approach to it will
draw an unprototyped-global-function warning on every non-SSL-enabled
compile ... please clean it up.

Also, I count 3 *.def files to be fixed, not two.  (We really oughta
figure a way to generate them all from a single list file... can we
rely on sed(1) being available in all Windows build environments?)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Casting INT4 to BOOL...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] Static build of libpq fails