Re: bug using sequences

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: o(dot)bouiron(at)isc84(dot)org
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: bug using sequences
Date: 2007-10-01 13:09:49
Message-ID: 4700F19D.6000009@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Olivier Bouiron a écrit :
> I've found a mistake using PGADMIN 1.6 or PGADMIN 1.8 beta5:
> When I make a sequence with negative values, it works but PGADMIN is not
> able to show me the correct values.
>
> This is an exemple:
> PGADMIN shows me this:
>
> CREATE SEQUENCE dsi.dsi_pha_molecule_id_seq
> INCREMENT 18446744073709551615
> MINVALUE 18446744073709541616
> MAXVALUE 0
> START 18446744073709549616
> CACHE 1;
> ALTER TABLE dsi.dsi_pha_molecule_id_seq OWNER TO postgres;
>
> but in fact that sequence send me negative values...
>

Well, they are declared wxULongLong, ie unsigned long. I wonder why. It
should be simple enough to change that to wxLongLong. I'll write a patch
for this.

Regards.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2007-10-01 13:27:23 Re: bug using sequences
Previous Message Olivier Bouiron 2007-10-01 12:29:11 bug using sequences