Skip to content

Commit 0562220

Browse files
author
matthias_schaub
committed
add comment
1 parent dc46de8 commit 0562220

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postgres/initdb/2-row-count.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* http://www.varlena.com/GeneralBits/120.php */
2-
CREATE TABLE row_counts (
2+
CREATE IF NOT EXISTS TABLE row_counts (
33
relname text PRIMARY KEY,
44
reltuples numeric
55
);
@@ -76,6 +76,8 @@ LANGUAGE 'plpgsql';
7676

7777
VACUUM;
7878

79+
80+
/* Stop server activity if possible. */
7981
BEGIN;
8082
SELECT
8183
add_count_trigs ();

0 commit comments

Comments
 (0)