> I don't necessarily object to PQexecf() as a shortcut for some
> multi-step operation, but I don't think you've got the format string
> semantics down yet.
I'm thinking that we could start with the "standard" conversion
specifiers - those are well understood and would be expected by just
about any C developer.
In particular, the %d, %u, %e, and %f format specifiers are immediately
If we start with the "standard" set, you can start to use PQexecf()
immediately and we could promise to maintain *at least* that set.
We can add more specifiers (for proper quoting and such) later - we
can't break existing client applications if we just add to the set of
supported specifiers; the function gets more useful as time goes by.