↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / SQLSTATE

42704 — undefined_object

SQLSTATE 42704 is undefined_object in Class 42. 42704 is undefined_object. The selected DROP TRIGGER path names a trigger absent from a real table and reports trigger "%s" for table "%s" does not exist; a real trigger can then be created and dropped.

English manual coverage begins with PostgreSQL 8.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

aliases
Unknown
class name
Syntax Error or Access Rule Violation
condition name
undefined_object
lang
en
sqlstate
42704

Definition PG 18

42704

At a glance {#at-a-glance}

SQLSTATE 42704 is undefined_object in Class 42. 42704 is undefined_object. The selected DROP TRIGGER path names a trigger absent from a real table and reports trigger "%s" for table "%s" does not exist; a real trigger can then be created and dropped.

Meaning {#meaning}

42704 is undefined_object. The object kind determines the lookup and the message: fixed branches include type "%s" does not exist after type-name resolution, role "%s" does not exist when a role lookup misses, constraint "%s" for table "%s" does not exist after scanning constraints for a relation OID, and operator class "%s" does not exist for access method "%s" after resolving a qualified or search-path opclass. The selected path is narrower: get_trigger_oid scans pg_trigger for the resolved relation OID and trigger name; when DROP TRIGGER requires an object and no row matches, it raises trigger "%s" for table "%s" does not exist, then the case creates and drops a real trigger as its repair lifecycle.

Diagnosis {#diagnosis}

Classify the primary before changing anything. For the selected trigger branch, inspect the schema-qualified relation resolved by the DDL, exact trigger name (including quoted case), and migration order; a trigger can exist on another table while remaining absent from this relation because the source lookup is keyed by relation OID and name. For a type or role message, inspect the exact qualified name and the type/role catalog; for a constraint message, inspect the relation OID/name pair and migration order; for an opclass message, inspect the access method and schema/search_path used by the opclass lookup. A missing schema or unqualified relation is a different namespace/undefined-relation diagnosis, and a privilege failure is 42501. The missing-object ERROR leaves the selected autocommit session IDLE; inside an explicit BEGIN, it leaves the transaction INERROR until ROLLBACK or a suitable savepoint rollback. Distinguish it from 08003, which concerns a dblink handle, and 26000, which concerns a prepared statement name.

Response {#response}

Repair the object category named by the message: correct the qualified name or search path, apply the prerequisite migration in dependency order, or create/rename the intended type, role, constraint, or operator class under its owning migration. For the selected trigger case only, operate on the intended relation explicitly, check owner, timing/event, row-level versus statement-level definition, and function, and then drop that exact trigger when the migration requires it. If an object is intentionally optional, choose an idempotent migration policy deliberately; do not use CASCADE, an unrelated object, or a generic create-then-drop sequence as a repair. After an explicit-transaction error, roll back the transaction or a suitable savepoint before retrying.

Messages {#messages}

The selected get_trigger_oid branch emits an explicit ERROR with primary trigger "%s" for table "%s" does not exist; both trigger and table names are dynamic. Other fixed undefined-object branches emit type "%s" does not exist, role "%s" does not exist, constraint "%s" for table "%s" does not exist, or operator class "%s" does not exist for access method "%s". A client exception without the server SQLSTATE and the primary for its object category is not sufficient to identify 42704.

Representative case {#case}

The page uses the same statements as the runner registry. Generated names such as syntax_schema and syntax_role are replaced by disposable runner values when executed.

CREATE TABLE syntax_schema.trigger_table (id integer);
DROP TRIGGER missing_trigger ON syntax_schema.trigger_table;
CREATE FUNCTION syntax_schema.trigger_function() RETURNS trigger LANGUAGE plpgsql AS $$ BEGIN RETURN NEW; END $$;
CREATE TRIGGER valid_trigger BEFORE INSERT ON syntax_schema.trigger_table FOR EACH ROW EXECUTE PROCEDURE syntax_schema.trigger_function();
DROP TRIGGER valid_trigger ON syntax_schema.trigger_table;
SELECT count(*) FROM pg_trigger WHERE tgrelid = 'syntax_schema.trigger_table'::regclass AND NOT tgisinternal;

The selected 18.6 run reports the structured diagnostic and passes the repair assertions; the 10.21 run passes the same case-specific checks. The downloadable case and evidence projections are 42704 case JSON and authored evidence. The runner manifest is verify/cases/42704/cases.json, and the page SQL is checked against its shared registry.

Versions {#versions}

The selected natural runtime scope is PostgreSQL 18.6 and 10.21; it does not infer behavior for every intermediate release.

Related {#related}

Sources {#sources}

  • src.errcodes.18.6 — fixed errcodes.txt definition at commit 724edf9bde9d356724ad384a2e196edc3c9f80f7; SHA-256 6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba (source).
  • src.missing-trigger.18.6 — src/backend/commands/trigger.c at REL_18_6 commit 724edf9bde9d356724ad384a2e196edc3c9f80f7; fixed blob SHA-256 0a539af85b0de1a04779f92202e7bfc77d85ae6da1747ea32527c67f39084fbd (source).
  • src.missing-trigger.10.23 — src/backend/commands/trigger.c at REL_10_23 commit 02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4; fixed blob SHA-256 dac7cdcbe2df1a1bbc77daa23e808b0c81ba8891c9895f10e8b270a15316e225 (source).
  • src.undefined-type.18.6 / src.undefined-type.10.23 — fixed type-name lookup branches; blob SHA-256 fe4670d2401141761096077c6495dd1b7d6a0baf33c9b903f25baee2f88ffd1e / 729d30e50cea059ccfe13491fdc5f997ff98c227795693bf166a163925beb663 (18.6 source, 10.23 source).
  • src.undefined-role.18.6 / src.undefined-role.10.23 — fixed DROP ROLE lookup branches; blob SHA-256 aa8769a2577fff287301d6c82169262cca328515ae940d5a2be4b3e8c21617ed / 9fc68a5a18c4bb5388cc817d2f3f2fcdc64f2752eaa429f78f54b0b443fb59ec (18.6 source, 10.23 source).
  • src.undefined-constraint.18.6 / src.undefined-constraint.10.23 — fixed relation-constraint lookup branches; blob SHA-256 0aa324acd355da955f8eb6cec17f1a0138277a8bebd2c6e999cd2a603d3bfa01 / c90dff2d1d863e6b43102d762cec6e08b6c4ba40458045b525a14b49865d8a65 (18.6 source, 10.23 source).
  • src.undefined-opclass.18.6 / src.undefined-opclass.10.23 — fixed access-method/opclass lookup branches; blob SHA-256 f28ac0580c805553724dc623dd4e20f32de1a84db637e6ac3c6e3d296bd2fae5 / 85c646706908d13dc449bcffa6690d6ead8d326498051fef6b08f817347fa947 (18.6 source, 10.23 source).
  • src.calls.REL_18_6 / src.calls.REL_10_23 — fixed call scans, SHA-256 9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf / 00d16d3eb01b71ccf1b245c8f3102f9d0ec9f36fb02777b8dd1b99fcb263040c.

Compare versions

SQLSTATE evidence and recorded runtime versions

cases · missing_trigger
{
  "assertions": [
    "SQLSTATE is 42704 with a missing-trigger diagnostic",
    "The session remains IDLE",
    "Creating and dropping a real trigger completes the repair lifecycle"
  ],
  "case_id": "missing_trigger",
  "cleanup": "Drop the case schema with an owner connection.",
  "has_snippet": true,
  "position": 0,
  "preconditions": [
    "A runner-owned disposable target is provisioned.",
    "PL/pgSQL is available for the repair trigger function."
  ],
  "repair": "Inspect the relation and trigger name; create or drop the intended trigger explicitly rather than changing unrelated objects.",
  "trigger": "Drop a named trigger that does not exist on a real table.",
  "versions": [
    "10",
    "18"
  ]
}
claims · identity.class-and-condition
{
  "claim_id": "identity.class-and-condition",
  "limits": "Directory identity does not identify every backend path.",
  "method": "Read fixed errcodes.txt and the locked catalogue metadata.",
  "position": 0,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "42704 is the undefined_object condition in Class 42."
}
claims · mechanism.backend-path
{
  "claim_id": "mechanism.backend-path",
  "limits": "Other calls can use the same SQLSTATE with different context or dynamic fields.",
  "method": "Trace the resolved REL_18_6 and REL_10_23 source call records at the locked commits.",
  "position": 1,
  "runtime": [],
  "sources": [
    "src.missing-trigger.18.6",
    "src.missing-trigger.10.23",
    "src.undefined-type.18.6",
    "src.undefined-type.10.23",
    "src.undefined-role.18.6",
    "src.undefined-role.10.23",
    "src.undefined-constraint.18.6",
    "src.undefined-constraint.10.23",
    "src.undefined-opclass.18.6",
    "src.undefined-opclass.10.23"
  ],
  "statement": "The fixed source calls for 42704 include the mechanism and message boundary selected for this page."
}
claims · mechanism.object-resolution-branches
{
  "claim_id": "mechanism.object-resolution-branches",
  "limits": "Only missing_trigger has an accepted natural runtime in this batch; the other messages are source-confirmed boundaries.",
  "method": "Read the complete fixed lookup functions and their undefined-object error branches at REL_18_6 and REL_10_23.",
  "position": 2,
  "runtime": [],
  "sources": [
    "src.undefined-type.18.6",
    "src.undefined-type.10.23",
    "src.undefined-role.18.6",
    "src.undefined-role.10.23",
    "src.undefined-constraint.18.6",
    "src.undefined-constraint.10.23",
    "src.undefined-opclass.18.6",
    "src.undefined-opclass.10.23"
  ],
  "statement": "Fixed 42704 producers resolve different object categories at different lookup points, including type, role, relation constraint, and access-method operator class; the selected runtime covers only the relation-scoped trigger branch."
}
claims · runtime.representative-case
{
  "claim_id": "runtime.representative-case",
  "limits": "This covers the selected case and targets only; it does not generalize to all drivers or intermediate releases.",
  "method": "Run the shared registry case and inspect structured diagnostics, state/recovery assertions, and cleanup.",
  "position": 3,
  "runtime": [
    "runtime.42704-syntax-latest1.latest",
    "runtime.42704-syntax-pg10.pg10"
  ],
  "sources": [
    "manifest.42704",
    "snippet-registry.42704"
  ],
  "statement": "The selected missing_trigger case passed on isolated PostgreSQL 18.6 and 10.21 targets."
}
claims · versions.catalogue-boundary
{
  "claim_id": "versions.catalogue-boundary",
  "limits": "Definition presence is not an exact behavioral introduction.",
  "method": "Read generated facts and selected summaries.",
  "position": 4,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6",
    "src.calls.REL_18_6",
    "src.calls.REL_10_23"
  ],
  "statement": "The locked catalogue records 42704; runtime scope is limited to the selected targets."
}
messages · message.missing-trigger
{
  "limits": "",
  "message_id": "message.missing-trigger",
  "path": "",
  "position": 0,
  "raw": {
    "id": "message.missing-trigger",
    "primary_template": "trigger \"%s\" for table \"%s\" does not exist",
    "severity_source": "explicit ERROR",
    "sources": [
      "src.missing-trigger.18.6",
      "src.missing-trigger.10.23"
    ],
    "sqlstate": "42704"
  },
  "severity": "explicit ERROR",
  "sources": [
    "src.missing-trigger.18.6",
    "src.missing-trigger.10.23"
  ],
  "templates": [
    {
      "kind": "primary",
      "literal": "trigger \" \" for table \" \" does not exist",
      "position": 0,
      "role": "",
      "template": "trigger \"%s\" for table \"%s\" does not exist"
    }
  ]
}
messages · message.undefined-type
{
  "limits": "Source-only type lookup branch; no natural runtime is claimed.",
  "message_id": "message.undefined-type",
  "path": "",
  "position": 1,
  "raw": {
    "id": "message.undefined-type",
    "limits": "Source-only type lookup branch; no natural runtime is claimed.",
    "primary_template": "type \"%s\" does not exist",
    "severity_source": "explicit ERROR",
    "sources": [
      "src.undefined-type.18.6",
      "src.undefined-type.10.23"
    ],
    "sqlstate": "42704"
  },
  "severity": "explicit ERROR",
  "sources": [
    "src.undefined-type.18.6",
    "src.undefined-type.10.23"
  ],
  "templates": [
    {
      "kind": "primary",
      "literal": "type \" \" does not exist",
      "position": 0,
      "role": "",
      "template": "type \"%s\" does not exist"
    }
  ]
}
messages · message.undefined-role
{
  "limits": "Source-only DROP ROLE lookup branch; NOTICE missing_ok paths are not selected here.",
  "message_id": "message.undefined-role",
  "path": "",
  "position": 2,
  "raw": {
    "id": "message.undefined-role",
    "limits": "Source-only DROP ROLE lookup branch; NOTICE missing_ok paths are not selected here.",
    "primary_template": "role \"%s\" does not exist",
    "severity_source": "explicit ERROR",
    "sources": [
      "src.undefined-role.18.6",
      "src.undefined-role.10.23"
    ],
    "sqlstate": "42704"
  },
  "severity": "explicit ERROR",
  "sources": [
    "src.undefined-role.18.6",
    "src.undefined-role.10.23"
  ],
  "templates": [
    {
      "kind": "primary",
      "literal": "role \" \" does not exist",
      "position": 0,
      "role": "",
      "template": "role \"%s\" does not exist"
    }
  ]
}
messages · message.undefined-constraint
{
  "limits": "Source-only relation constraint lookup branch; no natural runtime is claimed.",
  "message_id": "message.undefined-constraint",
  "path": "",
  "position": 3,
  "raw": {
    "id": "message.undefined-constraint",
    "limits": "Source-only relation constraint lookup branch; no natural runtime is claimed.",
    "primary_template": "constraint \"%s\" for table \"%s\" does not exist",
    "severity_source": "explicit ERROR",
    "sources": [
      "src.undefined-constraint.18.6",
      "src.undefined-constraint.10.23"
    ],
    "sqlstate": "42704"
  },
  "severity": "explicit ERROR",
  "sources": [
    "src.undefined-constraint.18.6",
    "src.undefined-constraint.10.23"
  ],
  "templates": [
    {
      "kind": "primary",
      "literal": "constraint \" \" for table \" \" does not exist",
      "position": 0,
      "role": "",
      "template": "constraint \"%s\" for table \"%s\" does not exist"
    }
  ]
}
messages · message.undefined-opclass
{
  "limits": "Source-only access-method/operator-class lookup branch; no natural runtime is claimed.",
  "message_id": "message.undefined-opclass",
  "path": "",
  "position": 4,
  "raw": {
    "id": "message.undefined-opclass",
    "limits": "Source-only access-method/operator-class lookup branch; no natural runtime is claimed.",
    "primary_template": "operator class \"%s\" does not exist for access method \"%s\"",
    "severity_source": "explicit ERROR",
    "sources": [
      "src.undefined-opclass.18.6",
      "src.undefined-opclass.10.23"
    ],
    "sqlstate": "42704"
  },
  "severity": "explicit ERROR",
  "sources": [
    "src.undefined-opclass.18.6",
    "src.undefined-opclass.10.23"
  ],
  "templates": [
    {
      "kind": "primary",
      "literal": "operator class \" \" does not exist for access method \" \"",
      "position": 0,
      "role": "",
      "template": "operator class \"%s\" does not exist for access method \"%s\""
    }
  ]
}
runtimes · runtime.42704-syntax-latest1.latest · 18.6 (Homebrew) · passed
{
  "cases": [],
  "limits": "",
  "position": 0,
  "raw": {
    "assertions": [
      {
        "expected": "42704",
        "name": "42704 SQLSTATE",
        "observed": "42704",
        "passed": true
      },
      {
        "expected": "ERROR",
        "name": "42704 ERROR severity",
        "observed": "ERROR",
        "passed": true
      },
      {
        "expected": "trigger ... does not exist",
        "name": "missing-trigger diagnostic names trigger",
        "observed": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist",
        "passed": true
      },
      {
        "expected": "IDLE",
        "name": "missing trigger leaves session usable",
        "observed": "IDLE",
        "passed": true
      },
      {
        "expected": {
          "status": "IDLE",
          "triggers": 0
        },
        "name": "real trigger lifecycle repairs object path",
        "observed": {
          "status": "IDLE",
          "triggers": 0
        },
        "passed": true
      }
    ],
    "case_manifest": {
      "id": "manifest.42704",
      "kind": "local_artifact",
      "path": "verify/cases/42704/cases.json",
      "sha256": "ac45b2c35a40efef31fd9dbf6bf283723aec24fcf5ad58841b9684a3b3412b89",
      "source_role": "case_manifest"
    },
    "cleanup": {
      "errors": [],
      "passed": true
    },
    "environment": {
      "TimeZone": "Asia/Shanghai",
      "backend_pid": 1721,
      "binary": {
        "bindir": "/opt/homebrew/Cellar/postgresql@18/18.6/bin",
        "pg_config": "/opt/homebrew/bin/pg_config",
        "pg_config_version": "PostgreSQL 18.6 (Homebrew)",
        "postgres": "/opt/homebrew/Cellar/postgresql@18/18.6/bin/postgres"
      },
      "connection_scope": "runner-owned localhost port",
      "current_user": "runner",
      "docker": {},
      "lc_messages": "C",
      "libpq_version": "18.6",
      "locale": "en_US.UTF-8",
      "log_destination": "csvlog,jsonlog",
      "log_error_verbosity": "verbose",
      "log_min_error_statement": "error",
      "log_min_messages": "error",
      "logging_collector": "on",
      "machine": "arm64",
      "max_connections": "100",
      "platform": "macOS-26.6.2-arm64-arm-64bit-Mach-O",
      "psycopg_version": "3.3.5",
      "python_version": "3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)]",
      "server_encoding": "UTF8",
      "server_version": "18.6 (Homebrew)",
      "server_version_num": "180006",
      "target_kind": "latest",
      "wal_level": "logical"
    },
    "id": "runtime.42704-syntax-latest1.latest",
    "observed": {
      "connection_autocommit": true,
      "diagnostic": {
        "column_name": null,
        "constraint_name": null,
        "context": null,
        "datatype_name": null,
        "exception_type": "UndefinedObject",
        "internal_position": null,
        "internal_query": null,
        "message_detail": null,
        "message_hint": null,
        "message_primary": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist",
        "schema_name": null,
        "severity": "ERROR",
        "severity_nonlocalized": "ERROR",
        "source_file": "trigger.c",
        "source_function": "get_trigger_oid",
        "source_line": "1409",
        "sqlstate": "42704",
        "statement_position": null,
        "table_name": null,
        "text": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist"
      },
      "failed_status": "IDLE",
      "repair_status": "IDLE",
      "trigger_count": 0
    },
    "raw": "verify/results/42704-syntax-latest1/latest/raw.jsonl",
    "raw_sha256": "fba087ee2fedf564f2e7302b3c293bc31d4846b6a40a07872156c4dc9b0cdbba",
    "run_id": "42704-syntax-latest1",
    "server_version": "18.6 (Homebrew)",
    "server_version_num": 180006,
    "snippet_registry": {
      "id": "snippet-registry.42704",
      "kind": "local_artifact",
      "path": "verify/cases/42704/snippets.json",
      "sha256": "a75d3b1e067ecb419473d902d0eeae84591441a616b12fbfd796f6c4e3feb336",
      "source_role": "snippet_registry"
    },
    "status": "passed",
    "summary": "verify/results/42704-syntax-latest1/latest/summary.json",
    "summary_sha256": "e1789ad68db707a3ed5682ba37713a958186953de2dce5ade696f5120abace9e",
    "target": "latest"
  },
  "run_id": "42704-syntax-latest1",
  "runtime_id": "runtime.42704-syntax-latest1.latest",
  "server_version": "18.6 (Homebrew)",
  "status": "passed",
  "target": "latest"
}
runtimes · runtime.42704-syntax-pg10.pg10 · 10.21 (Debian 10.21-1.pgdg90+1) · passed
{
  "cases": [],
  "limits": "",
  "position": 1,
  "raw": {
    "assertions": [
      {
        "expected": "42704",
        "name": "42704 SQLSTATE",
        "observed": "42704",
        "passed": true
      },
      {
        "expected": "ERROR",
        "name": "42704 ERROR severity",
        "observed": "ERROR",
        "passed": true
      },
      {
        "expected": "trigger ... does not exist",
        "name": "missing-trigger diagnostic names trigger",
        "observed": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist",
        "passed": true
      },
      {
        "expected": "IDLE",
        "name": "missing trigger leaves session usable",
        "observed": "IDLE",
        "passed": true
      },
      {
        "expected": {
          "status": "IDLE",
          "triggers": 0
        },
        "name": "real trigger lifecycle repairs object path",
        "observed": {
          "status": "IDLE",
          "triggers": 0
        },
        "passed": true
      }
    ],
    "case_manifest": {
      "id": "manifest.42704",
      "kind": "local_artifact",
      "path": "verify/cases/42704/cases.json",
      "sha256": "ac45b2c35a40efef31fd9dbf6bf283723aec24fcf5ad58841b9684a3b3412b89",
      "source_role": "case_manifest"
    },
    "cleanup": {
      "errors": [],
      "passed": true
    },
    "environment": {
      "TimeZone": "Etc/UTC",
      "backend_pid": 78,
      "binary": {},
      "connection_scope": "runner-owned localhost port",
      "current_user": "postgres",
      "docker": {
        "architecture": "arm64",
        "command": "/usr/local/bin/docker",
        "digest": "sha256:b2baf8998630663d21370da06387c950e587071bdd307ee34e661cdcc7442bcc",
        "id": "sha256:b2baf8998630663d21370da06387c950e587071bdd307ee34e661cdcc7442bcc",
        "image": "postgres:10",
        "image_created": "2022-06-23T09:11:18.374607054Z",
        "image_ref": "postgres@sha256:b2baf8998630663d21370da06387c950e587071bdd307ee34e661cdcc7442bcc",
        "log_destination": "csvlog",
        "os": "linux",
        "repo_digests": [
          "postgres@sha256:b2baf8998630663d21370da06387c950e587071bdd307ee34e661cdcc7442bcc"
        ]
      },
      "lc_messages": "en_US.utf8",
      "libpq_version": "18.6",
      "locale": "en_US.UTF-8",
      "log_destination": "csvlog",
      "log_error_verbosity": "verbose",
      "log_min_error_statement": "error",
      "log_min_messages": "error",
      "logging_collector": "on",
      "machine": "arm64",
      "max_connections": "100",
      "platform": "macOS-26.6.2-arm64-arm-64bit-Mach-O",
      "psycopg_version": "3.3.5",
      "python_version": "3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)]",
      "server_encoding": "UTF8",
      "server_version": "10.21 (Debian 10.21-1.pgdg90+1)",
      "server_version_num": "100021",
      "target_kind": "pg10",
      "wal_level": "logical"
    },
    "id": "runtime.42704-syntax-pg10.pg10",
    "observed": {
      "connection_autocommit": true,
      "diagnostic": {
        "column_name": null,
        "constraint_name": null,
        "context": null,
        "datatype_name": null,
        "exception_type": "UndefinedObject",
        "internal_position": null,
        "internal_query": null,
        "message_detail": null,
        "message_hint": null,
        "message_primary": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist",
        "schema_name": null,
        "severity": "ERROR",
        "severity_nonlocalized": "ERROR",
        "source_file": "trigger.c",
        "source_function": "get_trigger_oid",
        "source_line": "1386",
        "sqlstate": "42704",
        "statement_position": null,
        "table_name": null,
        "text": "trigger \"missing_trigger\" for table \"trigger_table\" does not exist"
      },
      "failed_status": "IDLE",
      "repair_status": "IDLE",
      "trigger_count": 0
    },
    "raw": "verify/results/42704-syntax-pg10/pg10/raw.jsonl",
    "raw_sha256": "509e72e6a18b1718654b791618f6b2f91f0aa2aed8800ecf797e6c4157846c80",
    "run_id": "42704-syntax-pg10",
    "server_version": "10.21 (Debian 10.21-1.pgdg90+1)",
    "server_version_num": 100021,
    "snippet_registry": {
      "id": "snippet-registry.42704",
      "kind": "local_artifact",
      "path": "verify/cases/42704/snippets.json",
      "sha256": "a75d3b1e067ecb419473d902d0eeae84591441a616b12fbfd796f6c4e3feb336",
      "source_role": "snippet_registry"
    },
    "status": "passed",
    "summary": "verify/results/42704-syntax-pg10/pg10/summary.json",
    "summary_sha256": "03a259238ea17215a8bec2bee755e4389e863b75dcb0cd25474122c61e7241de",
    "target": "pg10"
  },
  "run_id": "42704-syntax-pg10",
  "runtime_id": "runtime.42704-syntax-pg10.pg10",
  "server_version": "10.21 (Debian 10.21-1.pgdg90+1)",
  "status": "passed",
  "target": "pg10"
}
sources · src.errcodes.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/utils/errcodes.txt",
  "position": 0,
  "sha256": "6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba",
  "source_id": "src.errcodes.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/errcodes.txt"
}
sources · src.calls.REL_18_6
{
  "commit": "",
  "docs_url": "",
  "kind": "local_artifact",
  "location": "",
  "path": "raw/calls/REL_18_6.jsonl",
  "position": 1,
  "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf",
  "source_id": "src.calls.REL_18_6",
  "tag": "",
  "url": ""
}
sources · src.calls.REL_10_23
{
  "commit": "",
  "docs_url": "",
  "kind": "local_artifact",
  "location": "",
  "path": "raw/calls/REL_10_23.jsonl",
  "position": 2,
  "sha256": "00d16d3eb01b71ccf1b245c8f3102f9d0ec9f36fb02777b8dd1b99fcb263040c",
  "source_id": "src.calls.REL_10_23",
  "tag": "",
  "url": ""
}
sources · src.missing-trigger.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/trigger.c",
  "position": 3,
  "sha256": "0a539af85b0de1a04779f92202e7bfc77d85ae6da1747ea32527c67f39084fbd",
  "source_id": "src.missing-trigger.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/trigger.c#L1406-L1409"
}
sources · src.missing-trigger.10.23
{
  "commit": "02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/trigger.c",
  "position": 4,
  "sha256": "dac7cdcbe2df1a1bbc77daa23e808b0c81ba8891c9895f10e8b270a15316e225",
  "source_id": "src.missing-trigger.10.23",
  "tag": "REL_10_23",
  "url": "https://github.com/postgres/postgres/blob/02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4/src/backend/commands/trigger.c#L1383-L1386"
}
sources · src.undefined-type.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/catalog/objectaddress.c",
  "position": 5,
  "sha256": "fe4670d2401141761096077c6495dd1b7d6a0baf33c9b903f25baee2f88ffd1e",
  "source_id": "src.undefined-type.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/objectaddress.c#L1618-L1624"
}
sources · src.undefined-type.10.23
{
  "commit": "02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/catalog/objectaddress.c",
  "position": 6,
  "sha256": "729d30e50cea059ccfe13491fdc5f997ff98c227795693bf166a163925beb663",
  "source_id": "src.undefined-type.10.23",
  "tag": "REL_10_23",
  "url": "https://github.com/postgres/postgres/blob/02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4/src/backend/catalog/objectaddress.c#L1493-L1509"
}
sources · src.undefined-role.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/user.c",
  "position": 7,
  "sha256": "aa8769a2577fff287301d6c82169262cca328515ae940d5a2be4b3e8c21617ed",
  "source_id": "src.undefined-role.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/user.c#L1129-L1135"
}
sources · src.undefined-role.10.23
{
  "commit": "02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/user.c",
  "position": 8,
  "sha256": "9fc68a5a18c4bb5388cc817d2f3f2fcdc64f2752eaa429f78f54b0b443fb59ec",
  "source_id": "src.undefined-role.10.23",
  "tag": "REL_10_23",
  "url": "https://github.com/postgres/postgres/blob/02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4/src/backend/commands/user.c#L1017-L1023"
}
sources · src.undefined-constraint.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/catalog/pg_constraint.c",
  "position": 9,
  "sha256": "0aa324acd355da955f8eb6cec17f1a0138277a8bebd2c6e999cd2a603d3bfa01",
  "source_id": "src.undefined-constraint.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/pg_constraint.c#L1218-L1238"
}
sources · src.undefined-constraint.10.23
{
  "commit": "02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/catalog/pg_constraint.c",
  "position": 10,
  "sha256": "c90dff2d1d863e6b43102d762cec6e08b6c4ba40458045b525a14b49865d8a65",
  "source_id": "src.undefined-constraint.10.23",
  "tag": "REL_10_23",
  "url": "https://github.com/postgres/postgres/blob/02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4/src/backend/catalog/pg_constraint.c#L781-L801"
}
sources · src.undefined-opclass.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/opclasscmds.c",
  "position": 11,
  "sha256": "f28ac0580c805553724dc623dd4e20f32de1a84db637e6ac3c6e3d296bd2fae5",
  "source_id": "src.undefined-opclass.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/opclasscmds.c#L145-L207"
}
sources · src.undefined-opclass.10.23
{
  "commit": "02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/commands/opclasscmds.c",
  "position": 12,
  "sha256": "85c646706908d13dc449bcffa6690d6ead8d326498051fef6b08f817347fa947",
  "source_id": "src.undefined-opclass.10.23",
  "tag": "REL_10_23",
  "url": "https://github.com/postgres/postgres/blob/02991e79f8f58bc208f05dcc8af0c62dbe0a6ea4/src/backend/commands/opclasscmds.c#L145-L207"
}
sources · manifest.42704
{
  "commit": "",
  "docs_url": "",
  "kind": "local_artifact",
  "location": "",
  "path": "verify/cases/42704/cases.json",
  "position": 13,
  "sha256": "ac45b2c35a40efef31fd9dbf6bf283723aec24fcf5ad58841b9684a3b3412b89",
  "source_id": "manifest.42704",
  "tag": "",
  "url": ""
}
sources · snippet-registry.42704
{
  "commit": "",
  "docs_url": "",
  "kind": "local_artifact",
  "location": "",
  "path": "verify/cases/42704/snippets.json",
  "position": 14,
  "sha256": "a75d3b1e067ecb419473d902d0eeae84591441a616b12fbfd796f6c4e3feb336",
  "source_id": "snippet-registry.42704",
  "tag": "",
  "url": ""
}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · english-manuals:758dd9eb66b5c3e782f6946de46cb7bd886fa52afd48ca4e3a8bfae24e29577b

Text language: en · english-manuals:758dd9eb66b5c3e782f6946de46cb7bd886fa52afd48ca4e3a8bfae24e29577b