Re: Tab completion for large objects

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Tab completion for large objects
Дата
Msg-id d56000bd-b7c7-4f62-b58a-06ff9751f335@oss.nttdata.com
обсуждение исходный текст
Ответ на Tab completion for large objects  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Список pgsql-hackers

On 2025/07/09 3:50, Dagfinn Ilmari Mannsåker wrote:
> Hi hackers,
> 
> I noticed that psql's tab completion suggested TO immediately after
> GRANT ... ON LARGE OBJECT, and not after ON LARGE OBJECT <oid>.  This is
> because LARGE OBJECT is the only two-word object type, so it thinks
> LARGE is the object type and OBJECT is the name.  Attached are three
> patches that address this and other LO-related tab completion issues:
> 
>   1. Tab complete OBJECT after GRANT|REVOKE ... ON LARGE, and TO/FROM
>      after GRANT|REVOKE ... ON LARGE OBJECT

Thanks for the patches!

Regarding the 0001 patch, Nagata-san already proposed a similar patch in [1].
His version handles not only "LARGE OBJECT" but also another two-word object type,
"FOREIGN SERVER".

Regards,

[1] https://postgr.es/m/20250611135737.bb7d3135141248819704ebca@sraoss.co.jp

-- 
Fujii Masao
NTT DATA Japan Corporation




В списке pgsql-hackers по дате отправления: