aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/tablesample/tablesample.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-05-24 15:04:10 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-05-24 15:04:10 -0400
commit2aa0476dc38f7e510b8cde627e83b4c76fa05d61 (patch)
tree19dad7292f6cad84a485e9670c786b2f1dcd3c18 /src/backend/access/tablesample/tablesample.c
parent17b48a1a9f87f7479d38dcc78a27c23f1f8124f8 (diff)
downloadpostgresql-2aa0476dc38f7e510b8cde627e83b4c76fa05d61.tar.gz
postgresql-2aa0476dc38f7e510b8cde627e83b4c76fa05d61.zip
Manual cleanup of pgindent results.
Fix some places where pgindent did silly stuff, often because project style wasn't followed to begin with. (I've not touched the atomics headers, though.)
Diffstat (limited to 'src/backend/access/tablesample/tablesample.c')
-rw-r--r--src/backend/access/tablesample/tablesample.c9
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)
{