--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Escapes binary data for use within an SQL command with the type <tt>bytea</tt>.
- !ruby/struct:SM::Flow::P 
  body: "Certain byte values must be escaped (but all byte values may be escaped) when used as part of a <tt>bytea</tt> literal in an SQL statement. In general, to escape a byte, it is converted into the three digit octal number equal to the octet value, and preceded by two backslashes. The single quote (') and backslash (\\) characters have special alternative escape sequences. #escape_bytea performs this operation, escaping only the minimally required bytes."
- !ruby/struct:SM::Flow::P 
  body: See the PostgreSQL documentation on PQescapeBytea[http://www.postgresql.org/docs/current/interactive/libpq-exec.html#LIBPQ-EXEC-ESCAPE-BYTEA] for more information.
full_name: PGconn::escape_bytea
is_singleton: true
name: escape_bytea
params: |
  PGconn.escape_bytea( obj )

visibility: public
