Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNfli-0002vR-AG for pgsql-general@arkaria.postgresql.org; Tue, 29 May 2018 14:38:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fNflh-0005TY-1N for pgsql-general@arkaria.postgresql.org; Tue, 29 May 2018 14:38:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNflg-0005T4-MM for pgsql-general@lists.postgresql.org; Tue, 29 May 2018 14:38:32 +0000 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fNflZ-0007U2-8A for pgsql-general@postgresql.org; Tue, 29 May 2018 14:38:31 +0000 Received: by mail-qt0-x22b.google.com with SMTP id g13-v6so18889428qth.8 for ; Tue, 29 May 2018 07:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=i23lFQS5JDtAmO200D5wV1errccTTg9nBCq9LebOgY4=; b=u+NGt3mT55DaQQG/+PfvBVJ2ZsnaJeW/yze8Ammhe2pJGhgSTZegJVCxfoFKA/Iw4b BtW6Li6AmxEOj8PIoyKsRD/VEFwBxAHrTOB5gPKoamYxJSFl5vi1WZup39aN3o2o8VaE DXhFLSNd7EeQaOKz/LUmiiMDJTR8fOstY6XLaz65RvhKPJfZJ7nlrDoMnVA3YSsXfmGE UD6FCq9ADONVfuIzUPab2wZ85TqRk/vctey9acrFcsgnx1xicubHFM3KE0lxeompCBzF UhJ+mO0rkl1wZ0iSimRq8I7ZENsO5ELlvSjsmTfiBAvi7FZNRYuR+csc7ef/1uUvM+gL mlRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=i23lFQS5JDtAmO200D5wV1errccTTg9nBCq9LebOgY4=; b=sCFcXT056N6U9z5fmBs7dtk2txbTyrvIoThY3bsze+nYxa5leWghpJXmkQS/cRc1go 60a3roU7B9HAdEl6Pc5Ym5oJQNn8DL9P4Zp3E0MPJWrLDbUAOFHCMqoMXK1Ftnc6qXZ7 yBw5NajhyPPG3Z019ga/8oKT8JaOatJu5aQdnE3MEV2P73tit56/1jB6QhvQVptVWo68 PyH8Aj1TueTVpp6tirYkUVxBMwVetp5HF2pdTfpuga59OyubRR0De9e7ACF+isnLpvcA v7p6U2TCws59/JKnmLffl1k0UEx9coQ+Gsk/sRt7zPsnR5v3YLpfVpCEiKXnDXGxXIxn 1W4Q== X-Gm-Message-State: ALKqPwffsllOxmsyHpVOM54Iesz012J/9XxmsyVru7fq5l+NXJPjoP3U 9iN4iDmfEePHIX1wnFDivL5fZQ== X-Google-Smtp-Source: ADUXVKIcYDlLxhob9pqwktJX4gQ2dlhzdCKHISbvEZ8+fC06ncVfpEXqnxPfmzRK3n6GrAL7vr799Q== X-Received: by 2002:a0c:b5c2:: with SMTP id o2-v6mr16029589qvf.225.1527604704013; Tue, 29 May 2018 07:38:24 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.57.112.31]) by smtp.gmail.com with ESMTPSA id y7-v6sm23436707qtn.48.2018.05.29.07.38.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 07:38:23 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id BA4569F7; Tue, 29 May 2018 10:38:21 -0400 (-04) Date: Tue, 29 May 2018 10:38:21 -0400 From: Alvaro Herrera To: Stuart McGraw Cc: pgsql-general@postgresql.org Subject: Re: existence of a savepoint? Message-ID: <20180529143821.omiz7h54mbgrmfs6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0bd10887-f256-8972-e676-2c2e87890663@mtneva.com> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-May-27, Stuart McGraw wrote: > Is there some way to to test if a savepoint of a given name > exists? Or better yet, the number of stacked savepoints of > that name? What is the use case for this? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services