Re: A problem presentaion about ECPG, DECLARE STATEMENT

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: A problem presentaion about ECPG, DECLARE STATEMENT
Дата
Msg-id 20190927181440.GM31412@momjian.us
обсуждение исходный текст
Ответ на Re: A problem presentaion about ECPG, DECLARE STATEMENT  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Sep 16, 2019 at 01:12:17PM +0200, Peter Eisentraut wrote:
> Moreover, I've been wondering about the behavior detail given in the
> table at
> <https://www.postgresql.org/docs/devel/ecpg-sql-declare-statement.html>.
>  In scenario 3, the declare statement says con1 but the subsequent
> dynamic statement says con2, and as a result of that, con1 is used.
> This is not intuitive, I'd say, but given that there is no indication of
> where this statement came from or whose idea it follows, it's unclear
> how to evaluate that.

FYI, I was totally confused by this also when researching this for the
PG 12 release notes.  I am glad we are going to redo it for PG 13.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: recovery starting when backup_label exists, but notrecovery.signal
Следующее
От: James Coleman
Дата:
Сообщение: Consider low startup cost in add_partial_path