Re: COPY TO looses on view - Mailing list pgsql-bugs

From Tom Lane
Subject Re: COPY TO looses on view
Date
Msg-id 6863.994894150@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY TO looses on view  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: COPY TO looses on view
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, the following patch throws an error if you try to COPY TO/FROM
> views.

This is probably the wrong direction to approach it from: rather than
disallowing wrong things one at a time, we should only allow COPY if the
relkind is plain relation.  Think about toast rels, indexes, ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: COPY TO looses on view
Next
From: Bruce Momjian
Date:
Subject: Re: COPY TO looses on view