Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
87d5c229
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
87d5c229
编写于
4月 05, 2010
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clean up description of 9.0's incompatible changes in SIMILAR TO and
SQL-style substring().
上级
ce36151a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
34 deletion
+21
-34
doc/src/sgml/release-9.0.sgml
doc/src/sgml/release-9.0.sgml
+21
-34
未找到文件。
doc/src/sgml/release-9.0.sgml
浏览文件 @
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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录