> Within a PL/pgSQL function this would be easy, but I need to store the > complete initialization script in a text file and execute it as a whole. In your scritp, put a CREATE FUNCTION and then call it and drop it ;)
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных