NotificationResponse notification = postgresqlConnection.notifications();
if (notification == null)
return context.nil;
RubyHash hash = new RubyHash(context.runtime);
RubySymbol relname = context.runtime.newSymbol("relname");
RubySymbol pid = context.runtime.newSymbol("be_pid");
RubySymbol extra = context.runtime.newSymbol("extra");
hash.op_aset(context, relname, context.runtime.newString(notification.getCondition()));
hash.op_aset(context, pid, context.runtime.newFixnum(notification.getPid()));
hash.op_aset(context, extra, context.runtime.newString(notification.getPayload()));