From: | marllius ribeiro <marllius(dot)ribeiro(at)tecnisys(dot)com(dot)br> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Thomas Munro <munro(at)ip9(dot)org> |
Subject: | Re: Complete LOCK TABLE ... IN ACCESS|ROW|SHARE |
Date: | 2016-10-06 14:49:12 |
Message-ID: | 20161006144912.1296.95232.pgcf@coridan.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
The following review has been posted through the commitfest application:
make installcheck-world: tested, passed
Implements feature: tested, passed
Spec compliant: tested, passed
Documentation: not tested
This was my first test which had help Gerdan.
I did some tests and found nothing special. The stated resource is implemented correctly.
He passes all regression tests and enables the use of the new features specified.
The test was initially performed to verify that the features exist, however not effected, it follows the evidence:
postgres=# lock teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE
postgres=# lock teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE
postgres=# lock teste IN ACCESS
postgres=# lock teste IN ACCESS
postgres=# lock t
TABLE teste
postgres=# lock teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE
postgres=# lock teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE
postgres=# lock TABLE
information_schema. pg_temp_1. pg_toast_temp_1. teste
pg_catalog. pg_toast. public.
postgres=# lock TABLE teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE
postgres=# lock TABLE teste IN ACCESS
postgres=# lock TABLE teste IN ACCESS
postgres=# lock TABLE teste IN ACCESS
postgres=# lock TABLE teste IN SHARE
postgres=# lock TABLE teste IN ROW
postgres=# lock TABLE teste IN ROW
postgres=# lock TABLE teste IN ROW
---------------------------------
After applied patch come the new features.
postgres=# lock table teste IN ACCESS
EXCLUSIVE MODE SHARE MODE
postgres=# lock table teste IN
ACCESS EXCLUSIVE MODE EXCLUSIVE MODE ROW SHARE MODE SHARE ROW EXCLUSIVE MODE
ACCESS SHARE MODE ROW EXCLUSIVE MODE SHARE MODE SHARE UPDATE EXCLUSIVE MODE
postgres=# lock table teste IN ACCESS
EXCLUSIVE MODE SHARE MODE
postgres=# lock table teste IN ACCESS
EXCLUSIVE MODE SHARE MODE
postgres=# lock table teste IN ROW
EXCLUSIVE MODE SHARE MODE
postgres=# lock table teste IN SHARE
MODE ROW EXCLUSIVE MODE UPDATE EXCLUSIVE MODE
postgres=# lock table teste IN SHARE
The new status of this patch is: Ready for Committer
From | Date | Subject | |
---|---|---|---|
Next Message | Serge Rielau | 2016-10-06 15:18:07 | Re: Fast AT ADD COLUMN with DEFAULTs |
Previous Message | Amit Kapila | 2016-10-06 14:14:49 | Re: Hash Indexes |