Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vHMIz-004lVw-Ha for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Nov 2025 13:15:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vHMIx-00EBK7-Ac for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Nov 2025 13:15:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vHMIw-00EBJy-SU for pgsql-hackers@lists.postgresql.org; Fri, 07 Nov 2025 13:15:03 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vHMIu-005uMQ-04 for pgsql-hackers@postgresql.org; Fri, 07 Nov 2025 13:15:01 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-b403bb7843eso135184366b.3 for ; Fri, 07 Nov 2025 05:14:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f10-com-br.20230601.gappssmtp.com; s=20230601; t=1762521296; x=1763126096; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=o7xgHESp4caOnbVYW6jlIHBBsJ2K3dZcfFCXxPdSZJM=; b=k9VKfaEEHEm3nE4Ih+ZmwIh4TpoUWIzzzTpnJCToLXtCDoKpesWbHbXcvvvEVG4Uyl 7ee6mqIaCSoItgExQ+XM9DiyjYs53R+8R5vU0V5Us9TwDkQC9d5faK2WV3GCTSJp6LCO PIIcx1c0EAG5y1AxjlhEgaGzBd4Y87/Ndl0jtpDCXi4MSMagcoQ1JVD5wVqx3z+kBuvf VasNKpv83dei6oZSsKpPJcd1kb/EG72ug9G5PCadCzrUsmFcjRoxCPki6w8ZJYnc5pkz Nj4g1ax/U4dxSRHvYJ1trhwGeyEHeB647pErxMA6vzw94XOeBCruGs05cE1+494nhUk9 8jgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762521296; x=1763126096; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=o7xgHESp4caOnbVYW6jlIHBBsJ2K3dZcfFCXxPdSZJM=; b=n2BGLjaZ2fZ8rwoaeqE/vCFfC0JB3VVj/qElK4ejo5AtVIh6Qa9gzs8m6VVeDLprle PNXTPOk9b2PkT5FF551/59d8/+eX/DTTJo+U99dRuA/Zg6buPZJ/0AlSiAXYYehA91mj sL/LIEI9G1qCBBjbYVBEvqX0bJRu8yCMVx6Z0NMlyrRyFI3lxEHIFQKImGNYQvMSmohZ VGLYY/d0IgikrgRf4vkIKD7ch8tFsq0zzfq466Z/stJncskR3HYEMIrv0Ht/bLJLH8ts Sdupd+QLNYlwhKjm4mNnidZQecYMkIAnXIQxq1VPyr1IRs1W+OscpVNGLikulbd/+yJ3 +HxA== X-Forwarded-Encrypted: i=1; AJvYcCUHCZLdFaixu+Vvue03od+fDKKidAm7jVtANMEqWUXELeSnL/8x2D41TAUjmU+BqEz6PZOTCFsLi+FpBC49@postgresql.org X-Gm-Message-State: AOJu0Yxp/yuCKzZXjIdLnfIXX/MNWrCQgPcHrpwjOC/UL/rwRlOYP/HD Eevfqj0vJZO3lCR/QQcphO9DR2WxLZICLWOoDin8nFBNgsn6rm5hSk1awZHFglK7r7jCzTDrydf ycPGqbEQUZ5zuHxzTsYLBLimos9xDdacquYc2AH3Y X-Gm-Gg: ASbGncvvKzzAAoE/Q6cR4Lgzt4K7dbcTbRaIzjX3cKQl9YNwsUX9cegsniOKja4fcwL fYhIgQgPgrVKDTFQ7uA5nUr0pVFkgBKuN/1oofQ9ekHHSpd5lIu3N2V2k7TqTm4O8dhwlCJ+Whh jqRZY3xw/58t4fscQLfeIDkDZuh3Ov30KyABZHWeB+EZGRYAQaWMqOV8bWnIqxjAwsFUbfkz5zw Y5E3QgYW7TEi7y2F4IUxTNr1ZhPLJHhQEA49tKv1VCKh4zkcNajlq5u1Twc4ufbsLlqeNBPIA== X-Google-Smtp-Source: AGHT+IFU4FQy5h+kERI8BRsekJdXq3eR7RO6tStJZlPuVqa642Ne7NRZ15BVElUwBdWBCYGi4aaakWKYL/JlGRugcGg= X-Received: by 2002:a17:906:dc8f:b0:b70:5478:1e79 with SMTP id a640c23a62f3a-b72c08ec954mr367682266b.2.1762521296144; Fri, 07 Nov 2025 05:14:56 -0800 (PST) MIME-Version: 1.0 References: <202510151529.s3fpwsgben57@alvherre.pgsql> In-Reply-To: From: Marcos Pegoraro Date: Fri, 7 Nov 2025 10:14:20 -0300 X-Gm-Features: AWmQ_bmD2FX-yLU938zBnTeLSfTj7kKHMnyqhv6_EWGvUVFhfsSqnDHwvW91pAM Message-ID: Subject: Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement To: Akshay Joshi Cc: Mark Wong , =?UTF-8?Q?=C3=81lvaro_Herrera?= , pgsql-hackers Content-Type: multipart/alternative; boundary="000000000000c419b5064300f751" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c419b5064300f751 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em sex., 7 de nov. de 2025 =C3=A0s 09:21, Akshay Joshi < akshay.joshi@enterprisedb.com> escreveu: > Attached is the v7 patch, which is ready for review. > >> >>> >>> For this functionality to be complete, the ALTER TABLE ... ENABLE ROW LEVEL SECURITY statement needs to be added to the command. Did you think about that ? Maybe one more parameter ? regards Marcos --000000000000c419b5064300f751 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em sex., 7 de nov. de 2025 =C3=A0s 0= 9:21, Akshay Joshi <aks= hay.joshi@enterprisedb.com> escreveu:

Attached is the v7 patch, which is ready for revie= w.

For this functionality to be complet= e, the=C2=A0
ALTER TABLE ... ENABLE ROW LEVEL SECURI= TY
statement needs to be added to the command.=C2=A0=

Did you think about tha= t ?
Maybe one more parameter ?

<= div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;color:r= gb(102,102,102)">regards
Marcos


--000000000000c419b5064300f751--