pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum
Date: 2009-03-25 15:03:30
Message-ID: 20090325150330.CC339754ADE@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix old thinko in pgp.h: the idea is to declare some named enum types,
not global variables of anonymous enum types. This didn't actually hurt
much because most linkers will just merge the duplicated definitions ...
but some will complain. Per bug #4731 from Ceriel Jacobs.

Backpatch to 8.1 --- the declarations don't exist before that.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/contrib/pgcrypto:
pgp.h (r1.4 -> r1.4.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgcrypto/pgp.h?r1=1.4&r2=1.4.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Hinoue 2009-03-25 15:30:35 psqlodbc - psqlodbc: Improve the handling of empty_queries.
Previous Message Tom Lane 2009-03-25 15:03:25 pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum