public inbox for [email protected]help / color / mirror / Atom feed
pgsql: Resolve unknown-type literals in property expressions 2+ messages / 1 participants [nested] [flat]
* pgsql: Resolve unknown-type literals in property expressions @ 2026-07-08 08:39 Peter Eisentraut <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Peter Eisentraut @ 2026-07-08 08:39 UTC (permalink / raw) To: [email protected] Resolve unknown-type literals in property expressions When a string literal is provided as a property expression, the data type of the property was set to "unknown", which may lead to various failures when the property is used in GRAPH_TABLE or when its data type is compared against other properties with the same name. To fix this, call resolveTargetListUnknowns() on the targetlist of new properties being added to resolve unknown type literals. Reported-by: Noah Misch <[email protected]> Author: Ashutosh Bapat <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/20260630173053.51.noahmisch%40microsoft.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/57f93af36f02a2559b005491d9fb0da660e32850 Modified Files -------------- src/backend/commands/propgraphcmds.c | 2 ++ .../regress/expected/create_property_graph.out | 37 +++++++++++++++++----- src/test/regress/sql/create_property_graph.sql | 5 +++ 3 files changed, 36 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Resolve unknown-type literals in property expressions @ 2026-07-08 08:39 Peter Eisentraut <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Peter Eisentraut @ 2026-07-08 08:39 UTC (permalink / raw) To: [email protected] Resolve unknown-type literals in property expressions When a string literal is provided as a property expression, the data type of the property was set to "unknown", which may lead to various failures when the property is used in GRAPH_TABLE or when its data type is compared against other properties with the same name. To fix this, call resolveTargetListUnknowns() on the targetlist of new properties being added to resolve unknown type literals. Reported-by: Noah Misch <[email protected]> Author: Ashutosh Bapat <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/20260630173053.51.noahmisch%40microsoft.com Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b820c623dd5090ef69b8b8151a0b152f5d976fed Modified Files -------------- src/backend/commands/propgraphcmds.c | 2 ++ .../regress/expected/create_property_graph.out | 37 +++++++++++++++++----- src/test/regress/sql/create_property_graph.sql | 5 +++ 3 files changed, 36 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-07-08 08:39 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-07-08 08:39 pgsql: Resolve unknown-type literals in property expressions Peter Eisentraut <[email protected]> 2026-07-08 08:39 pgsql: Resolve unknown-type literals in property expressions Peter Eisentraut <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox