Re: Feature, my misconception or bug??
| От | Markus Schaber |
|---|---|
| Тема | Re: Feature, my misconception or bug?? |
| Дата | |
| Msg-id | 43FC5F2F.8030101@logix-tt.com обсуждение исходный текст |
| Ответ на | Re: Feature, my misconception or bug?? (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-sql |
Hi, Peter, Peter Eisentraut wrote: > Am Mittwoch, 22. Februar 2006 13:04 schrieb Achilleus Mantzios: > >>foodb=# SELECT '255.255.255.255/24'::cidr; >>ERROR: invalid cidr value: "255.255.255.255/24" >>DETAIL: Value has bits set to right of mask. > > >>in this case >>11111111.11111111.11111111.11111111 >>has no bits set to right of >> 8 LSB ^ > > > I'm sure you are aware that "1" is a set bit, so which part are you not > understanding? I guess he's confused by the fact that /24 complains about bits 25-31 beeing set, while /25 does not complain aobut bigs 26-31 beeing set. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
В списке pgsql-sql по дате отправления: