Re: Extract numeric filed in JSONB more effectively
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chapman Flack <chap@anastigmatix.net>
Cc: Andy Fan <zhihui.fan1213@gmail.com>,
Pavel Stehule <pavel.stehule@gmail.com>,
jian he <jian.universality@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-14T14:10:14Z
Lists: pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes: > Providing a function with return type declared internal but > with no parameter of that type is not good, Not so much "not good" as "absolutely, positively WILL NOT HAPPEN". > because then a > user could, in principle, call it and obtain a value of > 'internal' type, and so get around the typing rules that > prevent calling other internal functions. Right --- it'd completely break the system's type-safety for other internal-using functions. You could argue that we should never have abused "internal" to this extent in the first place, compared to inventing a plethora of internal-ish types to correspond to each of the things "internal" is used for. But here we are so we'd better be darn careful with it. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add trailing commas to enum definitions
- 611806cd726f 17.0 cited