Re: Funny representation in pg_stat_statements.query. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Funny representation in pg_stat_statements.query.
Date
Msg-id 17087.1390340248@sss.pgh.pa.us
Whole thread Raw
In response to Re: Funny representation in pg_stat_statements.query.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: Funny representation in pg_stat_statements.query.
List pgsql-hackers
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes:
> The fundamental cause of this issue is Const node which conveys
> the location of other than constant tokens. Any other nodes, for
> instance TypeCasts, are safe.

> So this is fixed by quite simple way like following getting rid
> of the referred difficulties of keeping the code sane and total
> loss of token locations. (white spaces are collapsed for readability)

Committed with minor adjustments (improved comments, and hit one
additional case you missed)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ALTER SYSTEM SET typos and fix for temporary file name management
Next
From: Heikki Linnakangas
Date:
Subject: Re: [9.3 bug] disk space in pg_xlog increases during archive recovery