Re: connect postgres using url

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: connect postgres using url
Date: 2023-06-27 23:46:04
Message-ID: c0afdb93-0a28-e27b-82f7-160879c1734e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zahir Lalani 2023-06-28 06:56:03 RE: regex failing
Previous Message Adrian Klaver 2023-06-27 23:30:22 Re: connect postgres using url