pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: denis.feklushkin@gmail.com
Subject: BUG #18712: inet value ::2 handling goes not as expected
Date: Sat, 16 Nov 2024 06:50:10 +0000
Message-ID: <18712-f787a146022a78e4@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18712
Logged by:          Denis Feklushkin
Email address:      denis.feklushkin@gmail.com
PostgreSQL version: 17.1
Operating system:   Debian
Description:        

I think that statement

select '::0.0.0.2'::inet;

should return '::0.0.0.2' value, not '::2'

I think this is what was intended in the Postgres sources. But it seems that
this line is never executed:
https://github.com/postgres/postgres/blob/7b88529f4363994450bd4cd3c172006a8a77e222/src/port/inet_net...



view thread (4+ messages)  latest in thread

Message-ID: <18712-f787a146022a78e4@postgresql.org>
Permalink:  ../18712-f787a146022a78e4@postgresql.org/
Also on:    postgresql.org/message-id/18712-f787a146022a78e4@postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, denis.feklushkin@gmail.com
  Subject: Re: BUG #18712: inet value ::2 handling goes not as expected
  In-Reply-To: <18712-f787a146022a78e4@postgresql.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