dblink crash fix

Поиск
Список
Период
Сортировка
Искать

dblink crash fix

От:
Kris Jurka <books@ejurka.com>
Дата:
Вложения:

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 Jurka

Re: dblink crash fix

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Kris Jurka  writes:
> This makes dblink pass its installcheck test on platforms where 
> snprintf(data, len, "%s", NULL) crash.

Good catch!  Applied.

			regards, tom lane
FAQ