>сделай: 'ldd /usr/bin/psql'
> ldd /usr/bin/psqlldd: /usr/bin/psql: No such file or directory
>И найдешь там libreadline.so под GPL
>А о чем это говорит? А о том что и psql тоже
>лицензирован под GPL - можно даже в исходники не лазить :)
Почему же не лазить?
> grep 'License' -r ./postgresql-8.4.2
./postgresql-8.4.2/src/test/regress/pg_regress.c: * This code is released under the terms of the PostgreSQL License.
./postgresql-8.4.2/src/test/regress/pg_regress_main.c: * This code is released under the terms of the PostgreSQL License.
./postgresql-8.4.2/src/backend/utils/mb/Unicode/sjis-0213-2004-std.txt:## License:
./postgresql-8.4.2/src/backend/utils/mb/Unicode/euc-jis-2004-std.txt:## License:
./postgresql-8.4.2/src/backend/parser/gram.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/backend/parser/gram.c: GNU General Public License for more details.
./postgresql-8.4.2/src/backend/parser/gram.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/backend/parser/gram.h: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/backend/parser/gram.h: GNU General Public License for more details.
./postgresql-8.4.2/src/backend/parser/gram.h: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/backend/bootstrap/bootparse.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/backend/bootstrap/bootparse.c: GNU General Public License for more details.
./postgresql-8.4.2/src/backend/bootstrap/bootparse.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/interfaces/ecpg/test/pg_regress_ecpg.c: * This code is released under the terms of the PostgreSQL License.
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.h: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.h: GNU General Public License for more details.
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.h: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.c: GNU General Public License for more details.
./postgresql-8.4.2/src/interfaces/ecpg/preproc/preproc.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/bin/pg_config/pg_config.c: * This code is released under the terms of the PostgreSQL License.
./postgresql-8.4.2/src/bin/initdb/initdb.c: * This code is released under the terms of the PostgreSQL License.
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.h: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.h: GNU General Public License for more details.
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.h: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.c: GNU General Public License for more details.
./postgresql-8.4.2/src/pl/plpgsql/src/pl_gram.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/contrib/seg/segparse.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/contrib/seg/segparse.c: GNU General Public License for more details.
./postgresql-8.4.2/contrib/seg/segparse.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/contrib/cube/cubeparse.c: it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/contrib/cube/cubeparse.c: GNU General Public License for more details.
./postgresql-8.4.2/contrib/cube/cubeparse.c: You should have received a copy of the GNU General Public License
./postgresql-8.4.2/INSTALL: now labeled "Open License Software Supplement". If you do not have this
./postgresql-8.4.2/config/config.guess:# under the terms of the GNU General Public License as published by
./postgresql-8.4.2/config/config.guess:# the Free Software Foundation; either version 2 of the License, or
./postgresql-8.4.2/config/config.guess:# General Public License for more details.
./postgresql-8.4.2/config/config.guess:# You should have received a copy of the GNU General Public License
./postgresql-8.4.2/config/config.guess:# As a special exception to the GNU General Public License, if you
./postgresql-8.4.2/config/config.sub:# it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/config/config.sub:# the Free Software Foundation; either version 2 of the License, or
./postgresql-8.4.2/config/config.sub:# GNU General Public License for more details.
./postgresql-8.4.2/config/config.sub:# You should have received a copy of the GNU General Public License
./postgresql-8.4.2/config/config.sub:# As a special exception to the GNU General Public License, if you
./postgresql-8.4.2/config/libtool.m4:## it under the terms of the GNU General Public License as published by
./postgresql-8.4.2/config/libtool.m4:## the Free Software Foundation; either version 2 of the License, or
./postgresql-8.4.2/config/libtool.m4:## General Public License for more details.
./postgresql-8.4.2/config/libtool.m4:## You should have received a copy of the GNU General Public License
./postgresql-8.4.2/config/libtool.m4:## As a special exception to the GNU General Public License, if you
./postgresql-8.4.2/doc/src/sgml/installation.sgml: included. For UnixWare 7.1, this CD is now labeled "Open License