Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGuL6-0004uU-Bu for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Jan 2023 04:09:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pGuL4-0001sr-AW for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Jan 2023 04:09:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGuL3-0001qc-Ux for pgsql-hackers@lists.postgresql.org; Sun, 15 Jan 2023 04:09:46 +0000 Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pGuKx-0005FR-08 for pgsql-hackers@lists.postgresql.org; Sun, 15 Jan 2023 04:09:45 +0000 Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-4e9adf3673aso2540367b3.10 for ; Sat, 14 Jan 2023 20:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WNZ1DJw10BQyhJcjz0lzDl7wj6Vu4EWl+JUpQksNOZ8=; b=D8ZbZbkHU/pghBYndDhpK0MFXs40Y0rIZkrWgzE2msMtc2xXEaQC6/ktCPnRy/x3Ra xXPrkNXeKemwxdMpx2ttzx7UFNEZNgXNhp4KHGZTMsxohdsM5WG3cDljQ/Fh9/IZxaAV MDbHnJ3HLg1gvTidkHnloaHO3GO423RPIuvGehBIdM62jSB8nKfLCV1fUENAnLVL8m0K r3g0XZQoqePLsNB6dG1lTRl9P8ukGUQqJ8iCh7y3OrFQRRP8/BwC7s6iupsASNYKWNRG nTkw/+qbuQxQju8b1SnNrtXZI2YBZE9hZEq/IcVJcta+fEEJhjsYD0C2z6EAiaEQYivX 938A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WNZ1DJw10BQyhJcjz0lzDl7wj6Vu4EWl+JUpQksNOZ8=; b=rdAPLhOzBgMYARfy0KaQ98SnHGUKaj9RKSWZd04OV9NRgxVeVTbwGbipqAMaBOwQ7w 4vhCzNiJSXrUGXWLWRLpKmo4C8l1Ky/rYdW/3a71+qngwcqKuv9FEvJ8A98na3TgVOhj +Y/Y1/7eEOaNxXmrU1AxPfUom18yGNzj+zaN906xK2NlAVeOzpOAzePtZs8Dt7+vfrLF mnmeejkbEQqOlr9zKIgxCb2iY4axCCrxO4Bl9kjOX0tOTgXoNhMd+prbWQSiEX/PgjNr xH2R+fxRxJe41lUFn3Exgt5WYZhxCMS26UxwwIjBMCY25sLq/vrwXwk7YPMAKj4wF/CE e5BQ== X-Gm-Message-State: AFqh2kpKRe95z54WIA+mmnrG9T386DEo62OKVylvNGLih4aI5ET/GFrR ON/pCtCMelqAacf7N/+1uvKbTYdfAVQ3CHehg9Q= X-Google-Smtp-Source: AMrXdXvQfKcB0djDJjjrZiUtWO3Dv16EE1KaEjTmUVSSOXfFbaWrcxNvn+74OsAqYCqEpHfP315uItGJcsxF1PobGV8= X-Received: by 2002:a81:4955:0:b0:4dc:9e8f:457c with SMTP id w82-20020a814955000000b004dc9e8f457cmr1095905ywa.471.1673755776972; Sat, 14 Jan 2023 20:09:36 -0800 (PST) MIME-Version: 1.0 References: <20221006171601.6um4ey5idm4h62vf@alvherre.pgsql> In-Reply-To: From: Ajin Cherian Date: Sun, 15 Jan 2023 15:09:25 +1100 Message-ID: Subject: Re: Support logical replication of DDLs To: vignesh C Cc: Zheng Li , Peter Smith , li jie , Dilip Kumar , Alvaro Herrera , "houzj.fnst@fujitsu.com" , Amit Kapila , Masahiko Sawada , Japin Li , rajesh singarapu , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jan 13, 2023 at 5:33 PM vignesh C wrote: > Adding support for CREATE/ALTER/DROP Publication ddl deparsing. > The attached v61 patch has the changes for the same. > Hi Vignesh, this doesn't seem to compile: gcc -std=3Dgnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=3Dvla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=3Dstandard -g -ggdb -Og -g3 -fno-omit-frame-pointer -I../../../src/include -D_GNU_SOURCE -c -o ddl_deparse.o ddl_deparse.c ddl_deparse.c: In function =E2=80=98deparse_PublicationObjects=E2=80=99: ddl_deparse.c:8956:3: error: unknown type name =E2=80=98publication_rel=E2= =80=99 publication_rel *pub_rel =3D (publication_rel *) lfirst(lc1); ^ ddl_deparse.c:8956:31: error: =E2=80=98publication_rel=E2=80=99 undeclared = (first use in this function) publication_rel *pub_rel =3D (publication_rel *) lfirst(lc1); ^ ddl_deparse.c:8956:31: note: each undeclared identifier is reported only once for each function it appears in ddl_deparse.c:8956:48: error: expected expression before =E2=80=98)=E2=80= =99 token publication_rel *pub_rel =3D (publication_rel *) lfirst(lc1); regards, Ajin Cherian Fujitsu Australia