From: Moses Mafusire <mosesmafusire@yahoo.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Subject: Re: Cstore_fdw issue.
Date: Fri, 3 Apr 2020 16:26:31 +0000 (UTC)
Message-ID: <307276998.220288.1585931191960@mail.yahoo.com> (raw)
In-Reply-To: <02a52e7f-1316-714b-8ccb-f9095bbb3ca1@aklaver.com>
References: <1455749297.1247796.1585860011052.ref@mail.yahoo.com>
<1455749297.1247796.1585860011052@mail.yahoo.com>
<64267886-2561-891a-0334-760fda81cc9b@aklaver.com>
<2128533583.79465.1585918430902@mail.yahoo.com>
<02a52e7f-1316-714b-8ccb-f9095bbb3ca1@aklaver.com>
Hi Adrian,Yes VERSION = PostgreSQL 12.1, is the only version I have. So I am novice to Linux and Postgres, where should I run this ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif
$(info MAJORVERSION is $(MAJORVERSION))
and do I run as is or do I need to do something else, if so may you please assist.
ThanksMoses
On Friday, April 3, 2020, 11:39:57 AM EDT, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 4/3/20 5:53 AM, Moses Mafusire wrote:
> Hi Adrian,
> Thanks for your response. Here is what I'm getting when I run /pg_config;/
> VERSION = PostgreSQL 12.1
So that is the correct version.
Just to be clear there is only one version of Postgres on this machine,
correct?
Before you run make again, edit the Makefile so:
ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif
becomes:
ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif
$(info MAJORVERSION is $(MAJORVERSION))
When I run the above I get:
aklaver@maura:~/test/cstore_fdw-1.7.0> PATH=/usr/local/pgsql/bin/:$PATH
make
MAJORVERSION is 12
...
and the code compiles.
> *Moses Mafusire*
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: mosesmafusire@yahoo.com, adrian.klaver@aklaver.com
Subject: Re: Cstore_fdw issue.
In-Reply-To: <307276998.220288.1585931191960@mail.yahoo.com>
References: <1455749297.1247796.1585860011052.ref@mail.yahoo.com> <1455749297.1247796.1585860011052@mail.yahoo.com> <64267886-2561-891a-0334-760fda81cc9b@aklaver.com> <2128533583.79465.1585918430902@mail.yahoo.com> <02a52e7f-1316-714b-8ccb-f9095bbb3ca1@aklaver.com> <307276998.220288.1585931191960@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox