Re: Using row_to_json with %ROWTYPE ? - Mailing list pgsql-general

From Tim Smith
Subject Re: Using row_to_json with %ROWTYPE ?
Date
Msg-id CA+HuS5G-gBqngEUVG71wX4Ay_j4P2bKcTOB8_aBta_sjuFYARQ@mail.gmail.com
Whole thread Raw
In response to Re: Using row_to_json with %ROWTYPE ?  (David Johnston <david.g.johnston@gmail.com>)
Responses Re: Using row_to_json with %ROWTYPE ?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Re:So, you have an input parameter named "session_id" and a query with
a column named "session_id" - this is the problem.

Well, I'll re-try with a revised function, but surely the database
could have come up with a more meaningful and insightful message than
the coded incomprehensible error message it did ?    I would say its
not only user error, its developer error too for creating such
confusing error messages !


pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: Using row_to_json with %ROWTYPE ?
Next
From: Tim Smith
Date:
Subject: Re: Using row_to_json with %ROWTYPE ?