Re: Array initialisation notation in syscache.c

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Array initialisation notation in syscache.c
Date: 2023-03-31 02:16:25
Message-ID: CA+hUKGKUr+gBB1_P32ATJubfxOZwpBskTzH94vfHZvJpFDYXwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From the light relief department, here is some more variadic macrology:

- tp = SearchSysCache1(TSPARSEROID, ObjectIdGetDatum(prsId));
+ tp = SearchSysCache(TSPARSEROID, ObjectIdGetDatum(prsId));

Attachment Content-Type Size
0001-Use-variadic-macros-for-syscache-lookup-functions.patch text/x-patch 379.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-03-31 02:39:50 Re: Add shared buffer hits to pg_stat_io
Previous Message houzj.fnst@fujitsu.com 2023-03-31 01:49:28 RE: Non-superuser subscription owners