summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorSteffen Olsen <steffen.olsen@gmail.com>2022-09-06 17:09:39 +0200
committerKhem Raj <raj.khem@gmail.com>2022-09-06 17:27:26 -0700
commit730c85613ec718919bc0d155addfb9a20af112ad (patch)
tree5f2e9ead4a69ee1fdac090efdb65604d2e3f5825 /meta-oe/recipes-dbs
parent8d75eff6af0fd6ccf8a45b5c98c4a0194e292a2f (diff)
downloadmeta-openembedded-730c85613ec718919bc0d155addfb9a20af112ad.tar.gz
postgreql: Fix pg_config not working after buildpaths patch
The patch for removing 'QA issues' with pg_config was incomplete, it did not change the number of items supposed to be in the configdata stucture. This leads to get_configdata function asserting, and pg_config command does not work Signed-off-by: Steffen Olsen <steffen.olsen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch b/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
index 101a748776..52ca276da6 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
@@ -30,7 +30,16 @@ diff --git a/src/common/config_info.c b/src/common/config_info.c
30index e72e729..b482c20 100644 30index e72e729..b482c20 100644
31--- a/src/common/config_info.c 31--- a/src/common/config_info.c
32+++ b/src/common/config_info.c 32+++ b/src/common/config_info.c
33@@ -123,74 +123,6 @@ get_configdata(const char *my_exec_path, size_t *configdata_len) 33@@ -38,7 +38,7 @@
34 int i = 0;
35
36 /* Adjust this to match the number of items filled below */
37- *configdata_len = 23;
38+ *configdata_len = 14;
39 configdata = (ConfigData *) palloc(*configdata_len * sizeof(ConfigData));
40
41 configdata[i].name = pstrdup("BINDIR");
42@@ -123,74 +123,6 @@
34 configdata[i].setting = pstrdup(path); 43 configdata[i].setting = pstrdup(path);
35 i++; 44 i++;
36 45