Skip site navigation (1) Skip section navigation (2)

Version checking when loading psql

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Version checking when loading psql
Date: 2001-11-19 18:47:51
Message-ID: E165tSR-0008TG-00@mclean.mail.mindspring.net (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is a little patch that simply verifies that the 
version of psql you are running is the same as the version 
of postgresql you are attaching to. Handy for those times 
when you have multiple versions running on different ports, 
then put in the wrong port number and post something to 
the hackers list wondering why function x is not working.... :)

It spits out a little warning message if the versions are 
different, but other than that lets you continue to shoot 
yourself in the foot.

Greg Sabino Mullane
greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 20011191319

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBO/lNKbybkGcUlkrIEQJDegCeLr3mEJp82GoTzcOAgLgN3+x+6i0An2mE
HBN+xFOJx/M5bV+bzgXXpwF2
=aaM4
-----END PGP SIGNATURE-----


Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-11-19 21:07:05
Subject: Re: Improved index support for \d and \di in psql
Previous:From: gregDate: 2001-11-19 16:27:12
Subject: Improved index support for \d and \di in psql

pgsql-general by date

Next:From: Andrew G. HammondDate: 2001-11-19 18:49:41
Subject: Re: One time only trigger/function on every row...
Previous:From: Neal LindsayDate: 2001-11-19 18:27:34
Subject: A good way to test for group membership?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group