Persistency in PgSQL plugin