summaryrefslogtreecommitdiff
path: root/pgsql_mib_pieces/pg_shdescription.mib
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql_mib_pieces/pg_shdescription.mib')
-rw-r--r--pgsql_mib_pieces/pg_shdescription.mib59
1 files changed, 59 insertions, 0 deletions
diff --git a/pgsql_mib_pieces/pg_shdescription.mib b/pgsql_mib_pieces/pg_shdescription.mib
new file mode 100644
index 0000000..fa44d5c
--- /dev/null
+++ b/pgsql_mib_pieces/pg_shdescription.mib
@@ -0,0 +1,59 @@
+pgsqlPgShdescriptionTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF pgsqlPgShdescriptionEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The catalog pg_shdescription stores optional descriptions (comments) for shared database objects. Descriptions can be manipulated with the COMMENT command and viewed with psql's \d commands. See also pg_description, which performs a similar function for descriptions involving objects within a single database. Unlike most system catalogs, pg_shdescription is shared across all databases of a cluster: there is only one copy of pg_shdescription per cluster, not one per database."
+ ::= { pgsqlCatalogTables 29 }
+
+pgsqlPgShdescriptionEntry OBJECT-TYPE
+ SYNTAX PgsqlPgShdescriptionEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "Represents a single shared object description"
+ INDEX { pgsnmpdConnID, pgsqlPgShdescriptionEntryOID }
+ ::= { pgsqlPgShdescriptionTable 1 }
+
+PgsqlPgShdescriptionEntry ::=
+ SEQUENCE {
+ pgsqlPgShdescriptionEntryOID INTEGER,
+ pgsqlPgShdescriptionObjoid INTEGER,
+ pgsqlPgShdescriptionClassoid INTEGER,
+ pgsqlPgShdescriptionDescription DisplayString
+ }
+
+pgsqlPgShdescriptionEntryOID OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "OID of this entry"
+ ::= { pgsqlPgShdescriptionEntry 1 }
+
+pgsqlPgShdescriptionObjoid OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The OID of the object this description pertains to"
+ ::= { pgsqlPgShdescriptionEntry 2 }
+
+pgsqlPgShdescriptionClassoid OBJECT-TYPE
+ SYNTAX INTEGER
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The OID of the system catalog this object appears in"
+ ::= { pgsqlPgShdescriptionEntry 3 }
+
+pgsqlPgShdescriptionDescription OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Arbitrary text that serves as the description of this object"
+ ::= { pgsqlPgShdescriptionEntry 4 }
+
+
+---------------------------------------