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

Re: [HACKERS] CIDR/INET improvements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Joachim Wieland <joe(at)mcknight(dot)de>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] CIDR/INET improvements
Date: 2006-01-24 04:30:58
Message-ID: 13552.1138077058@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Patch for testing attached.

This is an utterly bad idea, because it not only doesn't address the
problem (ie, confusion about whether inet and cidr are distinct types
or not), but it masks mistakes in that realm by hiding data on output.
It'll be almost impossible to debug situations where x is different
from y but they display the same.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Alon GoldshuvDate: 2006-01-24 07:57:18
Subject: Re: Libpq COPY optimization
Previous:From: Jeroen T. VermeulenDate: 2006-01-24 04:29:13
Subject: Re: ROLLBACK triggers?

pgsql-patches by date

Next:From: Alon GoldshuvDate: 2006-01-24 08:02:20
Subject: Libpq COPY optimization patch
Previous:From: Bruce MomjianDate: 2006-01-24 04:15:47
Subject: Re: [HACKERS] CIDR/INET improvements

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