| From: | Jake Stride <nsuk(at)users(dot)sourceforge(dot)net> |
|---|---|
| To: | bugant <bugant(at)opinioni(dot)net>, pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: Table locks |
| Date: | 2004-09-09 15:55:18 |
| Message-ID: | BD663B76.334E%nsuk@users.sourceforge.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On 9/9/04 4:52 pm, "bugant" <bugant(at)opinioni(dot)net> wrote:
>> There shouldn't be any gaps in the sequence jobno sequence either. Is there
>> an easy way to do this?
>>
>> I thought of doing:
>>
>> SELECT max(jobno) from jobs where companyid=1;
> you could do something like this or using a lot of different sequence
> ... but I don't know if it's a clever idea ;)
I don't want lots of sequences, but how best would I go about locking the
table?
Thanks
Jake
>
> ciao,
> bugant.
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas Seltenreich | 2004-09-09 16:02:59 | Re: Table locks |
| Previous Message | Jake Stride | 2004-09-09 15:10:23 | Table locks |