[Phplib-trackers] [ phplib-Bugs-512813 ] db_pgsql.inc : obsolete function name
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-02-04 16:03:12
|
Bugs item #512813, was opened at 2002-02-04 08:03 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=512813&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: db_pgsql.inc : obsolete function name Initial Comment: db_pgsql.inc is using function names that will be obsolete in php version 4.2.0 http://www.php.net/manual/en/ref.pgsql.php PostgreSQL function names will be changed in 4.2.0 release to confirm current coding standard. Most of new names will have additional under score(s), e.g. pg_lo_open(). Some functions are renamed to different name for consistency. e.g. pg_exec() to pg_query(). Older names may be used in 4.2.0 and a few releases from 4.2.0, but they may be deleted in the future. CVS version has new function names. Example 1. Function names changed OLD NAME NEW NAME pg_exec pg_query getlastoid pg_last_oid pg_cmdtuples pg_affected_rows pg_errormessage pg_last_error pg_numrows pg_num_rows pg_numfields pg_num_fields pg_fieldname pg_field_name pg_fieldsize pg_field_size pg_fieldtype pg_field_type pg_fieldnum pg_field_num pg_fieldprtlen pg_field_prtlen pg_fieldisnull pg_field_is_null pg_freeresult pg_free_result pg_result pg_fetch_result pg_loreadall pg_lo_read_all pg_locreate pg_lo_create pg_lounlink pg_lo_unlink pg_loopen pg_lo_open pg_loclose pg_lo_close pg_loread pg_lo_read pg_lowrite pg_lo_write pg_loimport pg_lo_import pg_loexport pg_lo_export Obsolete pg_connect()/pg_pconnect() syntax will be depreciated to support async connect feature in the future. Please use connection string for pg_connect() and pg_pconnect(). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=512813&group_id=31885 |