Re: Patch: Add parse_type Function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch: Add parse_type Function
Date
Msg-id 65706.1708380831@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch: Add parse_type Function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> I'm less thrilled about that, mainly because I can't think of
> a good name for it ("format_type_string" is certainly not that).

After some time ruminating, a couple of possibilities occurred to
me:
    reformat_type(text)
    canonical_type_name(text)

> Is the use-case for this functionality really strong enough that
> we need to provide it as a single function rather than something
> assembled out of spare parts?

I'm still unconvinced about that, though.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Optimize planner memory consumption for huge arrays
Next
From: Michael Paquier
Date:
Subject: Re: Add last_commit_lsn to pg_stat_database