Re: PL/PG SQL: select count(*) into from where - does not compute the where cond - Mailing list pgsql-general

From Abraham, Danny
Subject Re: PL/PG SQL: select count(*) into from where - does not compute the where cond
Date
Msg-id 2C0926ABD16BB641A8E2F11A549200421368899C56@PHXCCRPRD01.adprod.bmc.com
Whole thread Raw
Responses Re: PL/PG SQL: select count(*) into from where - does not compute the where cond - returns always total count  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-general
... forgot the most import issue

The problem shows when the selection is from a view.

The where condition does not have names contention.

It is:  select count(*) into <var> from <view_name>
where <cond>


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PL/PG SQL: select count(*) into from where - does not compute the where cond
Next
From: Richard Huxton
Date:
Subject: Re: How to have ant's task insert special chars appropriately?