1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Add more subscription DDL tests

Add more tests for various variants of subscription DDL commands, based
on code coverage report.  Fix a small bug discovered by that.
This commit is contained in:
Peter Eisentraut
2017-03-24 21:48:05 -04:00
parent 2e0c919bce
commit e3920ac823
3 changed files with 57 additions and 1 deletions

View File

@ -228,7 +228,7 @@ publicationListToArray(List *publist)
/* Check for duplicates. */
foreach(pcell, publist)
{
char *pname = strVal(lfirst(cell));
char *pname = strVal(lfirst(pcell));
if (name == pname)
break;