mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
412 B
24 lines
412 B
![]()
28 years ago
|
--
|
||
|
-- Test various data entry syntaxes.
|
||
|
--
|
||
|
|
||
|
-- SQL92 string continuation syntax
|
||
|
SELECT 'first line'
|
||
|
' - next line'
|
||
|
' - third line'
|
||
|
AS "Three lines to one";
|
||
|
|
||
|
-- illegal string continuation syntax
|
||
|
SELECT 'first line'
|
||
|
' - next line' /* this comment is not allowed here */
|
||
|
' - third line';
|
||
|
|
||
|
--
|
||
|
-- test conversions between various string types
|
||
|
--
|
||
|
|
||
|
SELECT text(f1) FROM CHAR_TBL;
|
||
|
|
||
|
SELECT text(f1) FROM VARCHAR_TBL;
|
||
|
|