Re: Docs for service file
От | Joe Conway |
---|---|
Тема | Re: Docs for service file |
Дата | |
Msg-id | 3E1B251E.1040502@joeconway.com обсуждение исходный текст |
Ответ на | Re: Docs for service file (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: Docs for service file
|
Список | pgsql-patches |
Bruce Momjian wrote: > Oh, so there is one central server with connection information. > Interesting. Might be easier to just NFS mount the pg_service.conf file > on all the machines.... at least easier for us. ;-) > The way this is used on Oracle (at least in my experience) is to distribute a "tnsnames.ora" file to all of your client machines. Our Oracle dba maintains a master copy in cvs, and distributes changes whenever he adds or moves an Oracle instance (equiv to a single PostgreSQL database). It's a pain to keep the file syncronized, but it is nice to be able to able to type "prod" or "proto" or whatever depending on the database you want to connect to, without having to remember the actual server name and port. I have never actually seen the Oracle Names Listener (i.e the central service info server) functionality used (even though we have it). Not sure why. Joe
В списке pgsql-patches по дате отправления: