First time here? Check out the FAQ!
0

How to reindex?

I'm getting some emails from my Askbot installation with following errors:

DatabaseError: index "django_session_pkey" contains unexpected zero page at block 13169
HINT:  Please REINDEX it.

How how to reindex correctly?

Toms's avatar
767
Toms
asked 2014-04-06 06:00:14 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This page should help you http://www.postgresql.org/docs/8.1/static/sql-reindex.html Stop the webserver and run the reindex command on the specific table or the whole database.

Just in case, make a db backup before doing that.

Evgeny's avatar
13.2k
Evgeny
answered 2014-04-12 08:07:57 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments