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 1eyKTC-0000Bs-Da for pgsql-admin@arkaria.postgresql.org; Tue, 20 Mar 2018 16:50:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eyKTA-0001HL-SK for pgsql-admin@arkaria.postgresql.org; Tue, 20 Mar 2018 16:50:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyKTA-0001HB-J5 for pgsql-admin@lists.postgresql.org; Tue, 20 Mar 2018 16:50:40 +0000 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eyKT7-0002r6-2i for pgsql-admin@lists.postgresql.org; Tue, 20 Mar 2018 16:50:40 +0000 Received: by mail-pl0-x242.google.com with SMTP id f5-v6so1335282plj.13 for ; Tue, 20 Mar 2018 09:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=3/mC6Xw8X2J85lnCfx2ok1UNMZF+10FrPKvJSwt+36A=; b=asfl1H4Jl9SN0aW/zzNAlCxvASDP3Ns4FftXkv+lDZeIQ1E8jTVSPmsnNOj8PHNIPE IfhDjtp6zhiXAaTn2o4NqctE4qzxiXDjDHmFMPl3CAZ3YuVzSnDdhZkcnhmNNCcIi5Qf SLKXmtPGFOClfnDb2ZXVpXu7lbonuHsnwM0y4JjXjm26sCQHU34VigQ//3oF+E8p+xLO jF7NP6CLD5gZQ1SmER/SQ2871ArtRUAcp+ZPZ0W1+jMiNzDENT8vrvEH50EE07GbI8BV BtmAN3JR/exSflSqsmSimhHBVnEcLKCYkqZwh3m6SaskKU4XqHxJJEq6KtIDbSwac9jH bdbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=3/mC6Xw8X2J85lnCfx2ok1UNMZF+10FrPKvJSwt+36A=; b=aiyFAWG1uqffYyIJxN7tY7aedhwmltEjhG5iU1d+IjIRqqeo/k9FeF7U4TKZO1ifqg ssJ3XuAkmS3FZ4u7fNENQ0/iPDpIwI6twbDm87X0an9PDwLLt5jLmg+dNKi7TSPekqaa INvt6Haa30TDjAArZe84vj5S7pXEsZiZUy8/ZA3rnwzW5GaMQldtGYfJquHDVZ+uEt2x 9TejxxJSOCAKoAz8RpyDv9knhUMsgNzoAn5+tM/y7Mvcw8URaXt/9A1f4K7vjGJOZ13k Vxvt2hrLJCWh3l6Qo518jg4BItaXBrmKM6pvkMy+4j3qU4kb2Qpri02RJqa+kJmySuEs +qHw== X-Gm-Message-State: AElRT7HCX+hUJi9XB24Rmav2Wp+wVwMd/a/gM4p2ypdEm5WGZ1AtvX/b XzIqHoLFtBqsJNhtpLeCtM05fg== X-Google-Smtp-Source: AG47ELtGf3cGuouGphtqzQacjiraiZoflpICl2VUOyQdHyjvhFwcbANWnfmcqfCbUcB5HY8UQYfETw== X-Received: by 2002:a17:902:122:: with SMTP id 31-v6mr17677873plb.280.1521564633887; Tue, 20 Mar 2018 09:50:33 -0700 (PDT) Received: from RonPC (wsip-72-214-222-226.ph.ph.cox.net. [72.214.222.226]) by smtp.gmail.com with ESMTPSA id c11sm5086481pfe.109.2018.03.20.09.50.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 09:50:32 -0700 (PDT) From: "Ron Watkins" To: Subject: Newbie question Date: Tue, 20 Mar 2018 09:50:24 -0700 Message-ID: <2a9a01d3c06b$8bb5d6a0$a32183e0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_2A9B_01D3C030.DF57C1F0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdPAaz0QbHGJbxg8Tt2ewMCoC1WvMA== Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_2A9B_01D3C030.DF57C1F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am pretty new to Postgresql. I have a database with a schema, ill call it 'FOO' here in the message. I also have a developer, who want's to create a function for use in the 'FOO' schema. Im not finding the appropriate command to allow that user to create a function in the FOO schema (or elsewhere). Is there such a command? I was looking under the 'GRANT' but I don't see a way to grant "CREATE or REPLACE FUNCTION". Am I missing anything here? What is the best approach? ------=_NextPart_000_2A9B_01D3C030.DF57C1F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am = pretty new to Postgresql.

I have a = database with a schema, ill call it ‘FOO’ here in the = message.

I also have a developer, who = want’s to create a function for use in the ‘FOO’ = schema.

Im not finding the = appropriate command to allow that user to create a function in the FOO = schema (or elsewhere).

Is there such = a command? I was looking under the ‘GRANT’ but I don’t = see a way to grant “CREATE or REPLACE = FUNCTION”.

Am I missing = anything here? What is the best approach?

 

------=_NextPart_000_2A9B_01D3C030.DF57C1F0--