pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedQuery REST Service
2+ messages / 2 participants
[nested] [flat]
* Query REST Service
@ 2012-04-25 20:13 Ricardo Bayley <ricardo.bayley@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Bayley @ 2012-04-25 20:13 UTC (permalink / raw)
To: pgsql-admin
Hi folks,
Does anybody know if it is possible to create a PL which sends an http GET
request and retrieves its response ?
I am willing to use a REST service from within pgsql.
Maybe I am just trying to do an impossible.
Any hints ?
warm regards,
Ricardo
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Query REST Service
@ 2012-04-25 20:21 Kevin Grittner <Kevin.Grittner@wicourts.gov>
parent: Ricardo Bayley <ricardo.bayley@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Grittner @ 2012-04-25 20:21 UTC (permalink / raw)
To: Ricardo Bayley <ricardo.bayley@gmail.com>; pgsql-admin
Ricardo Bayley <ricardo.bayley@gmail.com> wrote:
> Does anybody know if it is possible to create a PL which sends an
> http GET request and retrieves its response ?
Have you looked at PL/Python?
http://www.postgresql.org/docs/current/interactive/plpython.html
-Kevin
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-04-25 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 20:13 Query REST Service Ricardo Bayley <ricardo.bayley@gmail.com>
2012-04-25 20:21 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
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