fix issue #3.

use PG_GETARG_TEXT_P instead of PG_GETARG_TEXT_PP as suggested by tom lane
on pgsql-novice mailing list.