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

ISHIDA Akio iakio @ pjam.jpweb.net
2004年 4月 20日 (火) 09:52:20 JST


こんにちは。石田@苫小牧市です。

箕山 wrote:
> 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
> というエラーが帰ってきます。

これってクライアント側はどういう環境ですか?
psql からの実行ですか?

-- 
ISHIDA Akio <iakio @ pjam.jpweb.net/iakio @ mono-space.net>



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