Bug report #13295

Issue with Postgresql enum visualisation in QGIS

Added by Pablo Fernández Moniz about 8 years ago. Updated over 4 years ago.

Affected QGIS version:2.8.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:21353


Default values for enum types are not displayed as the selected value in the column drop down menu when inserting entities.

CREATE TYPE domain AS ENUM ('A', 'B', 'C');
CREATE TABLE ele_enum(ipid serial primary key, geom geometry(LineString,32628), test domain NOT NULL DEFAULT 'A'::test.domain) WITH ( OIDS=FALSE); 

For more information, please check attached pdf.

IssuewithPostgresqlenumvisualisationinQGIS.pdf - Documento (206 KB) Pablo Fernández Moniz, 2015-08-31 10:18 AM

Related issues

Related to QGIS Application - Bug report #16153: Default values for fields include their types. Closed 2017-02-06


#1 Updated by Vincent Picavet over 7 years ago

Hi Pablo,

Your report concerns version 2.8.0. Did you check with recent versions of QGIS ?

#2 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No
  • Regression? set to No

#3 Updated by Jürgen Fischer about 6 years ago

  • Category set to Unknown

#4 Updated by Nyall Dawson over 4 years ago

  • Resolution set to no timely feedback
  • Description updated (diff)
  • Status changed from Open to Closed

Also available in: Atom PDF