Skip to content

Commit 7c93bc9

Browse files
committed
fix tests
1 parent 2e20ed7 commit 7c93bc9

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

src/include/catalog/pg_attr_compression.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* typedef struct FormData_pg_attr_compression
2626
* ----------------
2727
*/
28-
CATALOG(pg_attr_compression,4189,AttrCompressionRelationId)
28+
CATALOG(pg_attr_compression,5555,AttrCompressionRelationId)
2929
{
3030
Oid acoid; /* attribute compression oid */
3131
NameData acname; /* name of compression AM */

src/include/catalog/pg_type.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@
578578
typcategory => 'P', typinput => 'index_am_handler_in',
579579
typoutput => 'index_am_handler_out', typreceive => '-', typsend => '-',
580580
typalign => 'i' },
581-
{ oid => '4190',
581+
{ oid => '5559',
582582
typname => 'compression_am_handler', typlen => '4', typbyval => 't', typtype => 'p',
583583
typcategory => 'P', typinput => 'compression_am_handler_in',
584584
typoutput => 'compression_am_handler_out', typreceive => '-', typsend => '-',

src/include/catalog/toasting.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ DECLARE_TOAST(pg_trigger, 2336, 2337);
7575
DECLARE_TOAST(pg_ts_dict, 4169, 4170);
7676
DECLARE_TOAST(pg_type, 4171, 4172);
7777
DECLARE_TOAST(pg_user_mapping, 4173, 4174);
78-
DECLARE_TOAST(pg_attr_compression, 4187, 4188);
78+
DECLARE_TOAST(pg_attr_compression, 5556, 5558);
7979

8080
/* shared catalogs */
8181
DECLARE_TOAST(pg_authid, 4175, 4176);

src/test/regress/expected/create_cm.out

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ INSERT INTO cmtest VALUES(repeat('1234567890',1001));
134134
SELECT * FROM cmtest_deps;
135135
classid | objsubid | refclassid | refobjsubid | deptype
136136
---------+----------+------------+-------------+---------
137-
1259 | 1 | 4189 | 0 | n
137+
1259 | 1 | 5555 | 0 | n
138138
(1 row)
139139

140140
-- check decompression
@@ -178,8 +178,8 @@ SELECT pg_column_compression('cmtest', 'f1');
178178
SELECT * FROM cmtest_deps;
179179
classid | objsubid | refclassid | refobjsubid | deptype
180180
---------+----------+------------+-------------+---------
181-
1259 | 1 | 4189 | 0 | n
182-
4189 | 0 | 1259 | 1 | i
181+
1259 | 1 | 5555 | 0 | n
182+
5555 | 0 | 1259 | 1 | i
183183
(2 rows)
184184

185185
-- rewrite
@@ -204,8 +204,8 @@ SELECT pg_column_compression('cmtest', 'f1');
204204
SELECT * FROM cmtest_deps;
205205
classid | objsubid | refclassid | refobjsubid | deptype
206206
---------+----------+------------+-------------+---------
207-
4189 | 0 | 1259 | 1 | i
208-
4189 | 0 | 1259 | 1 | i
207+
5555 | 0 | 1259 | 1 | i
208+
5555 | 0 | 1259 | 1 | i
209209
(2 rows)
210210

211211
-- rewrite
@@ -231,7 +231,7 @@ SELECT pg_column_compression('cmtest', 'f1');
231231
SELECT * FROM cmtest_deps;
232232
classid | objsubid | refclassid | refobjsubid | deptype
233233
---------+----------+------------+-------------+---------
234-
1259 | 1 | 4189 | 0 | n
234+
1259 | 1 | 5555 | 0 | n
235235
(1 row)
236236

237237
-- no rewrites
@@ -244,9 +244,9 @@ INSERT INTO cmtest VALUES(repeat('1234567890',1006));
244244
SELECT * FROM cmtest_deps;
245245
classid | objsubid | refclassid | refobjsubid | deptype
246246
---------+----------+------------+-------------+---------
247-
1259 | 1 | 4189 | 0 | n
248-
4189 | 0 | 1259 | 1 | i
249-
4189 | 0 | 1259 | 1 | i
247+
1259 | 1 | 5555 | 0 | n
248+
5555 | 0 | 1259 | 1 | i
249+
5555 | 0 | 1259 | 1 | i
250250
(3 rows)
251251

252252
-- remove function and related event trigger

src/test/regress/expected/create_cm_1.out

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ INSERT INTO cmtest VALUES(repeat('1234567890',1001));
134134
SELECT * FROM cmtest_deps;
135135
classid | objsubid | refclassid | refobjsubid | deptype
136136
---------+----------+------------+-------------+---------
137-
1259 | 1 | 4189 | 0 | n
137+
1259 | 1 | 5555 | 0 | n
138138
(1 row)
139139

140140
-- check decompression
@@ -178,8 +178,8 @@ SELECT pg_column_compression('cmtest', 'f1');
178178
SELECT * FROM cmtest_deps;
179179
classid | objsubid | refclassid | refobjsubid | deptype
180180
---------+----------+------------+-------------+---------
181-
1259 | 1 | 4189 | 0 | n
182-
4189 | 0 | 1259 | 1 | i
181+
1259 | 1 | 5555 | 0 | n
182+
5555 | 0 | 1259 | 1 | i
183183
(2 rows)
184184

185185
-- rewrite
@@ -204,8 +204,8 @@ SELECT pg_column_compression('cmtest', 'f1');
204204
SELECT * FROM cmtest_deps;
205205
classid | objsubid | refclassid | refobjsubid | deptype
206206
---------+----------+------------+-------------+---------
207-
4189 | 0 | 1259 | 1 | i
208-
4189 | 0 | 1259 | 1 | i
207+
5555 | 0 | 1259 | 1 | i
208+
5555 | 0 | 1259 | 1 | i
209209
(2 rows)
210210

211211
-- rewrite
@@ -231,7 +231,7 @@ SELECT pg_column_compression('cmtest', 'f1');
231231
SELECT * FROM cmtest_deps;
232232
classid | objsubid | refclassid | refobjsubid | deptype
233233
---------+----------+------------+-------------+---------
234-
1259 | 1 | 4189 | 0 | n
234+
1259 | 1 | 5555 | 0 | n
235235
(1 row)
236236

237237
-- no rewrites
@@ -244,9 +244,9 @@ INSERT INTO cmtest VALUES(repeat('1234567890',1006));
244244
SELECT * FROM cmtest_deps;
245245
classid | objsubid | refclassid | refobjsubid | deptype
246246
---------+----------+------------+-------------+---------
247-
1259 | 1 | 4189 | 0 | n
248-
4189 | 0 | 1259 | 1 | i
249-
4189 | 0 | 1259 | 1 | i
247+
1259 | 1 | 5555 | 0 | n
248+
5555 | 0 | 1259 | 1 | i
249+
5555 | 0 | 1259 | 1 | i
250250
(3 rows)
251251

252252
-- remove function and related event trigger

0 commit comments

Comments
 (0)