<HTML ><HEAD ><TITLE >Advanced Features</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REV="MADE" HREF="mailto:pgsql-docs@postgresql.org"><LINK REL="HOME" TITLE="PostgreSQL 7.3.2 Documentation" HREF="index.html"><LINK REL="UP" TITLE="PostgreSQL 7.3.2 Tutorial" HREF="tutorial.html"><LINK REL="PREVIOUS" TITLE="Deletions" HREF="tutorial-delete.html"><LINK REL="NEXT" TITLE="Views" HREF="tutorial-views.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" CONTENT="2003-02-03T20:17:34"></HEAD ><BODY CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PostgreSQL 7.3.2 Documentation</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="tutorial-delete.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="tutorial-views.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="TUTORIAL-ADVANCED" >Chapter 3. Advanced Features</A ></H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >3.1. <A HREF="tutorial-advanced.html#TUTORIAL-ADVANCED-INTRO" >Introduction</A ></DT ><DT >3.2. <A HREF="tutorial-views.html" >Views</A ></DT ><DT >3.3. <A HREF="tutorial-fk.html" >Foreign Keys</A ></DT ><DT >3.4. <A HREF="tutorial-transactions.html" >Transactions</A ></DT ><DT >3.5. <A HREF="tutorial-inheritance.html" >Inheritance</A ></DT ><DT >3.6. <A HREF="tutorial-conclusion.html" >Conclusion</A ></DT ></DL ></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="TUTORIAL-ADVANCED-INTRO" >3.1. Introduction</A ></H1 ><P > In the previous chapter we have covered the basics of using <SPAN CLASS="ACRONYM" >SQL</SPAN > to store and access your data in <SPAN CLASS="PRODUCTNAME" >PostgreSQL</SPAN >. We will now discuss some more advanced features of <SPAN CLASS="ACRONYM" >SQL</SPAN > that simplify management and prevent loss or corruption of your data. Finally, we will look at some <SPAN CLASS="PRODUCTNAME" >PostgreSQL</SPAN > extensions. </P ><P > This chapter will on occasion refer to examples found in <A HREF="tutorial-sql.html" >Chapter 2</A > to change or improve them, so it will be of advantage if you have read that chapter. Some examples from this chapter can also be found in <TT CLASS="FILENAME" >advanced.sql</TT > in the tutorial directory. This file also contains some example data to load, which is not repeated here. (Refer to <A HREF="tutorial-sql.html#TUTORIAL-SQL-INTRO" >Section 2.1</A > for how to use the file.) </P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="tutorial-delete.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="tutorial-views.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Deletions</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="tutorial.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Views</TD ></TR ></TABLE ></DIV ></BODY ></HTML >