Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd358456

Browse files
author
Thomas G. Lockhart
committed
Add test for multi-character char().
1 parent5a5cb30 commitd358456

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎src/test/regress/expected/char.out

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,17 @@ two|f1
8888
(2 rows)
8989

9090
QUERY: DROP TABLE CHAR_TBL;
91+
QUERY: CREATE TABLE CHAR_TBL(f1 char(4));
92+
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('a');
93+
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('ab');
94+
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('abcd');
95+
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('abcde');
96+
QUERY: SELECT '' AS four, CHAR_TBL.*;
97+
four|f1
98+
----+----
99+
|a
100+
|ab
101+
|abcd
102+
|abcd
103+
(4 rows)
104+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp