table insert/primary key question

Поиск
Список
Период
Сортировка
От Scot Kreienkamp
Тема table insert/primary key question
Дата
Msg-id 17082AAFC33A934082836458CB534943663B7E85@MONEXCH01.na.lzb.hq
обсуждение исходный текст
Ответы Re: table insert/primary key question  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-general

Hey everyone,

 

I have a table like so:

 

Receiptlimitid: BIGINT (Primary Key)

Profitcenterid: BIGINT

Receiptnumber: INTEGER

 

All are set to Not Null also.

 

 

My question is, if I have an insert that goes idle in transaction for a while before it commits, will it stop all other inserts from happening on the table?  If so, is that because of the possible violation of the primary key by the following pending inserts?  Just trying to confirm the behavior I'm seeing and make sure I understand what's going on. 

 

Thanks!

 


Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Incorporated ®
1284 North Telegraph Road | Monroe, Michigan 48162 |   Phone: 734-384-6403  |    Fax:  |   Email: SKreien@la-z-boy.com




This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.

В списке pgsql-general по дате отправления:

Предыдущее
От: Guy Rouillier
Дата:
Сообщение: Re: SSD Drives
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: COPY v. java performance comparison