Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
returns a positive integer if there was a valid oid.
pg_last_oid() is used to retrieve the oid assigned to an inserted tuple (record) if the result resource is used from the last command sent via pg_query() and was an sql insert. returns a positive integer if there was a valid oid. it returns false if an error occurs or the last command sent via pg_query() was not an insert or insert is failed.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
oid field became an optional field from postgresql 7.2.
oid field became an optional field from postgresql 7.2. when oid field is not defined in a table, programmer must use pg_result_status() to check if record is is inserted successfully or not.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
it returns large object oid, otherwise it returns false if an error occurred.
to use the large object (lo) interface, it is necessary to enclose it within a transaction block.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
it returns false if an error occurred, oid of the just created large object otherwise.
the pathname argument specifies the pathname of the file to be imported as a large object. it returns false if an error occurred, oid of the just created large object otherwise.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
a control consists of an oid identifying the control, an optional value, and an optional flag for criticality.
the options ldap_opt_deref, ldap_opt_sizelimit, ldap_opt_timelimit, ldap_opt_protocol_version and ldap_opt_error_number have integer value, ldap_opt_referrals and ldap_opt_restart have boolean value, and the options ldap_opt_host_name, ldap_opt_error_string and ldap_opt_matched_dn have string value. the first example illustrates their use. the options ldap_opt_server_controls and ldap_opt_client_controls require a list of controls, this means that the value must be an array of controls. a control consists of an oid identifying the control, an optional value, and an optional flag for criticality. in php a control is given by an array containing an element with the key oid and string value, and two optional elements. the optional elements are key value with string value and key iscritical with boolean value. iscritical defaults to false if not supplied. see also the second example below.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
both dn and extraattribs are associative arrays whose keys are converted to oids and applied to the relevant part of the request.
extraattribs is used to specify additional configuration options for the csr. both dn and extraattribs are associative arrays whose keys are converted to oids and applied to the relevant part of the request.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: