Let $f$ be a function in $L^2(U)$ where $U$ is some (not necessarily bounded) domain. For example, if $f$ is bounded, then for all $g \in L^2(U)$,
$$\|fg\|_{L^2(U)} \leq \|f\|_{\infty}\|g\|_{L^2(U)} = C\|g\|_{L^2(U)}. $$
Are there any other cases when this is true (i.e $f$ not necessarily bounded) or is this a necessary assumption?
Suppose $f \not \in L^\infty(U)$. Take $n \ge 1$, and let $E_n = \{x \in U : |f(x)| \ge n\}$. Then $\mu(E_n) > 0$, so if we let $g = \frac{1}{\sqrt{\mu(E_n)}}1_{E_n}$, then $||g||_2 = 1$ and $||fg||_2 \ge n$. So there is no $C$ with $||fg||_2 \le C||g||_2$.