================================================================
[root@gw tmp]# psql -U username dbname
Welcome to psql 7.4.17, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
dbname=> SELECT * FROM tablename;
Terminated
[root@gw tmp]# psql -U username dbname
Welcome to psql 7.4.17, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
dbname=> SELECT COUNT(*) FROM tablename;
count
---------
4676386
(1 row)
dbname=> \q
[root@gw tmp]# rpm -qa | egrep 'kernel|postgre'
kernel-2.6.9-42.EL
kernel-ib-1.0-1
kernel-2.6.9-42.0.10.EL
postgresql-server-7.4.17-1.RHEL4.1
kernel-utils-2.4-13.1.83
kernel-2.6.9-42.0.8.EL
postgresql-libs-7.4.16-1.RHEL4.1
postgresql-7.4.17-1.RHEL4.1
[root@gw tmp]# cat /etc/redhat-release
CentOS release 4.4 (Final)
[root@gw tmp]# _
================================================================
Чем лечить "Terminated" после "SELECT * FROM ..." ?
Форум —
Admin