--describe-config crashes
От | Zdenek Kotala |
---|---|
Тема | --describe-config crashes |
Дата | |
Msg-id | 47BDB9A5.20208@sun.com обсуждение исходный текст |
Ответы |
Re: --describe-config crashes
|
Список | pgsql-patches |
Function printMixedStruct calls printf with NULL argument. It causes segmentation fault. Please, apply it for 8.3 - 8.1 too. thanks Zdenek Index: src/backend/utils/misc/help_config.c =================================================================== RCS file: /zfs_data/cvs_pgsql/cvsroot/pgsql/src/backend/utils/misc/help_config.c,v retrieving revision 1.19 diff -c -r1.19 help_config.c *** src/backend/utils/misc/help_config.c 1 Jan 2008 19:45:54 -0000 1.19 --- src/backend/utils/misc/help_config.c 21 Feb 2008 17:48:00 -0000 *************** *** 117,123 **** case PGC_STRING: printf("STRING\t%s\t\t\t", ! structToPrint->string.boot_val); break; default: --- 117,123 ---- case PGC_STRING: printf("STRING\t%s\t\t\t", ! (structToPrint->string.boot_val == NULL) ? "(NULL)" : structToPrint->string.boot_val); break; default:
В списке pgsql-patches по дате отправления: