Problems modifyiong view

From: stan <stanb(at)panix(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Problems modifyiong view
Date: 2019-11-14 13:53:56
Message-ID: 20191114135356.GA14970@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to add columns to a view using CREATE OR REPLACE VIEW, and I am
getting the following error:

ERROR: cannot change name of view column "descrip" to "contact_person_1"

I suppose I can drop the view, and recreate it, but that seems to indicate
that the create or replace functionality is not functioning the way I would
expect.

Am I missing something here?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-11-14 14:31:48 Re: Problems modifyiong view
Previous Message Michael Paquier 2019-11-14 07:54:57 Re: root page 3 of index "pg_class_oid_index" has level 0, expected 1