Re: psql: Greatly speed up "\d tablename" when not using regexes

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: Greatly speed up "\d tablename" when not using regexes
Date: 2024-04-10 18:31:57
Message-ID: CAGECzQS7-564414-vV+XrPBj=4gHW6mPT8eObjq5=RrEseRcAw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 10 Apr 2024 at 20:06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Really? ISTM this argument is ignoring an optimization the backend
> has understood for a long time.

Interesting. I didn't know about that optimization. I can't check
right now, but probably the COLLATE breaks that optimization.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-04-10 18:33:03 Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Previous Message Ranier Vilela 2024-04-10 18:31:02 Re: Fix resource leak (src/backend/libpq/be-secure-common.c)