count function alternative in postgres - Mailing list pgsql-general

From junaid malik
Subject count function alternative in postgres
Date
Msg-id d18b8f53-c172-4eb1-bcc1-a86cf5fead79@u31g2000yqb.googlegroups.com
Whole thread Raw
Responses Re: count function alternative in postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: count function alternative in postgres  (Scott Bailey <artacus@comcast.net>)
List pgsql-general
Is there any alternative of mysql function COUNT(DISTINCT expr,
[expr...]) in postgres. We get error if we

write count like this count(distinct profile.id, profile.name,
profile.age) but it works well in mysql.

Reference url is given below

http://dev.mysql.com/doc/refman/5.1/en/group-by-functions.html#function_count-distinct

Thanks

pgsql-general by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: Advice on webbased database reporting
Next
From: junaidmalik14
Date:
Subject: count function alternative in postgres