Skip site navigation (1) Skip section navigation (2)

Re: Cannot properly initialize inet type fields in the table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: fimarn <fimarn(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cannot properly initialize inet type fields in the table
Date: 2007-09-26 14:54:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
fimarn <fimarn(at)gmail(dot)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;
regression=# select * from myConfigTable;
 telnet | ftp | ipforwarding | configintcontrolnetw | configintcontrolmask
 f      | f   | f            |              |
(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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-09-26 15:04:52
Subject: uh-oh, dugong failing again (was Re: Pgbuildfarm-status-green Digest, Vol 28, Issue 24)
Previous:From: Tom LaneDate: 2007-09-26 14:23:56
Subject: Re: Regression test message

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group