Code

postgresql_default.conf: Limit query "table_states" to versions >= 8.3.
authorSebastian Harl <sh@tokkee.org>
Tue, 26 Aug 2008 14:10:20 +0000 (16:10 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 26 Aug 2008 17:09:09 +0000 (19:09 +0200)
The "n_live_tup" and "n_dead_tup" columns of the pg_stat_tables view were not
available before that version.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/postgresql_default.conf

index 9d21217cecbdc5db1110775024a6558992ad28c4..decf39f5e432ff0edb795c83d45e434ea649d3e3 100644 (file)
@@ -49,6 +49,8 @@
 
        Column pg_n_tup_g live
        Column pg_n_tup_g dead
+
+       MinPGVersion 80300
 </Query>
 
 <Query disk_io>