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

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: incompatible return type for netmask(inet) function between 7.0.3 and 7.1
Date: 2001-04-24 13:49:44
Message-ID: 200104241349.f3ODnie79907@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Vadim Passynkov (pvi(at)axxent(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-04-24 14:28:48 pg_regress hangs on parallel test
Previous Message pgsql-bugs 2001-04-24 13:31:50 7.1 Build fails with Bash and CDPATH