Magnus Hagander <[EMAIL PROTECTED]> writes: > When run in debug mode, the runtime for msvc will *zero-pad the entire > buffer* in a strncpy() call. This in itself is not bad (just slow), but it > shows a rather bad bug in libpq.
[squint] That is the specified behavior of strncpy on every platform, not only msvc. If there's a bug here why didn't we notice it long ago? > Given this, I'll go ahead and fix fe-connect to support PQExpBuffers, > unless there are any objections. I'm not against that, but I question what bug you've really found. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings