Re: [HACKERS] Open 6.4 items - Mailing list pgsql-hackers

From Peter T Mount
Subject Re: [HACKERS] Open 6.4 items
Date
Msg-id Pine.LNX.3.96.980830115328.493T-100000@maidast.retep.org.uk
Whole thread Raw
In response to Re: [HACKERS] Open 6.4 items  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
On Tue, 25 Aug 1998, Thomas G. Lockhart wrote:

> > > > SERIAL type auto-creates sequence
> > > I won't have time to do this for v6.4.
> > This would be nice to have, so maybe we can jam it in.  If it is not
> > 100% correct, we have a month to make it correct, right?
>
> OK, I've committed the SERIAL type support to the CVS tree:
>
> postgres=> create table test (x text, s serial);
> NOTICE:  CREATE TABLE will create implicit sequence test_s_seq for
> SERIAL column test.s
> NOTICE:  CREATE TABLE/UNIQUE will create implicit index test_s_key for
> table test
> CREATE

I've just tried this (using a CVS tree from Friday), and got this:

peter=> create table test (x text, s serial);
NOTICE: CREATE TABLE will create implicit sequence test_s_seq for SERIAL
column test.s
NOTICE: CREATE TABLE/UNIQUE will create implicit index test_s_key for
table test
ERROR: pg_aclcheck: class "test_s_seq" not found

\d shows that nothing is created. Any ideas?

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


pgsql-hackers by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Open 6.4 items
Next
From: Peter T Mount
Date:
Subject: Re: jdbc changes in 6.4