Re: Last minute mini-proposal (I know, Iknow)forPQexecf()
От | |
---|---|
Тема | Re: Last minute mini-proposal (I know, Iknow)forPQexecf() |
Дата | |
Msg-id | 1175430192.6784.85.camel@sakai.localdomain обсуждение исходный текст |
Ответ на | Re: Last minute mini-proposal (I know, I know)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">I don't necessarily object to PQexecf() as a shortcut for some</font> <font color="#000000">multi-step operation, but I don't think you've got the format string</font> <font color="#000000">semantics down yet.</font> </pre></blockquote><br /> I'm thinking that we could start with the "standard" conversion specifiers - those are well understoodand would be expected by just about any C developer.<br /><br /> In particular, the %d, %u, %e, and %f format specifiersare immediately useful.<br /><br /> If we start with the "standard" set, you can start to use PQexecf() immediatelyand we could promise to maintain *at least* that set.<br /><br /> We can add more specifiers (for proper quotingand such) later - we can't break existing client applications if we just add to the set of supported specifiers; thefunction gets more useful as time goes by.<br /><br /><br /> -- Korry
В списке pgsql-hackers по дате отправления: