| From: | Tianyi Gao <gtydoit(at)gmail(dot)com> |
|---|---|
| To: | John Naylor <john(dot)naylor(at)enterprisedb(dot)com> |
| Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: operator class "xxx" does not exist for access method "yyy" |
| Date: | 2023-03-23 04:38:10 |
| Message-ID: | CANZS+G_xKdvThE1-9vz6jE6afvweMSWRUUMUD4v-VjNYYPHo9w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Thanks for your reply, I have added some SQL statements, such as the
following example when I use the BIT or BIT VARYING type, similar problems
will occur.
postgres=# CREATE TABLE t(c BIT varying(10)) PARTITION BY HASH((t.c));
ERROR: data type bit varying has no default operator class for access
method "hash"
postgres=# CREATE TABLE t(c BIT) PARTITION BY HASH((t.c));
ERROR: data type bit has no default operator class for access method "hash"
Regards,
Tianyi Gao
John Naylor <john(dot)naylor(at)enterprisedb(dot)com> 于2023年3月22日周三 22:13写道:
>
> On Wed, Mar 22, 2023 at 8:15 PM Tianyi Gao <gtydoit(at)gmail(dot)com> wrote:
> >
> > postgres=# CREATE TEMP TABLE issue(c0 FLOAT , c1 money NULL) PARTITION
> BY HASH((issue.c0)cdbhash_float8_ops);
> > ERROR: operator class "cdbhash_float8_ops" does not exist for access
> method "hash"
>
> cdbhash_float8_ops seems specific to Greenplum, so not found in community
> Postgres.
>
> --
> John Naylor
> EDB: http://www.enterprisedb.com
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2023-03-23 04:56:50 | Re: BUG #17855: Uninitialised memory used when the name type value processed in binary mode of Memoize |
| Previous Message | Peter Geoghegan | 2023-03-23 04:27:19 | Re: BUG #17855: Uninitialised memory used when the name type value processed in binary mode of Memoize |