You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recent postgres versions seem to enable the plpgsql language automatically on creating a new database. This makes the createlang call in the script produced by imposm-psqldb fail since the language already exists, causing the entire script to exit because f set -e.
Something like 'createlang -l ${dbname} |grep plpgsql || createlang plpgsql ${dbname}' should work to check if plpgsql is already enabled (-l lists all currently installed languages) and skip the createlang if necessary.
The text was updated successfully, but these errors were encountered:
Recent postgres versions seem to enable the plpgsql language automatically on creating a new database. This makes the createlang call in the script produced by imposm-psqldb fail since the language already exists, causing the entire script to exit because f set -e.
Something like 'createlang -l ${dbname} |grep plpgsql || createlang plpgsql ${dbname}' should work to check if plpgsql is already enabled (-l lists all currently installed languages) and skip the createlang if necessary.
The text was updated successfully, but these errors were encountered: