0

I am using postgresql database for my application. I want to take only procedure script backup as .sql file not entire database. Is it possible with postgresql? I am using pgAdmin as UI.

1 Answer 1

2

You can dump only the object definitions (which includes the functions) using pg_dump with parameter -s.

More info here - https://www.postgresql.org/docs/current/static/app-pgdump.html

Sign up to request clarification or add additional context in comments.

1 Comment

Is it possible to export functions only?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.