Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq1bc-0004cl-J8 for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Dec 2013 14:14:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vq1bc-0000o4-2D for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Dec 2013 14:14:40 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VpwF8-0007ub-I3 for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 08:31:06 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VpwDu-0002LN-G4 for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 08:30:02 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VpwDs-0002e5-OU for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 08:29:50 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VpwDn-00049v-Bi for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 08:29:43 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8672: pg_sleep function doesn't work as expected To: pgsql-bugs@postgresql.org From: christophe.nicolas@9online.fr Message-Id: Date: Mon, 09 Dec 2013 08:29:43 +0000 X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8672 Logged by: M CHRISTOPHE NICOLAS Email address: christophe.nicolas@9online.fr PostgreSQL version: 9.2.2 Operating system: Windows Seven Description: A simple example : Create Table tst_sleep(instime timestamp); Do ' Begin Insert Into tst_sleep values(Now()); Perform pg_sleep(5); Insert Into tst_sleep values(Now()); End; ' Select * From tst_sleep; 2013-12-09 09:23:54.012 2013-12-09 09:23:54.012 => The Do execution last 5 secondes (ok), but the 2 rows are inserted as same time. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs