[adrpo@dostoievsky init]$ psql -h localhost -U pgadmin -d ida -f minimal.sql DROP SEQUENCE CREATE SEQUENCE psql:minimal.sql:6: NOTICE: Drop cascades to constraint p_c_title_fk_name_id on table p_title psql:minimal.sql:6: NOTICE: Drop cascades to constraint p_c_titletype_fk_name_id on table p_titletype DROP TABLE psql:minimal.sql:18: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'g_translate_pkey' for table 'g_translate' CREATE TABLE INSERT 25180 1 DROP FUNCTION CREATE FUNCTION psql:minimal.sql:39: ERROR: RemoveFunction: function g_out_t(text, bigint) does not exist psql:minimal.sql:65: ERROR: parser: parse error at or near "drop" at character 580 psql:minimal.sql:74: ERROR: function p_in_title already exists with same argument types psql:minimal.sql:80: NOTICE: Drop cascades to constraint p_c_p2title_fk_person_code on table p_p2title DROP TABLE psql:minimal.sql:95: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'p_person_pkey' for table 'p_person' CREATE TABLE CREATE INDEX CREATE INDEX CREATE INDEX psql:minimal.sql:120: NOTICE: Drop cascades to constraint p_c_title_fk_type_code on table p_title DROP TABLE psql:minimal.sql:131: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'p_titletype_pkey' for table 'p_titletype' psql:minimal.sql:131: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) CREATE TABLE INSERT 25199 1 INSERT 25201 1 INSERT 25203 1 DROP SEQUENCE CREATE SEQUENCE psql:minimal.sql:145: NOTICE: Drop cascades to constraint p_c_p2title_fk_title_id on table p_p2title DROP TABLE psql:minimal.sql:162: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'p_title_pkey' for table 'p_title' psql:minimal.sql:162: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) CREATE TABLE INSERT 25222 1 DROP TABLE psql:minimal.sql:189: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'p_c_p2title_pk' for table 'p_p2title' psql:minimal.sql:189: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) CREATE TABLE INSERT 25236 1 INSERT 25239 1 START TRANSACTION DELETE 1 psql:minimal.sql:206: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. psql:minimal.sql:206: connection to server was lost [adrpo@dostoievsky init]$ ../bin/stoppostgresql.sh waiting for postmaster to shut down......done postmaster successfully shut down