php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75151 pg_meta_data with view
Submitted: 2017-09-02 15:15 UTC Modified: 2017-11-05 04:22 UTC
From: wisans at gmail dot com Assigned:
Status: No Feedback Package: PostgreSQL related
PHP Version: 7.1.9 OS: REDHAT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wisans at gmail dot com
New email:
PHP Version: OS:

 

 [2017-09-02 15:15 UTC] wisans at gmail dot com
Description:
------------
i have use pg_meta_data  with PostgreSQL view and it error


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-02 20:55 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2017-09-02 20:56 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2017-09-03 00:57 UTC] wisans at gmail dot com
-Status: Feedback +Status: Open
 [2017-09-03 00:57 UTC] wisans at gmail dot com
PostgreSQL 9.6.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit

pg=# \d+ tester
                            View "public.tester"
   Column   |            Type             | Modifiers | Storage  | Description
------------+-----------------------------+-----------+----------+-------------
 testerid   | integer                     |           | plain    |
 empid      | integer                     |           | plain    |
 code       | character varying(64)       |           | extended |
 name       | character varying(256)      |           | extended |
 namee      | character varying(256)      |           | extended |
 login      | character varying(256)      |           | extended |
 password   | character varying(256)      |           | extended |
 active     | character varying(1)        |           | extended |
 recby      | integer                     |           | plain    |
 ltime      | timestamp without time zone |           | plain    |
 lasthost   | character varying(256)      |           | extended |
 programmer | character varying(1)        |           | extended |
 tester     | character varying(1)        |           | extended |


source Code
pg_meta_data($con, "tester"); // this line stop my script and not anything show in output
 [2017-09-03 07:51 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2017-09-03 07:51 UTC] requinix@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2017-11-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC