Project

General

Profile

Bug #5260

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

Added by anthony chen over 12 years ago. Updated over 12 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
11/02/2011
Due date:
11/11/2011 (over 12 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
#1

Updated by anthony chen over 12 years ago

#2

Updated by anthony chen over 12 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 over 12 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