printing variable values in pl/pgsql functions

From: "Harpreet Dhaliwal" <harpreet(dot)dhaliwal01(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: printing variable values in pl/pgsql functions
Date: 2007-05-09 00:40:45
Message-ID: d86a77ef0705081740t6b5e6342g8fc9b76e2ab05b6d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have a pl/pgsql in which i have to print various variable values during
the execution of the function to see
what values are getting populated inside those variables with due course of
time.

PRINT <variable name>
doesn't work.

Can anyone tell me how to print these values??

Thanks,
~Harpreet

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harpreet Dhaliwal 2007-05-09 01:10:11 printing variable values in pl/pgsql functions
Previous Message Scott Marlowe 2007-05-09 00:05:34 Re: Idle session timeout?