Обсуждение: "row_count" reserved?

Поиск
Список
Период
Сортировка

"row_count" reserved?

От
"Josh Berkus"
Дата:
Tom, Stephan, Bruce, All:

I just upgraded to 7.1 RC2.  Two of my functions in the current
development database used a variable called "row_count", which had no
problems in 7.1 beta 3.  They now bomb when called from PHP4, but not
when run from PSQL.  Huh?

Changing the variable names fixed the problem, but I'd love to know
what's going on here.                -Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


Re: "row_count" reserved?

От
Tom Lane
Дата:
"Josh Berkus" <josh@agliodbs.com> writes:
> I just upgraded to 7.1 RC2.  Two of my functions in the current
> development database used a variable called "row_count", which had no
> problems in 7.1 beta 3.  They now bomb when called from PHP4, but not
> when run from PSQL.  Huh?

row_count is a keyword in plpgsql ... not sure how long it's been a
keyword ...
        regards, tom lane