I understand that Temporary Tables in Postgres and MS SQL Server persist until the end of the session. When the user’s session ends, any temp tables created by that user are dropped automatically.

Is there any way to have a *permanent* table but *temporary* rows? Is there any automatic way to have a user’s inserted rows disappear at the end of their session, yet be visible to other users during that session?