php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65671 Remove "experimental" status from six pg_* functions
Submitted: 2013-09-13 21:30 UTC Modified: 2014-02-17 00:10 UTC
From: krewecherl at gmail dot com Assigned: yohgaki (profile)
Status: Closed Package: PostgreSQL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-09-13 21:30 UTC] krewecherl at gmail dot com
Description:
------------
The following six functions have been added in PHP 4.3:

- pg_convert()
- pg_delete()
- pg_insert()
- pg_meta_data()
- pg_select()
- pg_update()

They been marked as EXPERIMENTAL for close to eleven years now, effectively 
preventing anybody from using them outside of test environments. Ten years is 
too long for an experiment. The functions should either be removed from PHP, or 
moved to a PECL extension, or documented as safe to use.

All of them perform useful tasks, so my personal preference would be the latter 
option.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-02 07:41 UTC] mike@php.net
-Assigned To: +Assigned To: yohgaki
 [2013-10-02 07:41 UTC] mike@php.net
Yasuo, what's your thought on this?
 [2013-10-03 20:19 UTC] yohgaki@php.net
I have an idea about pg_insert/etc.
I would like to make it more general by using escapes instead of validation for each types.

It makes it possible to support various types including user defined types.

I'll write a new RFC for this, hopefully soon.
 [2014-02-17 00:10 UTC] yohgaki@php.net
-Status: Assigned +Status: Closed
 [2014-02-17 00:10 UTC] yohgaki@php.net
Remove EXPERIMENTAL flags from PHP 5.6
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC