Need clarification on how to extract or compare numeric values enclosed in jsonb

2018-12-19 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/functions-json.html Description: A really strange behavior has been noticed when trying to extract numeric key value from jsonb and compare it to a number https://stackoverflow.com/questio

Re: Error in example

2018-12-19 Thread Tom Lane
=?utf-8?q?PG_Doc_comments_form?= writes: > In the example of how to use SPI in the following link > https://www.postgresql.org/docs/10/spi-examples.html > The parameters numbers in the follow lines are wrong. > / * Convert a text object to a C string * / > command = text_to_cstring (PG_GE

Error in example

2018-12-19 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/10/spi-examples.html Description: Dear, In the example of how to use SPI in the following link https://www.postgresql.org/docs/10/spi-examples.html The parameters numbers in the follow lin