0

When I execute the following command:

SELECT version();

I get:

PostgreSQL 9.6.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit

What does Red Hat 4.4.7-16 means? I am running PostgreSQL on Debian 9 so, why this shows me Red Hat instead?

3
  • 4
    Because it's where it was built? Commented Aug 28, 2017 at 19:00
  • 1
    How did you install this thing? It seems very odd you're using a RedHat built Postgres server. Commented Aug 28, 2017 at 19:07
  • I just followed the steps of PostgreSQL site, I downloaded the graphical installer directly from enterprisedb.com/downloads/postgres-postgresql-downloads#linux, I selected version 9.6 and Linux-x86-64 OS and I just downloaded this. Do I did something wrong? Commented Aug 28, 2017 at 19:50

1 Answer 1

1

It does not report your OS, but the software it was compiled with, i.e. GCC compiler version 4.4.7. More specifically: 4.4.7-16 (update 16) on Red Hat OS.

Your are running on x86_64-pc-linux-gnu (that is Debian 9 I suspect). See uname -a.

Just checked one of our servers (Debian 8):

PostgreSQL 9.6.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit

So, the Debian version should be built on Debian. See comment tadman.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.