Solution found! was Re: Finding the number of rows affected by UPDATE or INSERT?

Поиск
Список
Период
Сортировка
От Dr. Evil
Тема Solution found! was Re: Finding the number of rows affected by UPDATE or INSERT?
Дата
Msg-id 20010830080546.30326.qmail@sidereal.kz
обсуждение исходный текст
Ответ на Finding the number of rows affected by UPDATE or INSERT?  ("Dr. Evil" <drevil@sidereal.kz>)
Список pgsql-general
I found out how to do it:

In pl/pgsql:

INT nr;

UPDATE ....
GET DIAGNOSTICS SELECT PROCESSED INTO nr;

will put the number of rows into nr.  It's a very useful feature to
have this in PG7.1.

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

Предыдущее
От: Alexey Borzov
Дата:
Сообщение: Re[2]: RFC: PostgreSQL and MySQL comparison.
Следующее
От: Alexey Borzov
Дата:
Сообщение: pg7.1 release date