From: | Jerry Sievers <gsievers19(at)comcast(dot)net> |
---|---|
To: | Sam Nelson <samn(at)consistentstate(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Version String |
Date: | 2011-04-14 23:23:49 |
Message-ID: | 87y63cs9h6.fsf@comcast.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Sam Nelson <samn(at)consistentstate(dot)com> writes:
> Hi, list
>
> We're attempting to change the version string for a Postgres Plus
> instance to sort of trick a standard Postgres ODBC driver into
> connecting to the pgplus instance. Â I know there is a postgres
> plus ODBC driver out there, but, while I don't know the specifics of
> why, it's currently not being used, and I believe there's a good
> reason for that (although we have asked and are waiting for a
> response).
>
> So, is this doable? Â Is there a way to change the version string that postgres reports back to us?
alter function pg_catalog.version() rename to version_old;
create function pg_catalog.version() returns text
as $$select 'fake version goes here'::text$$ language sql;;
I am not making any claim as to this being a good practice :-)
Try it though on your dev system and see what happens.
> ---Â
> ===========================
> Samuel Nelson
> Consistent State
> www.consistentstate.com
> 303-955-0509
> ===========================
>
--
Jerry Sievers
Postgres DBA/Development Consulting
e: gsievers19(at)comcast(dot)net
p: 305.321.1144
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Davis | 2011-04-14 23:30:46 | Re: [GENERAL] Streaming Replication limitations |
Previous Message | Kevin Grittner | 2011-04-14 21:24:01 | Re: RES: 20110408pg upgrade fix: How do I know if I am being affected before errors occur |