Deparsing of unary operators applied to const

Edit
ID 7500
Title Deparsing of unary operators applied to const
CI (CFBot) Needs rebase! Needs rebase since 2 hours. Failing since 2 hours.
Additional links previous successfully applied patch (outdated):
Stats (from CFBot) Unknown
Tags Bugfix
Created 2026-10-22 12:58:35
Last modified 2026-10-22 12:58:35 (2 hours ago)
Latest email 2026-10-22 13:00:04 (2 hours ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version stable
Authors Nitin Motiani (nitinmotiani)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19767: pg_get_viewdef prints ORDER BY (- '3'::int4) as (- 3), which reparses as column position -3
First at 2026-10-16 15:59:56 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-10-22 13:00:04 by Nitin Motiani <nitinmotiani at google.com>
Latest attachment (v1-0001-Fix-deparsing-of-unary-operators-applied-to-const.patch) at 2026-10-19 11:29:58 from Nitin Motiani <nitinmotiani at google.com>
    Attachment (v1-0001-Fix-deparsing-of-unary-operators-applied-to-const.patch) at 2026-10-19 11:29:58 from Nitin Motiani <nitinmotiani at google.com> (Patch: No)
History
When Who What
2026-10-22 13:02:34 CFbot Patch needs rebase
2026-10-22 12:58:35 Nitin Motiani (nitinmotiani) Attached mail thread 19767-f1189fd6a83254b7@postgresql.org
2026-10-22 12:58:35 Nitin Motiani (nitinmotiani) Created patch record
Edit