Bug #5260

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

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

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

0%

Category:-
Target version:Release 1.4
Resolution:

Description

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

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

(1 row)

test=#
Run second time:
test=# select plsimple();
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

History

#2 Updated by anthony chen 11/03/2011 (over 2 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 2 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