Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
87d5c229
Commit
87d5c229
authored
Apr 05, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up description of 9.0's incompatible changes in SIMILAR TO and
SQL-style substring().
parent
ce36151a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
34 deletions
+21
-34
doc/src/sgml/release-9.0.sgml
doc/src/sgml/release-9.0.sgml
+21
-34
No files found.
doc/src/sgml/release-9.0.sgml
View file @
87d5c229
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.1
4 2010/04/03 07:22:55 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.1
5 2010/04/05 02:46:42 tgl
Exp $ -->
<sect1 id="release-9-0">
...
...
@@ -50,7 +50,7 @@
defaulted to off for many years (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Remove server variable <varname>regex_flavor</>, which
...
...
@@ -59,9 +59,9 @@
(e.g. Perl-regex compatible) for many years (Tom Lane)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
...
...
@@ -97,43 +97,30 @@
<listitem>
<para>
Fix <link linkend="functions-similarto-regexp"><literal>SIMILAR
TO</></link> to match the SQL standard-specified behavior
by processing <literal>?</> and <literal>{}</> the same way
they are processed in regular expressions (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Properly treat <literal>^</> and <literal>$</> as literals in
<literal>SIMILAR TO</> patterns, to match the SQL standard (Tom Lane)
</para>
<para>
Previously these were treated using regular expression syntax. This
change breaks backward compatibility. This also affects
<function>substring()</>'s interpretation of regular expressions.
</para>
</listitem>
<listitem>
<para>
Process parentheses as literals in <literal>SIMILAR TO</> expressions;
also make character class handling more standards-compliant (Tom Lane)
Improve standards compliance of <link
linkend="functions-similarto-regexp"><literal>SIMILAR TO</></link>
patterns and SQL-style <function>substring()</> patterns (Tom Lane)
</para>
<para>
This also affects <function>substring()</>'s handling of regular
expressions.
This includes treating <literal>?</> and <literal>{...}</> as
pattern metacharacters, while they were simple literal characters
before; that corresponds to new features added in SQL:2008.
Also, <literal>^</> and <literal>$</> are now treated as simple
literal characters; formerly they were treated as metacharacters,
as if the pattern were following POSIX rather than SQL rules.
Also, in SQL-standard <function>substring()</>, use of parentheses
for nesting no longer interferes with capturing of a substring.
Also, processing of bracket expressions (character classes) is
now more standards-compliant.
</para>
</listitem>
<listitem>
<para>
Do not allow
<link
linkend="functions-string-sql"><function>substring()</></link>
to have a negative third length
, per the SQL standard (Tom Lane)
Reject negative length values in 3-parameter
<link
linkend="functions-string-sql"><function>substring()</></link>
for bit strings
, per the SQL standard (Tom Lane)
</para>
</listitem>
...
...
@@ -1392,7 +1379,7 @@
<listitem>
<para>
Install server-side language PL/pgSQL by default (Bruce Momjian)
Install server-side language PL/pgSQL by default (Bruce Momjian)
</para>
</listitem>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment