Skip site navigation (1) Skip section navigation (2)

Notices during execution

From: Jason McKellar <jason(at)deadtreepages(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: Notices during execution
Date: 2011-09-16 19:05:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg

Is there a way to get messages output using raise notice while a function is

I have a long-running (10 minutes) function that raises notices every 10
seconds or so about what it is currently doing and would like to view them
while the function is running. I suppose a workaround if I can't do this in
Psycopg2 is to execute psql and get the stdout.




psycopg by date

Next:From: OswaldoDate: 2011-09-17 11:25:11
Subject: Re: Notices during execution
Previous:From: Marco BeriDate: 2011-09-07 10:05:09
Subject: Re: About pyvertica (a clone of pyscopg2)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group