Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehMQT-0001x3-Vq for pgsql-general@arkaria.postgresql.org; Thu, 01 Feb 2018 21:29:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehMQS-0000IG-LI for pgsql-general@arkaria.postgresql.org; Thu, 01 Feb 2018 21:29:44 +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.84_2) (envelope-from ) id 1ehMQS-0000Hx-89 for pgsql-general@lists.postgresql.org; Thu, 01 Feb 2018 21:29:44 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ehMQP-00029S-8l for pgsql-general@lists.postgresql.org; Thu, 01 Feb 2018 21:29:42 +0000 Received: by mail-pf0-x236.google.com with SMTP id g17so1928244pfh.1 for ; Thu, 01 Feb 2018 13:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=X5Z3ONSrat/ntbkJyzxWRONNcQrTlNHVF271fUyHp90=; b=CZ7yjKcQrv92TS03TjBPldjkCWqOOaBQleWIghMRaM9TKZCfbv5carmp4sI15EAqGq VdNbhxBsSf+RNOahMzKHfM/WT3wEZX1rt2TpQUcRN59LgmuJkyAK0TBJZeUrnXaIBxkR pcG+3B8XNhjnBlhRIm4q5mGmuzWCfL1blbo5A2E5DH2qdlTIugZGlbNL/mCJ3Ugdh2wN +RfuNtyXOr2ZRUTNhwvX1azjRY/vvh1V192xGxx5WWgclVlcnf0MKJFMjqJO8mtOK8BF RuF/z8k+R6Z1yry3Kcx2JAPzkNkrabR73NaP4qUrDN0/AIThiiX89dqgz7UJXsNBBQau RfFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=X5Z3ONSrat/ntbkJyzxWRONNcQrTlNHVF271fUyHp90=; b=nBBzpZmrJ53ghuuzQwuUzSAfJKjEL0rPb9reS+0msapNkDNAzbb9mwYy7zxkONAR4V sfjP9OLJLUjN7PaZ5q0eouGXjv42UealuHAV9B9jEeBoBsP+zeCMWy/mvhcRLiWbPtHa iIHYEQgts/MfNu7HazjoFpcLFTsI9pexbxNDk0766/J9W2iMiVV1zyCL/eV1pyAfza6g Mj3lsRJI43Ay6hU6aJr7D0XUHbYtrDMX+zQgYwgYvlW/vWS1tWVvOOaxhtan3VwgBW8+ n4X5fQWPCdRq0I2zUSqUGXHqxICyR1kqngpSZaK9BA4FjzNKncbUVHuikMnrDCJTu8tL sGGg== X-Gm-Message-State: AKwxytfDHF1zx3LcmLwaADcixItmCcRpHOLlJ7lmaIyMyCrjxFAIYmak V03Jq9/TXIcoHlKZ1F57218zMP9f X-Google-Smtp-Source: AH8x227VQSR6veVob2/Muyumpf1rciNIA4L0yIApu1EVcmgFgS4yCjAc4qTjMd5b4bi7Bo8SAQY0EA== X-Received: by 10.98.36.77 with SMTP id r74mr38592556pfj.31.1517520579563; Thu, 01 Feb 2018 13:29:39 -0800 (PST) Received: from [10.104.134.14] ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id b6sm547839pfe.85.2018.02.01.13.29.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 13:29:39 -0800 (PST) Subject: Re: Rolls To: pgsql-general@lists.postgresql.org References: From: Rob Sargent Message-ID: <167ffd48-7e62-e6bb-baef-0c5b660badce@gmail.com> Date: Thu, 1 Feb 2018 14:29:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/01/2018 02:22 PM, Andrew Bartley wrote: > Hi all, > > I am trying to work out a way to create a roll/user that can only > execute one particular function and nothing else. The particular > function has been created with "SECURITY DEFINER". > > Regards > > Andrew Bartley > > And I thought you we offering hot cinnamon buns or some such.