Bug report #21997

Browser: dropping a view fails

Added by Paolo Cavallini over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Browser
Affected QGIS version:3.4.7 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29812

Description

Dropping a view from the Browser fails:

Impossibile eliminare layer "public"."pippo":
ERROR: "pippo" is not a table
NOTA: Use DROP VIEW to remove a view.
CONTESTO: SQL statement "DROP TABLE IF EXISTS public.pippo RESTRICT"
PL/pgSQL function dropgeometrytable(character varying,character varying,character varying) line 15 at EXECUTE

Also available in: Atom PDF