Nils Goroll napsal(a):
> HI Zdenek,
>
>>> http://cr.opensolaris.org/~nigoroll/postgres_misc-rd4/
>>>
>>> I have updated my ws to b100. I have tried to comment each changed
>>> file with the bugs the change fixes.
>>
>> I have quick comments:
>>
>> 1) I discussed /etc problem with Peter Eisentraut and conclusion is
>> that --syconfigdir should be used to correct setup a path. You
>> already do it, but this path contains version independent
>> configuration. The psqlrc.sample file is usually store in .../share/
>> directory.
>>
>> By my opinion best solution is to set --sysconfigdir=/etc and keep
>> psqlrc.sample in current directory /usr/postgres/8.3/etc. We could
>> change psqlrc.sample to another location during 8.4 integration, but
>> do it now it seem to me as too big effort with zero benefit.
>
> HM. Do you really mean to set --sysconfigdir=/etc or rather
> --sysconfigdir=/etc/pgsql/8.3 ? I'd prefer the latter, as I believe
> having a default dir for each (major) version is a natural consequence
> of having a basedir for each (major) version.
By discussion with Peter this is version independent file. It means there is no
reason to have different directory. I prefer /etc/postgres, but see my comments
bellow.
> Why exactly do you want to avoid adding the root package and putting the
> sample config into the proper directory? Why is this "too big effort"?
> I'd write the ARC case if this is your concern.
ARC case is one problem. But main reason is to be sync with S10 packages. It is
why I have been thinking to postpone this to the 8.4 integration. We cannot
change it for S10. Only what I can do is correctly set --syconfigdir to /etc.
>> By the way not only Solaris has this issue. I checked SUSE and it has
>> similar problem.
>
> Yes, but SUSE does not offer official support for diskless clients while
> Sun does for Solaris. Also, Sun claims to go for the "right solution"
> first, so I think others not implementing proper file system layouts
> should not be an excuse.
I was only example that there is not consensus how to do it.
Zdenek
--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql