php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16710 pg_exec to pg_query alias not mentioned in the NEWS file
Submitted: 2002-04-20 05:17 UTC Modified: 2002-04-29 20:23 UTC
From: hs at cybertec dot at Assigned: yohgaki (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 4.2.0 OS: every system
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: hs at cybertec dot at
New email:
PHP Version: OS:

 

 [2002-04-20 05:17 UTC] hs at cybertec dot at
I have just finished writing a book about PHP and PostgreSQL. After we have finished layouting the stuff we have seen that pg_exec has changed to pg_query for ABSOLUTELY NO USEFUL reason.
In addition to that my company has written > 1000k of PHP/PostgreSQL code in the past and we have to port ALL applications to the new name. This will be chaotic and I cannot see a reason for the change.
Was there no way of leaving the old name????? We will never ever use PHP in the future again because what we have to face is a microsoft like change destroying all books and all applications on the market.
This IS a bug for all serious companies and developers and I hope that those who are responsible for the mess will read this message.

  Best regards,
           Hans-J?rgen Sch?nig
           (a former PHP programmer and author)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-20 05:27 UTC] tal@php.net
Reclassified.

-Tal
 [2002-04-20 05:31 UTC] sander@php.net
We decided to use pg_query() because it's more consistent with other database extensions (like mysql, which uses mysql_query())
The old function names still work and won't be removed soon.
 [2002-04-20 06:23 UTC] mfischer@php.net
Reopened.

Yasou, please enter a proper NEWS entry as there's no reference about this in the NEWS file (and light this up that the old function is still available, you see people get confused about this) . . .
 [2002-04-20 06:38 UTC] mfischer@php.net
FYI: The manual page about pg_query() now mentiones that pg_exec() is still available.
 [2002-04-28 20:34 UTC] jimw@php.net
assigning.
 [2002-04-29 20:23 UTC] yohgaki@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/

NEWS entry has been added. It listed as 4.2.0 change.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC