Re: Field types

From: "Pirtea Calin" <pcalin(at)rdsor(dot)ro>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Field types
Date: 2002-03-05 20:16:21
Message-ID: 004801c1c482$ae113380$3b55e73e@dizzy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "Tom Lane"
> > create table catalog1
> > (id int8 not null primary key
> > ,Info1 VarChar(15) not null
> > ,Info2 VarChar(30) not null);
>
> Looks fine to me. You still haven't shown us exactly what goes wrong
> for you (like a query and an error message ...)

I used pgAdmin II to insert a row of the data into the table. Now i tried
also this query

insert into catalog1 (id, info1, info2) values
(999999999999999999,'asdf','asdf');
and it did work!

Now a big slam on my face! I tried first to insert 9223372036854775808 it
did not
work with range error then i changed that to 9223372036854775807 and it did
not
work because i had a unique index on info1.
i'm so sorry :( (I'm just too tired)

This is obviously calling for a break. (I can't see straight anymore).

Thanks for your help.

Best regards,
Aplication Developer
Pirtea Calin Iancu
S.C. SoftScape S.R.L.
pcalin(at)rdsor(dot)ro

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ulrich Wisser 2002-03-05 20:22:05 Re: vacuum statistics
Previous Message Fernando Schapachnik 2002-03-05 20:14:58 Database quota