php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8499 pg_fieldname returns unqualified name
Submitted: 2000-12-31 08:26 UTC Modified: 2001-01-04 09:35 UTC
From: ccasal at compuserve dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.4 OS: Redhat Linux 6.2
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: ccasal at compuserve dot com
New email:
PHP Version: OS:

 

 [2000-12-31 08:26 UTC] ccasal at compuserve dot com
pg_fieldname returns an unqualified name:

"select c.name, con.name from customers c, contacts con where con.customer_id = c.id"

pg_fieldname should return "c.name" for field 0 and "con.name" for field 1

I am using PostgreSQL 7.0.3 and PHP 4.0.4

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 09:35 UTC] jah@php.net
Nothing we can do. The PostgreSQL libraries return unqualified names.
Try psql and see the same thing happen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 21:01:29 2024 UTC