Re: [BUGS] incompatible return type for netmask(inet) function between 7.0.3 and 7.1

2001-04-25 Thread Tom Lane

"Vadim I. Passynkov" <[EMAIL PROTECTED]> writes:
> I ask now about why logical same functions host(inet) and netmask(inet)
> return different types ?

There was a *long* discussion about this last year, and we concluded
that was the right thing to do.  See the mail archives if you want the
details --- but the key point is that host() text() and abbrev() are
primarily useful to allow non-default display formatting of inet/cidr
values, so they should produce text.  If they produced another inet
value then they'd be unable to control how that value got formatted
for display.

regards, tom lane

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])



Re: [BUGS] build of PL/Perl cannot find include files.

2001-04-25 Thread Tom Lane

Mark Hollomon ([EMAIL PROTECTED]) writes:
> A build that includes PL/Perl fails with :

> gmake[1]: Entering directory `/home/mhh/src/postgresql-7.1/src/pl/plperl'
> cc -c  -Ae -O +Onolimit-DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z 
>-I/home/u2/vobadm/perl5/lib/5.00503/PA-RISC1.1/CORE  plperl.c

Hm.  It works fine for me -- I get cc lines like

cc -c -I../../../src/include -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z 
-I/opt/perl5.6.0/lib/5.6.0/PA-RISC2.0/CORE  plperl.c

Please see if you can figure out why EXTRA_INCLUDES isn't getting
propagated from Makefile.PL into the finished Makefile.  (The lack of 
-D_HPUX_SOURCE in your command lines also seems pretty fishy...)

regards, tom lane

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly