diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-05 01:14:55 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-05 01:14:55 +0000 |
commit | d358456ca32bc9c59bb8575b44c984519e11b349 (patch) | |
tree | 44d8753077c9055ae6b4133799d7c3995378cd0d /src | |
parent | 5a5cb300967416846c06982fa34fff9ad4900e6b (diff) | |
download | postgresql-d358456ca32bc9c59bb8575b44c984519e11b349.tar.gz postgresql-d358456ca32bc9c59bb8575b44c984519e11b349.zip |
Add test for multi-character char().
Diffstat (limited to 'src')
-rw-r--r-- | src/test/regress/expected/char.out | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/regress/expected/char.out b/src/test/regress/expected/char.out index ce9734493d2..45d7eddea1a 100644 --- a/src/test/regress/expected/char.out +++ b/src/test/regress/expected/char.out @@ -88,3 +88,17 @@ two|f1 (2 rows) QUERY: DROP TABLE CHAR_TBL; +QUERY: CREATE TABLE CHAR_TBL(f1 char(4)); +QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('a'); +QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('ab'); +QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('abcd'); +QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('abcde'); +QUERY: SELECT '' AS four, CHAR_TBL.*; +four|f1 +----+---- + |a + |ab + |abcd + |abcd +(4 rows) + |