postgresql/src/backend/catalog
Peter Eisentraut 78c887679d Add current substring regular expression syntax
SQL:1999 had syntax

    SUBSTRING(text FROM pattern FOR escapechar)

but this was replaced in SQL:2003 by the more clear

    SUBSTRING(text SIMILAR pattern ESCAPE escapechar)

but this was never implemented in PostgreSQL.  This patch adds that
new syntax as an alternative in the parser, and updates documentation
and tests to indicate that this is the preferred alternative now.

Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
Reviewed-by: Vik Fearing <vik@postgresfriends.org>
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/flat/a15db31c-d0f8-8ce0-9039-578a31758adb%402ndquadrant.com
2020-06-29 11:05:00 +02:00
..
.gitignore Remove separate files for the initial contents of pg_(sh)description 2020-01-19 13:54:58 +02:00
Catalog.pm Clarify coding in Catalog::AddDefaultValues. 2020-02-15 15:13:44 -05:00
Makefile Split out CreateCast into src/backend/catalog/pg_cast.c 2020-03-10 11:28:23 -03:00
aclchk.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
catalog.c Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
dependency.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
genbki.pl Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
heap.c Fix comment in heap.c 2020-06-24 15:14:04 +09:00
index.c Preserve pg_index.indisreplident across REINDEX CONCURRENTLY 2020-06-05 10:26:02 +09:00
indexing.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
information_schema.sql Add current substring regular expression syntax 2020-06-29 11:05:00 +02:00
namespace.c Improve performance of "simple expressions" in PL/pgSQL. 2020-03-26 18:58:57 -04:00
objectaccess.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
objectaddress.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
partition.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_aggregate.c Refactor our checks for valid function and aggregate signatures. 2020-03-17 19:36:41 -04:00
pg_cast.c Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
pg_collation.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
pg_constraint.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
pg_conversion.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
pg_db_role_setting.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_depend.c Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
pg_enum.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_inherits.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_largeobject.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_namespace.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_operator.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_proc.c Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
pg_publication.c Fix relcache reference leak 2020-04-11 09:44:14 +02:00
pg_range.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_shdepend.c Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
pg_subscription.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
pg_type.c Refactor ObjectAddress field assignments for type dependencies 2020-06-29 09:56:52 +09:00
sql_feature_packages.txt Cleanup in SQL features files 2020-03-28 08:46:18 +01:00
sql_features.txt Support FETCH FIRST WITH TIES 2020-04-07 16:22:13 -04:00
storage.c Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
system_views.sql Replace superuser check by ACLs for replication origin functions 2020-06-14 12:40:37 +09:00
toasting.c Implement operator class parameters 2020-03-30 19:17:23 +03:00