--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Notice and warning messages generated by the server are not returned by the query execution functions, since they do not imply failure of the query. Instead they are passed to a notice handling function, and execution continues normally after the handler returns. The default notice handling function prints the message on <tt>stderr</tt>, but the application can override this behavior by supplying its own handling function.
- !ruby/struct:SM::Flow::P 
  body: This function takes a new block to act as the handler, which should accept a single parameter that will be a PGresult object, and returns the Proc object previously set, or <tt>nil</tt> if it was previously the default.
- !ruby/struct:SM::Flow::P 
  body: If you pass no arguments, it will reset the handler to the default.
full_name: PGconn#set_notice_receiver
is_singleton: false
name: set_notice_receiver
params: |
  conn.set_notice_receiver {|result| ... } -> Proc

visibility: public
