From: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> |
---|---|
To: | Japin Li <japinli(at)hotmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Inaccurate comment for pg_get_partkeydef |
Date: | 2023-03-06 14:30:03 |
Message-ID: | CAExHW5sZz=d=KM5k4+YYfmkp6mZijjMWxLNn2BaPZJVN8YW-SQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)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(at)hotmail(dot)com> wrote:
>
>
> PSA patch to fix a comment inaccurate.
>
> --
> Regrads,
> Japin Li.
> ChengDu WenWu Information Technology Co.,Ltd.
>
--
Best Wishes,
Ashutosh Bapat
From | Date | Subject | |
---|---|---|---|
Next Message | Jelte Fennema | 2023-03-06 14:35:47 | Re: [EXTERNAL] Re: Support load balancing in libpq |
Previous Message | Imseih (AWS), Sami | 2023-03-06 14:19:46 | Re: [BUG] pg_stat_statements and extended query protocol |