rubygems_development=# SELECT count(*) FROM linksets where code != '' ; count ------- 17306 (1 row) rubygems_development=# SELECT count(*) FROM linksets where code = '' ; count ------- 1422 (1 row) rubygems_development=# SELECT count(*) FROM linksets ; count -------- 162102 (1 row)