Re: remove tablespace for primary key (*not* by drop/recreate constraint)

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "emilu(at)encs(dot)concordia(dot)ca" <emilu(at)encs(dot)concordia(dot)ca>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: remove tablespace for primary key (*not* by drop/recreate constraint)
Date: 2015-06-05 14:25:20
Message-ID: A76B25F2823E954C9E45E32FA49D70ECCD45F22C@mail.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

From: David G. Johnston [mailto:david(dot)g(dot)johnston(at)gmail(dot)com]
Sent: Friday, June 05, 2015 9:59 AM
To: Igor Neyman
Cc: emilu(at)encs(dot)concordia(dot)ca; pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] remove tablespace for primary key (*not* by drop/recreate constraint)

On Friday, June 5, 2015, Igor Neyman <ineyman(at)perceptron(dot)com<mailto:ineyman(at)perceptron(dot)com>> wrote:
I think this is what I prefer to run. But it seems that schema owner does not have permission to run it.

"permission denied for tablespace pg_default"

GRANT USAGE ON SCHEMA…

Tablespace != schema ...

David J.

--
You are right, of course:

GRANT CREATE ON TABLESPACE…

Igor Neyman

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jon Forsyth 2015-06-10 23:05:58 Renumber Primary Keys and Update the same as Foreign Keys
Previous Message Emi Lu 2015-06-05 14:00:40 Re: remove tablespace for primary key (*not* by drop/recreate constraint)