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

Re: [HACKERS] Re: hackers-digest V1 #1013

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] Re: hackers-digest V1 #1013
Date: 1998-10-10 15:41:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
darcy(at)druid(dot)net (D'Arcy J.M. Cain) writes:
> Based on the discussions we had earlier I am surprised by the
> following.

> darcy=> select ''::inet;
> ?column?
> --------
> 198/8   
> (1 row)

> I would have expected it to print what I entered.

Why?  You told it to truncate the data to 8 bits, so it did.  (At least,
that's my understanding of what the /n notation means, but maybe I'm

			regards, tom lane


pgsql-hackers by date

Next:From: D'Arcy J.M. CainDate: 1998-10-10 15:58:37
Subject: Permissions not working?
Previous:From: Cary B. O'BrienDate: 1998-10-10 15:31:35
Subject: Bug and Patch for dump/restore of varchars

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