Re: make all ereport in gram.y print out relative location

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: make all ereport in gram.y print out relative location
Date: 2024-10-30 02:05:00
Message-ID: CACJufxFzgB7t_TtRL6mB0qMt6YVaiZk8r5M5aibYKaL+XQeRQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 29, 2024 at 10:49 PM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
>
> Why remove parsePartitionStrategy? You could just add an "int location"
> parameter to it.
>

now changed to
static PartitionStrategy parsePartitionStrategy(char *strategy, int location,
core_yyscan_t yyscanner);

Attachment Content-Type Size
v2-0001-add-cursor-position-in-various-ereport-function-i.patch text/x-patch 17.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-10-30 02:21:32 Re: AIO writes vs hint bits vs checksums
Previous Message Andrei Lepikhov 2024-10-30 01:54:48 Re: Alias of VALUES RTE in explain plan