Commit 76c879cd authored by Bruce Momjian's avatar Bruce Momjian

Update for bytea, from Joe Conway

parent 3345da53
...@@ -158,6 +158,8 @@ Dynahash portability improvements (Tom) ...@@ -158,6 +158,8 @@ Dynahash portability improvements (Tom)
Remove OID's from some system tables (Tom) Remove OID's from some system tables (Tom)
Remove 'triggered data change violation' error check (Tom) Remove 'triggered data change violation' error check (Tom)
Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo) Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
New libpq function PQescapeBytea() escapes binary strings for use as
SQL string literals
Types Types
----- -----
...@@ -167,7 +169,14 @@ BIT, BIT VARYING now returns error on too long input (Peter E) ...@@ -167,7 +169,14 @@ BIT, BIT VARYING now returns error on too long input (Peter E)
New function bit_length() (Peter E) New function bit_length() (Peter E)
INET, CIDR text conversion functions (Alex Pilosov) INET, CIDR text conversion functions (Alex Pilosov)
INET, CIDR operators << and <<= indexable (Alex Pilosov) INET, CIDR operators << and <<= indexable (Alex Pilosov)
Bytea comparison improvements, \### now requires three octal digits (Joe Conway) Bytea \### now requires valid three digit octal number
Bytea comparison improvements, now supports =, !=, >, >=, <, and <=
Bytea now supports btree indexes
Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE
Bytea now supports string concatenation
New Bytea functions - position(), substring, trim, btrim, and length
New encode() function mode, 'escaped', converts minimally escaped
bytea to/from text
Make trim/ltrim/rtrim/btrim/lpad/rpad/translate() multibyte aware (Tatsuo) Make trim/ltrim/rtrim/btrim/lpad/rpad/translate() multibyte aware (Tatsuo)
Formats with the correct number of columns for UNICODE in psql (Patrice) Formats with the correct number of columns for UNICODE in psql (Patrice)
Add pg_database_encoding_max_length() (Tatsuo) Add pg_database_encoding_max_length() (Tatsuo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment