Thread: pgsql-server/src backend/utils/adt/varlena.c i ...
pgsql-server/src backend/utils/adt/varlena.c i ...
From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: momjian@postgresql.org 02/08/21 23:24:01 Modified files: src/backend/utils/adt: varlena.c src/include/catalog: pg_proc.h src/include/utils: builtins.h src/test/regress/expected: strings.out src/test/regress/sql: strings.sql Log message: Add: replace(string, from, to) -- replaces all occurrences of "from" in "string" to "to" split(string, fldsep, column) -- splits "string" on "fldsep" and returns "column" number piece to_hex(int32_num) & to_hex(int64_num) -- takes integer number and returns as hex string Joe Conway
> Log message: > Add: > > replace(string, from, to) > -- replaces all occurrences of "from" in "string" to "to" > split(string, fldsep, column) > -- splits "string" on "fldsep" and returns "column" number piece > to_hex(int32_num) & to_hex(int64_num) > -- takes integer number and returns as hex string Has someone checked for buffer overflows in these new functions? :) Chris