projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65754bf
)
Fix bug per Oleksiy Shchukin - 2nd argument for dblink_get_result(text,bool)
author
Joe Conway
<
[email protected]
>
Sat, 3 Jan 2009 19:58:10 +0000
(19:58 +0000)
committer
Joe Conway
<
[email protected]
>
Sat, 3 Jan 2009 19:58:10 +0000
(19:58 +0000)
is PG_GETARG_BOOL(2), should be PG_GETARG_BOOL(1).
Apply simple fix to back branches only. More extensive change to be applied
to head per Tom's suggestion.
contrib/dblink/dblink.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/dblink/dblink.c
b/contrib/dblink/dblink.c
index b72edaa5006eada9da626603f0db982a05c862a1..c4eff43740435bb6157bea6a228440af06e8ab8a 100644
(file)
--- a/
contrib/dblink/dblink.c
+++ b/
contrib/dblink/dblink.c
@@
-806,7
+806,7
@@
dblink_record_internal(FunctionCallInfo fcinfo, bool is_async, bool do_get)
{
/* text,bool */
DBLINK_GET_CONN;
- fail = PG_GETARG_BOOL(
2
);
+ fail = PG_GETARG_BOOL(
1
);
}
else if (PG_NARGS() == 1)
{