Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6c7e6d2b
Commit
6c7e6d2b
authored
Mar 19, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a usage example for has_function_privilege().
parent
0fdc6c4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+7
-3
No files found.
doc/src/sgml/func.sgml
View file @
6c7e6d2b
<!--
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.19
4 2004/03/10 20:10:26 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.19
5 2004/03/19 19:13:26 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -6881,15 +6881,19 @@ SELECT has_table_privilege('myschema.mytable', 'select');
arguments are analogous to <function>has_table_privilege</function>.
When specifying a function by a text string rather than by OID,
the allowed input is the same as for the <type>regprocedure</> data type.
The desired access privilege type must
currently
evaluate to
The desired access privilege type must evaluate to
<literal>EXECUTE</literal>.
An example is:
<programlisting>
SELECT has_function_privilege('joeuser', 'myfunc(int, text)', 'execute');
</programlisting>
</para>
<para>
<function>has_language_privilege</function> checks whether a user
can access a procedural language in a particular way. The possibilities
for its arguments are analogous to <function>has_table_privilege</function>.
The desired access privilege type must
currently
evaluate to
The desired access privilege type must evaluate to
<literal>USAGE</literal>.
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment