Re: Re: pg_stat_statements normalisation without invasive changes to the parser (was: Next steps on pg_stat_statements normalisation)
Peter Geoghegan <peter@2ndquadrant.com>
From: Peter Geoghegan <peter@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-17T22:47:45Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Restructure SELECT INTO's parsetree representation into CreateTableAsStmt.
- 9dbf2b7d75de 9.2.0 cited
-
Extend the parser location infrastructure to include a location field in
- a2794623d292 8.4.0 cited
-
Teach eval_const_expressions() to simplify an ArrayCoerceExpr to a constant
- 6734182c169a 8.4.0 cited
Is there anything that I could be doing to help bring this patch closer to a committable state? I'm thinking of the tests in particular - do you suppose it's acceptable to commit them more or less as-is? The standard for testing contrib modules seems to be a bit different, as there is a number of other cases where an impedance mistmatch with pg_regress necessitates doing things differently. So, the sepgsql tests, which I understand are mainly to test the environment that the module is being built for rather than the code itself, are written as a shellscript than uses various selinux tools. There is also a Perl script that uses DBD::Pg to benchmark intarray, for example. Now that we have a defacto standard python driver, something that we didn't have a couple of years ago, it probably isn't terribly unreasonable to keep the tests in Python. They'll still probably need some level of clean-up, to cut back on some of the tests that are redundant. Some of the tests are merely fuzz tests, which are perhaps a bit questionable. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services