pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Sawtell <csawtell@xtra.co.nz>
To: pgsql-sql@postgresql.org
Subject: Bug? Me or PostgreSQL.
Date: Mon, 19 Feb 2001 17:45:03 +1300
Message-ID: <01021917450300.27125@berty> (raw)

Greetings,

How can this happen?

chris=# select name from boys_names where 
boys_names.number=(random()*225+1)::int4;
  name
--------
 Fred
 Gunnar
 Manuel
 Rainer
(4 rows)

Here is the table declaration:

create table boys_names (
        number                  serial primary key,
        name                    varchar(20)
        ); 

the details of my installation:-

chris=# select version();
                                version
------------------------------------------------------------------------
 PostgreSQL 7.1beta3 on i586-pc-linux-gnu, compiled by GCC egcs-2.91.66
(1 row)

-- 
Sincerely etc.,

 NAME       Christopher Sawtell
 CELL PHONE 021 257 4451
 ICQ UIN    45863470
 EMAIL      csawtell @ xtra . co . nz
 CNOTES     ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

 -->> Please refrain from using HTML or WORD attachments in e-mails to me 
<<--




view thread (3+ messages)  latest in thread

Message-ID: <01021917450300.27125@berty>
Permalink:  ../01021917450300.27125@berty/
Also on:    postgresql.org/message-id/01021917450300.27125@berty

 · 

reply

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: csawtell@xtra.co.nz
  Subject: Re: Bug? Me or PostgreSQL.
  In-Reply-To: <01021917450300.27125@berty>
  References: <01021917450300.27125@berty>

* 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