View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000178 | Pgpool-II | Bug | public | 2016-03-22 00:49 | 2016-06-09 15:06 |
| Reporter | TitanOfOld | Assigned To | t-ishii | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | open | ||
| Platform | Gentoo Linux | ||||
| Summary | 0000178: Enironment Variable PG_CONFIG Ignored | ||||
| Description | The Makefiles under src/sql/ that handle building and/or installing the PostgreSQL extensions ignores the PG_CONFIG environment variable when set as the Makefiles always set PG_CONFIG to "pg_config", which defaults to whichever pg_config appears first in the PATH. Clearly, this isn't normally an issue. However, as I'm working on making it possible to install extensions against multiple major versions of PostgreSQL, this prevents the installation from doing the right thing. | ||||
| Steps To Reproduce | 1. Call make as so: PG_CONFIG="/some/other/pg_config" make ... 2. make still calls $(which pg_config) | ||||
| Additional Information | Attached is a patch that instructs make to only set PG_CONFIG if it hasn't already been set. Thereby allowing the Makefiles to respect the PG_CONFIG environment setting, but can fall back to $(which pg_config) when it isn't. | ||||
| Tags | No tags attached. | ||||
|
|
|
|
|
This is not a place for discussions on feature enhancement. Can you please move the discussion on this to the pgpool-II mailing list? (pgpool-hackers is preffered) |
|
|
comitted https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=51653dfbc73269b2285466f5a259ad2b613ef0b0 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-03-22 00:49 | TitanOfOld | New Issue | |
| 2016-03-22 00:49 | TitanOfOld | File Added: pgpool-3.5.0-respect-pg-config-envvar.patch | |
| 2016-03-23 13:12 | t-ishii | Assigned To | => t-ishii |
| 2016-03-23 13:12 | t-ishii | Status | new => assigned |
| 2016-03-30 11:34 | t-ishii | Note Added: 0000748 | |
| 2016-03-30 11:35 | t-ishii | Note Edited: 0000748 | |
| 2016-03-30 11:35 | t-ishii | Status | assigned => feedback |
| 2016-06-09 15:06 | pengbo | Note Added: 0000852 | |
| 2016-06-09 15:06 | pengbo | Status | feedback => resolved |