> CStringGetDatum produces a datum of type cstring. You want a datum of
> type text. PointerGetDatum(cstring_to_text(pw)) ought to do it.
Thanks very much -- that works! This is my first foray into writing C
functions so I have a lot to learn. Is there a better way to accomplish
what I am trying to do?
-- Gary Chambers
In response to
pgsql-novice by date
|Next:||From: ScientificWare-Luigi D'Angelo||Date: 2011-09-09 15:02:42|
|Subject: replication set-up|
|Previous:||From: Carlo Ascani||Date: 2011-09-08 07:46:01|
|Subject: Re: copy- what's my root directory?|