From: Antonio W. Lagnada <alagnada@lsil.com>
To: Andrzej Mazurkiewicz <andrzej.mazurkiewicz@polkomtel.com.pl>
Cc: Pgsql-sql <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] Autogenerated Unique Index
Date: Tue, 07 Mar 2000 09:05:10 -0600
Message-ID: <38C51AA6.BB53B911@lsil.com> (raw)
References: <13288F4408ADD11186FF0060B06A431303648CA3@MSGWAW1>
Hi Andrzej,
Does this mean that everytime I create a new record on the table, the field
"B" will be automatically incremented?
- Antonio
Andrzej Mazurkiewicz wrote:
> cfmg_adm=> CREATE TABLE A (
> cfmg_adm(> B int NOT NULL,
> cfmg_adm(> C char(5),
> cfmg_adm(> PRIMARY KEY (B)
> cfmg_adm(> );
> NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'a_pkey' for
> table
> 'a'
> CREATE
> cfmg_adm=>
> Regards,
> Andrzej Mazurkiewicz
>
> > -----Original Message-----
> > From: Antonio W. Lagnada [SMTP:alagnada@lsil.com]
> > Sent: 7 marca 2000 14:41
> > To: Pgsql-sql
> > Subject: [SQL] Autogenerated Unique Index
> >
> > Can someone give me a step-by-step instructions on how to generate a
> > unique autogenerated index in PostgreSQL?
> >
> > --
> > Antonio W. Lagnada
> >
> >
> > 952.921.8533
> > alagnada@lsil.com_NOSPAM
> > Remove the _NOSPAM for
> > the actual email address
> > << File: Card for Antonio W. Lagnada >>
--
Antonio W. Lagnada
952.921.8533
alagnada@lsil.com_NOSPAM
Remove the _NOSPAM for
the actual email address
Attachments:alagnada.vcf (text/x-vcard, 412B) download
begin:vcard
n:Lagnada;Antonio W.
tel;pager:612-414-9149
tel;cell:612-414-9149
tel;fax:612-921-8843
tel;home:651-501-2587
tel;work:612-921-8533
x-mozilla-html:TRUE
url:http://www.lsil.com
org:LSI Logic Corporation;Silicon Optimization
version:2.1
email;internet:alagnada@lsil.com
title:Design Engineer
adr;quoted-printable:;;8300 Norman Center=0D=0ASuite 730;Bloomington;MN;55437;
fn:Antonio W. Lagnada
end:vcard
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-sql@postgresql.org
Cc: alagnada@lsil.com, andrzej.mazurkiewicz@polkomtel.com.pl
Subject: Re: [SQL] Autogenerated Unique Index
In-Reply-To: <38C51AA6.BB53B911@lsil.com>
References: <13288F4408ADD11186FF0060B06A431303648CA3@MSGWAW1> <38C51AA6.BB53B911@lsil.com>
* 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