Re: EXECUTE status (was Re: [ODBC] About server side prepare)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Дата
Msg-id 200212201759.gBKHxdV19973@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: EXECUTE status (was Re: [ODBC] About server side prepare)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: EXECUTE status (was Re: [ODBC] About server side prepare)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I think it should return "EXECUTE" with the counts from the commands.
> > Does that make sense?
>
> No.  It would break client libraries, which only expect command tags
> INSERT, UPDATE, DELETE to be followed by counts.  Also, INSERT has two
> numbers associated with it, the others only one; if we allow both those
> cases for EXECUTE then life gets even worse for the client library.

It is easy to determine what tag to return?  Remember the discussion on
rules and that only the original tag should be returned.  Is there
always one obvious tag to an execute?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: EXECUTE status (was Re: [ODBC] About server side prepare)