pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TalGloz <glozmantal@gmail.com>
To: pgsql-general@postgresql.org
Subject: RE: Executing a Function with an INSERT INTO command fails
Date: Wed, 29 Aug 2018 09:27:06 -0700 (MST)
Message-ID: <1535560026747-0.post@n3.nabble.com> (raw)
In-Reply-To: <019e01d43f91$5f3c4460$1db4cd20$@swisspug.org>
References: <1535533938898-0.post@n3.nabble.com>
	<019001d43f86$11742960$345c7c20$@swisspug.org>
	<1535541719123-0.post@n3.nabble.com>
	<019e01d43f91$5f3c4460$1db4cd20$@swisspug.org>

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




view thread (14+ messages)  latest in thread

Message-ID: <1535560026747-0.post@n3.nabble.com>
Permalink:  ../1535560026747-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1535560026747-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: glozmantal@gmail.com
  Subject: Re: Executing a Function with an INSERT INTO command fails
  In-Reply-To: <1535560026747-0.post@n3.nabble.com>
  References: <1535533938898-0.post@n3.nabble.com> <019001d43f86$11742960$345c7c20$@swisspug.org> <1535541719123-0.post@n3.nabble.com> <019e01d43f91$5f3c4460$1db4cd20$@swisspug.org> <1535560026747-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox