Re: Calling rest service from postgresql functions and stored proc - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Calling rest service from postgresql functions and stored proc
Date
Msg-id CAFj8pRAYFFriABvwfDgZG9_jbjEcdXuF2n+GLdg3R1DbGCrT4Q@mail.gmail.com
Whole thread Raw
In response to Calling rest service from postgresql functions and stored proc  ("mahesh.sp" <mahes.sp@gmail.com>)
List pgsql-general
Hi

čt 7. 2. 2019 v 10:53 odesílatel mahesh.sp <mahes.sp@gmail.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

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Calling rest service from postgresql functions and stored proc
Next
From: Maximilian Tyrtania
Date:
Subject: Re: Connection issue