Re: passing function's output into C function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kamil Kukura <kamk(at)volny(dot)cz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: passing function's output into C function
Date: 2003-11-28 16:44:33
Message-ID: 28605.1070037873@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kamil Kukura <kamk(at)volny(dot)cz> writes:
> Is there something I'm missing when data are passed from function to
> function?

I get the impression your function is expecting the contents of a text
datum to be null-terminated. It's not.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jason Tesser 2003-11-28 17:10:15 Re: PostgreSQL Advocacy, Thoughts and Comments
Previous Message Paul Thomas 2003-11-28 16:17:08 Re: PostgreSQL Advocacy, Thoughts and Comments