incompatible return type for netmask(inet) function between 7.0.3 and 7.1

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема incompatible return type for netmask(inet) function between 7.0.3 and 7.1
Дата
Msg-id 200104241349.f3ODnie79907@hub.org
обсуждение исходный текст
Список pgsql-bugs
Vadim Passynkov (pvi@axxent.ca) reports a bug with a severity of 4
The lower the number the more severe it is.

Short Description
incompatible return type for netmask(inet) function between 7.0.3 and 7.1

Long Description
Function netmask(inet) change return type from 7.0.3 to 7.1
In 7.0.3 return type was text, in 7.1 return type inet
Realy in 7.1 added text(inet) and of course need that
host and netmask have return type inet, but host in 7.1 still return
text.

Other problem this changes that dump code from 7.0.3 incompatible
with 7.1.

Sample Code
Version 7.0.3
template1=# \df netmask
       List of functions
 Result | Function | Arguments
--------+----------+-----------
 text   | netmask  | inet
(1 row)

template1=# \df host
       List of functions
 Result | Function | Arguments
--------+----------+-----------
 text   | host     | inet
(1 row)

Version 7.1
template1=# \df netmask
       List of functions
 Result | Function | Arguments
--------+----------+-----------
 inet   | netmask  | inet
(1 row)

template1=# \df host
       List of functions
 Result | Function | Arguments
--------+----------+-----------
 text   | host     | inet
(1 row)


No file was uploaded with this report

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: 7.1 Build fails with Bash and CDPATH
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: pg_regress hangs on parallel test