Re: Postgres Global Variables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres Global Variables
Дата
Msg-id 25256.971329151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres Global Variables  (shm@daimlerchrysler.com)
Ответы Re: Postgres Global Variables  (Jan Wieck <janwieck@Yahoo.com>)
Список pgsql-general
shm@daimlerchrysler.com writes:
> make use of a Sybase global variable called @@rowcount.  @@rowcount
> represents the number of rows affected by the most recent data modification
> operation (inserts, deletes and/or updates).

> Is there an equivalent in Postgres?  Thanks much for the help.

I think the libpq function PQcmdTuples() does what you want, although
it's possible Sybase's behavior differs in some details.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postgresql 7.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index on substring?