Re: Calling rest service from postgresql functions and stored proc

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "mahesh(dot)sp" <mahes(dot)sp(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Calling rest service from postgresql functions and stored proc
Date: 2019-02-07 10:00:16
Message-ID: CAFj8pRAYFFriABvwfDgZG9_jbjEcdXuF2n+GLdg3R1DbGCrT4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

čt 7. 2. 2019 v 10:53 odesílatel mahesh.sp <mahes(dot)sp(at)gmail(dot)com> napsal:

> Hi,
>
> Would like to know whether postgresql supports calling a rest service from
> function or stored procedure.
>
> Looking for Oracle to postgresql feasibility study.
>
> Searched in Google but could not find any official document regarding the
> same. Appreciate if inputs or reference links are shared or confirmed.
>

you can do simply via untrusted languages or you can use this extension
https://github.com/pramsey/pgsql-http (better).

or don't do it. Usually it is not great idea (sometimes there can be a
exceptions)

Regards

Pavel

>
> Thanks,
> Mahesh
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Maximilian Tyrtania 2019-02-07 10:25:32 Re: Connection issue
Previous Message Magnus Hagander 2019-02-07 09:57:50 Re: Calling rest service from postgresql functions and stored proc