| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
|---|---|
| To: | Steve Chavez <steve(at)supabase(dot)io> | 
| Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, walther(at)technowledgy(dot)de, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> | 
| Subject: | Re: psql: add \create_function command | 
| Date: | 2024-01-29 17:11:48 | 
| Message-ID: | 2017560.1706548308@sss.pgh.pa.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Steve Chavez <steve(at)supabase(dot)io> writes:
> However, :{?variable_name} is already taken by psql to test whether a
> variable is defined or not. It might be confusing to use the same syntax.
Hmm. Maybe we could go with :{+...} or the like?
> How about using the convention of interpreting an identifier as a file path
> if it has an slash on it?
Sorry, that is just horrid.  foo/bar means division, and "foo/bar"
is simply an identifier per SQL standard, so you can't squeeze that
in without breaking an ocean of stuff.  Plus, there are many use-cases
where there's no reason to put a slash in a relative filename.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Isaac Morland | 2024-01-29 17:12:24 | Re: Should we remove -Wdeclaration-after-statement? | 
| Previous Message | Robert Haas | 2024-01-29 17:07:35 | Re: Should we remove -Wdeclaration-after-statement? |