Re: [PATCHES] dblink crash fix

2004-10-28 Thread Tom Lane
Kris Jurka <[EMAIL PROTECTED]> writes: > This makes dblink pass its installcheck test on platforms where > snprintf(data, len, "%s", NULL) crash. Good catch! Applied. regards, tom lane ---(end of broadcast)--- TIP 2: you c

[PATCHES] dblink crash fix

2004-10-27 Thread Kris Jurka
This makes dblink pass its installcheck test on platforms where snprintf(data, len, "%s", NULL) crash. The code was trying to find a connection by name when it already had an unnamed connection and did not have a name to search with. Kris JurkaIndex: contrib/dblink/dblink.c ===