pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg-migrator - pg_migrator: Clarify cleanup information.
2+ messages / 2 participants
[nested] [flat]

* pg-migrator - pg_migrator: Clarify cleanup information.
@ 2009-06-05 20:13 User Bmomjian <bmomjian@pgfoundry.org>
  0 siblings, 0 replies; 2+ messages in thread

From: bmomjian@pgfoundry.org @ 2009-06-05 20:13 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Clarify cleanup information.

Modified Files:
--------------
    pg_migrator:
        INSTALL (r1.19 -> r1.20)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/pg_migrator/INSTALL?r1=1.19&r2=1.20)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: SQL/JSON: Improve some error messages
@ 2024-04-18 06:51 Amit Langote <amitlan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Amit Langote @ 2024-04-18 06:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

SQL/JSON: Improve some error messages

This improves some error messages emitted by SQL/JSON query functions
by mentioning column name when available, such as when they are
invoked as part of evaluating JSON_TABLE() columns.  To do so, a new
field column_name is added to both JsonFuncExpr and JsonExpr that is
only populated when creating those nodes for transformed JSON_TABLE()
columns.

While at it, relevant error messages are reworded for clarity.

Reported-by: Jian He <jian.universality@gmail.com>
Suggested-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxG_e0QLCgaELrr2ZNz7AxPeGCNKAORe3fHtFCQLsH4J4Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4fad46b6bc8a9bf46ff689bcb1bd4edf8f267af

Modified Files
--------------
src/backend/executor/execExprInterp.c            | 43 ++++++++++++----------
src/backend/parser/parse_expr.c                  |  1 +
src/backend/parser/parse_jsontable.c             | 10 +++---
src/backend/utils/adt/jsonpath_exec.c            | 45 +++++++++++++++++-------
src/include/nodes/parsenodes.h                   |  2 ++
src/include/nodes/primnodes.h                    |  3 ++
src/include/utils/jsonpath.h                     |  6 ++--
src/test/regress/expected/sqljson_jsontable.out  | 10 ++++--
src/test/regress/expected/sqljson_queryfuncs.out | 30 ++++++++--------
src/test/regress/sql/sqljson_jsontable.sql       |  3 ++
10 files changed, 96 insertions(+), 57 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-04-18 06:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05 20:13 pg-migrator - pg_migrator: Clarify cleanup information. User Bmomjian <bmomjian@pgfoundry.org>
2024-04-18 06:51 pgsql: SQL/JSON: Improve some error messages Amit Langote <amitlan@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox