[pgsql-jp: 32830] Attribute テーブル名.oid must be GROUPed or used in an aggregate functionというエラーについて

箕山 minoyama @ t-tsc.co.jp
2004年 4月 19日 (月) 15:09:37 JST


Postgresのバージョン
PostgreSQL 7.3.4 on i686-redhat-linux-gnu, compiled by GCC 2.96

OS
Red Hat Enterprise Linux ES release 2.1

にて、使用しているのですが、

select count(*) from tbl_a;
とか
select col_a, count(*) from tbl_a group by col_a;
とすると、
select結果は正しいものが返ってくるですが、
ログに、
ERROR:  Attribute tbl_a.oid must be GROUPed or used in an aggregate function
というエラーが帰ってきます。

このエラーはどのように対処すればいいのでしょうか?
あるいは放置しても問題ないのでしょうか?
どなたか、ご存知のかた、アドバイスいただけませんでしょうか。
よろしく御願いいたします。
以上




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