Re: Patch for TNS services

From: Jan Wieck <janwieck(at)Yahoo(dot)com>
To: mweilguni(at)sime(dot)com
Cc: Postgres Hacker Lister <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch for TNS services
Date: 2000-08-30 22:26:52
Message-ID: 200008302226.RAA06025@jupiter.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mario Weilguni wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Last week I created a patch for the Postgres client side libraries to allow
> something like a (not so mighty) form of Oracle TNS, but nobody showed any
> interest. Currently, the patch is not perfect yet, but works fine for us. I
> want to avoid improving the patch if there is no interest in it, so if you
> think it might be a worthy improvement please drop me a line.
>
> It works like this:
> The patch allows to supply another parameter to the Postgres connect string,
> called "service". So, instead of having a connect string (e.g. in PHP) like
> "dbname=foo host=bar port=5433 user=foouser password=barpass"
> the string would be
> "service=stupid_name_here"
> or more often
> "service=stupid_name_here user=foouser password=barpass"
>
> There's a config [...]

IMHO a good idea.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2000-08-30 23:00:10 How to store unicode?
Previous Message Tom Lane 2000-08-30 21:29:51 Important 7.0.* fix to ensure buffers are released