Re: Inaccurate comment for pg_get_partkeydef - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Inaccurate comment for pg_get_partkeydef
Date
Msg-id CAExHW5sZz=d=KM5k4+YYfmkp6mZijjMWxLNn2BaPZJVN8YW-SQ@mail.gmail.com
Whole thread Raw
In response to Inaccurate comment for pg_get_partkeydef  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers
Looks good to me. Fixed according to the actual output.

select pg_get_partkeydef('prt1'::regclass);
 pg_get_partkeydef
-------------------
 RANGE (a)
(1 row)

bdrdemo@342511=#\d+ prt1
                                    Partitioned table "public.prt1"
 Column |  Type   | Collation | Nullable | Default | Storage |
Compression | Stats target | Description
--------+---------+-----------+----------+---------+---------+-------------+--------------+-------------
 a      | integer |           | not null |         | plain   |
    |              |
 b      | integer |           |          |         | plain   |
    |              |
Partition key: RANGE (a)
Indexes:
    "prt1_pkey" PRIMARY KEY, btree (a)
    "prt1_b" btree (b)
Partitions: prt1_p1 FOR VALUES FROM (0) TO (10),
            prt1_p2 FOR VALUES FROM (10) TO (20),
            prt1_default DEFAULT

On Mon, Mar 6, 2023 at 11:24 AM Japin Li <japinli@hotmail.com> wrote:
>
>
> PSA patch to fix a comment inaccurate.
>
> --
> Regrads,
> Japin Li.
> ChengDu WenWu Information Technology Co.,Ltd.
>


-- 
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: "Imseih (AWS), Sami"
Date:
Subject: Re: [BUG] pg_stat_statements and extended query protocol
Next
From: Jelte Fennema
Date:
Subject: Re: [EXTERNAL] Re: Support load balancing in libpq