Re: Last minute mini-proposal (I know, Iknow)forPQexecf()
От | |
---|---|
Тема | Re: Last minute mini-proposal (I know, Iknow)forPQexecf() |
Дата | |
Msg-id | 1175457387.6784.108.camel@sakai.localdomain обсуждение исходный текст |
Ответ на | Re: Last minute mini-proposal (I know, Iknow)forPQexecf() (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Last minute mini-proposal (I know,
Iknow)forPQexecf()
|
Список | pgsql-hackers |
<blockquote type="CITE"><pre> <font color="#000000">That's exactly the approach I don't want to take. To implement our</font> <font color="#000000">quoting-escape additions, we'll have to stop relying on sprintf and</font> <font color="#000000">implement for ourselves whatever "standard C" escapes we want to</font> <font color="#000000">support. </font> </pre></blockquote><br /> Ok - then it seems like it might make sense to implement PQexecf() in terms of src/port/snprintf.c(and enhance that family of functions to support the quoting conversion specifiers that we want).<br /><br/> Let's just pick up this discussion in the next release cycle.<br /><br /> Bruce - can you add a TODO for this topic? Thanks.<br /><br /><br /> -- Korry<br /><table cellpadding="0" cellspacing="0" width="100%"><tr><td><br /><br/> --<br /> Korry Douglas <a href="mailto:korryd@enterprisedb.com">korryd@enterprisedb.com</a><br /> EnterpriseDB <a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a></td></tr></table>
В списке pgsql-hackers по дате отправления: