Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
6c7e6d2b
Commit
6c7e6d2b
authored
21 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Add a usage example for has_function_privilege().
parent
0fdc6c4c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/func.sgml
+7
-3
7 additions, 3 deletions
doc/src/sgml/func.sgml
with
7 additions
and
3 deletions
doc/src/sgml/func.sgml
+
7
−
3
View file @
6c7e6d2b
<!--
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.19
4
2004/03/1
0 20
:1
0
:26
neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.19
5
2004/03/1
9 19
:1
3
: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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment