is ExecuteProc() ready for postgreSQL?
See original GitHub issuestored procedure:
CREATE OR REPLACE PROCEDURE "Schema1"."sp_Test"(
"Id" integer)
LANGUAGE 'plpgsql'
AS $BODY$
BEGIN
END
$BODY$;
test:
//int exec = db.Execute("CALL \"Schema1\".\"sp_Test\"(@p0)", new DataParameter("p0", 1)); //work
var input1 = new DataParameter("Id", 1, DataType.Int32) { Direction = ParameterDirection.Input };
int proc = db.ExecuteProc("\"Schema1\".\"sp_Test\"", input1); //not work
Error: 42809: Schema1.sp_Test(Id => integer) is a procedure Hint: To call a procedure, use CALL
does that mean i cannot use ExecuteProc() for postgre?
Environment details
linq2db version: 3.2.3 Database: PostgreSQL 12.1 .NET Framework: 4.7.2
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Documentation: 15: pg_isready
pg_isready is a utility for checking the connection status of a PostgreSQL database server. The exit status specifies the result of the connection...
Read more >Documentation: 15: PREPARE
You can see all prepared statements available in the session by querying the pg_prepared_statements system view. Examples. Create a prepared statement for an ......
Read more >Documentation: 15: CALL
However, arguments matching OUT parameters are not evaluated, so it's customary to just write NULL for them. (Writing something else for an OUT...
Read more >Documentation: 15: EXECUTE
Note that (unlike functions) prepared statements are not overloaded based on the type or number of their parameters; the name of a prepared...
Read more >Documentation: 8.1: libpq - C Library
libpq is a set of library functions that allow client programs to pass queries to the PostgreSQL backend server and to receive the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Issue is still open
Closing it, as I’m not aware of issues with pgsql procedures execution support