Closed seqizz closed 3 years ago
Hello Do you have installed some additional extensions (or custom operators) into pg_catalog schema? This error does not occurs on unmodified postgresql 13.
Oh god, that seems to be the case..
List of installed extensions
+--------------------+---------+------------+------------------------------------------------------------------------+
| Name | Version | Schema | Description |
+--------------------+---------+------------+------------------------------------------------------------------------+
| btree_gin | 1.3 | pg_catalog | support for indexing common datatypes in GIN |
| btree_gist | 1.5 | pg_catalog | support for indexing common datatypes in GiST |
| hypopg | 1.1.4 | public | Hypothetical indexes for PostgreSQL |
| intarray | 1.3 | pg_catalog | functions, operators, and index support for 1-D arrays of integers |
| pg_stat_statements | 1.8 | public | track planning and execution statistics of all SQL statements executed |
| pg_trgm | 1.5 | pg_catalog | text similarity measurement and index searching based on trigrams |
| pgstattuple | 1.5 | public | show tuple-level statistics |
| plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language |
| uuid-ossp | 1.1 | public | generate universally unique identifiers (UUIDs) |
+--------------------+---------+------------+------------------------------------------------------------------------+
Feel free to close if not supported.
Yep, unfortunately we have conflict with intarray operators in this query. We fixed similar thing in the past (#16), but I have no idea how to more accurately specify to use the generic operator.
Also not sure if create extension ... with schema pg_catalog
is a good idea.
Ah, I just realized the pg_catalog thing. :thinking: Should be mistake, probably not even needed, will check it out, thanks!
Hi,
I saw an SQL error while running this on a Postgresql 13 DB. relevant part is:
I am not sure what is the issue, there is one unique, one non-unique index and one FK constraint which binds to another external unique value.
P.s.: Not using using the latest version (just saw that it's updated 20 days ago) so if this case is not expected on the latest, please ignore.