From 469193f76f749f4efaeaf19e280019524395b70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=83=D0=B7=D0=BD=D0=B5=D1=86=D0=BE=D0=B2=20=D0=92?= =?UTF-8?q?=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=92=D0=B0=D1=81?= =?UTF-8?q?=D0=B8=D0=BB=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 19 Feb 2024 10:35:08 +0300 Subject: [PATCH] Changed the procedure call for PostgreSQL --- src/backends/postgresql/statement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/postgresql/statement.cpp b/src/backends/postgresql/statement.cpp index 5995b45b7..319553db1 100644 --- a/src/backends/postgresql/statement.cpp +++ b/src/backends/postgresql/statement.cpp @@ -711,7 +711,7 @@ std::string postgresql_statement_backend::get_parameter_name(int index) const std::string postgresql_statement_backend::rewrite_for_procedure_call( std::string const & query) { - std::string newQuery("select "); + std::string newQuery("call "); newQuery += query; return newQuery; }