OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e499557
)
Remove too-much optimization.
author
Shigeru HANADA
<shigeru.hanada@gmail.com>
Mon, 27 Aug 2012 06:31:35 +0000
(15:31 +0900)
committer
Shigeru HANADA
<shigeru.hanada@gmail.com>
Mon, 27 Aug 2012 06:31:35 +0000
(15:31 +0900)
There was optimization to avoid overhead of error message construction,
but it seems overkill at the moment.
pg_hint_plan.c
patch
|
blob
|
history
diff --git
a/pg_hint_plan.c
b/pg_hint_plan.c
index
a75426c
..
7a53b2e
100644
(file)
--- a/
pg_hint_plan.c
+++ b/
pg_hint_plan.c
@@
-1304,9
+1304,6
@@
set_config_option_wrapper(const char *name, const char *value,
ErrorData *errdata;
MemoryContext ecxt;
- if (elevel >= ERROR)
- PG_RE_THROW();
-
ecxt = MemoryContextSwitchTo(ccxt);
errdata = CopyErrorData();
FlushErrorState();