Postgres Dev.

From Earlham CS Department
Revision as of 20:09, 13 April 2009 by Purcebr (talk | contribs) (New page: == Postgres Internals Notes== *Declaration of RelationGetRelationNamespace: <pre><nowiki> postgresql-8.3.7/src/include/utils/rel.h </pre></nowiki> ** RelationGetNamespace *** There's...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Postgres Internals Notes

  • Declaration of RelationGetRelationNamespace:
<nowiki>
postgresql-8.3.7/src/include/utils/rel.h

</nowiki>

    • RelationGetNamespace
      • There's a member variable: relnamespace in Form_pg_class data type.

What type is that?

      • What are it's member functions, and can we extract a char[] from this type representing the name of the namespace?
  • What's the difference between a tablespace and a namespace?
  • Error "violates foreign key constraint:
<nowiki>
postgresql-8.3.7/src/backend/utils/adt/ri_triggers.c:

</nowiki>