When using raise for debugging purposes the output is not shown in pgcli (even if client_min_messages is set accordingly). Here's an example using 0.16.2:
-- Base function
create or replace function foo() returns void as $func$
raise notice 'hello world!';
$func$ language plpgsql;
Here's the pgcli output:
jake> select foo()
+-------+
| foo |
|-------|
| |
+-------+
SELECT 1
Command Time: 2.86102294922e-06
Format Time: 0.000157833099365
And here's the psql output:
jake=# select foo();
NOTICE: hello world!
foo
-----
(1 row)