Re: Lower/upper-case consistency with function names

2022-06-05 Thread Shay Rojansky
On Sun, Jun 5, 2022 at 10:27 AM Julien Rouhaud wrote: > As mentioned in the doc in [3], COALESCE and all the others are actually not functions (those are specific keywords handled in the parser): Thanks. Yeah, I noticed that comment, but NULLIF which is also documented on that page isn't mention

Re: Lower/upper-case consistency with function names

2022-06-05 Thread Julien Rouhaud
Hi, On Sun, Jun 05, 2022 at 10:20:23AM +0200, Shay Rojansky wrote: > > The PostgreSQL docs mostly show function names in lowercase (e.g. [1], > [2]), which seems to be the PostgreSQL-idiomatic thing to do. However, some > pages show functions in upper case, e.g. COALESCE/NULLIF/GREATEST/LEAST > ([

Lower/upper-case consistency with function names

2022-06-05 Thread Shay Rojansky
Hi all, The PostgreSQL docs mostly show function names in lowercase (e.g. [1], [2]), which seems to be the PostgreSQL-idiomatic thing to do. However, some pages show functions in upper case, e.g. COALESCE/NULLIF/GREATEST/LEAST ([3]). Is there some difference between these which warrants the case d