> Bruce Momjian <[EMAIL PROTECTED]> 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 rel
Bruce Momjian <[EMAIL PROTECTED]> 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
>
> Thank _you_.
>
> I didn't see anything in the documentation under COPY TO that
> indicated it should not work with views. Since you say it should
> raise and error, the documentation should probably be updated too.
>
> -Steve Pothier-
>
>Date: Thu, 28 Jun 2001 10:56:29 -0400
>From
Steve Pothier <[EMAIL PROTECTED]> writes:
> I created a simple view from an existing table. I can select on the
> view ok but COPY TO "does nothing" (no error, no output).
It should raise an error. Thanks for pointing that out.
regards, tom lane
---