adjust index pg