robertmu opened a new issue, #1300:
URL: https://github.com/apache/cloudberry/issues/1300
```
cbdb@robertmu-VirtualBox:~/workspace/gpbackup$ psql -d test_type
psql (14.4, server 14.4)
Type "help" for help.
test_type=# create type digit as enum ('0', '1', '2', '3', '4', '5', '6',
'7', '8', '9');
CREATE TYPE
test_type=# create table tht (en digit, data int, unique(en, data))
distributed by (en);
ERROR: cannot use ENUM column "en" in DISTRIBUTED BY statement
test_type=# select version();
version
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 14.4 (Apache Cloudberry 2.1.0-devel+dev.2019.g1cc76495e18 build
dev) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2)
9.4.0, 64-bit compiled on Jul 18 2025 11:29:40
(1 row)
test_type=#
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]