Bug #5260

The function could not return varchar string -- When there is function definition in includes

Added by anthony chen 11/03/2011 (over 10 years) ago. Updated 11/04/2011 (over 10 years) ago.

Status:NewStart date:11/02/2011
Priority:HighDue date:11/11/2011
Assignee:-% Done:


Target version:Release 1.4


There is pl/php definition as attached plsimple.sql. Which include other files blank.php.

Run first time:
test=# select plsimple();

(1 row)

Run second time:
test=# select plsimple();
Hello world!
(1 row)

When remove the definition of function test() in the blank.php, the issue disppears.

plsimple.sql - This is plsimple definition. (294 Bytes) anthony chen, 11/02/2011 11:16 PM

blank.php Magnifier - This is blank.php for function definition (28 Bytes) anthony chen, 11/02/2011 11:19 PM


#2 Updated by anthony chen 11/03/2011 (over 10 years) ago

To be sure that blank.php need to be owned by postgres,
or else will failed to run.

#3 Updated by anthony chen 11/04/2011 (over 10 years) ago

This issue is closed at https://github.com/commandprompt/PL-php lastest checkout version.

Sorry to report incorrect issues.

Also available in: Atom PDF