summaryrefslogtreecommitdiff
path: root/pgsql_mib_pieces/pg_inherits.mib
diff options
context:
space:
mode:
authorJoshua Tolley2010-11-26 17:22:01 +0000
committerJoshua Tolley2010-11-26 17:22:01 +0000
commitfe9d8f21bbdfb442b8233b4627a0c67dc458a8bd (patch)
treea88daa49fc47e64777af3d331cf142e0604c2d48 /pgsql_mib_pieces/pg_inherits.mib
Import from CVSHEADmaster
Diffstat (limited to 'pgsql_mib_pieces/pg_inherits.mib')
-rw-r--r--pgsql_mib_pieces/pg_inherits.mib59
1 files changed, 59 insertions, 0 deletions
diff --git a/pgsql_mib_pieces/pg_inherits.mib b/pgsql_mib_pieces/pg_inherits.mib
new file mode 100644
index 0000000..ca70dae
--- /dev/null
+++ b/pgsql_mib_pieces/pg_inherits.mib
@@ -0,0 +1,59 @@
+pgsqlPgInheritsTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF pgsqlPgInheritsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The catalog pg_inherits records information about table inheritance hierarchies. There is one entry for each direct child table in the database. (Indirect inheritance can be determined by following chains of entries.)"
+ ::= { pgsqlCatalogTables 18 }
+
+pgsqlPgInheritsEntry OBJECT-TYPE
+ SYNTAX PgsqlPgInheritsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "Represents an inheritance relationship"
+ INDEX { pgsnmpdConnID, rdbmsDbIndex, pgsqlPgInheritsEntryOID }
+ ::= { pgsqlPgInheritsTable 1 }
+
+PgsqlPgInheritsEntry ::=
+ SEQUENCE {
+ pgsqlPgInheritsEntryOID INTEGER,
+ pgsqlPgInheritsInhrelid INTEGER,
+ pgsqlPgInheritsInhparent INTEGER,
+ pgsqlPgInheritsInhseqno INTEGER
+ }
+
+pgsqlPgInheritsEntryOID OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "OID of this entry"
+ ::= { pgsqlPgInheritsEntry 1 }
+
+pgsqlPgInheritsInhrelid OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The OID of the child table"
+ ::= { pgsqlPgInheritsEntry 2 }
+
+pgsqlPgInheritsInhparent OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The OID of the parent table"
+ ::= { pgsqlPgInheritsEntry 3 }
+
+pgsqlPgInheritsInhseqno OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "If there is more than one direct parent for a child table (multiple inheritance), this number tells the order in which the inherited columns are to be arranged. The count starts at 1"
+ ::= { pgsqlPgInheritsEntry 4 }
+
+
+---------------------------------------