Re: create snapshot?

From: hubert depesz lubaczewski <depesz(at)depesz(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: create snapshot?
Date: 2000-11-24 14:43:07
Message-ID: 20001124154307.B7157@gruby
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 24, 2000 at 11:23:41AM -0000, Alistair Hopkins wrote:
> assuming users are logging on as psqluser but the db is owned by psqlowner:
> create table mysnapshot as select * from myuser;
> grant select on mysnapshot to psqluser;

o.k. but updating it requires to drop table, and recreate using full select.
and i want it to work like:

update snapshot mysnapshot;
done;

depesz

--
hubert depesz lubaczewski
------------------------------------------------------------------------
najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo,
jest niesamowita wręcz łatwość unikania kontaktów z nim ...

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Serge Canizares 2000-11-24 14:46:07 Re: Statement too long
Previous Message Pawel Dubin 2000-11-24 13:48:27 Re: plz, Help!! HOW CAN I GET THE ROWNUM IN POSTGRES TABLE AS I DID WITH ORACLE!!