Re: Willing to fix a PQexec() in libpq module

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Willing to fix a PQexec() in libpq module
Дата
Msg-id
20190319165557.w2kmnhlzdnispxvu@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Willing to fix a PQexec() in libpq module "Wu, Fei" <wufei.fnst@cn.fujitsu.com>
Re: Willing to fix a PQexec() in libpq module Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Willing to fix a PQexec() in libpq module Tom Lane <tgl@sss.pgh.pa.us>
Re: Willing to fix a PQexec() in libpq module David Fetter <david@fetter.org>
Re: Willing to fix a PQexec() in libpq module Tom Lane <tgl@sss.pgh.pa.us>
Re: Willing to fix a PQexec() in libpq module Andres Freund <andres@anarazel.de>
Re: Willing to fix a PQexec() in libpq module Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Willing to fix a PQexec() in libpq module David Fetter <david@fetter.org>
Re: Willing to fix a PQexec() in libpq module Andres Freund <andres@anarazel.de>
Re: Willing to fix a PQexec() in libpq module Andres Freund <andres@anarazel.de>
Re: Willing to fix a PQexec() in libpq module Tom Lane <tgl@sss.pgh.pa.us>
Re: Willing to fix a PQexec() in libpq module Andres Freund <andres@anarazel.de>
Re: Willing to fix a PQexec() in libpq module Tom Lane <tgl@sss.pgh.pa.us>
Re: Willing to fix a PQexec() in libpq module David Fetter <david@fetter.org>
Re: Willing to fix a PQexec() in libpq module "Daniel Verite" <daniel@manitou-mail.org>
RE: Willing to fix a PQexec() in libpq module "Wu, Fei" <wufei.fnst@cn.fujitsu.com>
Re: Willing to fix a PQexec() in libpq module Andres Freund <andres@anarazel.de>
Hi,

On 2019-03-19 12:51:39 -0400, Tom Lane wrote:
> David Fetter  writes:
> > I think the answer is "no," and we should deprecate this misfeature.
> > It's bad enough that we'll be supporting it for five years after
> > deprecating it, but it's worse to leave it hanging around our necks
> > forever. https://en.wikipedia.org/wiki/Albatross_(metaphor)
> 
> The problem with that approach is that not everybody agrees that
> it's a misfeature.

Yea, it's extremely useful to just be able to send a whole script to the
server. Otherwise every application wanting to do so needs to be able to
split SQL statements, not exactly a trivial task. And the result will be
slower, due to increased rountrips.

Greetings,

Andres Freund

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Alvaro Herrera
Дата:
FAQ