Re: Weird behaviour of C extension function

2020-04-24 Thread Laurenz Albe
On Fri, 2020-04-24 at 14:53 +0200, Amaury Bouchard wrote: > I have a really strange behaviour with a C function, wich gets a text as > parameter. > Everything works fine when I call the function directly, giving a text string > as parameter. But a problem occurs when I try to read data from a tab

Weird behaviour of C extension function

2020-04-24 Thread Amaury Bouchard
Hello everybody, I have a really strange behaviour with a C function, wich gets a text as parameter. Everything works fine when I call the function directly, giving a text string as parameter. But a problem occurs when I try to read data from a table. To illustrate the problem, I stripped the fun