Re: pg_service.conf ?
От | Dave Cramer |
---|---|
Тема | Re: pg_service.conf ? |
Дата | |
Msg-id | 6B8D82C9-45D4-41C7-BB1E-81152A69B228@fastcrypt.com обсуждение исходный текст |
Ответ на | Re: pg_service.conf ? (Christopher Browne <cbbrowne@acm.org>) |
Список | pgsql-jdbc |
On 14-Mar-06, at 11:55 AM, Christopher Browne wrote: > In an attempt to throw the authorities off his trail, > pg@fastcrypt.com (Dave Cramer) transmitted: >> Ever wanted to retract an email after you sent it ? I realized the >> complete stupidity of that statement 30 seconds after I hit send > > Well, this is a common enough problem that there are occasions where > people build server-based mechanisms for it... > > Oracle has something whose name I misremember where you head to a > server to get the *real* server configuration. > > CORBA had this notion with the Naming Service; you start by getting a > connection to a Naming Service object, and then ask where the *real* > services are... > > How to do it "right" for JDBC is a good question. Searching for > .pgpass in $HOME is pretty obvious. It is less obvious where to > search for pg_service.conf if all that is installed is JDBC, and there > is no PostgreSQL instance around. This is useful if you have a $HOME dir, but in the case of a web application this isn't guaranteed > -- > output = reverse("gro.mca" "@" "enworbbc") > http://linuxdatabases.info/info/internet.html > What do you mean "Why's it got to be built?" It is a bypass. > You've got > to build bypasses. > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq >
В списке pgsql-jdbc по дате отправления: