Re: COPY TO looses on view

From: Steve Pothier <pothiers(at)aries(dot)tucson(dot)saic(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: COPY TO looses on view
Date: 2001-06-28 15:18:46
Message-ID: 200106281518.f5SFIkv28332@payson.tucson.saic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org

Steve Pothier <pothiers(at)aries(dot)tucson(dot)saic(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-06-28 15:26:41 Re: Error in README_for_BeOS for PostgreSQL 6.5.0
Previous Message Tom Lane 2001-06-28 14:56:29 Re: COPY TO looses on view