ОК
Текущая кодовая страница: 1251
Пароль пользователя postgres:
psql (13.2)
Введите "help", чтобы получить справку.
postgres=# psql
postgres-# chcp 1251
postgres-# psql -f demo_small.sql -U postgres
postgres-# psql -d demo -U postgres
postgres-# CREATE TABLE aircrafts
postgres-# ( aircraft_code char( 3 ) NOT NULL,
postgres(# model text NOT NULL,
postgres(# range integer NOT NULL,
postgres(# CHECK ( range > 0 ),
postgres(# PRIMARY KEY ( aircraft_code )
postgres(# );
ОШИБКА: ошибка синтаксиса (примерное положение: "psql")
СТРОКА 1: psql