Re: question about HTTP API - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: question about HTTP API
Date
Msg-id 52090F35.1060603@gmx.net
Whole thread Raw
In response to Re: question about HTTP API  (Josh Berkus <josh@agliodbs.com>)
Responses Re: question about HTTP API
List pgsql-hackers
On 8/8/13 3:44 PM, Josh Berkus wrote:
> Other than that, no.  I was thinking of creating a general tool as a
> custom background worker, which would take stored procedure calls and
> pass them through to PostgreSQL, returning results as JSON.  Mainly
> because I need it for a project.  However, this wouldn't accept any query.

You can write such a thing in 20 lines of code as an external service.
What's the value in having it has a background worker?  (Note also the
term *background* worker.)  It just seems harder to manage and scale
that way.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_dump and schema names
Next
From: Szymon Guz
Date:
Subject: Re: question about HTTP API