Unix Technical Forum

Re: Strange issue with initdb on 8.0 and Solaris automounts

This is a discussion on Re: Strange issue with initdb on 8.0 and Solaris automounts within the pgsql Hackers forums, part of the PostgreSQL category; --> Yes, thanks very much! - DAP >-----Original Message----- >From: pgsql-hackers-owner@postgresql.org >[mailto gsql-hackers-owner@postgresql.org] On Behalf Of Kenneth Lareau >Sent: Thursday, ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 03:30 AM
David Parker
 
Posts: n/a
Default Re: Strange issue with initdb on 8.0 and Solaris automounts

Yes, thanks very much!

- DAP

>-----Original Message-----
>From: pgsql-hackers-owner@postgresql.org
>[mailtogsql-hackers-owner@postgresql.org] On Behalf Of Kenneth Lareau
>Sent: Thursday, January 27, 2005 8:10 PM
>To: Tom Lane
>Cc: Kenneth Lareau; pgsql-hackers@postgresql.org
>Subject: Re: [HACKERS] Strange issue with initdb on 8.0 and
>Solaris automounts
>
>In message <22687.1106872653@sss.pgh.pa.us>, Tom Lane writes:
>>Kenneth Lareau <elessar@numenor.org> writes:
>>> In message <22095.1106869848@sss.pgh.pa.us>, Tom Lane writes:
>>>> Could you truss that and see what it does?

>>
>>> Here's the relevant truss output from 'mkdir

>/software/postgresql-8.0.0'
>>> on my Solaris 9 system:

>>
>>> 10832: mkdir("/software/postgresql-8.0.0", 0777)

>Err#89 ENOSYS
>>> 10832: stat64("/software/postgresql-8.0.0", 0xFFBFFA38) = 0

>>
>>> It's doing the stat after the mkdir attempt it seems, and

>coming back
>>> with the correct response. Hmm, maybe I should look at the

>Solaris 8
>>> code for the mkdir command...

>>
>>Well, the important point is that the stat does succeed. I'm

>not going
>>to put in anything as specific as a check for ENOSYS, but it seems
>>reasonable to try the stat first and mkdir only if stat fails.
>>I've applied the attached patch.
>>
>> regards, tom lane

>
>
>Tom, thank you very much for the patch, it worked like a charm.
>
>
>Ken Lareau
>elessar@numenor.org
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index
>scan if your
> joining column's datatypes do not match
>


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com