> Just curious, what functions did we finally settle on for this type?
> I ask because I just thought of another function that might be useful.
> select block(cidr1, cidr2);
> to return 1 if cidr2 is part of the cidr1 block, -1 if cidr1 is part
> of the cidr2 block and 0 if neither.
Check \df and \fo. There is a >> and << operators that do subnet
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
|Next:||From: Tom Ivar Helbekkmo||Date: 1998-10-09 08:50:00|
|Subject: Re: [HACKERS] Open 6.4 items|
|Previous:||From: Thomas G. Lockhart||Date: 1998-10-09 05:00:32|
|Subject: Re: [HACKERS] man page installation patch|