RE: Executing a Function with an INSERT INTO command fails - Mailing list pgsql-general

From TalGloz
Subject RE: Executing a Function with an INSERT INTO command fails
Date
Msg-id 1535560026747-0.post@n3.nabble.com
Whole thread Raw
In response to RE: Executing a Function with an INSERT INTO command fails  ("Charles Clavadetscher" <clavadetscher@swisspug.org>)
Responses Re: Executing a Function with an INSERT INTO command fails
Re: Executing a Function with an INSERT INTO command fails
RE: Executing a Function with an INSERT INTO command fails
List pgsql-general
This is very strange, even if I comment all the loops in the function and
leave only the INSERT INTO command the insert still doesn't happen.

> The sealArray creation is modified, because I don't know how the function
> public.seal_diff_benchmark is defined.
>>  public.seal_diff_benchmark(tempVar1, tempVar2, sealparams) is a C
>> extension function that takes TEXT 3 parameters does something with them
>> and returns an array of TEXT with  [text_1, text_2] back. The C extension
>> uses some external project libraries compiled into a .so file and copied
>> into the pgsql-10/lib/.
> Is there any reason for the loop 1..2? 

This is just for doing some tests, the number 2 will be replaced later with
some parameter.

Best regards,
Tal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


pgsql-general by date:

Previous
From: abhishekgautam009@gmail.com
Date:
Subject: Unscibscribe
Next
From: Tom Lane
Date:
Subject: Re: Executing a Function with an INSERT INTO command fails