Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndwlL-0006it-Gu for pgsql-admin@arkaria.postgresql.org; Mon, 11 Apr 2022 16:19:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ndwlK-0001cQ-Bg for pgsql-admin@arkaria.postgresql.org; Mon, 11 Apr 2022 16:19:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndwlJ-0001Xw-WC for pgsql-admin@lists.postgresql.org; Mon, 11 Apr 2022 16:19:34 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ndwlH-00039f-Tn for pgsql-admin@lists.postgresql.org; Mon, 11 Apr 2022 16:19:32 +0000 Received: by mail-ej1-x636.google.com with SMTP id bg10so31985323ejb.4 for ; Mon, 11 Apr 2022 09:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JIw1Gzz4QFKkd50HkTNFlm7nKI6ee0hko/2rAcwbIeQ=; b=cdo7cWQCCMhnAXEuMsKgZLxRFbR0j0l+pYC9/xBm11QmqFTdv+beoA3NQOLw5m/T1r cNwpraVJJlRVoNYqzTRZVUNuDX5L8Abt5U3DhghxjmkifBKUdPw2g/VEEtlalwcKCtK9 IOVvLn5GSGnNf49dD+YMfNPAL//TGrQ5c6sYLhzjszncEr9RgyMDKOgPGYnpuk88L+ip UPmrFUkPbHElZ8YShcrDpHL42EWOyIUu5IWnYtaSwnmOf7fV5LHkv4qzSJCzUMk16x2T c6Ka2wxTPo/zPlRQlhYmKsre6TGnSCk7GLT2pVNl4282yqRzCnf2fqOIG0Z677S7pFfw chug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JIw1Gzz4QFKkd50HkTNFlm7nKI6ee0hko/2rAcwbIeQ=; b=bWoZqrmsf8ZYbsd6T/hZgaz+vVQQCfoNr+KxfSZJ3h8uvPrdlowaQjGoPp264ryhkA wCW6a6EPPY90pywtwvGBXn3PilGZJvJHrYqRPIobMBzXdBHOzvCYY7/gyg1QI5enevNb bUBEZHanlUEkPx2qSkUiRAVks7+Q8MVG1m6Co89OFTQ7sCR2fwJ1SHuZTEeuMdQfxz1b uthKLkOASpTCdA1Spryxy1nScMQA216wdIe3Ek0V8KC8qr+KuqAIW/OnxTEDFIQPI4tA btDYsIbRjyo19yNFcJZ3dWrSV8AcSDoaPCygnK2mFJXP3gQmf905AYBtKPXKJKTGDmiA YAPQ== X-Gm-Message-State: AOAM530LyCIqq4YDJW3Dm2b445pIxVXrErN1QjBV8KUKw3CjdDH4F77a aHgilRTwl7U7NC36ZSwPrKCY2XwVJgIH3PRm/CWmet0X X-Google-Smtp-Source: ABdhPJxBS/XOMVXm+WN49U9zI6RKLtgTolh3AqjOYsmh6exOP4pRZwh9Mvy9N8mpfyjJ1GkfAhHxd61bUfW7Rd044Fo= X-Received: by 2002:a17:907:971b:b0:6e8:67cf:6caf with SMTP id jg27-20020a170907971b00b006e867cf6cafmr13178335ejc.259.1649693970428; Mon, 11 Apr 2022 09:19:30 -0700 (PDT) MIME-Version: 1.0 References: <548f2ed6-3209-705d-09e2-a5afbc6fb71c@quadratum-braccas.com> In-Reply-To: <548f2ed6-3209-705d-09e2-a5afbc6fb71c@quadratum-braccas.com> From: "David G. Johnston" Date: Mon, 11 Apr 2022 09:19:13 -0700 Message-ID: Subject: Re: set autocommit only for select statements To: Sbob Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000018866105dc634f44" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000018866105dc634f44 Content-Type: text/plain; charset="UTF-8" On Mon, Apr 11, 2022 at 9:15 AM Sbob wrote: > Is there a way to set "autocommit = on" for all select statements and > have "autocommit = off" for all other statements? > > In what? The server doesn't have an autocommit option. But I doubt it; regardless of the answer to the previous question. David J. --00000000000018866105dc634f44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Apr 11, 2022 at 9:15 AM Sbob <sbob@quadratum-braccas.com> wrote:
Is there a way to set "autocommit =3D on" for= all select statements and
have "autocommit =3D off" for all other statements?


In what?=C2=A0 The server doesn't have an auto= commit option.

But I doubt it; regardless of the answe= r to the previous question.

David J.
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ">
--00000000000018866105dc634f44--