Re: Normalize queries starting with SET for pg_stat_statements

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Normalize queries starting with SET for pg_stat_statements
Date: 2024-08-13 14:54:34
Message-ID: CAKAnmm+rOPjaWwNV9jjj_Gr+w2xc-xEgkXtF3OCyuamHtAoocA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Now that I've spent some time away from this, I'm reconsidering why we are
going through all the trouble of semi-jumbling SET statements. Maybe we
just keep it simple and everything becomes "SET myvar = $1" or even "SET
myvar" full stop? I'm having a hard time finding a real-world situation in
which we need to distinguish different SET/RESET items within
pg_stat_statements.

Cheers,
Greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-08-13 14:57:31 Re: [PATCH] GROUP BY ALL
Previous Message Greg Sabino Mullane 2024-08-13 14:41:44 Re: Enable data checksums by default