mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-20 04:35:00 +08:00
Fix test failure with custom type
Fix tests that fail like so: test=# CREATE CAST (customtype AS bigint) test-# WITHOUT FUNCTION AS ASSIGNMENT; ERROR: source and target data types are not physically compatible
This commit is contained in:
parent
1e75c27c16
commit
874b4512b2
@ -23,10 +23,7 @@ CREATE TYPE customtype (
|
|||||||
OUTPUT = customtype_out,
|
OUTPUT = customtype_out,
|
||||||
RECEIVE = customtype_recv,
|
RECEIVE = customtype_recv,
|
||||||
SEND = customtype_send,
|
SEND = customtype_send,
|
||||||
INTERNALLENGTH = 8,
|
LIKE = TIMESTAMPTZ
|
||||||
PASSEDBYVALUE,
|
|
||||||
ALIGNMENT = double,
|
|
||||||
STORAGE = plain
|
|
||||||
);
|
);
|
||||||
CREATE CAST (customtype AS bigint)
|
CREATE CAST (customtype AS bigint)
|
||||||
WITHOUT FUNCTION AS ASSIGNMENT;
|
WITHOUT FUNCTION AS ASSIGNMENT;
|
||||||
|
@ -23,10 +23,7 @@ CREATE TYPE customtype (
|
|||||||
OUTPUT = customtype_out,
|
OUTPUT = customtype_out,
|
||||||
RECEIVE = customtype_recv,
|
RECEIVE = customtype_recv,
|
||||||
SEND = customtype_send,
|
SEND = customtype_send,
|
||||||
INTERNALLENGTH = 8,
|
LIKE = TIMESTAMPTZ
|
||||||
PASSEDBYVALUE,
|
|
||||||
ALIGNMENT = double,
|
|
||||||
STORAGE = plain
|
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE CAST (customtype AS bigint)
|
CREATE CAST (customtype AS bigint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user