Skip to content

raise messages not displayed (unless exception) #177

@jabclab

Description

@jabclab

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions