[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Newbie question
From:       "Ron Watkins" <rwatki () gmail ! com>
Date:       2018-03-20 16:50:24
Message-ID: 2a9a01d3c06b$8bb5d6a0$a32183e0$ () gmail ! com
[Download RAW message or body]

This is a multipart message in MIME format.


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?

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" \
CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal>I am pretty new to Postgresql.<o:p></o:p></p><p \
class=MsoNormal>I have a database with a schema, ill call it &#8216;FOO&#8217; here \
in the message.<o:p></o:p></p><p class=MsoNormal>I also have a developer, who \
want&#8217;s to create a function for use in the &#8216;FOO&#8217; \
schema.<o:p></o:p></p><p class=MsoNormal>Im not finding the appropriate command to \
allow that user to create a function in the FOO schema (or \
elsewhere).<o:p></o:p></p><p class=MsoNormal>Is there such a command? I was looking \
under the &#8216;GRANT&#8217; but I don&#8217;t see a way to grant &#8220;CREATE or \
REPLACE FUNCTION&#8221;.<o:p></o:p></p><p class=MsoNormal>Am I missing anything here? \
What is the best approach?<o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic