Bug report #13295

Issue with Postgresql enum visualisation in QGIS

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

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
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

Description

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

History

#1 Updated by Vincent Picavet about 4 years ago

Hi Pablo,

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

#2 Updated by Giovanni Manghi almost 3 years ago

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

#3 Updated by Jürgen Fischer over 2 years ago

  • Category set to Unknown

#4 Updated by Nyall Dawson about 1 year ago

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

Also available in: Atom PDF