Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname
От | Peter Davie |
---|---|
Тема | Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname |
Дата | |
Msg-id | 41688B27.3010700@relevance.com.au обсуждение исходный текст |
Ответ на | Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname
|
Список | pgsql-hackers |
Hi Tom,<br /><br /> How many of these platforms you use are POSIX-compliant? This information came from the POSIX web site(NOT THE DIGITAL/COMPAQ/HP/... WEBSITE). Sysconf(_SC_GETPW_R_SIZE_MAX) is supported by Solaris 2.5, SCO UNIX (circa1999!), Digital UNIX/Compaq Tru64 UNIX, FreeBSD, AIX, HP-UX, and probably many more.<br /><br /> Maybe the non-compliantplatforms should be catered for as "legacy" with support code in the "ports" area, and those that do adhereto open standards can be accommodated without breaking existing production applications.<br /><br /> Thanks<br /> Peter<br/><br /> Tom Lane wrote:<br /><blockquote cite="mid5074.1097364232@sss.pgh.pa.us" type="cite"><pre wrap="">BruceMomjian <a class="moz-txt-link-rfc2396E" href="mailto:pgman@candle.pha.pa.us"><pgman@candle.pha.pa.us></a>writes: </pre><blockquote type="cite"><pre wrap="">OK,we got a report. I just thinkg 8192 is excessive for that structure, and if someone is having a problem, others might as well. </pre></blockquote><pre wrap=""> </pre><blockquotetype="cite"><blockquote type="cite"><pre wrap="">On Tru64 UNIX, sysconf(_SC_GETPW_R_SIZE_MAX) returns 1024. </pre></blockquote></blockquote><pre wrap=""> I'd be more impressed by this line of reasoning if _SC_GETPW_R_SIZE_MAX were defined on more than one of the platforms I use... regards, tom lane </pre></blockquote><br /><br /><pre class="moz-signature" cols="72">-- Relevance... because results count Relevance Phone: +61 (0)2 6241 6400 A.B.N. 86 063 403 690 Fax: +61 (0)2 6241 6422 Unit 11, Mitchell Commercial Centre, Mobile: +61 (0)417 265 175 cnr Brookes and Heffernan Sts., E-mail: <a class="moz-txt-link-abbreviated" href="mailto:peter.davie@relevance.com.au">peter.davie@relevance.com.au</a> Mitchell ACT 2911 Web: <a class="moz-txt-link-freetext" href="http://www.relevance.com.au">http://www.relevance.com.au</a></pre>
В списке pgsql-hackers по дате отправления: