projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c6503
)
Remove call to backend function get_share_path()
author
Steve Singer
<ssinger@ca.afilias.info>
Fri, 8 Jul 2011 14:47:50 +0000
(10:47 -0400)
committer
Steve Singer
<ssinger@ca.afilias.info>
Fri, 8 Jul 2011 14:52:32 +0000
(10:52 -0400)
This is a backend function slonik should not be calling.
PGSHARE is defined by configure we count on it being set.
(cherry picked from commit
16304e08870b07e12cad19ee430e39afafc74a67
)
src/slonik/slonik.c
patch
|
blob
|
blame
|
history
diff --git
a/src/slonik/slonik.c
b/src/slonik/slonik.c
index 67146003f221371cb94272bc843e88159804597f..e26e211f4bd7ac6bb2d0522fca61756bf2654d76 100644
(file)
--- a/
src/slonik/slonik.c
+++ b/
src/slonik/slonik.c
@@
-154,14
+154,7
@@
main(int argc, const char *argv[])
/*
* We need to find a share directory like PostgreSQL.
*/
- if (strlen(PGSHARE) > 0)
- {
- strcpy(share_path, PGSHARE);
- }
- else
- {
- get_share_path(myfull_path, share_path);
- }
+ strcpy(share_path, PGSHARE);
if (optind < argc)
{