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

Re: Unable to create serial column even with permissions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(dot)berkus(at)pgexperts(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Unable to create serial column even with permissions
Date: 2010-08-18 15:38:57
Message-ID: 19109.1282145937@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
I wrote:
> It looks to me like the simplest way to make this happen would require
> (a) adding a field to CreateSeqStmt to carry the userID we want the
> sequence to be owned by;
> (b) adding a parameter to DefineRelation to pass in said userID.

> We could in theory back-patch this, since CreateSeqStmt won't ever go to
> disk in stored rules.  However, tweaking DefineRelation's API in stable
> branches seems fairly hazardous to third-party code.  Does it seem
> sufficient to fix the problem in 9.0 and up?

Since nobody's objected, I will see about making this change in HEAD and
9.0.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Stanisluv PlatonovDate: 2010-08-18 17:19:32
Subject: BUG #5625: PostgreSQL fail to install files in data folder.
Previous:From: Priya KaliappanDate: 2010-08-18 15:15:40
Subject: BUG #5624: Getting error while taking the backup of database from remote machine

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