On 02/02/16 16:30, Karl O. Pinc wrote:
> Thanks, but I don't think so. Those are interactive
> python shells. What they want is a web-enabled psql;
> a SQL shell.
>
> Many years ago I did a horrible hack of phpPgAdmin
> to give them such a shell (it parses sql). I'd
> like to move forward.
I haven't played much with your particular problem, but it seems that
adminer does what you want. You can SELECT from a table from the left
panel, then restrict the data that you want using dropdowns, and you'll
see the generated SQL before the results with an Edit link. If you
click on that and then add a semicolon and another query, it returns two
sets of results.
Joe