pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Neill <rjn@richardneill.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Richard Neill <rn214@richardneill.org>
Cc: Richard Neill <postgresql@richardneill.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5867: wish: plpgsql print table for debug
Date: Thu, 03 Mar 2011 18:37:33 +0000
Message-ID: <4D6FDFED.3070605@richardneill.org> (raw)
In-Reply-To: <AANLkTinU5FwUNoGWtybEghbTw7_HH0msWrfeOfVtmsK+@mail.gmail.com>
References: <201102070601.p1761470087214@wwwmaster.postgresql.org>
	<AANLkTimrzAYxjqFaKRjmVvXiVt_YuAVG54C9EcNW95db@mail.gmail.com>
	<4D6FCBEC.1060709@richardneill.org>
	<AANLkTinU5FwUNoGWtybEghbTw7_HH0msWrfeOfVtmsK+@mail.gmail.com>


> Sure it does.  You can pass the tuple to RAISE NOTICE easily enough.
> It won't have all the same bells and whistles psql would supply, but
> it prints out well enough for debugging.  Or at least it's never
> bothered me.

Sorry if I'm being dense, but I can't see how you can pass a tuple; I 
think raise-notice only lets you pass individual strings/integers. But I 
don't think we can pass all of them without specifying in advance how 
many there are....





view thread (14+ messages)  latest in thread

Message-ID: <4D6FDFED.3070605@richardneill.org>
Permalink:  ../4D6FDFED.3070605@richardneill.org/
Also on:    postgresql.org/message-id/4D6FDFED.3070605@richardneill.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: rjn@richardneill.org, robertmhaas@gmail.com, rn214@richardneill.org, postgresql@richardneill.org
  Subject: Re: BUG #5867: wish: plpgsql print table for debug
  In-Reply-To: <4D6FDFED.3070605@richardneill.org>
  References: <201102070601.p1761470087214@wwwmaster.postgresql.org> <AANLkTimrzAYxjqFaKRjmVvXiVt_YuAVG54C9EcNW95db@mail.gmail.com> <4D6FCBEC.1060709@richardneill.org> <AANLkTinU5FwUNoGWtybEghbTw7_HH0msWrfeOfVtmsK+@mail.gmail.com> <4D6FDFED.3070605@richardneill.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox