Re: Last minute mini-proposal (I know, Iknow)forPQexecf() - Mailing list pgsql-hackers

From
Subject Re: Last minute mini-proposal (I know, Iknow)forPQexecf()
Date
Msg-id 1175430192.6784.85.camel@sakai.localdomain
Whole thread Raw
In response to Re: Last minute mini-proposal (I know, I know)forPQexecf()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Last minute mini-proposal (I know, Iknow)forPQexecf()  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Bug in UTF8-Validation Code?
Next
From: "Guillaume Smet"
Date:
Subject: Re: Column storage positions