Re: Last call for back-branch fixes

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Last call for back-branch fixes
Дата
Msg-id 4917631f3b4cbf79ae11d41642078416@biglumber.com
обсуждение исходный текст
Ответ на Re: Last call for back-branch fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Last call for back-branch fixes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> !                     (void) sprintf((char *) rp, "\\\\%03o", *vp);
> !                     (void) snprintf((char *) rp, 6, "\\\\%03o", *vp); 
> Hardly looks like a critical fix, or even a needed one.  Why bother?

No, not critical. Just something that tripped me up a few months ago when
writing some code based on this section, and I finally remembered it when
I saw your email. It's more of a nice to have, as the surrounding code
should prevent the %03o from making more than 3 characters.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200510032127
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFDQdq9vJuQZxSWSsgRAgeRAKCujcqJFtPf+LSlQ17BBCbGmfelmACgr30s
5OFfHfL3evrwV/FQI/XRMJI=
=ZTcO
-----END PGP SIGNATURE-----




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix procedure for updating nextval() defaults
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: New Point Releases Available