Fix connection handling for DEALLOCATE and DESCRIBE statements

Michael Meskes <meskes@postgresql.org>

Commit: 399edafa2aba562a8013fbe039f3cbf3a41a436e
Author: Michael Meskes <meskes@postgresql.org>
Date: 2021-08-13T08:45:08Z
Releases: 15.0
Fix connection handling for DEALLOCATE and DESCRIBE statements

After binding a statement to a connection with DECLARE STATEMENT the connection
was still not used for DEALLOCATE and DESCRIBE statements. This patch fixes
that, adds a missing warning and cleans up the code.

Author: Hayato Kuroda
Reviewed-by: Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/TYAPR01MB5866BA57688DF2770E2F95C6F5069%40TYAPR01MB5866.jpnprd01.prod.outlook.com

Files

Discussion