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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: hackers-digest V1 #1013
Дата
Msg-id 25169.908034114@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: hackers-digest V1 #1013  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: [HACKERS] Re: hackers-digest V1 #1013
Список pgsql-hackers
darcy@druid.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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Cary B. O'Brien"
Дата:
Сообщение: Bug and Patch for dump/restore of varchars
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Permissions not working?