From: Peter Eisentraut Date: Sat, 11 Jul 2009 21:15:32 +0000 (+0000) Subject: Alter some gratuitous uses of "ANSI" when "SQL standard" might have been X-Git-Url: http://git.postgresql.org/gitweb/static/session/index.html?a=commitdiff_plain;h=3e9a36e72bb73038067acee4a7b719ea47df0503;p=users%2Fsimon%2Fpostgres.git Alter some gratuitous uses of "ANSI" when "SQL standard" might have been meant or the reference to a standard was unnecessary. --- diff --git a/src/pl/plpgsql/src/gram.y b/src/pl/plpgsql/src/gram.y index c271bcedb5..5572cf7ca6 100644 --- a/src/pl/plpgsql/src/gram.y +++ b/src/pl/plpgsql/src/gram.y @@ -510,7 +510,7 @@ decl_cursor_arg : decl_varname decl_datatype ; decl_is_for : K_IS | /* Oracle */ - K_FOR; /* ANSI */ + K_FOR; /* SQL standard */ decl_aliasitem : any_identifier { diff --git a/src/test/regress/expected/select_distinct.out b/src/test/regress/expected/select_distinct.out index 3b5200b17a..38107a0413 100644 --- a/src/test/regress/expected/select_distinct.out +++ b/src/test/regress/expected/select_distinct.out @@ -195,7 +195,7 @@ SELECT null IS DISTINCT FROM null as "no"; f (1 row) --- ANSI SQL 2003 form +-- negated form SELECT 1 IS NOT DISTINCT FROM 2 as "no"; no ---- diff --git a/src/test/regress/sql/select_distinct.sql b/src/test/regress/sql/select_distinct.sql index d97c397d06..328ba51c7a 100644 --- a/src/test/regress/sql/select_distinct.sql +++ b/src/test/regress/sql/select_distinct.sql @@ -57,7 +57,7 @@ SELECT 2 IS DISTINCT FROM 2 as "no"; SELECT 2 IS DISTINCT FROM null as "yes"; SELECT null IS DISTINCT FROM null as "no"; --- ANSI SQL 2003 form +-- negated form SELECT 1 IS NOT DISTINCT FROM 2 as "no"; SELECT 2 IS NOT DISTINCT FROM 2 as "yes"; SELECT 2 IS NOT DISTINCT FROM null as "no";