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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
51b40f03
Commit
51b40f03
authored
May 27, 2006
by
Andrew Dunstan
Browse files
Options
Downloads
Patches
Plain Diff
Looks like the new plpython regression test fails on older pythons. See if this works.
parent
7a846ecc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pl/plpython/expected/plpython_function.out
+3
-1
3 additions, 1 deletion
src/pl/plpython/expected/plpython_function.out
src/pl/plpython/sql/plpython_function.sql
+3
-1
3 additions, 1 deletion
src/pl/plpython/sql/plpython_function.sql
with
6 additions
and
2 deletions
src/pl/plpython/expected/plpython_function.out
+
3
−
1
View file @
51b40f03
...
...
@@ -123,7 +123,9 @@ CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$
if TD.has_key('relid'):
TD['relid'] = "bogus:12345"
for key in sorted(TD.keys()):
skeys = TD.keys()
skeys.sort()
for key in skeys:
val = TD[key]
plpy.notice("TD[" + key + "] => " + str(val))
...
...
...
...
This diff is collapsed.
Click to expand it.
src/pl/plpython/sql/plpython_function.sql
+
3
−
1
View file @
51b40f03
...
...
@@ -151,7 +151,9 @@ CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$
if
TD
.
has_key
(
'relid'
):
TD
[
'relid'
]
=
"bogus:12345"
for
key
in
sorted
(
TD
.
keys
()):
skeys
=
TD
.
keys
()
skeys
.
sort
()
for
key
in
skeys
:
val
=
TD
[
key
]
plpy
.
notice
(
"TD["
+
key
+
"] => "
+
str
(
val
))
...
...
...
...
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