Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-db.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-db.xml,v diff -u -r1.18 -r1.19 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-db.xml 11 Dec 2010 23:36:32 -0000 1.18 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-db.xml 7 Aug 2017 23:47:54 -0000 1.19 @@ -65,7 +65,7 @@ The Database Creation Script example missing - The creation script calls a function in PL/pgSQL (PL/pgSQL is a procedural language extention to sql), + The creation script calls a function in PL/pgSQL (PL/pgSQL is a procedural language extension to sql), content_type__create_type, which in turn creates the necessary database changes to support our data object. Notice the use of "mfp." This is derived from "My @@ -89,7 +89,7 @@ (1 row) [$OPENACS_SERVICE_NAME postgresql]$ - If there are errors, use them to debug the sql file and try again. If there are errors in the database table creation, you may need to run the drop script to drop the table so that you can recreate it. The drop script will probably have errors since some of the things it's trying to drop may be missing. They can be ignored. + If there are errors, use them to debug the sql file and try again. If there are errors in the database table creation, you may need to run the drop script to drop the table so that you can recreate it. The drop script will probably have errors since some of the things it's trying to drop may be missing. They can be ignored. Once you get the same output as shown above, test the drop script: [$OPENACS_SERVICE_NAME postgresql]$ psql service0 -f myfirstpackage-drop.sql