Re: [BUGS] COPY TO looses on view

2001-07-11 Thread Bruce Momjian
> 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

Re: [BUGS] COPY TO looses on view

2001-07-11 Thread Tom Lane
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

Re: [BUGS] COPY TO looses on view

2001-07-11 Thread Bruce Momjian
> > 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

Re: [BUGS] COPY TO looses on view

2001-06-28 Thread Tom Lane
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 ---