Re: [HACKERS] [PATCHES] sslmode patch

2003-07-26 Thread Bruce Momjian
Excellent idea. Patch attached and applied. --- Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I had a little problem apply this patch because it had an #ifdef for > > elog() parameter passing. Because ere

Re: [HACKERS] [PATCHES] sslmode patch

2003-07-26 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I had a little problem apply this patch because it had an #ifdef for > elog() parameter passing. Because ereport() is now a macro, you can't > do #ifdef inside a macro _call_, so I did it this way: I don't think a non-SSL-enabled build need be pointing

Re: [HACKERS] [PATCHES] sslmode patch

2003-07-26 Thread Bruce Momjian
I had a little problem apply this patch because it had an #ifdef for elog() parameter passing. Because ereport() is now a macro, you can't do #ifdef inside a macro _call_, so I did it this way: #ifdef USE_SSL #define EREPORT_SSL_STATUS (port->ssl ? "on" : "off") #else #define EREPORT_SSL_STATU