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
dc1cb4ce
Commit
dc1cb4ce
authored
Dec 08, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about the inability of plpsql to use parameter names
that are the same as column names used in the function.
parent
4ebd4224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
doc/src/sgml/plpgsql.sgml
doc/src/sgml/plpgsql.sgml
+14
-4
No files found.
doc/src/sgml/plpgsql.sgml
View file @
dc1cb4ce
<!--
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.8
1 2005/12/01 10:36:57 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.8
2 2005/12/08 18:02:04 momjian
Exp $
-->
<chapter id="plpgsql">
...
...
@@ -3094,6 +3094,15 @@ AFTER INSERT OR UPDATE OR DELETE ON sales_fact
</para>
</listitem>
<listitem>
<para>
You cannot use parameter names that are the same as columns
that are referenced in the function. Oracle allows you to do this
if you qualify the parameter name using
<literal>function_name.paramater_name</>.
</para>
</listitem>
<listitem>
<para>
You can overload function names in <productname>PostgreSQL</>. This is
...
...
@@ -3111,7 +3120,7 @@ AFTER INSERT OR UPDATE OR DELETE ON sales_fact
<listitem>
<para>
In <productname>PostgreSQL</> the function body
has to
be written as
In <productname>PostgreSQL</> the function body
must
be written as
a string literal. Therefore you need to use dollar quoting or escape
single quotes in the function body. See <xref
linkend="plpgsql-quote-tips">.
...
...
@@ -3128,10 +3137,11 @@ AFTER INSERT OR UPDATE OR DELETE ON sales_fact
<listitem>
<para>
Since there are no packages, there are no package-level variables
either. This is somewhat annoying. You
may be able to keep per-session
state in temporary tables,
instead.
either. This is somewhat annoying. You
can keep per-session state
in temporary tables
instead.
</para>
</listitem>
</itemizedlist>
</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