My script running as superuser needs to install plpgsql using
CREATE LANGUAGE plpgsql;
in 8.2+
Which is the best way to check that this command does not cause error ?
Is it best to use
select true from pg_language where lanname='plpgsql'
for checking for plpgsql existance before running CREATE LANGUAGE ?
Andrus.
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.