From: | Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com> |
---|---|
To: | Amul Sul <sulamul(at)gmail(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: new heapcheck contrib module |
Date: | 2020-07-22 00:47:12 |
Message-ID: | F0A32F00-C56A-4010-8024-685E9761C8CB@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On Jul 20, 2020, at 11:50 PM, Amul Sul <sulamul(at)gmail(dot)com> wrote:
>
> On Tue, Jul 21, 2020 at 10:58 AM Amul Sul <sulamul(at)gmail(dot)com> wrote:
>>
>> Hi Mark,
>>
>> I think new structures should be listed in src/tools/pgindent/typedefs.list,
>> otherwise, pgindent might disturb its indentation.
>>
<snip>
>
> In v11-0001 and v11-0002 patches, there are still a few more errmsg that need to
> be joined.
>
> e.g:
>
> + /* check to see if caller supports us returning a tuplestore */
> + if (rsinfo == NULL || !IsA(rsinfo, ReturnSetInfo))
> + ereport(ERROR,
> + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
> + errmsg("set-valued function called in context that cannot "
> + "accept a set")));
> + if (!(rsinfo->allowedModes & SFRM_Materialize))
> + ereport(ERROR,
> + (errcode(ERRCODE_SYNTAX_ERROR),
> + errmsg("materialize mode required, but it is not allowed "
> + "in this context")));
Thanks for the review!
I believe these v12 patches resolve the two issues you raised.
Attachment | Content-Type | Size |
---|---|---|
v12-0001-Adding-function-verify_btreeam-and-bumping-versi.patch | application/octet-stream | 65.1 KB |
v12-0002-Adding-function-verify_heapam-to-amcheck-module.patch | application/octet-stream | 57.0 KB |
v12-0003-Adding-contrib-module-pg_amcheck.patch | application/octet-stream | 55.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2020-07-22 01:19:34 | Re: Comment referencing incorrect algorithm |
Previous Message | Mark Dilger | 2020-07-22 00:46:59 | Re: factorial function/phase out postfix operators? |