Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fq5VE-0004w4-OW for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Aug 2018 23:47:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fq5V9-0007Yy-NJ for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Aug 2018 23:46:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fq5V9-0007Yr-As for pgsql-hackers@lists.postgresql.org; Wed, 15 Aug 2018 23:46:55 +0000 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fq5V6-0003aw-P8 for pgsql-hackers@lists.postgresql.org; Wed, 15 Aug 2018 23:46:54 +0000 Received: by mail-it0-x235.google.com with SMTP id h20-v6so4312328itf.2 for ; Wed, 15 Aug 2018 16:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language; bh=pc8ICKjQLbq0Dpl7S26oOV6nC3TOsDsFzo3GfUa8izs=; b=T+HlEabV0vpUEwIfO28FajrhHleD13dsYfukA0bLrfnqj0oOQBsZ+/Tj5MVaLXzmTB l2iyPewMJ1qbfXR2HA2px61WltcjN/afJWaXPYXtseUP2KFBzlCPsnAz7+FPi/GvUMKE 8/eE6oHamV7BNWV0Oqqu0tkHPXk6gQ4MZGX94sBsNbfqZ5KZsexQnEiIWBVdcbRMYaUG zmboGWJN38Z7x0ItKyebriy2o5YyL9SKFLOZ1SPffT0ySjtUeA+RA53dDGWHHD/VEqz+ jqV7uqBzbA0nt4lTUN3T99OR7qXk4HOm6Nz8vUFiOs2xawj+QJ2aPks3dqFY7o3ZaiIM b98Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language; bh=pc8ICKjQLbq0Dpl7S26oOV6nC3TOsDsFzo3GfUa8izs=; b=pv7gEdciclUnIwC0zepWH1FmkhAVzAiF1/j7rjOz5d9OVKUdiAexhOsHD10X9NUAn0 O2V7WalGMVaBSlZP2wFIUCEbFfnV4GRs2amt+eUpmm4aSASTgSyBdis3MwQz7o6F3pRK BRtATJwYyA7WWQ03sKK8O02U4hsw8dDTiuPUh8IFmw7ziHvaW4+jz4w72gQMdQbDNGOz ja/zHVSc39ZWT/WYmjXzrv6J3clfYhmnwhR7q+aB4+HP4Tr7JyN4Fe4jz62/dVedRazT iK13/1ewLH9XCubPdcUNws/KEf/wq8CpGUf6yzQrQFtRCUDAqtH0EO6qkrdNPpgIatpE M+2Q== X-Gm-Message-State: AOUpUlHSbaRorJJhmKbgREK2ZUXV+Yu7x8yxwMUr+4GSARLfPwZB0fCq 8xJAJinuBU0Hx56+XfqMN8lPSOwi X-Google-Smtp-Source: AA+uWPzKikUly0TqRcpCoxuJDDNWC+KyJ8rLVbk8iSJBeF9mDC+y7peVVnnvRghN3GWC6+jHhvTloQ== X-Received: by 2002:a24:da47:: with SMTP id z68-v6mr18883854itg.59.1534376811418; Wed, 15 Aug 2018 16:46:51 -0700 (PDT) Received: from [10.0.0.9] (108-72-92-36.lightspeed.livnmi.sbcglobal.net. [108.72.92.36]) by smtp.gmail.com with ESMTPSA id v26-v6sm9103906ioh.53.2018.08.15.16.46.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Aug 2018 16:46:50 -0700 (PDT) From: Dian Fay Subject: docs: note ownership requirement for refreshing materialized views To: pgsql-hackers@lists.postgresql.org Message-ID: <745abbd2-a1a0-ead8-2cb2-768c16747d97@gmail.com> Date: Wed, 15 Aug 2018 19:46:49 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------AFED250155A498D92E227814" Content-Language: en-HK List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------AFED250155A498D92E227814 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit hi all! I discovered today that the REFRESH MATERIALIZED VIEW documentation doesn't mention that only the owner (or a superuser) may actually perform the refresh operation. This patch adds a note to that effect. Dian Fay --------------AFED250155A498D92E227814 Content-Type: text/x-patch; name="0001-docs-note-ownership-requirement-for-refreshing-mater.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-docs-note-ownership-requirement-for-refreshing-mater.pa"; filename*1="tch" diff --git a/doc/src/sgml/ref/refresh_materialized_view.sgml b/doc/src/sgml/ref/refresh_materialized_view.sgml index 9cf01a25a5..f001a661e1 100644 --- a/doc/src/sgml/ref/refresh_materialized_view.sgml +++ b/doc/src/sgml/ref/refresh_materialized_view.sgml @@ -91,6 +91,10 @@ REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] name Notes + + Only the owner of a materialized view or a superuser can refresh it. + + While the default index for future --------------AFED250155A498D92E227814--