Re: Cannot properly initialize inet type fields in the table - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Cannot properly initialize inet type fields in the table
Date
Msg-id 21112.1190818483@sss.pgh.pa.us
Whole thread Raw
In response to Cannot properly initialize inet type fields in the table  (fimarn <fimarn@gmail.com>)
List pgsql-hackers
fimarn <fimarn@gmail.com> writes:
> When I try to execute an INSERT statement associated with this table I
> am getting:

> NOTICE:  failed to convert IP address string, invalid inetstruct len

Your example works fine for me:

regression=# insert into myConfigTable default values;
INSERT 0 1
regression=# select * from myConfigTable;telnet | ftp | ipforwarding | configintcontrolnetw | configintcontrolmask
--------+-----+--------------+----------------------+----------------------f      | f   | f            | 1.1.0.0
     | 255.255.0.0
 
(1 row)

and I can find no trace of any such message in either CVS HEAD or 8.1.
Are you running a custom-modified backend?
        regards, tom lane


pgsql-hackers by date:

Previous
From: fimarn
Date:
Subject: Cannot properly initialize inet type fields in the table
Next
From: Tom Lane
Date:
Subject: uh-oh, dugong failing again (was Re: Pgbuildfarm-status-green Digest, Vol 28, Issue 24)