RE: Added schema level support for publication.
От | tanghy.fnst@fujitsu.com |
---|---|
Тема | RE: Added schema level support for publication. |
Дата | |
Msg-id | OS0PR01MB61137D9AD59572CF9B1DDFD3FB079@OS0PR01MB6113.jpnprd01.prod.outlook.com обсуждение исходный текст |
Ответ на | Re: Added schema level support for publication. (vignesh C <vignesh21@gmail.com>) |
Ответы |
Re: Added schema level support for publication.
Re: Added schema level support for publication. |
Список | pgsql-hackers |
Hi I applied your V7* patch and complied it. The following warnings came out, please take a look. >pg_publication.c:688:22: warning: ‘tables’ may be used uninitialized in this function [-Wmaybe-uninitialized] > funcctx->user_fctx = (void *) tables; > ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >describe.c: In function ‘describePublications’: >describe.c:6479:35: warning: ‘pubtype’ may be used uninitialized in this function [-Wmaybe-uninitialized] > else if (has_pubtype && pubtype == PUBTYPE_SCHEMA) For the warning in pg_publication.c, maybe we can replace the following 'else if' with 'else'. + else if (publication->pubtype == PUBTYPE_SCHEMA) For the warning in describe.c, initialization of 'pubtype' is needed. Regards Tang
В списке pgsql-hackers по дате отправления: