pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: marcelo <marcelo.nicolet@gmail.com>
To: Chris Travers <chris.travers@gmail.com>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Logical locking beyond pg_advisory
Date: Mon, 17 Sep 2018 17:42:23 -0300
Message-ID: <e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com> (raw)
In-Reply-To: <CAKt_ZfvMMCOGMVaYRRVnceU2S=rKzCZ3irDF+f9+WpjX3_nwDg@mail.gmail.com>
References: <8d7f3295-c2d6-ef00-1300-4f6db798f76e@gmail.com>
	<CAHyXU0xFZjYs9Yx=w+KUUAs0JL88Js+OPvU2mGoEACw+6uFdog@mail.gmail.com>
	<CAKt_ZfuTOqv3daC9k-Pymtg+WqsDJEfN9ZwYdCh4UDz=2jFO7Q@mail.gmail.com>
	<2224096b-7095-372d-fb7b-f3e4add7d334@gmail.com>
	<CAKt_ZfvMMCOGMVaYRRVnceU2S=rKzCZ3irDF+f9+WpjX3_nwDg@mail.gmail.com>



On 17/09/2018 14:27 , Chris Travers wrote:
>
>
> On Mon, Sep 17, 2018 at 6:04 PM marcelo <marcelo.nicolet@gmail.com 
> <mailto:marcelo.nicolet@gmail.com>> wrote:
>
>
>
>     I´m using an ORM (Devart´s) to access the database, so, I cannot
>     "select ... FOR UPDATE". The application paradigm is that a user
>     have a list of records (after a query) and she could update or
>     delete any of them as the business rules allows it. So, at least
>     an advisory lock is a must.
>     I´m convinced by now: I would stay with advisory locks...
>     expecting no app crash could occur...
>
>
> I would say to fix this in the ORM rather than reinvent what the 
> database already gives you in the database.
>
You are right. But you know...
>
>     Thank you all.
>     Marcelo
>
>     <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;
>     	Libre de virus. www.avast.com
>     <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;
>
>
>     <#m_-9091154853724945458_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
>
> -- 
> Best Wishes,
> Chris Travers
>
> Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor 
> lock-in.
> http://www.efficito.com/learn_more



---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus

view thread (8+ messages)

Message-ID: <e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com>
Permalink:  ../e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com/
Also on:    postgresql.org/message-id/e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: marcelo.nicolet@gmail.com, chris.travers@gmail.com, mmoncure@gmail.com
  Subject: Re: Logical locking beyond pg_advisory
  In-Reply-To: <e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com>
  References: <8d7f3295-c2d6-ef00-1300-4f6db798f76e@gmail.com> <CAHyXU0xFZjYs9Yx=w+KUUAs0JL88Js+OPvU2mGoEACw+6uFdog@mail.gmail.com> <CAKt_ZfuTOqv3daC9k-Pymtg+WqsDJEfN9ZwYdCh4UDz=2jFO7Q@mail.gmail.com> <2224096b-7095-372d-fb7b-f3e4add7d334@gmail.com> <CAKt_ZfvMMCOGMVaYRRVnceU2S=rKzCZ3irDF+f9+WpjX3_nwDg@mail.gmail.com> <e3040ff1-0db0-c644-2ba2-0c7511fcb657@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox