{"push_id":2707659434,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"4958c72c06a415fc407b43fdea522e8580ef76f0","before":"54aeb57a743072017e3f2dc96c93dbd55d65bd75","commits":[{"sha":"eb329a4f01091b473e73af8c2c1eadfc53e68669","author":{"name":"Raphael 'kena' Poss","email":"ffa74aa72f5ed5e720c03212554d1e38d8a2905e@cockroachlabs.com"},"message":"sql: make AS OF SYSTEM TIME accept any constant expression\n\nPrior to this patch, AS OF SYSTEM TIME relied on the grammar to\nrestrict its operand to just constants. This was an unfortunate\napproach because it prevented other constant expressions like `('a' ||\n'b')::INTERVAL` (or, encountered during tests, `'1ms':::INTERVAL`).\n\nThis patch corrects this situation by relaxing the grammar constraint\nand instead verifying the const-ness of the expression after type\nchecking.\n\nRelease note (sql change): AS OF SYSTEM TIME can now use some more\ncomplex expressions to compute the desired time stamp.","distinct":true,"url":"https://api.github.com/repos/cockroachdb/cockroach-gen/commits/eb329a4f01091b473e73af8c2c1eadfc53e68669"},{"sha":"8c23e65db1b6b68014e972da5a02f41c65f2286a","author":{"name":"craig[bot]","email":"3a2c29237f73c7cf88424b80e427b1884f346b35@cockroachlabs.com"},"message":"Merge #27206\n\n27206: sql: don't use the grammar to enforce expression const-ness in AOST r=knz a=knz\n\nFixes  #26976.\r\n\r\nPrior to this patch, AS OF SYSTEM TIME relied on the grammar to\r\nrestrict its operand to just constants. This was an unfortunate\r\napproach because it prevented other constant expressions like `('a' ||\r\n'b')::INTERVAL` (or, encountered during tests, `'1ms':::INTERVAL`).\r\n\r\nThis patch corrects this situation by relaxing the grammar constraint\r\nand instead verifying the const-ness of the expression after type\r\nchecking.\r\n\r\nRelease note (sql change): AS OF SYSTEM TIME can now use some more\r\ncomplex expressions to compute the desired time stamp.\n\nCo-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>","distinct":true,"url":"https://api.github.com/repos/cockroachdb/cockroach-gen/commits/8c23e65db1b6b68014e972da5a02f41c65f2286a"},{"sha":"4958c72c06a415fc407b43fdea522e8580ef76f0","author":{"name":"Cockroach TeamCity","email":"fd37cc0f60f5654682bdc272adb420052001c7d2@cockroachlabs.com"},"message":"Snapshot 8c23e65db1b6b68014e972da5a02f41c65f2286a","distinct":true,"url":"https://api.github.com/repos/cockroachdb/cockroach-gen/commits/4958c72c06a415fc407b43fdea522e8580ef76f0"}]}
{"actor":{"display_login":"cockroach-teamcity"}}