Changeset 364 for trunk/docs


Ignore:
Timestamp:
Nov 21, 2008, 2:25:27 PM (11 years ago)
Author:
cito
Message:

Support for PQescapeStringConn and PQescapeByteaConn.

Location:
trunk/docs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/future.txt

    r361 r364  
    77-----
    88
    9 - Support PQescapeStringConn and PQescapeByteaConn
    10   (see also http://www.postgresql.org/docs/techdocs.49).
    119- Use PQescapeStringConn in the _quote() function of pg and pgdb
    1210  (escaping via backslash is not standard and produces warnings
  • trunk/docs/pg.txt

    r334 r364  
    304304  must be escaped to prevent them from being interpreted specially
    305305  by the SQL parser. `escape_string` performs this operation.
     306  Note that there is also a `pgobject` method with the same name
     307  which takes connection properties into account.
    306308
    307309.. caution:: It is especially important to do proper escaping when
     
    335337  As with `escape_string`, this is only used when inserting data directly
    336338  into an SQL command string.
     339  Note that there is also a `pgobject` method with the same name
     340  which takes connection properties into account.
    337341
    338342Example::
     
    966970
    967971Description:
    968   See the module function with the same name.
     972  Similar to the module function with the same name, but the
     973  behavior of this method is adjusted depending on the connection properties
     974  (such as character encoding).
    969975
    970976escape_bytea - escape binary data for use within SQL as type `bytea`
     
    981987
    982988Description:
    983   See the module function with the same name.
     989  Similar to the module function with the same name, but the
     990  behavior of this method is adjusted depending on the connection properties
     991  (in particular, whether standard-conforming strings are enabled).
    984992
    985993unescape_bytea -- unescape `bytea` data that has been retrieved as text
Note: See TracChangeset for help on using the changeset viewer.