Postgres Dev.

From Earlham CS Department
Revision as of 20:15, 13 April 2009 by Purcebr (talk | contribs)
Jump to navigation Jump to search

Postgres Internals Notes

  • Declaration of RelationGetRelationNamespace:
postgresql-8.3.7/src/include/utils/rel.h
    • RelationGetNamespace
      • There's a member variable: relnamespace in Form_pg_class data type.

It is of type id0, potentially representing a unique namespace identifier.

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


Test Environment

Open Questions