@H_
404_2@
A useful extension to Postgre
sql typically includes multiple
sql objects; for example,a new data type will require new functions,new operators,and probably new index operator classes. It is helpful to collect all these objects into a single package to simplify database management. Postgre
sql calls such a package an extension. To define an extension,you need at least a script file that contains the
sql commands to create the extension's objects,and a control file that specifies a few basic properties of the extension itself. If the extension includes C code,there will typically also be a shared library file into which the C code has been built. Once you have these files,a simple CREATE EXTENSION command loads the objects into your database.