[Gambas-user] Doing query of Stored procedure with no related data crashes gambas

Christof Thalhofer chrisml at deganius.de
Sun Feb 19 19:34:37 CET 2023


Am 19.02.23 um 11:32 schrieb BB:

> You'll need to find the condition where the server interface returns
> notices and no output result parameter.

Ok, in PG:

> testdb=> create procedure testcall () language plpgsql as 
> $$
> begin 
>     raise notice 'note';
> end;
> $$;
> CREATE PROCEDURE
> 
> testdb=> call testcall();
> NOTICE:  note
> CALL

In Gambas:

Code:

>     Testdb.Exec("call testcall();")
>     Print "ok"

On the console:

> NOTICE:  note
> ok

No crash.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230219/50844322/attachment-0001.sig>


More information about the User mailing list