Re: [GENERAL] Bug or my crooked hands?

From: "J(dot) Roeleveld" <j(dot)roeleveld(at)softhome(dot)net>
To: "Yury Don" <yura(at)vpcit(dot)ru>, "pgsql-general" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Bug or my crooked hands?
Date: 2000-01-19 11:19:12
Message-ID: 012e01bf626f$055658a0$8402a8c0@sentec.demon.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hello All,
>
> I have the following situation:
>
> CREATE TABLE "Contacts" (
> "Contact" Serial,
> "StuffTheir" Text,
> "TheDate" datetime DEFAULT TEXT 'now',
> "Subj" Text,
> "CustomerId" int4,
> "Agent" int4,
> "ActionType" int2,
> "Done" bool default false not null,
> "ExecutionDate" datetime,
> "Whom" int4
> );
>
> Then I have inserted data from text file and do a query
>
> mdb=> select Contact from Contacts;
> Contacts
> -----------
> -2112563299
> -2111287024
> -2110307960
> -2110004687
> -2109773688
> -2109611925
> -2108616455
> ...

How did you get negative values in a Serial - field??
Serial-fields default to positive numbers....

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yury Don 2000-01-19 11:32:12 Re[2]: [GENERAL] Bug or my crooked hands?
Previous Message Yury Don 2000-01-19 11:00:33 Bug or my crooked hands?