Re: Using row_to_json with %ROWTYPE ?

From: Tim Smith <randomdev4+postgres(at)gmail(dot)com>
To: David Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using row_to_json with %ROWTYPE ?
Date: 2015-02-06 18:26:21
Message-ID: CA+HuS5G-gBqngEUVG71wX4Ay_j4P2bKcTOB8_aBta_sjuFYARQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 !

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Smith 2015-02-06 18:28:54 Re: Using row_to_json with %ROWTYPE ?
Previous Message David Johnston 2015-02-06 17:44:09 Re: Using row_to_json with %ROWTYPE ?