From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: connect postgres using url
Date: Tue, 27 Jun 2023 16:46:04 -0700
Message-ID: <c0afdb93-0a28-e27b-82f7-160879c1734e@aklaver.com> (raw)
In-Reply-To: <c1cf3356-a1f2-85d9-35d0-0f6cc76d57e0@aklaver.com>
References: <CA+ONtZ7j=weBrMQADJXm2jSMkz+KLb2tLD_D2g+0+jRMz4XAng@mail.gmail.com>
<c1cf3356-a1f2-85d9-35d0-0f6cc76d57e0@aklaver.com>
On 6/27/23 16:30, Adrian Klaver wrote:
> On 6/27/23 16:14, Atul Kumar wrote:
>> HI,
>>
>> Could you please help me in telling how I can connect my postgres
>> database using http url ?
>
> Are you actually talking about a Web based URL or a URI as in?:
>
> https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
>
> If you are talking about a URL then that would be to some Web service
> that is in the background connecting to the database. How that is done
> is going to depend on the Web service.
Realized that this was not good explanation, especially as a URL is
specialized case of an URI. What I should have been asking is do you
want a connection a URI that connects directly to the database or a URI
in the form of a URL that points at Web resource that in turn, in the
background, connects to the database?
>
>>
>> What steps need to be taken care of ?
>>
>> Please share any referral link, if possible.
>>
>>
>>
>> Regards,
>> Atul
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, akumar14871@gmail.com
Subject: Re: connect postgres using url
In-Reply-To: <c0afdb93-0a28-e27b-82f7-160879c1734e@aklaver.com>
References: <CA+ONtZ7j=weBrMQADJXm2jSMkz+KLb2tLD_D2g+0+jRMz4XAng@mail.gmail.com> <c1cf3356-a1f2-85d9-35d0-0f6cc76d57e0@aklaver.com> <c0afdb93-0a28-e27b-82f7-160879c1734e@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox