Skip to content

Commit 76c879c

Browse files
committed
Update for bytea, from Joe Conway
1 parent 3345da5 commit 76c879c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

HISTORY

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ Dynahash portability improvements (Tom)
158158
Remove OID's from some system tables (Tom)
159159
Remove 'triggered data change violation' error check (Tom)
160160
Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
161+
New libpq function PQescapeBytea() escapes binary strings for use as
162+
SQL string literals
161163

162164
Types
163165
-----
@@ -167,7 +169,14 @@ BIT, BIT VARYING now returns error on too long input (Peter E)
167169
New function bit_length() (Peter E)
168170
INET, CIDR text conversion functions (Alex Pilosov)
169171
INET, CIDR operators << and <<= indexable (Alex Pilosov)
170-
Bytea comparison improvements, \### now requires three octal digits (Joe Conway)
172+
Bytea \### now requires valid three digit octal number
173+
Bytea comparison improvements, now supports =, !=, >, >=, <, and <=
174+
Bytea now supports btree indexes
175+
Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE
176+
Bytea now supports string concatenation
177+
New Bytea functions - position(), substring, trim, btrim, and length
178+
New encode() function mode, 'escaped', converts minimally escaped
179+
bytea to/from text
171180
Make trim/ltrim/rtrim/btrim/lpad/rpad/translate() multibyte aware (Tatsuo)
172181
Formats with the correct number of columns for UNICODE in psql (Patrice)
173182
Add pg_database_encoding_max_length() (Tatsuo)

0 commit comments

Comments
 (0)