M
M
McMike2019-05-28 10:56:37
PostgreSQL
McMike, 2019-05-28 10:56:37

How to inject several functions dependent on each other into the database?

There is a list of sql files with functions. I'm trying to pour them into the database, but some of them depend on others, so when I try to create such a function, it swears at the absence of another.
How to create all these functions in the database so that no error is generated during the creation of each?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TheRonCronix, 2019-05-28
@TheRonCronix

You can try to stub the functions that are causing problems. If functions in a script are created with the create or replace command, then your stub will be replaced on roll forward.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question