RE: version 1 C-Language Functions - Mailing list pgsql-general

From Gowey, Geoffrey
Subject RE: version 1 C-Language Functions
Date
Msg-id E15F4B031E17D5118B18009027F67927DABF@SERVER
Whole thread Raw
In response to version 1 C-Language Functions  ("Gowey, Geoffrey" <ggowey@rxhope.com>)
Responses Re: version 1 C-Language Functions
List pgsql-general
What would the correct syntax be in order to do what I want to?  I need to
enter in a variable length email address as the parameter to my planned
function.  The param will then become part of a select statement to get
records (which I currently plan to accomplish by using strcat to join the
beginning of the select plus the param plus the closing '.  Also where is
some good documentation on V1 command usage and examples?

Geoff

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Saturday, August 25, 2001 7:29 PM
To: Gowey, Geoffrey
Cc: 'pgsql-general@postgresql.org'
Subject: Re: [GENERAL] version 1 C-Language Functions


"Gowey, Geoffrey" <ggowey@rxhope.com> writes:
> Unfortunately, this function fails.  What am i doing wrong?

"text *" is not "char *".  The equivalent V0 code would fail just the
same way.

            regards, tom lane

pgsql-general by date:

Previous
From: Peter Lauko
Date:
Subject: Re: problems on solaris 7 (part 2) (fwd)
Next
From: "Gowey, Geoffrey"
Date:
Subject: RE: PL/java?