From: Slava Dubrovskiy <slava@psv.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Packhouse
Date: Fri, 31 Oct 2003 10:44:49 +0200
Message-ID: <3FA22101.20903@psv.com.ua> (raw)
In-Reply-To: <64717577021.20031030180314@omsk-gsm.ru>
Dmitry Chernyakov пишет:
> Dear Slava,
>
> reply:Monday, October 27, 2003
>
> SD> А дальше естественно не работают запросы в броузере.
>
> Все эти ошибки непринципиальны, т.к. свидетельствуют об отсутствии
> бывших объектов в БД.
>
> Мне надо знать какие ошибки на какие запросы выводятся в браузер.
вот что выводится если выбрать Склад -> Наличие на складе
*вызов sql:* /select * from permission where passwd=1 and lsperm=1
/вот что выводится если выбрать Склад -> Приходные и расходные ордера
<http://server.psv.com.ua/packhouse/showdoc.php?type=3&flag=6>
*вызов sql:* /select * from permission where passwd=1 and lsperm=227
и т.д.
/
>
> Еще попробуйте загрузить sampledb
Это часть ошибок убрало. Во всяком случае вышеперечисленные. Но вот
выскочила такая:
вызов sql:* /select id,name as "Наименование",tel as "Тел.",city as
"Город",address as "Адрес",data as "Спр. данные",insdate as "Введен"
from supplier where parent=0 or parent is null order by 2/
> Если будет ругаться на Query failed: ERROR: Attribute 'parent' not
> found то сделайте psql -f c_agent.sql packhouse keeper
Прикол! Вот результат этой команды:
[slava@server sql]$ psql -f c_agent.sql packhouse keeper
psql:c_agent.sql:1: ERROR: Cannot drop sequence agent_id_seq because
table agent column id requires it
You may drop table agent column id instead
DROP INDEX
DROP INDEX
psql:c_agent.sql:4: NOTICE: table client depends on table agent
psql:c_agent.sql:4: NOTICE: rule _RETURN on view recipient depends on
table agent
psql:c_agent.sql:4: NOTICE: view recipient depends on rule _RETURN on
view recipient
psql:c_agent.sql:4: NOTICE: rule _RETURN on view supplier depends on
table agent
psql:c_agent.sql:4: NOTICE: view supplier depends on rule _RETURN on
view supplier
psql:c_agent.sql:4: ERROR: Cannot drop table agent because other
objects depend on it
Use DROP ... CASCADE to drop the dependent objects too
psql:c_agent.sql:20: NOTICE: CREATE TABLE will create implicit sequence
'agent_id_seq' for SERIAL column 'agent.id'
psql:c_agent.sql:20: ERROR: Relation 'agent_id_seq' already exists
COMMENT
CREATE INDEX
psql:c_agent.sql:23: ERROR: relation named "agent_parent_key" already
exists
psql:c_agent.sql:24: ERROR: relation named "agent_recipient_key"
already exists
psql:c_agent.sql:25: ERROR: relation named "agent_supplier_key" already
exists
GRANT
DROP VIEW
CREATE VIEW
GRANT
DROP VIEW
CREATE VIEW
GRANT
INSERT 36356 1
INSERT 36357 1
INSERT 36358 1
INSERT 36359 1
INSERT 36360 1
INSERT 36361 1
INSERT 36362 1
После этого я обновил страничку (последнюю ) и она заработа.
Но все равно некоторые странички не работают.
Спасибо за ответ
Слава Д.
next prev parent reply other threads:[~2003-10-31 8:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-24 11:42 Slava Dubrovskiy
2003-10-27 4:53 ` Dmitry Chernyakov
2003-10-27 12:40 ` Slava Dubrovskiy
2003-10-30 12:03 ` Re[2]: " Dmitry Chernyakov
2003-10-31 8:44 ` Slava Dubrovskiy [this message]
2003-11-04 2:49 ` Dmitry Chernyakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FA22101.20903@psv.com.ua \
--to=slava@psv.com.ua \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git