Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6xHh-00071X-0P for pgsql-docs@arkaria.postgresql.org; Wed, 26 Feb 2020 14:03:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6xHf-0000zb-JO for pgsql-docs@arkaria.postgresql.org; Wed, 26 Feb 2020 14:03:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6xHf-0000zU-3B for pgsql-docs@lists.postgresql.org; Wed, 26 Feb 2020 14:03:31 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j6xHZ-0006RS-Iu for pgsql-docs@lists.postgresql.org; Wed, 26 Feb 2020 14:03:29 +0000 Received: by mail-wr1-x441.google.com with SMTP id l5so3182010wrx.4 for ; Wed, 26 Feb 2020 06:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=ynQnzE2bCidTEyK7LYh74otAWTdMjVHiUBhkjzb+iLE=; b=bI2O3fYIcSub3wfL+pHfzbHnni58ucg58QbSUJHC760XzWfVBNLmzzTtVJUz+DYEPg Q3m/IawQzZ1XDlSrRJIf8ZNukKmEKTtRb/B1hO/f2L9Smq7g6CXa41030+OWrFWxEBm2 odXLuuc50AuISgbkAvBZf6Z63Z7lerdT6tp0cWJy15hjcwg07qKOqVel8fzVuMHgB3Y0 6AhrVkFCm2SjeJ7VOnIwejWosjBXpY3lmCGkVeArqsPjcd5r8JEZvtaVfnRXkSxHq1Cn /Q7qwSZSZb2qOhsJyV+CImAG4yXra92bQqVve+R0j4kOcFr8wtdASsCvf79mowI/U/Y/ atiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ynQnzE2bCidTEyK7LYh74otAWTdMjVHiUBhkjzb+iLE=; b=tvVmZVynzJ9/SQqmdzJ3IW1A3AooXM2JYEeRsDE5Jdliu/Ly0Og2ODU3z7LWnOuo5S TqOwze0yOswRR/1+0tBl+l8sGRMogT7NIves1L/dm01Q3suIjyEFkHv1ND6VyaSHKhuM A/q8F44WcAn1kiX/GEYnxHkWrLyWkkH+SLY+L/0nLEdEuIeCgQhnuW8Z0BlYO6zn3shG YRhyXUFdC7xYkVrgOKKcqgk99gpntKfdFh4ZYyDk3WokfSB/sGPcQkr4DHQIlra2/sPp KAb9KJy7kjhBs54+Dd860OP2NWNLtUAeBvqLF6e5MgB6mS2RqRh4CrVyXPN23YiJRzjj AhZw== X-Gm-Message-State: APjAAAVOmRBPjarkCLvJ+SFuzT6FnPVqHsut/H4ZfocXEozKDNYL1Y0M n8yLE9Ncgy+3NxfMN1ptDVPqLg== X-Google-Smtp-Source: APXvYqz6GR146hiwUoz0bCFhVtRuErpp/OtPA0qR7Yahj7U3NiN2K9bEdBvM1WHIREx35WEQzIR5aw== X-Received: by 2002:a5d:4a04:: with SMTP id m4mr5905161wrq.104.1582725800764; Wed, 26 Feb 2020 06:03:20 -0800 (PST) Received: from localhost.localdomain ([212.186.219.234]) by smtp.gmail.com with ESMTPSA id w1sm3373453wro.72.2020.02.26.06.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 06:03:20 -0800 (PST) Message-ID: Subject: Re: No docs for interaction of ON DELETE/UPDATE and permissions From: Laurenz Albe To: David Glasser Cc: pgsql-docs@lists.postgresql.org Date: Wed, 26 Feb 2020 15:03:19 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, 2020-02-25 at 10:30 -0800, David Glasser wrote: > > I am not sure if CREATE TABLE is the perfect place; another place that > > would offer ifself is > > https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-FK , > > where foreign key constraints are explained. > > I had found that too, but it doesn't look like that page talks about > permissions at all. It seems like the CREATE TABLE docs are the > "reference" for referential actions (pun not intended). Should I add > it to both places perhaps? No, it should be in the documentation only once. > Should docs patches be sent to this list or to pgsql-hackers? > https://wiki.postgresql.org/wiki/Submitting_a_Patch is not clear. It does not matter much, but if you want to add it to the commitfest, that might only integrate well with the -hackers list (though I am not sure about that). Yours, Laurenz Albe