Re: translating this SQL query from a different dialect - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: translating this SQL query from a different dialect
Date
Msg-id 20060110201135.GA9403@webserv.wug-glas.de
Whole thread Raw
In response to Re: translating this SQL query from a different dialect  (Jaime Casanova <systemguards@gmail.com>)
List pgsql-novice
am  10.01.2006, um 15:04:00 -0500 mailte Jaime Casanova folgendes:
> On 1/10/06, A. Kretschmer <andreas.kretschmer@schollglas.com> wrote:
> > am  10.01.2006, um 10:38:59 -0700 mailte Michael Fuhr folgendes:
> > > Beware that as written this doesn't handle concurrency.  For example:
> >
> > Please, can you expand this example that it works with concurrency?
> >
> > This is a new field for me...
> >
>
> and what's the problem with something like
>
> create table foo (
>      fld1   int4   not null unique
>           constraint eight_rows_limit check (fld1 >= 0 and fld1 <= 8)
> );

nice ;-)


Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-novice by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: translating this SQL query from a different dialect
Next
From: Vanja
Date:
Subject: Re: translating this SQL query from a different dialect