Re: Running CREATE only on certain Postgres versions

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: David Johnston <polobo(at)yahoo(dot)com>
Cc: Robert James <srobertjames(at)gmail(dot)com>, Igor Neyman <ineyman(at)perceptron(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Running CREATE only on certain Postgres versions
Date: 2012-09-25 14:47:46
Message-ID: 5061C412.8020600@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/24/2012 06:40 PM, David Johnston wrote:
> Server parameter: server_version_num
>
> http://www.postgresql.org/docs/9.2/interactive/runtime-config-preset.html

To elaborate:
test=> SELECT current_setting('server_version_num');
current_setting
-----------------
90009

And yes, I know it needs to be upgraded:)

>
> David J.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message craig 2012-09-25 14:50:09 Re: Custom prompt
Previous Message Amit Kapila 2012-09-25 10:03:40 Re: In one of negative test row-level trigger results into loop