mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 19:59:48 +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,
|
||||
RECEIVE = customtype_recv,
|
||||
SEND = customtype_send,
|
||||
INTERNALLENGTH = 8,
|
||||
PASSEDBYVALUE,
|
||||
ALIGNMENT = double,
|
||||
STORAGE = plain
|
||||
LIKE = TIMESTAMPTZ
|
||||
);
|
||||
CREATE CAST (customtype AS bigint)
|
||||
WITHOUT FUNCTION AS ASSIGNMENT;
|
||||
|
@ -23,10 +23,7 @@ CREATE TYPE customtype (
|
||||
OUTPUT = customtype_out,
|
||||
RECEIVE = customtype_recv,
|
||||
SEND = customtype_send,
|
||||
INTERNALLENGTH = 8,
|
||||
PASSEDBYVALUE,
|
||||
ALIGNMENT = double,
|
||||
STORAGE = plain
|
||||
LIKE = TIMESTAMPTZ
|
||||
);
|
||||
|
||||
CREATE CAST (customtype AS bigint)
|
||||
|
Loading…
x
Reference in New Issue
Block a user