[EMAIL PROTECTED] writes:
> text *pattern = (text*)PG_GETARG_TEXT_P(0);
> text *sample = (text*)PG_GETARG_TEXT_P(1);
> char *char_pattern = (char*)VARDATA(pattern);
> char *char_sample = (char*)VARDATA(sample);
You can't convert text* to char* with just a cast. The result won't
(usually) be n
Kovacs Balazs ([EMAIL PROTECTED]) reports a bug with a severity of 3
The lower the number the more severe it is.
Short Description
different result with the same parameterlist in function call
Long Description
I have written a simple function in C under pg (it uses regex lib):
#include
#include