From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Edoardo Ceccarelli <eddy@axa.it>
Cc: pg@fastcrypt.com, "pgsql-jdbc@postgresql.org" <pgsql-jdbc@postgresql.org>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [JDBC] [PERFORM] is a good practice to create an index on the
Date: Wed, 28 Apr 2004 16:25:26 +0800
Message-ID: <408F6A76.9070908@familyhealth.com.au> (raw)
In-Reply-To: <408F679A.9030608@axa.it>
References: <408D3AE8.5020006@axa.it>
<408DC9E1.8020704@familyhealth.com.au>
<1083067187.14759.178.camel@localhost.localdomain>
<408E75C2.5060703@familyhealth.com.au>
<1083079114.14759.204.camel@localhost.localdomain>
<408ED3E2.802@axa.it>
<408F0944.5060608@familyhealth.com.au>
<408F679A.9030608@axa.it>
> do you mean that, declaring an index serial, I'd never have to deal with
> incrementing its primary key? good to know!
Yep. You can use 'DEFAULT' as the value, eg:
INSERT INTO blah (DEFAULT, ...);
> anyway in this particular situation I don't need such accurate
> behaviour: this table is filled up with a lot of data twice per week and
> it's used only to answer queries.
> I could drop it whenever I want :)
Sure.
Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: chriskl@familyhealth.com.au, eddy@axa.it, pgsql-jdbc@postgresql.org, pgsql-performance@postgresql.org
Subject: Re: [JDBC] [PERFORM] is a good practice to create an index on the
In-Reply-To: <408F6A76.9070908@familyhealth.com.au>
References: <408D3AE8.5020006@axa.it> <408DC9E1.8020704@familyhealth.com.au> <1083067187.14759.178.camel@localhost.localdomain> <408E75C2.5060703@familyhealth.com.au> <1083079114.14759.204.camel@localhost.localdomain> <408ED3E2.802@axa.it> <408F0944.5060608@familyhealth.com.au> <408F679A.9030608@axa.it> <408F6A76.9070908@familyhealth.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox