Re: How can a Postgres SQL script be automatically run when a new table turns up?

From: Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How can a Postgres SQL script be automatically run when a new table turns up?
Date: 2022-01-13 10:50:24
Message-ID: CAFS1N4ixxsQk2fE0DrLr2f_pGoUd06Upu4uMvLXwZHfCoXDGFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When a user load a new table in the Postgres System? Can a script
> automatically detect it and run?
>
> Are you looking for Even triggers?
https://www.postgresql.org/docs/current/event-triggers.html

Regards,
Jay

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2022-01-13 15:55:20 Re: How can a Postgres SQL script be automatically run when a new table turns up?
Previous Message Shaozhong SHI 2022-01-13 10:43:52 How can a Postgres SQL script be automatically run when a new table turns up?