|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-27 03:04 UTC] grant dot croker at ingres dot com
[2007-04-27 03:43 UTC] grant dot croker at ingres dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ While trying to execute the ingres_query() iam encountering with the segmentation fault. This statement works fine while executing other queries like select, create, insert. while executing the copy command iam encountering this error. I dont know where the segmentaion fault occured. but this copy command works fine when executed in the ingres command prompt. I had given all the permissions to that file. Operating system: Linux Database : Ingres9i Server : Apache2 Php : Php5.1.6 Reproduce code: --------------- <html> <head> </head> <body> <?php ingres_connect("iidbdb", "root", "redhat") or die("Connection to db failed"); $query = "copy table test() into 'test4.out'"; echo "<p>" . $query . "</p>"; ingres_query($query); ingres_commit(); ingres_close(); ?> </body> </html> Expected result: ---------------- No errors Actual result: -------------- Segmentation Fault.