Re: [SQL] possible bug? - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: [SQL] possible bug?
Date
Msg-id Pine.GSO.4.02A.9910251051130.8338-100000@Krabba.DoCS.UU.SE
Whole thread Raw
In response to possible bug?  (Clayton Cottingham <drfrog@smartt.com>)
List pgsql-sql
>From the manual for CLUSTER:

"The table is actually copied to a temporary table in index order, then
renamed back to the original name. For this reason, all grant permissions
and other indexes are lost when clustering is performed."

So this is not a bug in the sense that no one knows about it, but it's an
unfortunate side-effect for sure.
-Peter

On Mon, 25 Oct 1999, Clayton Cottingham wrote:

> can anyone confirm this?
> 
> create index idx on table using btree(column  );
> cluster idx on table;
> drop index idx;
> 
> seems to drop all permissions and indexes
> on the table involved
> 
> ive tested in 6.5 and 6.5.2
> 
> 
> 
> ************
> 
> 

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-sql by date:

Previous
From: Postgres
Date:
Subject: Limit doesn't work with select unions
Next
From: Oleg Bartunov
Date:
Subject: Re: [SQL] Limit doesn't work with select unions