pg_escape_bytea - escapes a binary string for inclusion into SQL statements.

NAME  SYNOPSIS  DESCRIPTION  ARGUMENTS  RETURN VALUE 

NAME

pg_escape_bytea − escapes a binary string for inclusion into SQL statements.

SYNOPSIS

pg_escape_bytea string

DESCRIPTION

pg_escape_bytea escapes a binary string, making it safe for inclusion into SQL statements.

pg_exec $conn "insert into foo values ([pg_escape_binary $name]);"

ARGUMENTS

binary_string

The binary string to be escaped.

RETURN VALUE

Returns the binary string, escaped for inclusion into SQL queries.


Updated 2024-01-29 - jenkler.se | uex.se