Unable to save postgres custom type array
See original GitHub issueSystem information:
- Windows 10 Pro
- Version 7.0.5.202005171753
Connection specification:
- Postgres 12.2
- PostgreSQL JDBC Driver 42.2.5
- No tunnels or proxies
Describe the problem you’re observing:
Unable to save array of custom type. The error provided is:
Error synchronizing data with database
Reason:
Error creating struct
Error creating struct
Unable to find server array type for provided name <type_name>.
Steps to reproduce, if exist:
CREATE SCHEMA IF NOT EXISTS "cc";
CREATE TYPE cc.my_type as ENUM ('foo', 'bar');
CREATE TABLE IF NOT EXISTS cc.my_table(
ID SERIAL PRIMARY KEY,
props cc.my_type[]
);
In the UI add a new row and populate the props
with a value. Click Save
.
Include any warning/errors/backtraces from the logs
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
insert into array of custom type in Postgres - sql - Stack Overflow
The easiest way would probably be: INSERT INTO new_table VALUES ( '9fd92c53-d0d8-4aba-8925-1bd648d565f2'::uuid, ARRAY[ row(now(), ...
Read more >Documentation: 15: CREATE FUNCTION - PostgreSQL
The user that creates the function becomes the owner of the function. To be able to create a function, you must have USAGE...
Read more >Troubleshooting in Athena - AWS Documentation
For more information, see How do I resolve the error "unable to create ... array ) has been declared as a primitive type...
Read more >Working with the Array Data Type in PostgreSQL
The cars list will be a text Array. Open pgAdmin and create a database. Name it as desired. Right-Click on the database name...
Read more >Active Record and PostgreSQL - Ruby on Rails Guides
You need to enable the hstore extension to use hstore. # db/migrate/20131009135255_create_profiles.rb class CreateProfiles < ActiveRecord:: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This Issue Still Exists? I updated DBeaver to 7.2.1 On my Win10 m/c
@uslss In the recent release
v7.1.4
, I am getting the same/similar error.In the previous release
v7.1.3
orv7.1.2
(don’t remember the exact version number), I didn’t get such issue.