| From: | Abhishek Tripathi <postforabhishek(at)gmail(dot)com> |
|---|---|
| To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Want to acquire lock on tables where primary of one table is foreign key on othere |
| Date: | 2018-10-11 09:48:46 |
| Message-ID: | CACun91P3X0R2g+E49_Kd7GKSNq0mJOhbpvLHv2XX-dUxyQFJaw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-general |
Dear Concerned Person,
I write this email to get the information about locking which I am not
getting from anywhere.
Actually I have acquired a "Select for Update" on a table whose id is
refrence as a foreign key on another table So I want those table won't
update until there is lock. Is it possible? Becuase postgres is acquiring
lock but AccessShare Lock which allow to write on those table How I
restrict this.
Thanks and Regards
Abhishek
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Abhishek Tripathi | 2018-10-11 09:49:13 | Fwd: Want to acquire lock on tables where primary of one table is foreign key on othere |
| Previous Message | David Rowley | 2018-10-11 05:36:35 | Re: BUG #15383: Join Filter cost estimation problem in 10.5 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Abhishek Tripathi | 2018-10-11 09:49:13 | Fwd: Want to acquire lock on tables where primary of one table is foreign key on othere |
| Previous Message | magodo | 2018-10-11 06:01:49 | Re: how to identify the timeline of specified recovery_target_time when do multiple PITR |