diff options
Diffstat (limited to 'src/backend/access/tablesample/tablesample.c')
-rw-r--r-- | src/backend/access/tablesample/tablesample.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/access/tablesample/tablesample.c b/src/backend/access/tablesample/tablesample.c index 3398d02f854..44a24340f6b 100644 --- a/src/backend/access/tablesample/tablesample.c +++ b/src/backend/access/tablesample/tablesample.c @@ -78,9 +78,12 @@ tablesample_init(SampleScanState *scanstate, TableSampleClause *tablesample) fcinfo.argnull[0] = false; /* - * Second arg for init function is always REPEATABLE When - * tablesample->repeatable is NULL then REPEATABLE clause was not - * specified. When specified, the expression cannot evaluate to NULL. + * Second arg for init function is always REPEATABLE. + * + * If tablesample->repeatable is NULL then REPEATABLE clause was not + * specified, and we insert a random value as default. + * + * When specified, the expression cannot evaluate to NULL. */ if (tablesample->repeatable) { |