↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 版本

SECURITY INVOKER 视图

已记录的来源状态与原始语言说明;缺少版本证据时明确标为未知。

来源快照记录 PostgreSQL 8.1–18 的变化节点;历史矩阵独立记录 7.4–18 的状态。两者均未记录 PostgreSQL 19 或 20 的支持状态,较新版本明确保留为未知。这些来源声明与运行测量相互独立。

视图和物化视图

说明

视图现在可以使用 SECURITY INVOKER 创建,以调用者而非视图所有者的权限执行。

所选版本: PostgreSQL 18

支持

比较版本

原始文档链接

已记录旧标识: 389

完整来源事实与出处

yaml · center · 1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd

{
  "Key": "security-invoker-views",
  "SourceKind": "yaml",
  "SourceDatabase": "center",
  "SourceTable": "featurematrix.yaml",
  "SourceKey": "SECURITY INVOKER views",
  "SourceHash": "1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd",
  "Name": "SECURITY INVOKER views",
  "NameLocale": "en",
  "GroupKey": "views-materialized-views",
  "GroupName": "Views \u0026 Materialized Views",
  "GroupLocale": "en",
  "Ordinal": 2,
  "GroupOrder": 8,
  "Facts": {
    "feature": {
      "description": "[Views](https://www.postgresql.org/docs/15/sql-createview.html) can be created using the `SECURITY INVOKER` parameter, which executes the view with the privileges of the caller instead of the privileges of the owner.",
      "name": "SECURITY INVOKER views",
      "versions": {
        "15": "Yes"
      }
    },
    "group": "Views \u0026 Materialized Views",
    "versions": {
      "max": 18,
      "min": 8.1
    }
  },
  "Cells": [
    {
      "Version": "10",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "11",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "12",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "13",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "14",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "15",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "16",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "17",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "18",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "8.1",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.2",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.3",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.4",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.0",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.1",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.2",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.3",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.4",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.5",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.6",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    }
  ],
  "Texts": [
    {
      "Locale": "en",
      "Title": "SECURITY INVOKER views",
      "BodyHTML": "\u003cp\u003e\u003ca href=\"https://www.postgresql.org/docs/15/sql-createview.html\" rel=\"nofollow\"\u003eViews\u003c/a\u003e can be created using the \u003ccode\u003eSECURITY INVOKER\u003c/code\u003e parameter, which executes the view with the privileges of the caller instead of the privileges of the owner.\u003c/p\u003e\n",
      "SourceHash": "1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd",
      "ContentHash": "9c8c720cf70920ad1c9131a6393be02bee61b5778574c86f6e50d11a242dc5d8",
      "Payload": {
        "description": "[Views](https://www.postgresql.org/docs/15/sql-createview.html) can be created using the `SECURITY INVOKER` parameter, which executes the view with the privileges of the caller instead of the privileges of the owner.",
        "name": "SECURITY INVOKER views",
        "versions": {
          "15": "Yes"
        }
      }
    },
    {
      "Locale": "zh-Hans",
      "Title": "SECURITY INVOKER 视图",
      "BodyHTML": "\u003cp\u003e视图现在可以使用 \u003ccode\u003eSECURITY INVOKER\u003c/code\u003e 创建,以调用者而非视图所有者的权限执行。\u003c/p\u003e\n",
      "SourceHash": "071091951021357a5f492adb04caed6febf4d315ac2626ca027a48dd8ec01d50",
      "ContentHash": "1d7bfb85fbc3dc4b7f84c38ec8cfb3f9c7c9ef5b2be0411d0f4d09b8e95e35fd",
      "Payload": {
        "description": "视图现在可以使用 `SECURITY INVOKER` 创建,以调用者而非视图所有者的权限执行。",
        "name": "SECURITY INVOKER 视图"
      }
    }
  ],
  "GroupTitles": {
    "en": "Views \u0026 Materialized Views",
    "zh-Hans": "视图和物化视图"
  },
  "LegacyIDs": [
    "389"
  ]
}

完整来源数据 JSON