From: | Andrew Borodin <borodin(at)octonica(dot)com> |
---|---|
To: | David Fetter <david(at)fetter(dot)org> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, amul sul <sulamul(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_background contrib module proposal |
Date: | 2016-12-19 16:30:32 |
Message-ID: | CAJEAwVEWvgSJ0Vgt-RUo58PmhOb1J2dt_bJGE+w9g3QwbP-C0A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2016-12-19 4:21 GMT+05:00 David Fetter <david(at)fetter(dot)org>:
> Couldn't it sleep in increments smaller than a second? Like maybe
> milliseconds? Also, it's probably cleaner (or at least more
> comprehensible) to write something using format() and dollar quoting
> than the line with the double 's.
Right. Here's version which waits for half a second. I do not see how
to path doubles via dollar sign, pg_background_launch() gets a string
as a parameter, it's not EXCEUTE USING.
Best regards, Andrey Borodin.
Attachment | Content-Type | Size |
---|---|---|
pgb_sleepsort.diff | text/plain | 2.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2016-12-19 16:39:59 | invalid combination of options "-D - -F t -X stream" in pg_basebackup |
Previous Message | Tom Lane | 2016-12-19 15:37:32 | Re: postgres_fdw bug in 9.6 |