Re: [HACKERS] pg_config/share_dir

2005-09-26 Thread Tom Lane
Jim C. Nasby [EMAIL PROTECTED] writes: * Add options to pg_config to show the share_dir, sysconfdir, pkgincludedir, and localedir Should that be marked as a beginner TODO? It could, but I think it's going to get DONE in the next few days as a necessary step in fixing the pgxs relocatability

Re: [HACKERS] pg_config/share_dir

2005-09-26 Thread Jim C. Nasby
Should that be marked as a beginner TODO? On Thu, Sep 22, 2005 at 11:04:23PM -0400, Bruce Momjian wrote: Added to TODO: * Add options to pg_config to show the share_dir, sysconfdir, pkgincludedir, and localedir

Re: [HACKERS] pg_config/share_dir

2005-09-22 Thread Bruce Momjian
Added to TODO: * Add options to pg_config to show the share_dir, sysconfdir, pkgincludedir, and localedir --- Tom Lane wrote: Peter Eisentraut [EMAIL PROTECTED] writes: Andrew Dunstan wrote:

Re: [HACKERS] pg_config/share_dir

2005-09-08 Thread Darcy Buskermolen
On Wednesday 07 September 2005 18:44, Peter Eisentraut wrote: Why do you need access to postgresql.conf.sample? We don't need access to that file, but install some sql files into the share dir, the test for postgresql.conf.sample is there just to see if the dir looks like a likely candidate

Re: [HACKERS] pg_config/share_dir

2005-09-08 Thread Darcy Buskermolen
On Wednesday 07 September 2005 17:31, Andrew Dunstan wrote: Darcy Buskermolen wrote: On Wednesday 07 September 2005 15:52, Andrew Dunstan wrote: Peter Eisentraut wrote: Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a

Re: [HACKERS] pg_config/share_dir

2005-09-08 Thread Peter Eisentraut
Darcy Buskermolen wrote: We don't need access to that file, but install some sql files into the share dir, the test for postgresql.conf.sample is there just to see if the dir looks like a likely candidate to be the dir we are infact after.. Then my response is that Slony has absolutely no

Re: [HACKERS] pg_config/share_dir

2005-09-08 Thread Andrew Dunstan
Peter Eisentraut wrote: Darcy Buskermolen wrote: We don't need access to that file, but install some sql files into the share dir, the test for postgresql.conf.sample is there just to see if the dir looks like a likely candidate to be the dir we are infact after.. Then my response

Re: [HACKERS] pg_config/share_dir

2005-09-08 Thread Peter Eisentraut
Andrew Dunstan wrote: Why be so prescriptive? We're not prescribing anything. You can install your stuff anywhere you want to, but we're certainly not going to encourage or facilitate that other software installs files in directories that belong to PostgreSQL, except where this is

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Peter Eisentraut
Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a case where a user would need anything from there? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Andrew Dunstan
Peter Eisentraut wrote: Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a case where a user would need anything from there? Why would they need pkglibdir either? I was asked about this by an author who

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Peter Eisentraut
Andrew Dunstan wrote: Why would they need pkglibdir either? To determine what $libdir resolves to. I was asked about this by an author who wanted to use it to find where to put module config/setup scripts. Probably not in PostgreSQL's data directory, but his own. -- Peter Eisentraut

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Darcy Buskermolen
On Wednesday 07 September 2005 15:52, Andrew Dunstan wrote: Peter Eisentraut wrote: Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a case where a user would need anything from there? the way wo do this in slony is with

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a case where a user would need anything from there? pg_config serves a function of recording the configuration, so I tend to agree

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Peter Eisentraut
Tom Lane wrote: pg_config serves a function of recording the configuration, pg_config was meant (as opposed to serves) to provide information that is of use for building third-party things. Hence includedir, libdir for building, pkglibdir for installing. The option --configure records the

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Andrew Dunstan
Darcy Buskermolen wrote: On Wednesday 07 September 2005 15:52, Andrew Dunstan wrote: Peter Eisentraut wrote: Andrew Dunstan wrote: pg_config doesn't currently seem to have an option to report the share_dir. Should it? Is there a case where a user would need

Re: [HACKERS] pg_config/share_dir

2005-09-07 Thread Peter Eisentraut
Why do you need access to postgresql.conf.sample? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq