From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | "David E(dot) Wheeler" <david(at)justatheory(dot)com> |
Cc: | Erik Wienhold <ewie(at)ewie(dot)name>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Patch: Add parse_type Function |
Date: | 2024-02-20 06:30:36 |
Message-ID: | CACJufxGwxfnf6OcMzJVV=3Mfx2K4+rJ5nLnhZWEmXRbV72U84w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Feb 20, 2024 at 11:06 AM David E. Wheeler <david(at)justatheory(dot)com> wrote:
>
> LOL, I missed that, just wrote it myself in the last hour. :-) v6 attached.
>
+SELECT to_regtypemod('interval nonesuch'); -- grammar error expected
+ERROR: syntax error at or near "nonesuch"
+LINE 1: SELECT to_regtypemod('interval nonesuch');
+ ^
+CONTEXT: invalid type name "interval nonesuch"
+SELECT to_regtypemod('year(4)'); -- grammar error expected
+ to_regtypemod
+---------------
+
+(1 row)
+
the second hint `-- grammar error expected` seems to contradict with
the results?
From | Date | Subject | |
---|---|---|---|
Next Message | Bharath Rupireddy | 2024-02-20 06:35:00 | Re: Introduce XID age and inactive timeout based replication slot invalidation |
Previous Message | Japin Li | 2024-02-20 06:24:49 | Re: Switching XLog source from archive to streaming when primary available |