mirror of
https://github.com/postgres/postgres.git
synced 2026-01-27 21:43:08 +03:00
Clean up references to SQL92
In most cases, these were just references to the SQL standard in general. In a few cases, a contrast was made between SQL92 and later standards -- those have been kept unchanged.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
-- Test various data entry syntaxes.
|
||||
--
|
||||
|
||||
-- SQL92 string continuation syntax
|
||||
-- SQL string continuation syntax
|
||||
-- E021-03 character string literals
|
||||
SELECT 'first line'
|
||||
' - next line'
|
||||
@@ -92,7 +92,7 @@ SELECT CAST(f1 AS varchar) AS "varchar(char)" FROM CHAR_TBL;
|
||||
SELECT CAST(name 'namefield' AS varchar) AS "varchar(name)";
|
||||
|
||||
--
|
||||
-- test SQL92 string functions
|
||||
-- test SQL string functions
|
||||
-- E### and T### are feature reference numbers from SQL99
|
||||
--
|
||||
|
||||
@@ -345,7 +345,7 @@ insert into toasttest values(repeat('1234567890',10000));
|
||||
insert into toasttest values(repeat('1234567890',10000));
|
||||
|
||||
-- If the starting position is zero or less, then return from the start of the string
|
||||
-- adjusting the length to be consistent with the "negative start" per SQL92.
|
||||
-- adjusting the length to be consistent with the "negative start" per SQL.
|
||||
SELECT substr(f1, -1, 5) from toasttest;
|
||||
|
||||
-- If the length is less than zero, an ERROR is thrown.
|
||||
@@ -378,7 +378,7 @@ insert into toasttest values(decode(repeat('1234567890',10000),'escape'));
|
||||
insert into toasttest values(decode(repeat('1234567890',10000),'escape'));
|
||||
|
||||
-- If the starting position is zero or less, then return from the start of the string
|
||||
-- adjusting the length to be consistent with the "negative start" per SQL92.
|
||||
-- adjusting the length to be consistent with the "negative start" per SQL.
|
||||
SELECT substr(f1, -1, 5) from toasttest;
|
||||
|
||||
-- If the length is less than zero, an ERROR is thrown.
|
||||
|
||||
Reference in New Issue
Block a user