From: | "Hou, Zhijie" <houzj(dot)fnst(at)cn(dot)fujitsu(dot)com> |
---|---|
To: | Greg Sabino Mullane <htamfids(at)gmail(dot)com> |
Cc: | Justin Pryzby <pryzby(at)telsasoft(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | RE: psql \df choose functions by their arguments |
Date: | 2020-11-03 07:59:51 |
Message-ID: | af4491f21b26449fbe8e6ef59b7fc9e3@G08CNEXMBPEKD05.g08.fujitsu.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi
(sorry forget to cc the hacklist)
> Improve psql \df to choose functions by their arguments
I think this is useful.
I found some comments in the patch.
1.
> * Abbreviations of common types is permitted (because who really likes
> to type out "character varying"?), so the above could also be written as:
some Abbreviations of common types are not added to the type_abbreviations[] Such as:
Int8 => bigint
Int2 => smallint
Int4 ,int => integer
Float4 => real
Float8,float,double => double precision
(as same as array type)
Single array seems difficult to handle it, may be we can use double array or use a struct.
2.
And I think It's better to update '/?' info about '\df[+]' in function slashUsage(unsigned short int pager).
Best regards,
houzj
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Borisov | 2020-11-03 08:09:41 | Re: [PATCH] Automatic HASH and LIST partition creation |
Previous Message | Thomas Munro | 2020-11-03 07:44:23 | Re: Dereference before NULL check (src/backend/storage/ipc/latch.c) |