pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
connect postgres using url
3+ messages / 2 participants
[nested] [flat]

* connect postgres using url
@ 2023-06-27 23:14  Atul Kumar <akumar14871@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Atul Kumar @ 2023-06-27 23:14 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

HI,

Could you please help me in telling how I can connect my postgres database
using http url ?

What steps need to be taken care of ?

Please share any referral link, if possible.



Regards,
Atul

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: connect postgres using url
@ 2023-06-27 23:30  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Atul Kumar <akumar14871@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Adrian Klaver @ 2023-06-27 23:30 UTC (permalink / raw)
  To: Atul Kumar <akumar14871@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

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.

> 
> What steps need to be taken care of ?
> 
> Please share any referral link, if possible.
> 
> 
> 
> Regards,
> Atul

-- 
Adrian Klaver
adrian.klaver@aklaver.com






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: connect postgres using url
@ 2023-06-27 23:46  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2023-06-27 23:46 UTC (permalink / raw)
  To: Atul Kumar <akumar14871@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

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






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-06-27 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27 23:14 connect postgres using url Atul Kumar <akumar14871@gmail.com>
2023-06-27 23:30 ` Adrian Klaver <adrian.klaver@aklaver.com>
2023-06-27 23:46   ` Adrian Klaver <adrian.klaver@aklaver.com>

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