From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | Hamid Akhtar <hamid(dot)akhtar(at)gmail(dot)com>, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug in error reporting for multi-line JSON |
Date: | 2021-03-01 21:50:01 |
Message-ID: | 849057.1614635401@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
> I'm changing the status of this patch to Ready for Committer.
I reviewed this and pushed it, with some changes.
I noted that there was a basically unused "line_start" field in
JsonLexContext, which seems clearly to have been meant to track
what the new field was going to track. So we can fix this without
any new field by updating that at the right times.
I thought putting jsonb tests into json.sql was a bit poorly
thought out. I ended up adding parallel tests to both json.sql
and jsonb.sql ... maybe that's overkill, but a lot of the rest
of those scripts is duplicative too. The tests weren't exercising
the dots-at-start-of-line behavior, either.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-03-01 21:58:01 | Re: ORDER BY DESC / ASC |
Previous Message | Анастасия Лагута | 2021-03-01 17:52:09 | ORDER BY DESC / ASC |
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Dilger | 2021-03-01 21:57:16 | Re: new heapcheck contrib module |
Previous Message | Peter Geoghegan | 2021-03-01 21:40:29 | Re: 64-bit XIDs in deleted nbtree pages |