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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 01:00:01 2026 UTC