Keep plpgsql.h C++-clean.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 22:29:10 +0000 (18:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 22:29:10 +0000 (18:29 -0400)
I forgot that "typeid" is a C++ keyword.  Per buildfarm.

src/pl/plpgsql/src/plpgsql.h

index cc8d782217de42624304ff3b2a27a09c286283a5..6444347ce9c0b642098978297ac3e044a7a7f2da 100644 (file)
@@ -1151,7 +1151,7 @@ typedef struct PLpgSQL_plugin
                                 Datum value, bool isNull,
                                 Oid valtype, int32 valtypmod);
    void        (*eval_datum) (PLpgSQL_execstate *estate, PLpgSQL_datum *datum,
-                              Oid *typeid, int32 *typetypmod,
+                              Oid *typeId, int32 *typetypmod,
                               Datum *value, bool *isnull);
    Datum       (*cast_value) (PLpgSQL_execstate *estate,
                               Datum value, bool *isnull,