0

I know, that it possible to write python code in postgresql with PL/Python Functions. Is it possible to call cmd command from postgresql? I need to use pg_repack, not from terminal as usual, but from procedures from postgresql.

2
  • You probably can. But I didn't try it. github.com/petere/plsh Commented Jan 10, 2023 at 7:07
  • 2
    Consider using pg_squeeze instead, which does not need a client component. Commented Jan 10, 2023 at 7:09

0

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.