Re: location of the configuration files
От | Kevin Brown |
---|---|
Тема | Re: location of the configuration files |
Дата | |
Msg-id | 20030214134737.GU1833@filer обсуждение исходный текст |
Ответ на | Re: location of the configuration files (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
Bruce Momjian wrote: > If you want ps to display the data dir, you should use -D. Remember, it > is mostly important for multiple postmaster, so if you are doing that, > just use -D, but don't prevent single-postmaster folks from using > PGDATA. Perhaps another reasonable approach would be to put an #ifdef/#endif around the "potential_DataDir = getenv("PGDATA");" line in postmater.c and create a configure option to enable it. That way you guys get the behavior you want for testing but production builds could disable it if that's viewed as desirable. You'd want to make the error message that's produced when no data directory is specified depend on the same #ifdef variable, of course. Then the group would get to fight it out over whether the configure default should be "enable" or "disable". :-) -- Kevin Brown kevin@sysexperts.com
В списке pgsql-hackers по дате отправления: