Re: Is it possible to call Postgres directly?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it possible to call Postgres directly?
Date: 2016-04-21 03:24:10
Message-ID: 571847DA.1020301@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/20/2016 7:27 PM, david(at)andl(dot)org wrote:
> Re (1): At present I can do it like this:
>
> SELECT * FROM COMPILE($$
> <Andl code goes here>
> $$);
>
> But I would like to avoid the outer SQL SQL wrapper.

so all your top level application queries are of the form SELECT * from
FUNCTION() ?

thats not going to do a very good job on things like joins, aggregates,
etc, your ANDL is going to be completely reinventing the wheel, its own
query optimizer, figuring out how to use indexes, all the postgres
datatypes and things like postGIS, etcetcetc ?

huh.

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message drum.lucas@gmail.com 2016-04-21 05:09:54 Update field to a column from another table
Previous Message Tom Lane 2016-04-21 03:05:21 Re: Is it possible to call Postgres directly?