Re: Question about "compound" queries.

From: "Anton A(dot) Melnikov" <aamelnikov(at)inbox(dot)ru>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about "compound" queries.
Date: 2022-10-25 11:45:28
Message-ID: db8a8685-649b-b6a2-d922-00ed2167939b@inbox.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks a lot for the reply and timely help!

On 25.10.2022 01:36, David G. Johnston wrote:

> I suspect they came about out of simplicity - being able to simply take a text file with a bunch of SQL commands in a script and send them as-is to the server without any client-side parsing and let the server just deal with it.  It works because the system needs to do those kinds of things anyway so, why not make it user-facing, even if most uses would find its restrictions makes it undesirable to use.
>
> David J.
>

All the best,

--
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-10-25 11:59:57 Re: Allow file inclusion in pg_hba and pg_ident files
Previous Message Julien Rouhaud 2022-10-25 11:03:41 Re: Make EXPLAIN generate a generic plan for a parameterized query