Re: Patch: Add parse_type Function
Jim Jones <jim.jones@uni-muenster.de>
From: Jim Jones <jim.jones@uni-muenster.de>
To: "David E. Wheeler" <david@justatheory.com>
Cc: pgsql-hackers@lists.postgresql.org,
Pavel Stehule <pavel.stehule@gmail.com>
Date: 2024-02-05T14:43:55Z
Lists: pgsql-hackers
On 05.02.24 15:10, David E. Wheeler wrote: > Excellent, thank you very much! Updated patch attached. > > Best, > > David v2 no longer crashes with a null parameter. docs and regress tests were updated accordingly. patch no longer applies cleanly (tiny little indentation issue): /home/jim/Downloads/v2-0001-Add-parse_type-SQL-function.patch:140: indent with spaces. PG_RETURN_NULL(); warning: 1 line adds whitespace errors. I read the comments again, and something is not entirely clear to me. Line 494 says "Raises an error on an invalid type." and 501 says "Returns NULL for an invalid type." Perhaps merging both comment blocks and rephrasing these sentences would make things clearer? -- Jim
Commits
-
Add to_regtypemod function to extract typemod from a string type name.
- 1218ca9956ee 17.0 landed
-
Remove "#ifdef WIN32" guards from src/port/win32*.c
- 09eb633e1baa 17.0 cited