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
5f628561
Commit
5f628561
authored
Mar 18, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing parentheses for current_query(), per bug #5378.
Also make a couple other minor editorial improvements.
parent
12c2f2f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+15
-15
No files found.
doc/src/sgml/func.sgml
View file @
5f628561
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.5
09 2010/03/16 16:03:24 sriggs
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.5
10 2010/03/18 15:29:44 tgl
Exp $ -->
<chapter
id=
"functions"
>
<title>
Functions and Operators
</title>
...
...
@@ -11512,7 +11512,7 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]);
<row>
<entry><literal><function>
current_schemas
</function>
(
<type>
boolean
</type>
)
</literal></entry>
<entry><type>
name[]
</type></entry>
<entry>
names of schemas in search path optionally including implicit schemas
</entry>
<entry>
names of schemas in search path
,
optionally including implicit schemas
</entry>
</row>
<row>
...
...
@@ -11522,11 +11522,11 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]);
</row>
<row>
<entry><literal><function>
current_query
</function></literal></entry>
<entry><literal><function>
current_query
</function>
()
</literal></entry>
<entry><type>
text
</type></entry>
<entry>
text of the currently executing query, as submitted
by the client (might contain more than one statement)
</entry>
</row>
</row>
<row>
<!-- See also the entry for this in monitoring.sgml -->
...
...
@@ -11612,6 +11612,17 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]);
</tgroup>
</table>
<note>
<para>
<function>
current_catalog
</function>
,
<function>
current_schema
</function>
,
<function>
current_user
</function>
,
<function>
session_user
</function>
,
and
<function>
user
</function>
have special syntactic status
in
<acronym>
SQL
</acronym>
: they must be called without trailing
parentheses. (In PostgreSQL, parentheses can optionally be used with
<function>
current_schema
</function>
, but not with the others.)
</para>
</note>
<indexterm>
<primary>
user
</primary>
<secondary>
current
</secondary>
...
...
@@ -11657,17 +11668,6 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]);
the current user is the
<quote>
effective user
</quote>
.
</para>
<note>
<para>
<function>
current_catalog
</function>
,
<function>
current_schema
</function>
,
<function>
current_user
</function>
,
<function>
session_user
</function>
,
and
<function>
user
</function>
have special syntactic status
in
<acronym>
SQL
</acronym>
: they must be called without trailing
parentheses (optional in PostgreSQL in the case
of
<function>
current_schema
</function>
).
</para>
</note>
<para>
<function>
current_schema
</function>
returns the name of the schema that is
first in the search path (or a null value if the search path is
...
...
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