Thread: pgsql/ oc/src/sgml/advanced.sgml oc/src/sgml/d ...
pgsql/ oc/src/sgml/advanced.sgml oc/src/sgml/d ...
From
thomas@postgresql.org (Thomas Lockhart)
Date:
CVSROOT: /cvsroot Module name: pgsql Changes by: thomas@postgresql.org 02/06/11 11:41:38 Modified files: doc/src/sgml : advanced.sgml datatype.sgml func.sgml release.sgml doc/src/sgml/ref: set.sgml src/backend/parser: gram.y keywords.c scan.l src/backend/regex: regcomp.c regerror.c regexec.c regfree.c retest.c src/backend/utils/adt: regexp.c src/include/catalog: pg_proc.h src/include/regex: regex.h src/include/utils: builtins.h src/test/regress/expected: strings.out src/test/regress/sql: strings.sql Log message: Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. Implement SQL99 SIMILAR TO as a synonym for our existing operator "~". Implement SQL99 regular expression SUBSTRING(string FROM pat FOR escape). Extend the definition to make the FOR clause optional. Define textregexsubstr() to actually implement this feature. Update the regression test to include these new string features. All tests pass. Rename the regular expression support routines from "pg95_xxx" to "pg_xxx". Define CREATE CHARACTER SET in the parser per SQL99. No implementation yet.