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
 [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: Sun Apr 28 04:01:31 2024 UTC