Re: New sequence in 1.8.1

From: "Dave Page" <dpage(at)postgresql(dot)org>
To: "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>
Cc: "Andy Shellam" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>, pgadmin-support(at)postgresql(dot)org
Subject: Re: New sequence in 1.8.1
Date: 2008-01-14 13:02:51
Message-ID: 937d27e10801140502x3292df9bpe8cab985b1ddbb6f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 14/01/2008, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
> Andy Shellam wrote:
> > I've noticed a small bug in 1.8.1 on Windows XP (SP2).
> >
> > If I create a new table, and add a new serial column to it before OK'ing
> > the "create table" dialog, the "sequence" drop-down remains disabled for
> > the column.
> >
> > If I create a table, and OK the dialog without any columns in, then go
> > back and modify the table and add a new serial column to it, the
> > "sequence" drop-down is enabled correctly.
> >
>
> I just had a quick look and you're right. Behaviour is different when
> table is already created. I think we need to fix this so the behavior
> remains consistent. I'm not sure what value has the "<new sequence>"
> text. So should we add this text when we add a serial column at table
> creation time or should we suppress this text ?

Yeah, that box just doesn't work when the dialogue is called from the
table dialogue (even when the control is enabled) - it tries to do
things that just aren't possible given the way the two dialogues
communicate. It also doesn't do anything when changing an existing
column because at that point it thinks the column is an integer column
with a default value.

I'm of half a mind to remove the sequence combo box altogether.

Thoughts?

/D

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andy Shellam 2008-01-14 20:44:06 Re: New sequence in 1.8.1
Previous Message Dave Page 2008-01-14 11:07:22 Re: Bug in language privileges