Thread: 7.3b1 on Mac OS X (Darwin)

7.3b1 on Mac OS X (Darwin)

From
David Wheeler
Date:
Hi All,

I just built 7.3b1 on Mac OS X (aka Darwin), and ran into only a few
(minor) issues with it:

1. Configure failed at first, because it didn't find readline:

   checking for readline... no
   configure: error: readline library not found
   Use --without-readline to disable readline support.

I recompiled --without-readline, and all was well. I think I'll install
this library myself, but it might be good to have a hint for Darwin
that uses readline if it finds it, but doesn't fail if it doesn't fine
it.

2. During initdb, I noticed this line:

   creating template1 database in /usr/local/pgsql/data/base/1...
   Failed to initialize lc_time to ''
   ok

I'm not sure of the significance of this, since everything seems to
work fine.

3. Function privileges are different for user-created functions. I
haven't been granting privileges on functions up to now, of course, and
my application, Bricolage, has only one. Now, it appears that as a user
who didn't create the function, I don't have permission to execute it.
However, I *can* execute all the standard functions (e.g., chr, min,
etc.). I can grant the permission on my custom function, but I'd rather
that it behaved like all the default functions without my having to do
so. Would it be possible for the default to be that non-default
functions work as they did before this new feature was added?

Anyway, that's all I've noticed so far! Great work -- thanks!

Regards,

David

--
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org

Re: 7.3b1 on Mac OS X (Darwin)

From
Peter Eisentraut
Date:
David Wheeler writes:

> I recompiled --without-readline, and all was well. I think I'll install
> this library myself, but it might be good to have a hint for Darwin
> that uses readline if it finds it, but doesn't fail if it doesn't fine
> it.

We just got rid of the behavior you describe because it caused about a
dozen "my cursor keys don't work in psql" complaints a month.  Now we hope
it won't cause a dozen "I'm too lazy to type --without-readline"
complaints a month. :-)

>    creating template1 database in /usr/local/pgsql/data/base/1...
>    Failed to initialize lc_time to ''
>    ok

This should be OK in the next beta.

> Would it be possible for the default to be that non-default
> functions work as they did before this new feature was added?

No.  But we are working on making the upgrade smoother.

--
Peter Eisentraut   peter_e@gmx.net

Re: 7.3b1 on Mac OS X (Darwin)

From
David Wheeler
Date:
On Monday, September 16, 2002, at 04:09  PM, Peter Eisentraut wrote:

> We just got rid of the behavior you describe because it caused about a
> dozen "my cursor keys don't work in psql" complaints a month.  Now we
> hope
> it won't cause a dozen "I'm too lazy to type --without-readline"
> complaints a month. :-)

I'll bet you get both. ;-)

>>    creating template1 database in /usr/local/pgsql/data/base/1...
>>    Failed to initialize lc_time to ''
>>    ok
>
> This should be OK in the next beta.

Cool.

>> Would it be possible for the default to be that non-default
>> functions work as they did before this new feature was added?
>
> No.  But we are working on making the upgrade smoother.

Good, I look forward to seeing it. Right now I've added a bit of a hack
to my database build script to make it all work...

Regards,

David

--
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org