From: Loïc TREGOUËT <loic@cri74.org>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: select distinct inet bug
Date: Tue, 23 May 2000 09:42:03 +0200
Message-ID: <392A364B.1274A042@ext.cri74.org> (raw)
Hie all ,
I've already post a similar messages but i don't see it into the
mailing list so ...
Look at the following :
test=> create table ip_table (addr inet);
CREATE
test=> insert into ip_table values ('10.10.10.10');
INSERT 1403913 1
test=> insert into ip_table values ('10.10.10.11');
INSERT 1403914 1
test=> select distinct addr from ip_table ;
addr
-----------
10.10.10.10
10.10.10.11
(2 rows)
test=> insert into ip_table values ('10.10.10.10');
INSERT 1403915 1
test=> select distinct addr from ip_table ;
addr
-----------
10.10.10.10
10.10.10.10
10.10.10.11
(3 rows)
???? I've read there was some bugs with inet type but i have not see it
.
It seems to appear when i insert a value , after a select distinct and
not if i insert without look at the result .
Is anybody could help me ? (Postgresql 6.5.2 on a Debian )
Loic
loic@ext.cri74.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: loic@cri74.org
Subject: Re: select distinct inet bug
In-Reply-To: <392A364B.1274A042@ext.cri74.org>
References: <392A364B.1274A042@ext.cri74.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox