mirror of https://github.com/citusdata/citus.git
cosmetic changes
parent
af9515f669
commit
08384ddc71
|
@ -261,9 +261,9 @@ ErrorIfModifyQueryNotSupported(Query *queryTree)
|
||||||
if (hasValuesScan)
|
if (hasValuesScan)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* if you remove this check you must also change the checks further in this
|
* NB: If you remove this check you must also change the checks further in this
|
||||||
* method and ensure that VOLATILE function calls aren't allowed in INSERT
|
* method and ensure that VOLATILE function calls aren't allowed in INSERT
|
||||||
* statements. Currently they're allowed, but the function call is replaced
|
* statements. Currently they're allowed but the function call is replaced
|
||||||
* with a constant, and if you're inserting multiple rows at once the function
|
* with a constant, and if you're inserting multiple rows at once the function
|
||||||
* should return a different value for each row.
|
* should return a different value for each row.
|
||||||
*/
|
*/
|
||||||
|
@ -548,8 +548,8 @@ MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state)
|
||||||
* Once you've added them to this check, make sure you also evaluate them in the
|
* Once you've added them to this check, make sure you also evaluate them in the
|
||||||
* executor!
|
* executor!
|
||||||
*/
|
*/
|
||||||
StaticAssertStmt(PG_VERSION_NUM <= 90599, "When porting to a newer PG this section"
|
StaticAssertStmt(PG_VERSION_NUM < 90600, "When porting to a newer PG this section"
|
||||||
" needs to be reviewed.");
|
" needs to be reviewed.");
|
||||||
|
|
||||||
if (IsA(expression, OpExpr))
|
if (IsA(expression, OpExpr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue