[cvsnt-dev] Re: postgres doesn't do INSERT ... RETURNS

David Somers dsomers at omz13.com
Mon Jul 24 17:34:04 UTC 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:

> David Somers wrote:
>> I see you've committed a change... looks good... am testing now.

Seems to work ok :-)

> I also switched pqexec to ascii and reverted the recordset change
> problem being we don't know the format of the original field (the internal
> field types aren't documented very well) so if someone does an int() on a
> text field that needs to work as does a char*() on an int field... in
> other drivers I've asked for a limited selection of binary formats from
> the server and just do on the fly conversion - not so easy with postgres
> since in binary mode it returns native data and you'd need to know the
> internal format of every type that might be returned..

Fine - no worries about the revert - at least while it was there it allowed
some headway to be made :-)

BTW, are you going to do something with sessionlog.endtime? I assume this
will be used to help time how long ops take to complete.

David.


More information about the cvsnt-dev mailing list