Re: Tab completion for large objects

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Tab completion for large objects
Date: 2025-10-23 07:22:39
Message-ID: CAHGQGwG2Gx_KvXzsBdwG7KD6tiT4UHKHjFNaBj3j92dStNf35A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jul 27, 2025 at 4:00 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> I think it's worth applying patch 0002 and part of 0001, so I've merged
> those changes into a single patch. Patch attached. Any thoughts?
>
>
> + else if (TailMatches("LARGE"))
> + COMPLETE_WITH("OBJECT");
>
> It seems the "ALTER DEFAULT PRIVILEGES ... LARGE" case was missed
> here. In that context, we should complete with "OBJECTS" instead of
> "OBJECT". I've fixed that in the patch.

Attached is the rebased version of the patch.

Regards,

--
Fujii Masao

Attachment Content-Type Size
v3-0001-psql-Improve-tab-completion-for-large-object.patch application/octet-stream 2.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2025-10-23 07:49:24 Re: issue with synchronized_standby_slots
Previous Message Richard Guo 2025-10-23 07:07:05 Re: Issue with query_is_distinct_for() and grouping sets