1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-28 11:55:03 +03:00

Add tests for varchar() and combinations of string types.

This commit is contained in:
Thomas G. Lockhart
1997-12-01 02:48:47 +00:00
parent 1d7b6f14e2
commit 7a86a2a9e5
4 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
--
-- 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;