Search Postgresql Archives

Can't drop a view ("view does not exist") that has an entry in "INFORMATION_SCHEMA.views"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
I need to drop a view in order  to alter a type of a column: numeric(12,1) ->  numeric(12,2):

ERROR:  cannot alter type of a column used by a view or rule DETAIL:  rule _RETURN on view "TransTasksCube" depends on column "billable_units"

Trying to delete it, I get:

projop=# drop view TransTasksCube;
ERROR:  view "transtaskscube" does not exist

FYI: VIEW also shows up in table INFORMATION_SCHEMA.views:

projop=# select table_name from INFORMATION_SCHEMA.views where table_name like '%Trans%';
   table_name
----------------
 TransTasksCube
(1 row)

Appreciate your help!
Klaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux