[pgsql-jp: 32289] テーブルにINSERTできない件について

tyunn tyunn @ to.email.ne.jp
2004年 2月 19日 (木) 12:57:16 JST


こんにちは。

fedora core1
php4.3.4
postgreSQL7.3.4

○testtbl
create table testtbl (
      num         numeric(7,0)   default nextval('testseq'),
      comment            text           not null,
      ddate               timestamp      not null)
○testseq
create sequence testseq
start 1 increment 1 maxvalue 9999999 minvalue 1 cache 1 cycle

phpからINSERTすると、sequenceテーブルはインクリメントされますが
testtblにはINSERTされません。
権限は、
grant all on testtbl to public

pgsqlからINSERT文を入力すると成功します。
同じINSERT文を、phpから実行すると失敗します。

原因はなにか調べているのですがどうしてもわかりません。
どこを調べたらよいのかご教授いただくたく投稿しました。
どうかお願いいたします。
白石






pgsql-jp メーリングリストの案内