Re: Updated backup APIs for non-exclusive backups
От | Magnus Hagander |
---|---|
Тема | Re: Updated backup APIs for non-exclusive backups |
Дата | |
Msg-id | CABUevExmvJj1vxV8+SSnSbjmbOLkgrBEq_ro=okPuq9nAb++9w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Updated backup APIs for non-exclusive backups (Marco Nenciarini <marco.nenciarini@2ndquadrant.it>) |
Ответы |
Re: Updated backup APIs for non-exclusive backups
Re: Updated backup APIs for non-exclusive backups Re: Updated backup APIs for non-exclusive backups |
Список | pgsql-hackers |
On Wed, Mar 2, 2016 at 6:49 PM, Marco Nenciarini <marco.nenciarini@2ndquadrant.it> wrote:
-- Hi Magnus,
Hi!
First, again my apologies for completely missing that you had posted this review!
I've finally found some time to take a look to the patch.
It applies with some fuzziness on master, but the result looks correct.
Unfortunately the OID of the new pg_stop_backup function conflicts with
"pg_blocking_pids()" patch (52f5d578d6c29bf254e93c69043b817d4047ca67).
Fixed, thanks!
After changing it the patch does not compile:
It compiles fine for me, and with no warnings.
gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv
-Wno-unused-command-line-argument -g -O0 -g -fno-omit-frame-pointer
-I../../../../src/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2
-I/usr/local/include -I/usr/local/opt/openssl/include -c -o xlog.o
xlog.c -MMD -MP -MF .deps/xlog.Po
xlog.c:10000:19: error: use of undeclared identifier 'tblspc_mapfbuf';
Eh. There is no presence of "tblspc_mapfbuf" after the patch. I think it looks like the "applies with fuzziness" actually wasn't correct, and you ended up with bad code with a mix of the old and the new code in it.
I've attached an updated patch, which is rebased on current master and includes the oid fix.
Вложения
В списке pgsql-hackers по дате отправления: