Project

General

Profile

Bug #5260

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

Added by anthony chen about 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
11/02/2011
Due date:
11/11/2011 (over 13 years late)
% Done:

0%

Estimated time:
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.


Files

plsimple.sql (294 Bytes) plsimple.sql This is plsimple definition. anthony chen, 11/02/2011 11:16 PM
blank.php (28 Bytes) blank.php This is blank.php for function definition anthony chen, 11/02/2011 11:19 PM

Also available in: Atom PDF