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 '198.1.2.3/8'::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
mistaken.)
regards, tom lane
Responses
pgsql-hackers by date
| Next: | From: D'Arcy J.M. Cain | Date: 1998-10-10 15:58:37 |
| Subject: Permissions not working? |
| Previous: | From: Cary B. O'Brien | Date: 1998-10-10 15:31:35 |
| Subject: Bug and Patch for dump/restore of varchars |