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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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