Re: example of json_to_record(json) not working - Mailing list pgsql-bugs

From Tom Lane
Subject Re: example of json_to_record(json) not working
Date
Msg-id 26090.1535995229@sss.pgh.pa.us
Whole thread Raw
In response to example of json_to_record(json) not working  (Sébastien DELOBEL <sdelobel@hotmail.com>)
List pgsql-bugs
=?iso-8859-1?Q?S=E9bastien_DELOBEL?= <sdelobel@hotmail.com> writes:
> When you execute the example of the function "json_to_record(json)" in the documentation
https://www.postgresql.org/docs/10/static/functions-json.html
> ...
> I have this result :
> ERROR:  type "myrowtype" does not exist

That example, and several others on the same page, assume that you've
created a suitable user-defined composite type "myrowtype".  I don't think
removing that aspect of the example would be an improvement.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc8.2.0 wrong options "-V" and "-qversion"
Next
From: "David G. Johnston"
Date:
Subject: Re: example of json_to_record(json) not working