Skip to content

Dependencies

Objects this object depends on, for the cases the dependency graph cannot infer: an ordering the topological sort would otherwise get wrong, such as a table that a view reads, or a function that a SQL-standard function body calls. A foreign key needs no entry: the build adds each foreign key after all tables. Each entry names an object as schema.name, or unqualified for a schemaless type. A function or aggregate carries the argument types of one overload (test.f(integer), or test.agg(*) for an aggregate with no arguments), and an operator its left and right argument types (test.=~=(integer, integer)), since overloads share a name, and a cast its types ((int4 AS timestamp)). The argument types compare as PostgreSQL resolves them. A bare function, aggregate or operator name is correct only when one overload has it.

Properties

Property Type Required Description
aggregates array of string — The aggregates this object depends on.
collations array of string — The collations this object depends on.
domains array of string — The domains this object depends on.
event_triggers array of string — The event triggers this object depends on.
extensions array of string — The extensions this object depends on.
foreign_data_wrappers array of string — The foreign data wrappers this object depends on.
functions array of string — The functions this object depends on.
languages array of string — The languages this object depends on.
materialized_views array of string — The materialized views this object depends on.
operators array of string — The operators this object depends on, each with its left and right argument types (test.=~=(integer, integer), or test.!!!(NONE, integer) for a prefix operator).
publications array of string — The publications this object depends on.
sequences array of string — The sequences this object depends on.
servers array of string — The servers this object depends on.
subscriptions array of string — The subscriptions this object depends on.
tables array of string — The tables this object depends on.
types array of string — The types this object depends on.
user_mappings array of string — The user mappings this object depends on.
users array of string — The users this object depends on.
views array of string — The views this object depends on.

No other properties are accepted.


Source: schemata/dependencies.yml · Resolved JSON Schema: dependencies.json