Fix regression while refactoring patch

This commit is contained in:
Steeve Lennmark
2014-01-22 14:55:07 +01:00
parent 1a10df9049
commit e16472419f
2 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,7 @@ CREATE VIEW repack.tables AS
R.oid AS relid,
R.reltoastrelid AS reltoastrelid,
CASE WHEN R.reltoastrelid = 0 THEN 0 ELSE (SELECT reltoastidxid FROM pg_class WHERE oid = R.reltoastrelid) END AS reltoastidxid,
N.nspname AS schemaname,
PK.indexrelid AS pkid,
CK.indexrelid AS ckid,
repack.get_create_index_type(PK.indexrelid, 'repack.pk_' || R.oid) AS create_pktype,