Re: Sequences without blank holes

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: MaRcElO PeReIrA <gandalf_mp(at)yahoo(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sequences without blank holes
Date: 2003-11-06 14:33:04
Message-ID: 20031106143304.GB18854@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 06, 2003 at 05:01:54 -0300,
MaRcElO PeReIrA <gandalf_mp(at)yahoo(dot)com(dot)br> wrote:
>
> $ select * from products;
> prod_id | description
> --------+---------------------
> 1 | S470DXBLM
> 12 | S470DXABM
> 33 | RG250DX
> --------+---------------------
> (3 rows)
>
> and it is ok to me, but not to the users.

I aggree with the suggestion not to show them the internal keys.
The values in the description field look a lot more like product IDs
to me than descriptions. Maybe you should just use those when interacting
with the users.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message George Essig 2003-11-06 14:52:13 Re: tsearch2 and gist index bloat
Previous Message Bruno Wolff III 2003-11-06 14:27:29 Re: Problems with PLPGSQL