Re: Improving PL/Tcl's error context reports
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2024-07-04T17:30:48Z
Lists: pgsql-hackers
Hi > Hmm, could we do something with tcl namespaces to allow having two > procedures with the same name? E.g. create a separate namespace, based > on the OID, for each procedure. I wonder how the stack trace would look > like then. > I didn't do full test, but I think so tcl uses for error messages fully qualified name > > -- > Heikki Linnakangas > Neon (https://neon.tech) > > > >
Commits
-
Improve PL/Tcl's method for choosing Tcl names of procedures.
- ba8f00eef6d6 18.0 landed
-
Fix pl/tcl's handling of errors from Tcl_ListObjGetElements().
- b631d014987b 17.0 cited