diff --git a/language-snippets.ent b/language-snippets.ent index b64ba6a7d4..29f3ad73c6 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -313,6 +313,14 @@ and NLS_LANG environment variable will be used instead."> the oci8 driver, see the datatypes supported by the driver'> +The oracle +extension is deprecated in favor of oci8. +'> + +oci8 +as a replacement for the deprecated oracle +extension, consider using: '> + The parameter status is the status parameter supplied to a successfull diff --git a/reference/oracle/functions/ora-bind.xml b/reference/oracle/functions/ora-bind.xml index e1d58520a9..53c6c06902 100644 --- a/reference/oracle/functions/ora-bind.xml +++ b/reference/oracle/functions/ora-bind.xml @@ -1,5 +1,5 @@ - + ora_bind @@ -121,6 +121,12 @@ + + 5.1.0 + + &oracle.deprecated; + + 3.0.1 @@ -156,6 +162,17 @@ + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_bind_by_name + oci_bind_array_by_name + + + + + ora_close @@ -41,6 +41,41 @@ functions. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_free_statement + + + + + ora_columnname @@ -48,6 +48,41 @@ Returns the name as a string. The returned name is in all uppercase letters. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_field_name + + + + + ora_columnsize @@ -49,6 +49,41 @@ Returns the size as an integer, or &false; on error. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_field_size + + + + + ora_columntype @@ -60,6 +60,42 @@ + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_field_type + oci_field_type_raw + + + + + ora_commit @@ -47,6 +47,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_commit + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-commitoff.xml b/reference/oracle/functions/ora-commitoff.xml index 047d27070f..a085c93b12 100644 --- a/reference/oracle/functions/ora-commitoff.xml +++ b/reference/oracle/functions/ora-commitoff.xml @@ -1,5 +1,5 @@ - + ora_commitoff @@ -43,6 +43,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + Pass the OCI_DEFAULT flag to oci_execute + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-commiton.xml b/reference/oracle/functions/ora-commiton.xml index ebf870b9ab..e8363f3337 100644 --- a/reference/oracle/functions/ora-commiton.xml +++ b/reference/oracle/functions/ora-commiton.xml @@ -1,5 +1,5 @@ - + ora_commiton @@ -43,6 +43,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_execute + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-do.xml b/reference/oracle/functions/ora-do.xml index 90ed92d1c4..4ac1606ed7 100644 --- a/reference/oracle/functions/ora-do.xml +++ b/reference/oracle/functions/ora-do.xml @@ -1,5 +1,5 @@ - + ora_do @@ -55,6 +55,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + There is no direct replacement for ora_do in + oci8. Instead, use a sequence of + oci_parse, oci_excute, + and one of the oci_fetch_*() functions. + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-error.xml b/reference/oracle/functions/ora-error.xml index da2765a21d..22bf81d0cf 100644 --- a/reference/oracle/functions/ora-error.xml +++ b/reference/oracle/functions/ora-error.xml @@ -1,5 +1,5 @@ - + ora_error @@ -57,6 +57,12 @@ + + 5.1.0 + + &oracle.deprecated; + + 3.0.4 @@ -95,6 +101,16 @@ remove the unique restriction or do not insert the key + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_error + + + + + ora_errorcode @@ -53,6 +53,12 @@ + + 5.1.0 + + &oracle.deprecated; + + 3.0.4 @@ -65,6 +71,16 @@ + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_error (the "code" field of the resulting array) + + + + + ora_exec @@ -42,6 +42,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_execute + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-fetch-into.xml b/reference/oracle/functions/ora-fetch-into.xml index 1a5b4e7236..49d192a37d 100644 --- a/reference/oracle/functions/ora-fetch-into.xml +++ b/reference/oracle/functions/ora-fetch-into.xml @@ -1,5 +1,5 @@ - + ora_fetch_into @@ -63,6 +63,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + &reftitle.examples; @@ -85,6 +109,16 @@ echo $results['MyColumn']; + + &reftitle.notes; + + &oracle.replacement.desc; + + A fetch function like oci_fetch_array + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-fetch.xml b/reference/oracle/functions/ora-fetch.xml index b02b14686c..4756f44ad7 100644 --- a/reference/oracle/functions/ora-fetch.xml +++ b/reference/oracle/functions/ora-fetch.xml @@ -1,5 +1,5 @@ - + ora_fetch @@ -44,6 +44,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_fetch + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-getcolumn.xml b/reference/oracle/functions/ora-getcolumn.xml index 60d93c0a0e..066355249c 100644 --- a/reference/oracle/functions/ora-getcolumn.xml +++ b/reference/oracle/functions/ora-getcolumn.xml @@ -1,5 +1,5 @@ - + ora_getcolumn @@ -53,6 +53,41 @@ string "0"). + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_result + + + + + ora_logoff @@ -42,6 +42,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_close + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-logon.xml b/reference/oracle/functions/ora-logon.xml index 17a26592af..c40ad5b13f 100644 --- a/reference/oracle/functions/ora-logon.xml +++ b/reference/oracle/functions/ora-logon.xml @@ -1,5 +1,5 @@ - + ora_logon @@ -71,6 +71,42 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); functions. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_connect + oci_new_connect + + + + + ora_numcols @@ -41,6 +41,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_num_fields + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-numrows.xml b/reference/oracle/functions/ora-numrows.xml index 41d2c0a37b..c7731104a5 100644 --- a/reference/oracle/functions/ora-numrows.xml +++ b/reference/oracle/functions/ora-numrows.xml @@ -1,5 +1,5 @@ - + ora_numrows @@ -39,6 +39,41 @@ Returns the number of rows as an integer, or &false; on error. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_num_rows + + + + + ora_open @@ -41,6 +41,41 @@ and ora_errorcode functions. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_new_cursor + + + + + ora_parse @@ -58,6 +58,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_parse + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-plogon.xml b/reference/oracle/functions/ora-plogon.xml index c98e0ef38e..5e9f25c4ac 100644 --- a/reference/oracle/functions/ora-plogon.xml +++ b/reference/oracle/functions/ora-plogon.xml @@ -1,5 +1,5 @@ - + ora_plogon @@ -49,6 +49,40 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_pconnect + + + + &reftitle.seealso; diff --git a/reference/oracle/functions/ora-rollback.xml b/reference/oracle/functions/ora-rollback.xml index da48d0175b..7865cdd36c 100644 --- a/reference/oracle/functions/ora-rollback.xml +++ b/reference/oracle/functions/ora-rollback.xml @@ -1,5 +1,5 @@ - + ora_rollback @@ -44,6 +44,41 @@ functions. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + &oracle.deprecated; + + + + + + + + + + &reftitle.notes; + + &oracle.replacement.desc; + + oci_rollback + + + + + @@ -11,9 +11,15 @@
&reftitle.intro; + + + This extension is deprecated. Instead, use the improved + oci8 extension. Functions + documented here do list recommended oci8 alternatives. + + This extension adds support for Oracle database server access. - See also the OCI8 extension.