Re: BUG #19767: pg_get_viewdef prints ORDER BY (- '3'::int4) as (- 3), which reparses as column position -3

From: Nitin Motiani <nitinmotiani(at)google(dot)com>
To: assam258(at)gmail(dot)com
Cc: alpkeles99(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19767: pg_get_viewdef prints ORDER BY (- '3'::int4) as (- 3), which reparses as column position -3
Date: 2026-10-25 12:03:00
Message-ID: CAH5HC96Bon8tvbT90jJFxzQ9zKkzHw-X1LiOXJj=Y=wbXgPgNw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Attaching the rebased patch.

Thanks,
Nitin Motiani
Google

Attachment Content-Type Size
v2-0001-Fix-deparsing-of-unary-operators-applied-to-const.patch application/x-patch 6.1 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ayush Tiwari 2026-10-25 14:03:19 Re: BUG #19783: Sorted GROUPING SETS return a grouping column's value in a set that leaves it out
Previous Message Nitin Motiani 2026-10-25 11:35:39 Re: BUG #19761: btree_gist: "cannot subtract infinite dates" when inserting 'infinity' into a GiST index on date