Skip site navigation (1) Skip section navigation (2)

Re: COPY TO looses on view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Steve Pothier <pothiers(at)aries(dot)tucson(dot)saic(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: COPY TO looses on view
Date: 2001-07-11 23:29:10
Message-ID: 6863.994894150@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2001-07-12 00:08:00
Subject: Re: COPY TO looses on view
Previous:From: Joel G GuevaraDate: 2001-07-11 23:08:51
Subject: bug report: tuple is too big

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group