|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.230 2010/09/13 17:02:34 rhaas Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.231 2010/09/17 18:49:54 rhaas Exp $ --> |
2 | 2 | <!-- |
3 | 3 | Documentation of the system catalogs, directed toward PostgreSQL developers |
4 | 4 | --> |
|
113 | 113 | <entry>databases within this database cluster</entry> |
114 | 114 | </row> |
115 | 115 |
|
| 116 | + <row> |
| 117 | + <entry><link linkend="catalog-pg-db-role-setting"><structname>pg_db_role_setting</structname></link></entry> |
| 118 | + <entry>per-role and per-database settings</entry> |
| 119 | + </row> |
| 120 | + |
116 | 121 | <row> |
117 | 122 | <entry><link linkend="catalog-pg-default-acl"><structname>pg_default_acl</structname></link></entry> |
118 | 123 | <entry>default privileges for object types</entry> |
|
203 | 208 | <entry>query rewrite rules</entry> |
204 | 209 | </row> |
205 | 210 |
|
206 | | - <row> |
207 | | - <entry><link linkend="catalog-pg-db-role-setting"><structname>pg_db_role_setting</structname></link></entry> |
208 | | - <entry>per-role and per-database settings</entry> |
209 | | - </row> |
210 | | - |
211 | 211 | <row> |
212 | 212 | <entry><link linkend="catalog-pg-shdepend"><structname>pg_shdepend</structname></link></entry> |
213 | 213 | <entry>dependencies on shared objects</entry> |
|
2213 | 2213 | </sect1> |
2214 | 2214 |
|
2215 | 2215 |
|
| 2216 | + <sect1 id="catalog-pg-db-role-setting"> |
| 2217 | + <title><structname>pg_db_role_setting</structname></title> |
| 2218 | + |
| 2219 | + <indexterm zone="catalog-pg-db-role-setting"> |
| 2220 | + <primary>pg_db_role_setting</primary> |
| 2221 | + </indexterm> |
| 2222 | + |
| 2223 | + <para> |
| 2224 | + The catalog <structname>pg_db_role_setting</structname> records the default |
| 2225 | + values that have been set for run-time configuration variables, |
| 2226 | + for each role and database combination. |
| 2227 | + </para> |
| 2228 | + |
| 2229 | + <para> |
| 2230 | + Unlike most system catalogs, <structname>pg_db_role_setting</structname> |
| 2231 | + is shared across all databases of a cluster: there is only one |
| 2232 | + copy of <structname>pg_db_role_setting</structname> per cluster, not |
| 2233 | + one per database. |
| 2234 | + </para> |
| 2235 | + |
| 2236 | + <table> |
| 2237 | + <title><structname>pg_db_role_setting</> Columns</title> |
| 2238 | + |
| 2239 | + <tgroup cols="4"> |
| 2240 | + <thead> |
| 2241 | + <row> |
| 2242 | + <entry>Name</entry> |
| 2243 | + <entry>Type</entry> |
| 2244 | + <entry>References</entry> |
| 2245 | + <entry>Description</entry> |
| 2246 | + </row> |
| 2247 | + </thead> |
| 2248 | + |
| 2249 | + <tbody> |
| 2250 | + <row> |
| 2251 | + <entry><structfield>setdatabase</structfield></entry> |
| 2252 | + <entry><type>oid</type></entry> |
| 2253 | + <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.oid</literal></entry> |
| 2254 | + <entry>The OID of the database the setting is applicable to, or zero if not database-specific</entry> |
| 2255 | + </row> |
| 2256 | + |
| 2257 | + <row> |
| 2258 | + <entry><structfield>setrole</structfield></entry> |
| 2259 | + <entry><type>oid</type></entry> |
| 2260 | + <entry><literal><link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.oid</literal></entry> |
| 2261 | + <entry>The OID of the role the setting is applicable to, or zero if not role-specific</entry> |
| 2262 | + </row> |
| 2263 | + |
| 2264 | + <row> |
| 2265 | + <entry><structfield>setconfig</structfield></entry> |
| 2266 | + <entry><type>text[]</type></entry> |
| 2267 | + <entry></entry> |
| 2268 | + <entry>Defaults for run-time configuration variables</entry> |
| 2269 | + </row> |
| 2270 | + </tbody> |
| 2271 | + </tgroup> |
| 2272 | + </table> |
| 2273 | + </sect1> |
| 2274 | + |
| 2275 | + |
2216 | 2276 | <sect1 id="catalog-pg-default-acl"> |
2217 | 2277 | <title><structname>pg_default_acl</structname></title> |
2218 | 2278 |
|
|
4168 | 4228 |
|
4169 | 4229 | </sect1> |
4170 | 4230 |
|
4171 | | - <sect1 id="catalog-pg-db-role-setting"> |
4172 | | - <title><structname>pg_db_role_setting</structname></title> |
4173 | | - |
4174 | | - <indexterm zone="catalog-pg-db-role-setting"> |
4175 | | - <primary>pg_db_role_setting</primary> |
4176 | | - </indexterm> |
4177 | | - |
4178 | | - <para> |
4179 | | - The catalog <structname>pg_db_role_setting</structname> records the default |
4180 | | - values that have been set for run-time configuration variables, |
4181 | | - for each role and database combination. |
4182 | | - </para> |
4183 | | - |
4184 | | - <para> |
4185 | | - Unlike most system catalogs, <structname>pg_db_role_setting</structname> |
4186 | | - is shared across all databases of a cluster: there is only one |
4187 | | - copy of <structname>pg_db_role_setting</structname> per cluster, not |
4188 | | - one per database. |
4189 | | - </para> |
4190 | | - |
4191 | | - <table> |
4192 | | - <title><structname>pg_db_role_setting</> Columns</title> |
4193 | | - |
4194 | | - <tgroup cols="4"> |
4195 | | - <thead> |
4196 | | - <row> |
4197 | | - <entry>Name</entry> |
4198 | | - <entry>Type</entry> |
4199 | | - <entry>References</entry> |
4200 | | - <entry>Description</entry> |
4201 | | - </row> |
4202 | | - </thead> |
4203 | | - |
4204 | | - <tbody> |
4205 | | - <row> |
4206 | | - <entry><structfield>setdatabase</structfield></entry> |
4207 | | - <entry><type>oid</type></entry> |
4208 | | - <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.oid</literal></entry> |
4209 | | - <entry>The OID of the database the setting is applicable to, or zero if not database-specific</entry> |
4210 | | - </row> |
4211 | | - |
4212 | | - <row> |
4213 | | - <entry><structfield>setrole</structfield></entry> |
4214 | | - <entry><type>oid</type></entry> |
4215 | | - <entry><literal><link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.oid</literal></entry> |
4216 | | - <entry>The OID of the role the setting is applicable to, or zero if not role-specific</entry> |
4217 | | - </row> |
4218 | | - |
4219 | | - <row> |
4220 | | - <entry><structfield>setconfig</structfield></entry> |
4221 | | - <entry><type>text[]</type></entry> |
4222 | | - <entry></entry> |
4223 | | - <entry>Defaults for run-time configuration variables</entry> |
4224 | | - </row> |
4225 | | - </tbody> |
4226 | | - </tgroup> |
4227 | | - </table> |
4228 | | - </sect1> |
4229 | | - |
4230 | 4231 |
|
4231 | 4232 | <sect1 id="catalog-pg-shdepend"> |
4232 | 4233 | <title><structname>pg_shdepend</structname></title> |
|
0 commit comments