How to make a copy of trigger function in postgreSQL pgadmin 4?

Viewed 38

I am using postgreSQL with pgAdmin 4 and I have created a database function named "fn_test1()". I want to delete this function and before delete this function, I want to create a backup function named "fn_test1_bk()" . Can anyone help me to do this?

1 Answers

If you really want to use PgAdmin for this, you can browse to your function, right click, properties, change the name and save.

enter image description here

enter image description here

Related