Re: is PG able to handle a >500 GB Database?

From: Florent Guillaume <efgeor(at)noos(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: is PG able to handle a >500 GB Database?
Date: 2001-01-20 13:32:53
Message-ID: 20010120143253.A17788@twin.efge.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> currval returns error unless nextval has been called at least once in the
> session.

But in my example, which is

> > > create table t1 (recordid SERIAL PRIMARY KEY, val INT4, name TEXT);
> > > ... much later ...
> > > insert into t1 (val, name) values (3465, 'blah');
> > > -- now we want the recordid just created

it's ok because a NULL insert into a SERIAL implicitly calls nextval.

Florent

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Korteweg 2001-01-20 16:01:42 Re: MS Access data to PostgrSQL data
Previous Message Joseph 2001-01-20 13:10:07 Re: Can't set MAX_CONNECTIONS over 32