Fix "char" testsuite
authorChristoph Berg <christoph.berg@credativ.de>
Wed, 16 Mar 2022 15:30:41 +0000 (16:30 +0100)
committerChristoph Berg <christoph.berg@credativ.de>
Wed, 16 Mar 2022 15:30:41 +0000 (16:30 +0100)
expected/datatypes.out
expected/datatypes_3.out
sql/datatypes.sql

index de40dbccb8a840eb48e7e683dcc4e5f770ce82db..bd559d86f5c449c33c61a7f0add33bec3fdb120d 100644 (file)
@@ -165,7 +165,7 @@ COPY: \N
 --
 ----------------------------------------------------------------------------------------------
 --
-create table char (x char);
+create table char (x "char");
 insert into char values ('x'), (null);
 \set relname char
 \ir run_test.sql
@@ -197,8 +197,8 @@ Block    0 ********************************************************
  Length (including item array): 32
 
 <Data> -----
- Item   1 -- Length:   26  Offset: 8160 (0x1fe0)  Flags: NORMAL
-Error: unable to decode a tuple, 1 bytes left, 0 expected. Partial data: \ 5
+ Item   1 -- Length:   25  Offset: 8160 (0x1fe0)  Flags: NORMAL
+COPY: x
  Item   2 -- Length:   24  Offset: 8136 (0x1fc8)  Flags: NORMAL
 COPY: \N
 
index 0e8fa276d3b5e7687ce807485edc844e4c592a59..0d910f749a444e633b5d7aadbbd8ffa6e3d99fab 100644 (file)
@@ -165,7 +165,7 @@ COPY: \N
 --
 ----------------------------------------------------------------------------------------------
 --
-create table char (x char);
+create table char (x "char");
 insert into char values ('x'), (null);
 \set relname char
 \ir run_test.sql
@@ -197,8 +197,8 @@ Block    0 ********************************************************
  Length (including item array): 32
 
 <Data> -----
- Item   1 -- Length:   26  Offset: 8164 (0x1fe4)  Flags: NORMAL
-Error: unable to decode a tuple, 1 bytes left, 0 expected. Partial data: \ 5
+ Item   1 -- Length:   25  Offset: 8164 (0x1fe4)  Flags: NORMAL
+COPY: x
  Item   2 -- Length:   24  Offset: 8140 (0x1fcc)  Flags: NORMAL
 COPY: \N
 
index 2a18cacf04450bef3e4fc547911ba176ba6b02af..f188452d393f18d1b61726740137b399e5f3fedf 100644 (file)
@@ -24,7 +24,7 @@ insert into bool values (true), (false), (null);
 \set relname bool
 \ir run_test.sql
 
-create table char (x char);
+create table char (x "char");
 insert into char values ('x'), (null);
 \set relname char
 \ir run_test.sql