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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-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-----

Attachment Content-Type Size
unknown_filename text/plain 955 bytes

Responses

Browse pgsql-general by date

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

Browse pgsql-patches by date

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