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

Re: Index build temp files

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: Index build temp files
Date: 2013-01-09 23:09:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> > On 9 January 2013 21:42, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > I wasn't suggesting that we test for TEMP instead of CREATE; what I
> > meant was we would test for CREATE *OR* TEMP to give more options for
> > management.
> [ shrug... ]  That's weird, ie unlike the behavior of other privileges,
> and it *still* doesn't fix any of the problems Stephen complained of.

Not realizing that I needed to grant privileges on the tablespace was my
oversight.  Having to grant privileges on a tablespace before users can
use it is reasonable, imv..  Displaying tablespaces that I don't have
access to through 'show temp_tablespaces;' doesn't feel quite right.
Having weird cases where we return permission denied errors or use the
incorrect tablespace are definitely a problem.



In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2013-01-09 23:12:48
Subject: Re: Index build temp files
Previous:From: Bruce MomjianDate: 2013-01-09 23:07:31
Subject: 9.2.1 & index-only scans : abnormal heap fetches after VACUUM FULL

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