PG_COMMAND_OK oid information required
От | Andy Chambers |
---|---|
Тема | PG_COMMAND_OK oid information required |
Дата | |
Msg-id | 20051127201907.67266.qmail@web26910.mail.ukl.yahoo.com обсуждение исходный текст |
Ответы |
Re: PG_COMMAND_OK oid information required
|
Список | pgsql-interfaces |
<div id="RTEContent">Hi,<br /><br /> Would it be possible to provide more information in the PGResult object (or rather itsassociated functions) about operations that don't return a value of PG_RESULT_OK. Specifically, I believe, it would beuseful for clients to know the oid's of values being inserted or updated. <br /><br /> That way, if it realizes thereare many similar operations to carry out, it would be easier to use PQExecParams. The only way I can see of doing thiscurrently would be to issue a <br /><br /> select <cols to insert><br /> from table<br /> limit 1<br /><br /> toget the oids, and then prepare the insert statement using the info retrieved from the select. Am I missing something? Would a patch with this change be considered?<br /><br /> Thanks,<br /> Andy Chambers<br /></div><p><hr size="1"/><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com ">Yahoo! Messenger</a> <font color="red">NEW</font> - crystal clear PC to PC <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com ">calling worldwide with voicemail </a></font>
В списке pgsql-interfaces по дате отправления: