-<?xml version="1.0" encoding="UTF-8" ?>\r
-<chapter id="databaseschema">\r
- <title>Database Schema</title>\r
- <para>This is the schema for the Evergreen database.</para>\r
- \r
- <section id="acq.schema">\r
- <title>Schema acq</title>\r
- \r
- <simplesect id="acq.table.acq-lineitem-history" xreflabel="acq.acq_lineitem_history"> \r
- <title>acq_lineitem_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selector</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>picklist</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expected_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_bib_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>estimated_unit_price</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim_policy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.acq-lineitem-lifecycle" xreflabel="acq.acq_lineitem_lifecycle"> \r
- <title>acq_lineitem_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selector</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>picklist</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expected_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_bib_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>estimated_unit_price</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim_policy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.acq-purchase-order-history" xreflabel="acq.acq_purchase_order_history"> \r
- <title>acq_purchase_order_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ordering_agency</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>order_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prepayment_required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.acq-purchase-order-lifecycle" xreflabel="acq.acq_purchase_order_lifecycle"> \r
- <title>acq_purchase_order_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ordering_agency</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>order_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prepayment_required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.all-fund-allocation-total" xreflabel="acq.all_fund_allocation_total"> \r
- <title>all_fund_allocation_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.all-fund-combined-balance" xreflabel="acq.all_fund_combined_balance"> \r
- <title>all_fund_combined_balance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.all-fund-encumbrance-total" xreflabel="acq.all_fund_encumbrance_total"> \r
- <title>all_fund_encumbrance_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.all-fund-spent-balance" xreflabel="acq.all_fund_spent_balance"> \r
- <title>all_fund_spent_balance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.all-fund-spent-total" xreflabel="acq.all_fund_spent_total"> \r
- <title>all_fund_spent_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.cancel-reason" xreflabel="acq.cancel_reason"> \r
- <title>cancel_reason</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>keep_debits</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim" xreflabel="acq.claim"> \r
- <title>claim</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem_detail</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem-detail"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim_event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-event"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim-event" xreflabel="acq.claim_event"> \r
- <title>claim_event</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-event-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>event_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim-event-type" xreflabel="acq.claim_event_type"> \r
- <title>claim_event_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>library_initiated</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim_event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-event"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-policy-action"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.serial-claim-event"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim-policy" xreflabel="acq.claim_policy"> \r
- <title>claim_policy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim_policy_action via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-policy-action"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim-policy-action" xreflabel="acq.claim_policy_action"> \r
- <title>claim_policy_action</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim_policy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-policy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>action_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>action</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-event-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.claim-type" xreflabel="acq.claim_type"> \r
- <title>claim_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.serial-claim"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.currency-type" xreflabel="acq.currency_type"> \r
- <title>currency_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.exchange_rate via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.exchange-rate"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-debit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.funding-source"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.debit-attribution" xreflabel="acq.debit_attribution"> \r
- <title>debit_attribution</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund-debit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>debit_amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source_credit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.funding-source-credit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>credit_amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.distribution-formula" xreflabel="acq.distribution_formula"> \r
- <title>distribution_formula</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>skip_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula_application via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.distribution-formula-application" xreflabel="acq.distribution_formula_application"> \r
- <title>distribution_formula_application</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>formula</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.distribution-formula"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.distribution-formula-entry" xreflabel="acq.distribution_formula_entry"> \r
- <title>distribution_formula_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>formula</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.distribution-formula"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>position</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on distribution_formula_entry</title>\r
- \r
- <varlistentry>\r
- <term>acqdfe_must_be_somewhere</term>\r
- <listitem><para>CHECK (((owning_lib IS NOT NULL) OR (location IS NOT NULL)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.edi-account" xreflabel="acq.edi_account"> \r
- <title>edi_account</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('config.remote_account_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>host</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>username</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>password</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>account</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>path</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_activity</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>in_dir</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vendcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vendacct</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.edi_message via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.edi-message"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.edi-message" xreflabel="acq.edi_message"> \r
- <title>edi_message</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>account</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.edi-account"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remote_file</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>translate_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>process_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>error_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'new'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edi</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>jedi</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>error</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>message_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on edi_message</title>\r
- \r
- <varlistentry>\r
- <term>status_value</term>\r
- <listitem><para>CHECK ((status = ANY (ARRAY['new'::text, 'translated'::text, 'trans_error'::text, 'processed'::text, 'proc_error'::text, 'delete_error'::text, 'retry'::text, 'complete'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>valid_message_type</term>\r
- <listitem><para>CHECK ((message_type = ANY (ARRAY['ORDERS'::text, 'ORDRSP'::text, 'INVOIC'::text, 'OSTENQ'::text, 'OSTRPT'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.exchange-rate" xreflabel="acq.exchange_rate"> \r
- <title>exchange_rate</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>from_currency</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>to_currency</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ratio</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fiscal-calendar" xreflabel="acq.fiscal_calendar"> \r
- <title>fiscal_calendar</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fiscal_year via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fiscal-year"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fiscal-year" xreflabel="acq.fiscal_year"> \r
- <title>fiscal_year</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>calendar</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fiscal-calendar"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>year</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>year_begin</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>year_end</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund" xreflabel="acq.fund"> \r
- <title>fund</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>year</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT date_part('year'::text, now());\r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>currency_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>rollover</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>propagate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_warning_percent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_stop_percent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on fund</title>\r
- \r
- <varlistentry>\r
- <term>acq_fund_rollover_ implies_propagate</term>\r
- <listitem><para>CHECK ((propagate OR (NOT rollover)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fund_allocation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-debit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-transfer"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-allocation" xreflabel="acq.fund_allocation"> \r
- <title>fund_allocation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.funding-source"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>allocator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-allocation-percent" xreflabel="acq.fund_allocation_percent"> \r
- <title>fund_allocation_percent</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.funding-source"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>percent</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>allocator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on fund_allocation_percent</title>\r
- \r
- <varlistentry>\r
- <term>percentage_range</term>\r
- <listitem><para>CHECK (((percent >= (0)::numeric) AND (percent <= (100)::numeric)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-allocation-total" xreflabel="acq.fund_allocation_total"> \r
- <title>fund_allocation_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-combined-balance" xreflabel="acq.fund_combined_balance"> \r
- <title>fund_combined_balance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-debit" xreflabel="acq.fund_debit"> \r
- <title>fund_debit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>origin_amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>origin_currency_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>encumbrance</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>debit_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xfer_destination</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.debit_attribution via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.debit-attribution"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-debit-total" xreflabel="acq.fund_debit_total"> \r
- <title>fund_debit_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>encumbrance</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-encumbrance-total" xreflabel="acq.fund_encumbrance_total"> \r
- <title>fund_encumbrance_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-spent-balance" xreflabel="acq.fund_spent_balance"> \r
- <title>fund_spent_balance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-spent-total" xreflabel="acq.fund_spent_total"> \r
- <title>fund_spent_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-tag" xreflabel="acq.fund_tag"> \r
- <title>fund_tag</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fund_tag_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-tag-map" xreflabel="acq.fund_tag_map"> \r
- <title>fund_tag_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund-tag"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-transfer" xreflabel="acq.fund_transfer"> \r
- <title>fund_transfer</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>src_fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>src_amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transfer_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transfer_user</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source_credit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.funding-source-credit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.funding-source" xreflabel="acq.funding_source"> \r
- <title>funding_source</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>currency_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fund_allocation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.funding-source-credit"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.funding-source-allocation-total" xreflabel="acq.funding_source_allocation_total"> \r
- <title>funding_source_allocation_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.funding-source-balance" xreflabel="acq.funding_source_balance"> \r
- <title>funding_source_balance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.funding-source-credit" xreflabel="acq.funding_source_credit"> \r
- <title>funding_source_credit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.funding-source"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deadline_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>effective_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.debit_attribution via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.debit-attribution"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-transfer"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.funding-source-credit-total" xreflabel="acq.funding_source_credit_total"> \r
- <title>funding_source_credit_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice" xreflabel="acq.invoice"> \r
- <title>invoice</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>receiver</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shipper</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'EDI'::text;\r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice-method"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_ident</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_auth</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice-payment-method"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.invoice_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice-entry" xreflabel="acq.invoice_entry"> \r
- <title>invoice_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phys_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billed_per_item</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice-item" xreflabel="acq.invoice_item"> \r
- <title>invoice_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund-debit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice-item-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>po_item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.po-item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice-item-type" xreflabel="acq.invoice_item_type"> \r
- <title>invoice_item_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prorate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.invoice_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice-method" xreflabel="acq.invoice_method"> \r
- <title>invoice_method</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.invoice via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.invoice-payment-method" xreflabel="acq.invoice_payment_method"> \r
- <title>invoice_payment_method</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.invoice via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem" xreflabel="acq.lineitem"> \r
- <title>lineitem</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selector</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>picklist</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.picklist"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expected_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_bib_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'new'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.cancel-reason"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>estimated_unit_price</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim_policy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-policy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on lineitem</title>\r
- \r
- <varlistentry>\r
- <term>picklist_or_po</term>\r
- <listitem><para>CHECK (((picklist IS NOT NULL) OR (purchase_order IS NOT NULL)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula_application via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-attr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-alert-text" xreflabel="acq.lineitem_alert_text"> \r
- <title>lineitem_alert_text</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-attr" xreflabel="acq.lineitem_attr"> \r
- <title>lineitem_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>definition</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-attr-definition" xreflabel="acq.lineitem_attr_definition"> \r
- <title>lineitem_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-detail" xreflabel="acq.lineitem_detail"> \r
- <title>lineitem_detail</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund-debit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_copy_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cn_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>collection_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.cancel-reason"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-generated-attr-definition" xreflabel="acq.lineitem_generated_attr_definition"> \r
- <title>lineitem_generated_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-local-attr-definition" xreflabel="acq.lineitem_local_attr_definition"> \r
- <title>lineitem_local_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-marc-attr-definition" xreflabel="acq.lineitem_marc_attr_definition"> \r
- <title>lineitem_marc_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-note" xreflabel="acq.lineitem_note"> \r
- <title>lineitem_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_text</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem-alert-text"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vendor_public</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-provider-attr-definition" xreflabel="acq.lineitem_provider_attr_definition"> \r
- <title>lineitem_provider_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.lineitem-usr-attr-definition" xreflabel="acq.lineitem_usr_attr_definition"> \r
- <title>lineitem_usr_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.ordered-funding-source-credit" xreflabel="acq.ordered_funding_source_credit"> \r
- <title>ordered_funding_source_credit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>sort_priority</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>sort_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.picklist" xreflabel="acq.picklist"> \r
- <title>picklist</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.po-item" xreflabel="acq.po_item"> \r
- <title>po_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund-debit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.invoice-item-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>estimated_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.fund"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.invoice_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.po-note" xreflabel="acq.po_note"> \r
- <title>po_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.purchase-order"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vendor_public</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider" xreflabel="acq.provider"> \r
- <title>provider</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>currency_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.currency-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_tag</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>san</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edi_default</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.edi-account"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prepayment_required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>url</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fax_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>default_claim_policy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-policy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.edi_account via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.edi-account"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-provider-attr-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-address"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-contact"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-holding-subfield-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-address" xreflabel="acq.provider_address"> \r
- <title>provider_address</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fax_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-contact" xreflabel="acq.provider_contact"> \r
- <title>provider_contact</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>role</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.provider_contact_address via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-contact-address"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-contact-address" xreflabel="acq.provider_contact_address"> \r
- <title>provider_contact_address</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>contact</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider-contact"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fax_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-holding-subfield-map" xreflabel="acq.provider_holding_subfield_map"> \r
- <title>provider_holding_subfield_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-note" xreflabel="acq.provider_note"> \r
- <title>provider_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.purchase-order" xreflabel="acq.purchase_order"> \r
- <title>purchase_order</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ordering_agency</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.provider"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'new'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>order_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.cancel-reason"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prepayment_required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.edi_message via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.edi-message"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.serial-claim" xreflabel="acq.serial_claim"> \r
- <title>serial_claim</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.serial_claim_event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.serial-claim-event"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.serial-claim-event" xreflabel="acq.serial_claim_event"> \r
- <title>serial_claim_event</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.claim-event-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claim</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.serial-claim"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>event_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.user-request" xreflabel="acq.user_request"> \r
- <title>user_request</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pickup_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable_formats</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_notify</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email_notify</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.lineitem"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_bib</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>need_before</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fee</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.user-request-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>isxn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>volume</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>article_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>article_pages</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mentioned</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_info</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_reason</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="acq.table.cancel-reason"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.user-request-type" xreflabel="acq.user_request_type"> \r
- <title>user_request_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.user_request via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="action.schema">\r
- <title>Schema action</title>\r
- \r
- <simplesect id="action.table.aged-circulation" xreflabel="action.aged_circulation"> \r
- <title>aged_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>usr_post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_profile</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_birth_year</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_call_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.all-circulation" xreflabel="action.all_circulation"> \r
- <title>all_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_profile</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_birth_year</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.billable-circulations" xreflabel="action.billable_circulations"> \r
- <title>billable_circulations</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.circulation" xreflabel="action.circulation"> \r
- <title>circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '1 day'::interval;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.circulation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on circulation</title>\r
- \r
- <varlistentry>\r
- <term>circulation_stop_fines_check</term>\r
- <listitem><para>CHECK ((stop_fines = ANY (ARRAY['CHECKIN'::text, 'CLAIMSRETURNED'::text, 'LOST'::text, 'MAXFINES'::text, 'RENEW'::text, 'LONGOVERDUE'::text, 'CLAIMSNEVERCHECKEDOUT'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.circulation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.fieldset" xreflabel="action.fieldset"> \r
- <title>fieldset</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creation_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>applied_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>classname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stored_query</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pkey_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on fieldset</title>\r
- \r
- <varlistentry>\r
- <term>fieldset_one_or_the_other</term>\r
- <listitem><para>CHECK ((((stored_query IS NOT NULL) AND (pkey_value IS NULL)) OR ((pkey_value IS NOT NULL) AND (stored_query IS NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>valid_status</term>\r
- <listitem><para>CHECK ((status = ANY (ARRAY['PENDING'::text, 'APPLIED'::text, 'ERROR'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.fieldset_col_val via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.fieldset-col-val"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.fieldset-col-val" xreflabel="action.fieldset_col_val"> \r
- <title>fieldset_col_val</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fieldset</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.fieldset"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>col</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>val</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-copy-map" xreflabel="action.hold_copy_map"> \r
- <title>hold_copy_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-notification" xreflabel="action.hold_notification"> \r
- <title>hold_notification</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>notify_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>notify_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-request" xreflabel="action.hold_request"> \r
- <title>hold_request</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>capture_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fulfillment_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>return_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_check_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_cause</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request-cancel-cause"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>current_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fulfillment_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fulfillment_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>requestor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selection_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selection_depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pickup_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable_formats</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_notify</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email_notify</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>frozen</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>thaw_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shelf_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cut_in_line</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shelf_expire_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.hold_copy_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-copy-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-notification"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-transit-copy"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-request-cancel-cause" xreflabel="action.hold_request_cancel_cause"> \r
- <title>hold_request_cancel_cause</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.hold_request via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-request-note" xreflabel="action.hold_request_note"> \r
- <title>hold_request_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>body</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>slip</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-transit-copy" xreflabel="action.hold_transit_copy"> \r
- <title>hold_transit_copy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('action.transit_copy_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.in-house-use" xreflabel="action.in_house_use"> \r
- <title>in_house_use</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.non-cat-in-house-use" xreflabel="action.non_cat_in_house_use"> \r
- <title>non_cat_in_house_use</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.non-cataloged-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.non-cataloged-circulation" xreflabel="action.non_cataloged_circulation"> \r
- <title>non_cataloged_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>patron</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.non-cataloged-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.open-circulation" xreflabel="action.open_circulation"> \r
- <title>open_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.reservation-transit-copy" xreflabel="action.reservation_transit_copy"> \r
- <title>reservation_transit_copy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('action.transit_copy_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>reservation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.reservation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.survey" xreflabel="action.survey"> \r
- <title>survey</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT (now() + '10 years'::interval);\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_summary</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>poll</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_question via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-question"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.survey-answer" xreflabel="action.survey_answer"> \r
- <title>survey_answer</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>question</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.survey-question"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>answer</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_response via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.survey-question" xreflabel="action.survey_question"> \r
- <title>survey_question</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>survey</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.survey"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>question</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_answer via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-answer"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.survey-response" xreflabel="action.survey_response"> \r
- <title>survey_response</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>response_group_id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>survey</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.survey"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>question</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.survey-question"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>answer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.survey-answer"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>answer_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>effective_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.transit-copy" xreflabel="action.transit_copy"> \r
- <title>transit_copy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.transit-copy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.copy-status"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_dest</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.unfulfilled-hold-innermost-loop" xreflabel="action.unfulfilled_hold_innermost_loop"> \r
- <title>unfulfilled_hold_innermost_loop</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>count</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.unfulfilled-hold-list" xreflabel="action.unfulfilled_hold_list"> \r
- <title>unfulfilled_hold_list</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>current_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fail_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.unfulfilled-hold-loops" xreflabel="action.unfulfilled_hold_loops"> \r
- <title>unfulfilled_hold_loops</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>count</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.unfulfilled-hold-max-loop" xreflabel="action.unfulfilled_hold_max_loop"> \r
- <title>unfulfilled_hold_max_loop</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.view.unfulfilled-hold-min-loop" xreflabel="action.unfulfilled_hold_min_loop"> \r
- <title>unfulfilled_hold_min_loop</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>min</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="action-trigger.schema">\r
- <title>Schema action_trigger</title>\r
- \r
- <simplesect id="action-trigger.table.cleanup" xreflabel="action_trigger.cleanup"> \r
- <title>cleanup</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.collector" xreflabel="action_trigger.collector"> \r
- <title>collector</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.environment via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.environment"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.environment" xreflabel="action_trigger.environment"> \r
- <title>environment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>event_def</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>path</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>collector</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.collector"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on environment</title>\r
- \r
- <varlistentry>\r
- <term>environment_label_check</term>\r
- <listitem><para>CHECK ((label <> ALL (ARRAY['result'::text, 'target'::text, 'event'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.event" xreflabel="action_trigger.event"> \r
- <title>event</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>event_def</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>add_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>update_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>update_process</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'pending'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>user_data</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>template_output</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-output"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>error_output</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-output"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>async_output</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-output"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on event</title>\r
- \r
- <varlistentry>\r
- <term>event_state_check</term>\r
- <listitem><para>CHECK ((state = ANY (ARRAY['pending'::text, 'invalid'::text, 'found'::text, 'collecting'::text, 'collected'::text, 'validating'::text, 'valid'::text, 'reacting'::text, 'reacted'::text, 'cleaning'::text, 'complete'::text, 'error'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>event_user_data_check</term>\r
- <listitem><para>CHECK (((user_data IS NULL) OR is_json(user_data)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.event-definition" xreflabel="action_trigger.event_definition"> \r
- <title>event_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hook</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.hook"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>validator</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.validator"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>reactor</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.reactor"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cleanup_success</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.cleanup"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cleanup_failure</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.cleanup"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>delay</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '00:05:00'::interval;\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_delay</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opt_in_setting</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.usr-setting-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>delay_field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>group_field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>template</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>granularity</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.environment via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.environment"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-params"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.event-output" xreflabel="action_trigger.event_output"> \r
- <title>event_output</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_error</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>data</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.event-params" xreflabel="action_trigger.event_params"> \r
- <title>event_params</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>event_def</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.event-definition"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>param</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.hook" xreflabel="action_trigger.hook"> \r
- <title>hook</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>key</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>core_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>passive</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.reactor" xreflabel="action_trigger.reactor"> \r
- <title>reactor</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.validator" xreflabel="action_trigger.validator"> \r
- <title>validator</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="actor.schema">\r
- <title>Schema actor</title>\r
- \r
- <simplesect id="actor.table.card" xreflabel="actor.card"> \r
- <title>card</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.hours-of-operation" xreflabel="actor.hours_of_operation"> \r
- <title>hours_of_operation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_0_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_0_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_1_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_1_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_2_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_2_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_3_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_3_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_4_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_4_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_5_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_5_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_6_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_6_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-address" xreflabel="actor.org_address"> \r
- <title>org_address</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'MAILING'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>san</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_unit via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-lasso" xreflabel="actor.org_lasso"> \r
- <title>org_lasso</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_lasso_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-lasso-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-lasso-map" xreflabel="actor.org_lasso_map"> \r
- <title>org_lasso_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lasso</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-lasso"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit" xreflabel="actor.org_unit"> \r
- <title>org_unit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ill_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holds_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shortname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fiscal_calendar</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="acq.table.fiscal-calendar"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.cancel_reason via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.cancel-reason"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-event-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-policy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.funding-source"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.invoice"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-alert-text"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.picklist"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.fieldset"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.hours-of-operation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-address"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-lasso-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-closed"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-setting"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.workstation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-location"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-location-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-template"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-value"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.billing-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.idl-field-doc"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.remote-account"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="money.table.collections-tracker"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.subscription"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-bib-trash-fields"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-item-attr-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.merge-profile"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit-closed" xreflabel="actor.org_unit_closed"> \r
- <title>org_unit_closed</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>close_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>close_end</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>reason</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit-proximity" xreflabel="actor.org_unit_proximity"> \r
- <title>org_unit_proximity</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>from_org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>to_org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prox</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit-setting" xreflabel="actor.org_unit_setting"> \r
- <title>org_unit_setting</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.org-unit-setting-type"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit-type" xreflabel="actor.org_unit_type"> \r
- <title>org_unit_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>can_have_vols</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>can_have_users</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_unit via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.stat-cat" xreflabel="actor.stat_cat"> \r
- <title>stat_cat</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_summary</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.stat_cat_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.stat-cat-entry" xreflabel="actor.stat_cat_entry"> \r
- <title>stat_cat_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.stat-cat"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.stat-cat-entry-usr-map" xreflabel="actor.stat_cat_entry_usr_map"> \r
- <title>stat_cat_entry_usr_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.stat-cat"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr" xreflabel="actor.usr"> \r
- <title>usr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>card</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>profile</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>passwd</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="config.table.standing"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.identification-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type2</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.identification-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="config.table.net-access-level"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>photo_url</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>family_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>suffix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>evening_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrgroup</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_returned_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 0.00;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'none'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT (now() + '3 years'::interval);\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_never_checked _out_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.claim_event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.claim-event"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-transfer"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-usr-attr-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.picklist"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.serial-claim-event"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.fieldset"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-notification"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.card"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-address"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-password-reset"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-saved-search"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-setting"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-template"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="money.table.billable-xact"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="money.table.collections-tracker"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-grp-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.routing-list-user"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.subscription-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queue"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-address" xreflabel="actor.usr_address"> \r
- <title>usr_address</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'MAILING'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pending</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>replaces</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr-address"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-address"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-note" xreflabel="actor.usr_note"> \r
- <title>usr_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-org-unit-opt-in" xreflabel="actor.usr_org_unit_opt_in"> \r
- <title>usr_org_unit_opt_in</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opt_in_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opt_in_ws</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-password-reset" xreflabel="actor.usr_password_reset"> \r
- <title>usr_password_reset</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>uuid</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>has_been_reset</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-saved-search" xreflabel="actor.usr_saved_search"> \r
- <title>usr_saved_search</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>query_text</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>query_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'URL'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on usr_saved_search</title>\r
- \r
- <varlistentry>\r
- <term>valid_query_text</term>\r
- <listitem><para>CHECK ((query_type = 'URL'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>valid_target</term>\r
- <listitem><para>CHECK ((target = ANY (ARRAY['record'::text, 'metarecord'::text, 'callnumber'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-setting" xreflabel="actor.usr_setting"> \r
- <title>usr_setting</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.usr-setting-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.usr-standing-penalty" xreflabel="actor.usr_standing_penalty"> \r
- <title>usr_standing_penalty</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing_penalty</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.standing-penalty"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>set_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.workstation" xreflabel="actor.workstation"> \r
- <title>workstation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.circulation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="money.table.bnm-desk-payment"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="asset.schema">\r
- <title>Schema asset</title>\r
- \r
- <simplesect id="asset.table.call-number" xreflabel="asset.call_number"> \r
- <title>call_number</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_class</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number-class"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_sortkey</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.call_number_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.unit"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.call-number-class" xreflabel="asset.call_number_class"> \r
- <title>call_number_class</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>normalizer</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'asset.normalize_generic'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '050ab, 055ab, 060ab, 070ab, 080ab, 082ab, 086ab, 088ab, 090, 092, 096, 098, \r
- 099 '::text; \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.call_number via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.call-number-note" xreflabel="asset.call_number_note"> \r
- <title>call_number_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy" xreflabel="asset.copy"> \r
- <title>copy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.copy-status"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 0.00;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_isbn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status_changed_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on copy</title>\r
- \r
- <varlistentry>\r
- <term>copy_fine_level_check</term>\r
- <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>copy_loan_duration_check</term>\r
- <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.copy_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy-location" xreflabel="asset.copy_location"> \r
- <title>copy_location</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold_verify</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_suffix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-location-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-template"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy-location-order" xreflabel="asset.copy_location_order"> \r
- <title>copy_location_order</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>position</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy-note" xreflabel="asset.copy_note"> \r
- <title>copy_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy-template" xreflabel="asset.copy_template"> \r
- <title>copy_template</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.copy-status"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on copy_template</title>\r
- \r
- <varlistentry>\r
- <term>valid_fine_level</term>\r
- <listitem><para>CHECK (((fine_level IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>valid_loan_duration</term>\r
- <listitem><para>CHECK (((loan_duration IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.distribution via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.opac-visible-copies" xreflabel="asset.opac_visible_copies"> \r
- <title>opac_visible_copies</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.stat-cat" xreflabel="asset.stat_cat"> \r
- <title>stat_cat</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.stat_cat_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.stat-cat-entry" xreflabel="asset.stat_cat_entry"> \r
- <title>stat_cat_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.stat-cat"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.stat_cat_entry_copy_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.stat-cat-entry-copy-map" xreflabel="asset.stat_cat_entry_copy_map"> \r
- <title>stat_cat_entry_copy_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.stat-cat"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.stat-cat-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.stat-cat-entry-transparency-map" xreflabel="asset.stat_cat_entry_transparency_map"> \r
- <title>stat_cat_entry_transparency_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_transparency</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.uri" xreflabel="asset.uri"> \r
- <title>uri</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>href</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_restriction</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.uri_call_number_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.uri-call-number-map" xreflabel="asset.uri_call_number_map"> \r
- <title>uri_call_number_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>uri</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.uri"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="auditor.schema">\r
- <title>Schema auditor</title>\r
- \r
- <simplesect id="auditor.table.acq-invoice-entry-history" xreflabel="auditor.acq_invoice_entry_history"> \r
- <title>acq_invoice_entry_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phys_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billed_per_item</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.acq-invoice-entry-lifecycle" xreflabel="auditor.acq_invoice_entry_lifecycle"> \r
- <title>acq_invoice_entry_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phys_item_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billed_per_item</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.acq-invoice-history" xreflabel="auditor.acq_invoice_history"> \r
- <title>acq_invoice_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>receiver</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shipper</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_ident</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_auth</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.acq-invoice-item-history" xreflabel="auditor.acq_invoice_item_history"> \r
- <title>acq_invoice_item_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>po_item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.acq-invoice-item-lifecycle" xreflabel="auditor.acq_invoice_item_lifecycle"> \r
- <title>acq_invoice_item_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>invoice</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund_debit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost_billed</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>actual_cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_paid</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>po_item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.acq-invoice-lifecycle" xreflabel="auditor.acq_invoice_lifecycle"> \r
- <title>acq_invoice_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>receiver</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shipper</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>inv_ident</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_auth</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.actor-org-unit-history" xreflabel="auditor.actor_org_unit_history"> \r
- <title>actor_org_unit_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ill_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holds_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shortname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fiscal_calendar</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.actor-org-unit-lifecycle" xreflabel="auditor.actor_org_unit_lifecycle"> \r
- <title>actor_org_unit_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ill_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holds_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shortname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fiscal_calendar</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.actor-usr-address-history" xreflabel="auditor.actor_usr_address_history"> \r
- <title>actor_usr_address_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pending</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>replaces</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.actor-usr-address-lifecycle" xreflabel="auditor.actor_usr_address_lifecycle"> \r
- <title>actor_usr_address_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pending</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>replaces</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.actor-usr-history" xreflabel="auditor.actor_usr_history"> \r
- <title>actor_usr_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>card</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>profile</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>passwd</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type2</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>photo_url</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>family_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>suffix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>evening_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrgroup</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_returned_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_never_checked _out_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.actor-usr-lifecycle" xreflabel="auditor.actor_usr_lifecycle"> \r
- <title>actor_usr_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>card</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>profile</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>passwd</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type2</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>photo_url</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>family_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>suffix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>evening_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrgroup</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_returned_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>claims_never_checked _out_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.asset-call-number-history" xreflabel="auditor.asset_call_number_history"> \r
- <title>asset_call_number_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_class</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_sortkey</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.asset-call-number-lifecycle" xreflabel="auditor.asset_call_number_lifecycle"> \r
- <title>asset_call_number_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_class</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_sortkey</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.asset-copy-history" xreflabel="auditor.asset_copy_history"> \r
- <title>asset_copy_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_isbn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status_changed_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.asset-copy-lifecycle" xreflabel="auditor.asset_copy_lifecycle"> \r
- <title>asset_copy_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_isbn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status_changed_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.table.biblio-record-entry-history" xreflabel="auditor.biblio_record_entry_history"> \r
- <title>biblio_record_entry_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.biblio-record-entry-lifecycle" xreflabel="auditor.biblio_record_entry_lifecycle"> \r
- <title>biblio_record_entry_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="authority.schema">\r
- <title>Schema authority</title>\r
- \r
- <simplesect id="authority.table.bib-linking" xreflabel="authority.bib_linking"> \r
- <title>bib_linking</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bib</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>authority</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="authority.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="authority.table.full-rec" xreflabel="authority.full_rec"> \r
- <title>full_rec</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="authority.table.rec-descriptor" xreflabel="authority.rec_descriptor"> \r
- <title>rec_descriptor</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record_status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>char_encoding</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="authority.table.record-entry" xreflabel="authority.record_entry"> \r
- <title>record_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing authority.bib_linking via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="authority.table.bib-linking"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="authority.table.record-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.authority-match"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-authority-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="authority.table.record-note" xreflabel="authority.record_note"> \r
- <title>record_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="authority.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="authority.view.tracing-links" xreflabel="authority.tracing_links"> \r
- <title>tracing_links</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>main_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>main_tag</entry>\r
- <entry>character(3)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>main_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>relationship</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_restriction</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deprecation</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>display_restriction</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>link_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>link_tag</entry>\r
- <entry>character(3)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>link_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="biblio.schema">\r
- <title>Schema biblio</title>\r
- \r
- <simplesect id="biblio.table.record-entry" xreflabel="biblio.record_entry"> \r
- <title>record_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'AUTOGEN'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT biblio.next_autogen_tcn_value();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.user-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="authority.table.bib-linking"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.author-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.identifier-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.real-full-rec"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.rec-descriptor"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.series-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.title-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.subscription"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-match"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="biblio.table.record-note" xreflabel="biblio.record_note"> \r
- <title>record_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="booking.schema">\r
- <title>Schema booking</title>\r
- \r
- <simplesect id="booking.table.reservation" xreflabel="booking.reservation"> \r
- <title>reservation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>capture_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pickup_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>return_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>booking_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_resource_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_resource</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>current_resource</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pickup_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>capture_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.reservation-attr-value-map" xreflabel="booking.reservation_attr_value_map"> \r
- <title>reservation_attr_value_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>reservation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.reservation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_value</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-attr-value"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.resource" xreflabel="booking.resource"> \r
- <title>resource</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>overbook</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 0.00;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>user_fee</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 0.00;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.resource-attr" xreflabel="booking.resource_attr"> \r
- <title>resource_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>resource_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>required</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing booking.resource_attr_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-value"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.resource-attr-map" xreflabel="booking.resource_attr_map"> \r
- <title>resource_attr_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>resource</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>resource_attr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-attr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-attr-value"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.resource-attr-value" xreflabel="booking.resource_attr_value"> \r
- <title>resource_attr_value</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-attr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing booking.reservation_attr_value_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="booking.table.resource-type" xreflabel="booking.resource_type"> \r
- <title>resource_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>elbow_room</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>catalog_item</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transferable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing booking.reservation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="config.schema">\r
- <title>Schema config</title>\r
- \r
- <simplesect id="config.table.audience-map" xreflabel="config.audience_map"> \r
- <title>audience_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.bib-level-map" xreflabel="config.bib_level_map"> \r
- <title>bib_level_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.bib-source" xreflabel="config.bib_source"> \r
- <title>bib_source</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transcendant</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on bib_source</title>\r
- \r
- <varlistentry>\r
- <term>bib_source_quality_check</term>\r
- <listitem><para>CHECK (((quality >= 0) AND (quality <= 100)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_bib_record via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.biblio-fingerprint" xreflabel="config.biblio_fingerprint"> \r
- <title>biblio_fingerprint</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_word</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'marcxml'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.billing-type" xreflabel="config.billing_type"> \r
- <title>billing_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>default_price</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing money.billing via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="money.table.billing"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.circ-matrix-circ-mod-test" xreflabel="config.circ_matrix_circ_mod_test"> \r
- <title>circ_matrix_circ_mod_test</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>matchpoint</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-matrix-matchpoint"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>items_out</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_circ_mod_test_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.circ-matrix-circ-mod-test-map" xreflabel="config.circ_matrix_circ_mod_test_map"> \r
- <title>circ_matrix_circ_mod_test_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_mod_test</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-matrix-circ-mod-test"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_mod</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.circ-matrix-matchpoint" xreflabel="config.circ_matrix_matchpoint"> \r
- <title>circ_matrix_matchpoint</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.item-type-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.item-form-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_vr_format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.videorecording-format-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref_flag</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile_flag</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_age_lower_bound</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_age_upper_bound</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.rule-circ-duration"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.rule-recurring-fine"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.rule-max-fine"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hard_due_date</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.hard-due-date"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>script_test</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_copy_hold_ratio</entry>\r
- <entry>double precision</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>available_copy_hold_ratio</entry>\r
- <entry>double precision</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_circ_mod_test via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.circ-modifier" xreflabel="config.circ_modifier"> \r
- <title>circ_modifier</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>sip2_media_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>magnetic_media</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>avg_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem_detail via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.copy-status" xreflabel="config.copy_status"> \r
- <title>copy_status</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-template"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.global-flag" xreflabel="config.global_flag"> \r
- <title>global_flag</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enabled</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.hard-due-date" xreflabel="config.hard_due_date"> \r
- <title>hard_due_date</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ceiling_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>forceto</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on hard_due_date</title>\r
- \r
- <varlistentry>\r
- <term>hard_due_date_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hard-due-date-values"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.hard-due-date-values" xreflabel="config.hard_due_date_values"> \r
- <title>hard_due_date_values</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hard_due_date</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.hard-due-date"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ceiling_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.hold-matrix-matchpoint" xreflabel="config.hold_matrix_matchpoint"> \r
- <title>hold_matrix_matchpoint</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>user_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pickup_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_owning_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_circ_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>requestor_grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.item-type-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.item-form-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_vr_format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.videorecording-format-map"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile_flag</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref_flag</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distance_is_from_owner</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transit_range</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_holds</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>include_frozen_holds</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_blocked_user</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_hold_protect_rule</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.rule-age-hold-protect"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.i18n-core" xreflabel="config.i18n_core"> \r
- <title>i18n_core</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fq_field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>identity_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>translation</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.i18n-locale"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>string</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.i18n-locale" xreflabel="config.i18n_locale"> \r
- <title>i18n_locale</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.language-map"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.i18n_core via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.i18n-core"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.identification-type" xreflabel="config.identification_type"> \r
- <title>identification_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.idl-field-doc" xreflabel="config.idl_field_doc"> \r
- <title>idl_field_doc</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fm_class</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>string</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.index-normalizer" xreflabel="config.index_normalizer"> \r
- <title>index_normalizer</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>func</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>param_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-field-index-norm-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.internal-flag" xreflabel="config.internal_flag"> \r
- <title>internal_flag</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enabled</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.item-form-map" xreflabel="config.item_form_map"> \r
- <title>item_form_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.item-type-map" xreflabel="config.item_type_map"> \r
- <title>item_type_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.language-map" xreflabel="config.language_map"> \r
- <title>language_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.i18n_locale via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.i18n-locale"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.lit-form-map" xreflabel="config.lit_form_map"> \r
- <title>lit_form_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.marc21-ff-pos-map" xreflabel="config.marc21_ff_pos_map"> \r
- <title>marc21_ff_pos_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fixed_field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>rec_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>length</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>default_val</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ' '::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.marc21-physical-characteristic-subfield-map" xreflabel="config.marc21_physical_characteristic_subfield_map"> \r
- <title>marc21_physical_characteristic_subfield_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ptype_key</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.marc21-physical-characteristic-type-map"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>length</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.marc21_physical_characteristic_value_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.marc21-physical-characteristic-value-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.marc21-physical-characteristic-type-map" xreflabel="config.marc21_physical_characteristic_type_map"> \r
- <title>marc21_physical_characteristic_type_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>ptype_key</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.marc21_physical_characteristic_subfield_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.marc21-physical-characteristic-subfield-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.marc21-physical-characteristic-value-map" xreflabel="config.marc21_physical_characteristic_value_map"> \r
- <title>marc21_physical_characteristic_value_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ptype_subfield</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.marc21-physical-characteristic-subfield-map"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.marc21-rec-type-map" xreflabel="config.marc21_rec_type_map"> \r
- <title>marc21_rec_type_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type_val</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>blvl_val</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.metabib-class" xreflabel="config.metabib_class"> \r
- <title>metabib_class</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.metabib_field via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-field"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-search-alias"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.metabib-field" xreflabel="config.metabib_field"> \r
- <title>metabib_field</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field_class</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-class"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>weight</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'mods33'::text;\r
- \r
- \r
- \r
- <xref linkend="config.table.xml-transform"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>search_field</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>facet_field</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>facet_xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-field-index-norm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-search-alias"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.author-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.identifier-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.series-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.title-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="search.table.relevance-adjustment"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.metabib-field-index-norm-map" xreflabel="config.metabib_field_index_norm_map"> \r
- <title>metabib_field_index_norm_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>norm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.index-normalizer"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>params</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.metabib-search-alias" xreflabel="config.metabib_search_alias"> \r
- <title>metabib_search_alias</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field_class</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-class"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.net-access-level" xreflabel="config.net_access_level"> \r
- <title>net_access_level</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.non-cataloged-type" xreflabel="config.non_cataloged_type"> \r
- <title>non_cataloged_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '14 days'::interval;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>in_house</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.non_cat_in_house_use via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.org-unit-setting-type" xreflabel="config.org_unit_setting_type"> \r
- <title>org_unit_setting_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.settings-group"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>datatype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'string'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fm_class</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>view_perm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>update_perm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on org_unit_setting_type</title>\r
- \r
- <varlistentry>\r
- <term>coust_no_empty_link</term>\r
- <listitem><para>CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>coust_valid_datatype</term>\r
- <listitem><para>CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_unit_setting via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-setting"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.remote-account" xreflabel="config.remote_account"> \r
- <title>remote_account</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>host</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>username</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>password</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>account</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>path</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_activity</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.rule-age-hold-protect" xreflabel="config.rule_age_hold_protect"> \r
- <title>rule_age_hold_protect</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prox</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on rule_age_hold_protect</title>\r
- \r
- <varlistentry>\r
- <term>rule_age_hold_ protect_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.hold_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.rule-circ-duration" xreflabel="config.rule_circ_duration"> \r
- <title>rule_circ_duration</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>extended</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>normal</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shrt</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_renewals</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on rule_circ_duration</title>\r
- \r
- <varlistentry>\r
- <term>rule_circ_duration_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.rule-max-fine" xreflabel="config.rule_max_fine"> \r
- <title>rule_max_fine</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_percent</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on rule_max_fine</title>\r
- \r
- <varlistentry>\r
- <term>rule_max_fine_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.rule-recurring-fine" xreflabel="config.rule_recurring_fine"> \r
- <title>rule_recurring_fine</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>high</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>normal</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>low</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurrence_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '1 day'::interval;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on rule_recurring_fine</title>\r
- \r
- <varlistentry>\r
- <term>rule_recurring_fine_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.settings-group" xreflabel="config.settings_group"> \r
- <title>settings_group</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.org_unit_setting_type via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.org-unit-setting-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.usr-setting-type"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.standing" xreflabel="config.standing"> \r
- <title>standing</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.standing-penalty" xreflabel="config.standing_penalty"> \r
- <title>standing_penalty</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>block_list</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr_standing_penalty via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.upgrade-log" xreflabel="config.upgrade_log"> \r
- <title>upgrade_log</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>version</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>install_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.usr-setting-type" xreflabel="config.usr_setting_type"> \r
- <title>usr_setting_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.settings-group"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>datatype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'string'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fm_class</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on usr_setting_type</title>\r
- \r
- <varlistentry>\r
- <term>coust_no_empty_link</term>\r
- <listitem><para>CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>coust_valid_datatype</term>\r
- <listitem><para>CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-setting"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.videorecording-format-map" xreflabel="config.videorecording_format_map"> \r
- <title>videorecording_format_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.xml-transform" xreflabel="config.xml_transform"> \r
- <title>xml_transform</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>namespace_uri</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xslt</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.metabib_field via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.metabib-field"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.z3950-attr" xreflabel="config.z3950_attr"> \r
- <title>z3950_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.z3950-source"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>format</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>truncation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.z3950-source" xreflabel="config.z3950_source"> \r
- <title>z3950_source</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>host</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>port</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>db</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record_format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'FI'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>transmission_format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'usmarc'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>auth</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.z3950_attr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.z3950-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="container.schema">\r
- <title>Schema container</title>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket" xreflabel="container.biblio_record_entry_bucket"> \r
- <title>biblio_record_entry_bucket</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'misc'::text;\r
- \r
- \r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket-type"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.biblio_record_entry_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket-item" xreflabel="container.biblio_record_entry_bucket_item"> \r
- <title>biblio_record_entry_bucket_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_biblio_record_entry</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.biblio_record_entry_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket-item-note" xreflabel="container.biblio_record_entry_bucket_item_note"> \r
- <title>biblio_record_entry_bucket_item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket-item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket-note" xreflabel="container.biblio_record_entry_bucket_note"> \r
- <title>biblio_record_entry_bucket_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket-type" xreflabel="container.biblio_record_entry_bucket_type"> \r
- <title>biblio_record_entry_bucket_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.biblio_record_entry_bucket via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.call-number-bucket" xreflabel="container.call_number_bucket"> \r
- <title>call_number_bucket</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'misc'::text;\r
- \r
- \r
- \r
- <xref linkend="container.table.call-number-bucket-type"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.call_number_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.call-number-bucket-item" xreflabel="container.call_number_bucket_item"> \r
- <title>call_number_bucket_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.call-number-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_call_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.call_number_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.call-number-bucket-item-note" xreflabel="container.call_number_bucket_item_note"> \r
- <title>call_number_bucket_item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.call-number-bucket-item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.call-number-bucket-note" xreflabel="container.call_number_bucket_note"> \r
- <title>call_number_bucket_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.call-number-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.call-number-bucket-type" xreflabel="container.call_number_bucket_type"> \r
- <title>call_number_bucket_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.call_number_bucket via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket" xreflabel="container.copy_bucket"> \r
- <title>copy_bucket</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'misc'::text;\r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.copy-bucket-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.copy_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-item" xreflabel="container.copy_bucket_item"> \r
- <title>copy_bucket_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.copy-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.copy_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-item-note" xreflabel="container.copy_bucket_item_note"> \r
- <title>copy_bucket_item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.copy-bucket-item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-note" xreflabel="container.copy_bucket_note"> \r
- <title>copy_bucket_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.copy-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-type" xreflabel="container.copy_bucket_type"> \r
- <title>copy_bucket_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.copy_bucket via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket" xreflabel="container.user_bucket"> \r
- <title>user_bucket</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'misc'::text;\r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.user-bucket-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.user_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket-item" xreflabel="container.user_bucket_item"> \r
- <title>user_bucket_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.user-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_user</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.user_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket-item-note" xreflabel="container.user_bucket_item_note"> \r
- <title>user_bucket_item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.user-bucket-item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket-note" xreflabel="container.user_bucket_note"> \r
- <title>user_bucket_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="container.table.user-bucket"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket-type" xreflabel="container.user_bucket_type"> \r
- <title>user_bucket_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.user_bucket via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="extend-reporter.schema">\r
- <title>Schema extend_reporter</title>\r
- \r
- <simplesect id="extend-reporter.view.full-circ-count" xreflabel="extend_reporter.full_circ_count"> \r
- <title>full_circ_count</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_count</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="extend-reporter.view.global-bibs-by-holding-update" xreflabel="extend_reporter.global_bibs_by_holding_update"> \r
- <title>global_bibs_by_holding_update</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_update</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>update_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="extend-reporter.table.legacy-circ-count" xreflabel="extend_reporter.legacy_circ_count"> \r
- <title>legacy_circ_count</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="metabib.schema">\r
- <title>Schema metabib</title>\r
- \r
- <simplesect id="metabib.table.author-field-entry" xreflabel="metabib.author_field_entry"> \r
- <title>author_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.facet-entry" xreflabel="metabib.facet_entry"> \r
- <title>facet_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.view.full-rec" xreflabel="metabib.full_rec"> \r
- <title>full_rec</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.identifier-field-entry" xreflabel="metabib.identifier_field_entry"> \r
- <title>identifier_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.keyword-field-entry" xreflabel="metabib.keyword_field_entry"> \r
- <title>keyword_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.metarecord" xreflabel="metabib.metarecord"> \r
- <title>metarecord</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mods</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing metabib.metarecord_source_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.metarecord-source-map" xreflabel="metabib.metarecord_source_map"> \r
- <title>metarecord_source_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>metarecord</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="metabib.table.metarecord"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.real-full-rec" xreflabel="metabib.real_full_rec"> \r
- <title>real_full_rec</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('metabib.full_rec_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.rec-descriptor" xreflabel="metabib.rec_descriptor"> \r
- <title>rec_descriptor</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bib_level</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>control_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>char_encoding</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enc_level</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audience</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lit_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type_mat</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cat_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_lang</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vr_format</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.series-field-entry" xreflabel="metabib.series_field_entry"> \r
- <title>series_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.subject-field-entry" xreflabel="metabib.subject_field_entry"> \r
- <title>subject_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="metabib.table.title-field-entry" xreflabel="metabib.title_field_entry"> \r
- <title>title_field_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>tsvector</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="money.schema">\r
- <title>Schema money</title>\r
- \r
- <simplesect id="money.table.billable-xact" xreflabel="money.billable_xact"> \r
- <title>billable_xact</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.billable-xact-summary" xreflabel="money.billable_xact_summary"> \r
- <title>billable_xact_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.billable-xact-summary-location-view" xreflabel="money.billable_xact_summary_location_view"> \r
- <title>billable_xact_summary_location_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.billable-xact-with-void-summary" xreflabel="money.billable_xact_with_void_summary"> \r
- <title>billable_xact_with_void_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.billing" xreflabel="money.billing"> \r
- <title>billing</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voider</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>void_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>btype</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.billing-type"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.bnm-desk-payment" xreflabel="money.bnm_desk_payment"> \r
- <title>bnm_desk_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.bnm-payment" xreflabel="money.bnm_payment"> \r
- <title>bnm_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.bnm-payment-view" xreflabel="money.bnm_payment_view"> \r
- <title>bnm_payment_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.cash-payment" xreflabel="money.cash_payment"> \r
- <title>cash_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.cashdrawer-payment-view" xreflabel="money.cashdrawer_payment_view"> \r
- <title>cashdrawer_payment_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cashdrawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.check-payment" xreflabel="money.check_payment"> \r
- <title>check_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>check_number</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.collections-tracker" xreflabel="money.collections_tracker"> \r
- <title>collections_tracker</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>collector</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enter_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.credit-card-payment" xreflabel="money.credit_card_payment"> \r
- <title>credit_card_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cc_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cc_number</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cc_processor</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cc_first_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cc_last_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_month</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_year</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>approval_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.credit-payment" xreflabel="money.credit_payment"> \r
- <title>credit_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.desk-payment-view" xreflabel="money.desk_payment_view"> \r
- <title>desk_payment_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.forgive-payment" xreflabel="money.forgive_payment"> \r
- <title>forgive_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.goods-payment" xreflabel="money.goods_payment"> \r
- <title>goods_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.grocery" xreflabel="money.grocery"> \r
- <title>grocery</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.materialized-billable-xact-summary" xreflabel="money.materialized_billable_xact_summary"> \r
- <title>materialized_billable_xact_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.non-drawer-payment-view" xreflabel="money.non_drawer_payment_view"> \r
- <title>non_drawer_payment_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-billable-xact-summary" xreflabel="money.open_billable_xact_summary"> \r
- <title>open_billable_xact_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-transaction-billing-summary" xreflabel="money.open_transaction_billing_summary"> \r
- <title>open_transaction_billing_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-transaction-billing-type-summary" xreflabel="money.open_transaction_billing_type_summary"> \r
- <title>open_transaction_billing_type_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-transaction-payment-summary" xreflabel="money.open_transaction_payment_summary"> \r
- <title>open_transaction_payment_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-usr-circulation-summary" xreflabel="money.open_usr_circulation_summary"> \r
- <title>open_usr_circulation_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-usr-summary" xreflabel="money.open_usr_summary"> \r
- <title>open_usr_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.payment" xreflabel="money.payment"> \r
- <title>payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.payment-view" xreflabel="money.payment_view"> \r
- <title>payment_view</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-summary" xreflabel="money.transaction_billing_summary"> \r
- <title>transaction_billing_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-type-summary" xreflabel="money.transaction_billing_type_summary"> \r
- <title>transaction_billing_type_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-with-void-summary" xreflabel="money.transaction_billing_with_void_summary"> \r
- <title>transaction_billing_with_void_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-payment-summary" xreflabel="money.transaction_payment_summary"> \r
- <title>transaction_payment_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-payment-with-void-summary" xreflabel="money.transaction_payment_with_void_summary"> \r
- <title>transaction_payment_with_void_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.usr-circulation-summary" xreflabel="money.usr_circulation_summary"> \r
- <title>usr_circulation_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.usr-summary" xreflabel="money.usr_summary"> \r
- <title>usr_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.work-payment" xreflabel="money.work_payment"> \r
- <title>work_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('money.payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="offline.schema">\r
- <title>Schema offline</title>\r
- \r
- <simplesect id="offline.table.script" xreflabel="offline.script"> \r
- <title>script</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>session</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>requestor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>logfile</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>time_delta</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="offline.table.session" xreflabel="offline.session"> \r
- <title>session</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>key</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>in_process</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_time</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_time</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>num_complete</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="permission.schema">\r
- <title>Schema permission</title>\r
- \r
- <simplesect id="permission.table.grp-penalty-threshold" xreflabel="permission.grp_penalty_threshold"> \r
- <title>grp_penalty_threshold</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>penalty</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.standing-penalty"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>threshold</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.grp-perm-map" xreflabel="permission.grp_perm_map"> \r
- <title>grp_perm_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.grp-tree" xreflabel="permission.grp_tree"> \r
- <title>grp_tree</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usergroup</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>perm_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '3 years'::interval;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>application_perm</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-tree"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-grp-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.perm-list" xreflabel="permission.perm_list"> \r
- <title>perm_list</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.org_unit_setting_type via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.org-unit-setting-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-perm-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.usr-grp-map" xreflabel="permission.usr_grp_map"> \r
- <title>usr_grp_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.usr-object-perm-map" xreflabel="permission.usr_object_perm_map"> \r
- <title>usr_object_perm_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>object_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>object_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.usr-perm-map" xreflabel="permission.usr_perm_map"> \r
- <title>usr_perm_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>depth</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.usr-work-ou-map" xreflabel="permission.usr_work_ou_map"> \r
- <title>usr_work_ou_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>work_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="public.schema">\r
- <title>Schema public</title>\r
- \r
- </section>\r
- \r
- <section id="query.schema">\r
- <title>Schema query</title>\r
- \r
- <simplesect id="query.table.bind-variable" xreflabel="query.bind_variable"> \r
- <title>bind_variable</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>default_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on bind_variable</title>\r
- \r
- <varlistentry>\r
- <term>bind_variable_type</term>\r
- <listitem><para>CHECK ((type = ANY (ARRAY['string'::text, 'number'::text, 'string_list'::text, 'number_list'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing query.expression via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="query.table.expression"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.case-branch" xreflabel="query.case_branch"> \r
- <title>case_branch</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>condition</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>result</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.datatype" xreflabel="query.datatype"> \r
- <title>datatype</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>datatype_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_numeric</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_composite</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on datatype</title>\r
- \r
- <varlistentry>\r
- <term>qdt_comp_not_num</term>\r
- <listitem><para>CHECK (((is_numeric IS FALSE) OR (is_composite IS FALSE)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing query.expression via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="query.table.expression"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.function-param-def"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.function-sig"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.record-column"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.subfield"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xbet" xreflabel="query.expr_xbet"> \r
- <title>expr_xbet</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xbind" xreflabel="query.expr_xbind"> \r
- <title>expr_xbind</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bind_variable</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xbool" xreflabel="query.expr_xbool"> \r
- <title>expr_xbool</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>literal</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xcase" xreflabel="query.expr_xcase"> \r
- <title>expr_xcase</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xcast" xreflabel="query.expr_xcast"> \r
- <title>expr_xcast</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cast_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xcol" xreflabel="query.expr_xcol"> \r
- <title>expr_xcol</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>table_alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xex" xreflabel="query.expr_xex"> \r
- <title>expr_xex</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subquery</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xfunc" xreflabel="query.expr_xfunc"> \r
- <title>expr_xfunc</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>function_id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xin" xreflabel="query.expr_xin"> \r
- <title>expr_xin</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subquery</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xisnull" xreflabel="query.expr_xisnull"> \r
- <title>expr_xisnull</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xnull" xreflabel="query.expr_xnull"> \r
- <title>expr_xnull</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xnum" xreflabel="query.expr_xnum"> \r
- <title>expr_xnum</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>literal</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xop" xreflabel="query.expr_xop"> \r
- <title>expr_xop</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>operator</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>right_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xser" xreflabel="query.expr_xser"> \r
- <title>expr_xser</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>operator</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xstr" xreflabel="query.expr_xstr"> \r
- <title>expr_xstr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>literal</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.view.expr-xsubq" xreflabel="query.expr_xsubq"> \r
- <title>expr_xsubq</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subquery</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.expression" xreflabel="query.expression"> \r
- <title>expression</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parenthesize</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_expr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>literal</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>table_alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>left_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>operator</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>right_operand</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>function_id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.function-sig"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subquery</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cast_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>negate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bind_variable</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.bind-variable"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on expression</title>\r
- \r
- <varlistentry>\r
- <term>expression_type</term>\r
- <listitem><para>CHECK ((type = ANY (ARRAY['xbet'::text, 'xbind'::text, 'xbool'::text, 'xcase'::text, 'xcast'::text, 'xcol'::text, 'xex'::text, 'xfunc'::text, 'xin'::text, 'xisnull'::text, 'xnull'::text, 'xnum'::text, 'xop'::text, 'xser'::text, 'xstr'::text, 'xsubq'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing query.case_branch via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="query.table.case-branch"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.expression"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.from-relation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.order-by-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.select-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.stored-query"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.from-relation" xreflabel="query.from_relation"> \r
- <title>from_relation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>table_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>class_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subquery</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>function_call</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>table_alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_relation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.from-relation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>join_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>on_clause</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on from_relation</title>\r
- \r
- <varlistentry>\r
- <term>good_join_type</term>\r
- <listitem><para>CHECK (((join_type IS NULL) OR (join_type = ANY (ARRAY['INNER'::text, 'LEFT'::text, 'RIGHT'::text, 'FULL'::text]))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>join_or_core</term>\r
- <listitem><para>CHECK (((((parent_relation IS NULL) AND (join_type IS NULL)) AND (on_clause IS NULL)) OR (((parent_relation IS NOT NULL) AND (join_type IS NOT NULL)) AND (on_clause IS NOT NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>relation_type</term>\r
- <listitem><para>CHECK ((type = ANY (ARRAY['RELATION'::text, 'SUBQUERY'::text, 'FUNCTION'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing query.from_relation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="query.table.from-relation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.record-column"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.stored-query"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.function-param-def" xreflabel="query.function_param_def"> \r
- <title>function_param_def</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>function_id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.function-sig"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>datatype</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on function_param_def</title>\r
- \r
- <varlistentry>\r
- <term>qfpd_pos_seq_no</term>\r
- <listitem><para>CHECK ((seq_no > 0))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.function-sig" xreflabel="query.function_sig"> \r
- <title>function_sig</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>function_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>return_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>is_aggregate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on function_sig</title>\r
- \r
- <varlistentry>\r
- <term>qfd_rtn_or_aggr</term>\r
- <listitem><para>CHECK (((return_type IS NULL) OR (is_aggregate = false)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing query.expression via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="query.table.expression"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.function-param-def"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.order-by-item" xreflabel="query.order_by_item"> \r
- <title>order_by_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stored_query</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expression</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.query-sequence" xreflabel="query.query_sequence"> \r
- <title>query_sequence</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_query</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>child_query</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.record-column" xreflabel="query.record_column"> \r
- <title>record_column</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>from_relation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.from-relation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.select-item" xreflabel="query.select_item"> \r
- <title>select_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stored_query</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.stored-query"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expression</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>column_alias</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>grouped_by</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.stored-query" xreflabel="query.stored_query"> \r
- <title>stored_query</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_all</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_distinct</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>from_clause</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.from-relation"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>where_clause</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>having_clause</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>limit_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>offset_count</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.expression"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on stored_query</title>\r
- \r
- <varlistentry>\r
- <term>query_type</term>\r
- <listitem><para>CHECK ((type = ANY (ARRAY['SELECT'::text, 'UNION'::text, 'INTERSECT'::text, 'EXCEPT'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.fieldset via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.fieldset"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.expression"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.from-relation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.order-by-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.query-sequence"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="query.table.select-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="query.table.subfield" xreflabel="query.subfield"> \r
- <title>subfield</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>composite_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>seq_no</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="query.table.datatype"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on subfield</title>\r
- \r
- <varlistentry>\r
- <term>qsf_pos_seq_no</term>\r
- <listitem><para>CHECK ((seq_no > 0))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="reporter.schema">\r
- <title>Schema reporter</title>\r
- \r
- <simplesect id="reporter.view.circ-type" xreflabel="reporter.circ_type"> \r
- <title>circ_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.currently-running" xreflabel="reporter.currently_running"> \r
- <title>currently_running</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.demographic" xreflabel="reporter.demographic"> \r
- <title>demographic</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>general_division</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.hold-request-record" xreflabel="reporter.hold_request_record"> \r
- <title>hold_request_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.materialized-simple-record" xreflabel="reporter.materialized_simple_record"> \r
- <title>materialized_simple_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.old-super-simple-record" xreflabel="reporter.old_super_simple_record"> \r
- <title>old_super_simple_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.output-folder" xreflabel="reporter.output_folder"> \r
- <title>output_folder</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.output-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shared</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.output_folder via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.overdue-circs" xreflabel="reporter.overdue_circs"> \r
- <title>overdue_circs</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.overdue-reports" xreflabel="reporter.overdue_reports"> \r
- <title>overdue_reports</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.pending-reports" xreflabel="reporter.pending_reports"> \r
- <title>pending_reports</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.report" xreflabel="reporter.report"> \r
- <title>report</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>template</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.template"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>data</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>folder</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.report-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recur</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurrence</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.schedule via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.report-folder" xreflabel="reporter.report_folder"> \r
- <title>report_folder</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.report-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shared</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.report via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.schedule" xreflabel="reporter.schedule"> \r
- <title>schedule</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>report</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.report"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>folder</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.output-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>excel_format</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>html_format</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>csv_format</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chart_pie</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chart_bar</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chart_line</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>error_code</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>error_text</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.simple-record" xreflabel="reporter.simple_record"> \r
- <title>simple_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>metarecord</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>uniform_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>series_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>series_statement</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>summary</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>topic_subject</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>geographic_subject</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>genre</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name_subject</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>corporate_subject</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>external_uri</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.super-simple-record" xreflabel="reporter.super_simple_record"> \r
- <title>super_simple_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.template" xreflabel="reporter.template"> \r
- <title>template</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>data</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>folder</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.template-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.report via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.template-folder" xreflabel="reporter.template_folder"> \r
- <title>template_folder</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="reporter.table.template-folder"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shared</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.template via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.xact-billing-totals" xreflabel="reporter.xact_billing_totals"> \r
- <title>xact_billing_totals</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unvoided</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.xact-paid-totals" xreflabel="reporter.xact_paid_totals"> \r
- <title>xact_paid_totals</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unvoided</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="search.schema">\r
- <title>Schema search</title>\r
- \r
- <simplesect id="search.table.relevance-adjustment" xreflabel="search.relevance_adjustment"> \r
- <title>relevance_adjustment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bump_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>multiplier</entry>\r
- <entry>numeric</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1.0;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on relevance_adjustment</title>\r
- \r
- <varlistentry>\r
- <term>relevance_adjustment _bump_type_check</term>\r
- <listitem><para>CHECK ((bump_type = ANY (ARRAY['word_order'::text, 'first_word'::text, 'full_match'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="serial.schema">\r
- <title>Schema serial</title>\r
- \r
- <simplesect id="serial.table.basic-summary" xreflabel="serial.basic_summary"> \r
- <title>basic_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distribution</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.distribution"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>generated_coverage</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>textual_holdings</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>show_generated</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.caption-and-pattern" xreflabel="serial.caption_and_pattern"> \r
- <title>caption_and_pattern</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pattern_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_3</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_4</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_5</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>enum_6</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chron_1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chron_2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chron_3</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chron_4</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>chron_5</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on caption_and_pattern</title>\r
- \r
- <varlistentry>\r
- <term>cap_type</term>\r
- <listitem><para>CHECK ((type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.issuance via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.distribution" xreflabel="serial.distribution"> \r
- <title>distribution</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record_entry</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>summary_method</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>receive_call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>receive_unit_template</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-template"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bind_call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bind_unit_template</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.copy-template"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unit_label_prefix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unit_label_suffix</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on distribution</title>\r
- \r
- <varlistentry>\r
- <term>sdist_summary_method_check</term>\r
- <listitem><para>CHECK (((summary_method IS NULL) OR (summary_method = ANY (ARRAY['add_to_sre'::text, 'merge_with_sre'::text, 'use_sre_only'::text, 'use_sdist_only'::text]))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.basic_summary via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.basic-summary"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.index-summary"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.stream"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.supplement-summary"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.distribution-note" xreflabel="serial.distribution_note"> \r
- <title>distribution_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distribution</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.distribution"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.index-summary" xreflabel="serial.index_summary"> \r
- <title>index_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distribution</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.distribution"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>generated_coverage</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>textual_holdings</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>show_generated</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.issuance" xreflabel="serial.issuance"> \r
- <title>issuance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date_published</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>caption_and_pattern</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.caption-and-pattern"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_link_id</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on issuance</title>\r
- \r
- <varlistentry>\r
- <term>valid_holding_type</term>\r
- <listitem><para>CHECK (((holding_type IS NULL) OR (holding_type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text]))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.item" xreflabel="serial.item"> \r
- <title>item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issuance</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.issuance"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stream</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.stream"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unit</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>uri</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.uri"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date_expected</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date_received</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT 'Expected'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shadowed</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on item</title>\r
- \r
- <varlistentry>\r
- <term>valid_status</term>\r
- <listitem><para>CHECK ((status = ANY (ARRAY['Bindery'::text, 'Bound'::text, 'Claimed'::text, 'Discarded'::text, 'Expected'::text, 'Not Held'::text, 'Not Published'::text, 'Received'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.serial_claim via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.serial-claim"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.item-note" xreflabel="serial.item_note"> \r
- <title>item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.item"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.record-entry" xreflabel="serial.record_entry"> \r
- <title>record_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.distribution via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.routing-list-user" xreflabel="serial.routing_list_user"> \r
- <title>routing_list_user</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stream</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.stream"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>reader</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>department</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on routing_list_user</title>\r
- \r
- <varlistentry>\r
- <term>reader_or_dept</term>\r
- <listitem><para>CHECK ((((reader IS NOT NULL) AND (department IS NULL)) OR ((reader IS NULL) AND (department IS NOT NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.stream" xreflabel="serial.stream"> \r
- <title>stream</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distribution</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.distribution"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>routing_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.routing-list-user"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.subscription" xreflabel="serial.subscription"> \r
- <title>subscription</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record_entry</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expected_date_offset</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.caption_and_pattern via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.caption-and-pattern"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.distribution"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.subscription-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.subscription-note" xreflabel="serial.subscription_note"> \r
- <title>subscription_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.supplement-summary" xreflabel="serial.supplement_summary"> \r
- <title>supplement_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>distribution</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.distribution"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>generated_coverage</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>textual_holdings</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>show_generated</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.unit" xreflabel="serial.unit"> \r
- <title>unit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('asset.copy_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 0.00;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_isbn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status_changed_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>sort_key</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>detailed_contents</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>summary_contents</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on unit</title>\r
- \r
- <varlistentry>\r
- <term>copy_fine_level_check</term>\r
- <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>copy_loan_duration_check</term>\r
- <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="staging.schema">\r
- <title>Schema staging</title>\r
- \r
- <simplesect id="staging.table.billing-address-stage" xreflabel="staging.billing_address_stage"> \r
- <title>billing_address_stage</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>row_id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('staging.mailing_address_ stage_row_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>row_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'OK'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'US'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="staging.table.card-stage" xreflabel="staging.card_stage"> \r
- <title>card_stage</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>row_id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>row_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="staging.table.mailing-address-stage" xreflabel="staging.mailing_address_stage"> \r
- <title>mailing_address_stage</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>row_id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>row_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'OK'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'US'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="staging.table.statcat-stage" xreflabel="staging.statcat_stage"> \r
- <title>statcat_stage</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>row_id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>row_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>statcat</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="staging.table.user-stage" xreflabel="staging.user_stage"> \r
- <title>user_stage</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>row_id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>row_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>profile</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>passwd</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT 3;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>family_name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>evening_phone</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>home_ou</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT 2;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="stats.schema">\r
- <title>Schema stats</title>\r
- \r
- <simplesect id="stats.view.fleshed-call-number" xreflabel="stats.fleshed_call_number"> \r
- <title>fleshed_call_number</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_class</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label_sortkey</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_lang</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="stats.view.fleshed-circulation" xreflabel="stats.fleshed_circulation"> \r
- <title>fleshed_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_workstation</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_scan_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_circ</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>finish_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>finish_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_lang</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="stats.view.fleshed-copy" xreflabel="stats.fleshed_copy"> \r
- <title>fleshed_copy</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>floating</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_isbn</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status_changed_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mint_condition</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cost</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date_day</entry>\r
- <entry>date</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date_hour</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number_label</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_lang</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_form</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="vandelay.schema">\r
- <title>Schema vandelay</title>\r
- \r
- <simplesect id="vandelay.table.authority-attr-definition" xreflabel="vandelay.authority_attr_definition"> \r
- <title>authority_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_authority_record_attr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-authority-record-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.authority-match" xreflabel="vandelay.authority_match"> \r
- <title>authority_match</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>matched_attr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-authority-record-attr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queued_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-authority-record"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="authority.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.authority-queue" xreflabel="vandelay.authority_queue"> \r
- <title>authority_queue</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('vandelay.queue_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queue_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'authority'::text;\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on authority_queue</title>\r
- \r
- <varlistentry>\r
- <term>authority_queue_ queue_type_check</term>\r
- <listitem><para>CHECK ((queue_type = 'authority'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>queue_queue_type_check</term>\r
- <listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_authority_record via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-authority-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.bib-attr-definition" xreflabel="vandelay.bib_attr_definition"> \r
- <title>bib_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT ''::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_bib_record_attr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.bib-match" xreflabel="vandelay.bib_match"> \r
- <title>bib_match</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>matched_attr</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-bib-record-attr"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queued_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-bib-record"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on bib_match</title>\r
- \r
- <varlistentry>\r
- <term>bib_match_field_type_check</term>\r
- <listitem><para>CHECK ((field_type = ANY (ARRAY['isbn'::text, 'tcn_value'::text, 'id'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.bib-queue" xreflabel="vandelay.bib_queue"> \r
- <title>bib_queue</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('vandelay.queue_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queue_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'bib'::text;\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_attr_def</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.import-item-attr-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on bib_queue</title>\r
- \r
- <varlistentry>\r
- <term>bib_queue_queue_type_check</term>\r
- <listitem><para>CHECK ((queue_type = 'bib'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>queue_queue_type_check</term>\r
- <listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_bib_record via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.import-bib-trash-fields" xreflabel="vandelay.import_bib_trash_fields"> \r
- <title>import_bib_trash_fields</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.import-item" xreflabel="vandelay.import_item"> \r
- <title>import_item</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-bib-record"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>definition</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.import-item-attr-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>priv_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.import-item-attr-definition" xreflabel="vandelay.import_item_attr_definition"> \r
- <title>import_item_attr_definition</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>keep</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_note_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>priv_note_title</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>priv_note</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.bib_queue via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-queue"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.merge-profile" xreflabel="vandelay.merge_profile"> \r
- <title>merge_profile</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>add_spec</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>replace_spec</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>strip_spec</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>preserve_spec</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on merge_profile</title>\r
- \r
- <varlistentry>\r
- <term>add_replace_strip_or_preserve</term>\r
- <listitem><para>CHECK ((((preserve_spec IS NOT NULL) OR (replace_spec IS NOT NULL)) OR ((preserve_spec IS NULL) AND (replace_spec IS NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queue" xreflabel="vandelay.queue"> \r
- <title>queue</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>complete</entry>\r
- <entry>boolean</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queue_type</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'bib'::text;\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on queue</title>\r
- \r
- <varlistentry>\r
- <term>queue_queue_type_check</term>\r
- <listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queued-authority-record" xreflabel="vandelay.queued_authority_record"> \r
- <title>queued_authority_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('vandelay.queued_record_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>import_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purpose</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'import'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queue</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.authority-queue"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>imported_as</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="authority.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on queued_authority_record</title>\r
- \r
- <varlistentry>\r
- <term>queued_record_purpose_check</term>\r
- <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.authority_match via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.authority-match"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-authority-record-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queued-authority-record-attr" xreflabel="vandelay.queued_authority_record_attr"> \r
- <title>queued_authority_record_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-authority-record"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.authority-attr-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.authority_match via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.authority-match"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queued-bib-record" xreflabel="vandelay.queued_bib_record"> \r
- <title>queued_bib_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('vandelay.queued_record_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>import_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purpose</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'import'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>queue</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.bib-queue"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bib_source</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="config.table.bib-source"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>imported_as</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on queued_bib_record</title>\r
- \r
- <varlistentry>\r
- <term>queued_record_purpose_check</term>\r
- <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.bib_match via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-match"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queued-bib-record-attr" xreflabel="vandelay.queued_bib_record_attr"> \r
- <title>queued_bib_record_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.queued-bib-record"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="vandelay.table.bib-attr-definition"/>\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>attr_value</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.bib_match via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-match"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="vandelay.table.queued-record" xreflabel="vandelay.queued_record"> \r
- <title>queued_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry><para>\r
- \r
- \r
- PRIMARY KEY\r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>import_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry><para>\r
- \r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purpose</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'import'::text;\r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry><para>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </para></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on queued_record</title>\r
- \r
- <varlistentry>\r
- <term>queued_record_purpose_check</term>\r
- <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- </chapter>\r
+<?xml version="1.0" encoding="UTF-8" ?>
+<chapter id="databaseschema">
+ <title>Database Schema</title>
+ <para>This is the schema for the Evergreen database.</para>
+
+
+
+ <section id="acq.schema">
+ <title>Schema acq</title>
+ <para></para>
+
+ <simplesect id="acq.table.acq-lineitem-history"
+ xreflabel="acq.acq_lineitem_history">
+ <title id="acq.table.acq-lineitem-history-title">
+ Table:
+
+ acq_lineitem_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">selector</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">picklist</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">expected_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">eg_bib_id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">source_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">estimated_unit_price</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">claim_policy</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_lineitem_hist_id_idx</database> : id</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.acq-lineitem-lifecycle"
+ xreflabel="acq.acq_lineitem_lifecycle">
+ <title id="acq.view.acq-lineitem-lifecycle-title">
+ View:
+
+ acq_lineitem_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">selector</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">picklist</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">expected_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">eg_bib_id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">source_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">estimated_unit_price</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">claim_policy</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.acq-purchase-order-history"
+ xreflabel="acq.acq_purchase_order_history">
+ <title id="acq.table.acq-purchase-order-history-title">
+ Table:
+
+ acq_purchase_order_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ordering_agency</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">order_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">prepayment_required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_po_hist_id_idx</database> : id</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.acq-purchase-order-lifecycle"
+ xreflabel="acq.acq_purchase_order_lifecycle">
+ <title id="acq.view.acq-purchase-order-lifecycle-title">
+ View:
+
+ acq_purchase_order_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ordering_agency</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">order_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">prepayment_required</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.all-fund-allocation-total"
+ xreflabel="acq.all_fund_allocation_total">
+ <title id="acq.view.all-fund-allocation-total-title">
+ View:
+
+ all_fund_allocation_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.all-fund-combined-balance"
+ xreflabel="acq.all_fund_combined_balance">
+ <title id="acq.view.all-fund-combined-balance-title">
+ View:
+
+ all_fund_combined_balance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.all-fund-encumbrance-total"
+ xreflabel="acq.all_fund_encumbrance_total">
+ <title id="acq.view.all-fund-encumbrance-total-title">
+ View:
+
+ all_fund_encumbrance_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.all-fund-spent-balance"
+ xreflabel="acq.all_fund_spent_balance">
+ <title id="acq.view.all-fund-spent-balance-title">
+ View:
+
+ all_fund_spent_balance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.all-fund-spent-total"
+ xreflabel="acq.all_fund_spent_total">
+ <title id="acq.view.all-fund-spent-total-title">
+ View:
+
+ all_fund_spent_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.cancel-reason"
+ xreflabel="acq.cancel_reason">
+ <title id="acq.table.cancel-reason-title">
+ Table:
+
+ cancel_reason
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">keep_debits</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.lineitem via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="acq.table.purchase-order"/></member>
+ <member><xref linkend="acq.table.user-request"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim"
+ xreflabel="acq.claim">
+ <title id="acq.table.claim-title">
+ Table:
+
+ claim
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-type"/>.
+ </member>
+ <member>
+ <database class="field">lineitem_detail</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem-detail"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">claim_lid_idx</database> : lineitem_detail</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim_event via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim-event"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim-event"
+ xreflabel="acq.claim_event">
+ <title id="acq.table.claim-event-title">
+ Table:
+
+ claim_event
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-event-type"/>.
+ </member>
+ <member>
+ <database class="field">claim</database> : <database class="datatype">serial</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim"/>.
+ </member>
+ <member>
+ <database class="field">event_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">claim_event_claim_date_idx</database> : claim, event_date</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim-event-type"
+ xreflabel="acq.claim_event_type">
+ <title id="acq.table.claim-event-type-title">
+ Table:
+
+ claim_event_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">library_initiated</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim_event via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim-event"/></member>
+ <member><xref linkend="acq.table.claim-policy-action"/></member>
+ <member><xref linkend="acq.table.serial-claim-event"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim-policy"
+ xreflabel="acq.claim_policy">
+ <title id="acq.table.claim-policy-title">
+ Table:
+
+ claim_policy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim_policy_action via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim-policy-action"/></member>
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.provider"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim-policy-action"
+ xreflabel="acq.claim_policy_action">
+ <title id="acq.table.claim-policy-action-title">
+ Table:
+
+ claim_policy_action
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">claim_policy</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-policy"/>.
+ </member>
+ <member>
+ <database class="field">action_interval</database> : <database class="datatype">interval</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">action</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-event-type"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.claim-type"
+ xreflabel="acq.claim_type">
+ <title id="acq.table.claim-type-title">
+ Table:
+
+ claim_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim"/></member>
+ <member><xref linkend="acq.table.serial-claim"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.currency-type"
+ xreflabel="acq.currency_type">
+ <title id="acq.table.currency-type-title">
+ Table:
+
+ currency_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.exchange_rate via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.exchange-rate"/></member>
+ <member><xref linkend="acq.table.fund"/></member>
+ <member><xref linkend="acq.table.fund-debit"/></member>
+ <member><xref linkend="acq.table.funding-source"/></member>
+ <member><xref linkend="acq.table.provider"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.debit-attribution"
+ xreflabel="acq.debit_attribution">
+ <title id="acq.table.debit-attribution-title">
+ Table:
+
+ debit_attribution
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund-debit"/>.
+ </member>
+ <member>
+ <database class="field">debit_amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">funding_source_credit</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.funding-source-credit"/>.
+ </member>
+ <member>
+ <database class="field">credit_amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_attribution_credit_idx</database> : funding_source_credit</member>
+ <member><database class="index">acq_attribution_debit_idx</database> : fund_debit</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.distribution-formula"
+ xreflabel="acq.distribution_formula">
+ <title id="acq.table.distribution-formula-title">
+ Table:
+
+ distribution_formula
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">skip_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.distribution_formula_application via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.distribution-formula-application"/></member>
+ <member><xref linkend="acq.table.distribution-formula-entry"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.distribution-formula-application"
+ xreflabel="acq.distribution_formula_application">
+ <title id="acq.table.distribution-formula-application-title">
+ Table:
+
+ distribution_formula_application
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">formula</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.distribution-formula"/>.
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acqdfa_creator_idx</database> : creator</member>
+ <member><database class="index">acqdfa_df_idx</database> : formula</member>
+ <member><database class="index">acqdfa_li_idx</database> : lineitem</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.distribution-formula-entry"
+ xreflabel="acq.distribution_formula_entry">
+ <title id="acq.table.distribution-formula-entry-title">
+ Table:
+
+ distribution_formula_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">formula</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.distribution-formula"/>.
+ </member>
+ <member>
+ <database class="field">position</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">item_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-location"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">acqdfe_must_be_somewhere</database> : CHECK (((owning_lib IS NOT NULL) OR (location IS NOT NULL)))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.edi-account"
+ xreflabel="acq.edi_account">
+ <title id="acq.table.edi-account-title">
+ Table:
+
+ edi_account
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('config.remote_account_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">host</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">username</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">password</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">account</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">path</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">last_activity</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">in_dir</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">vendcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">vendacct</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.edi_message via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.edi-message"/></member>
+ <member><xref linkend="acq.table.provider"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.edi-message"
+ xreflabel="acq.edi_message">
+ <title id="acq.table.edi-message-title">
+ Table:
+
+ edi_message
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">account</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.edi-account"/>.
+ </member>
+ <member>
+ <database class="field">remote_file</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">translate_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">process_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">error_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'new'::text</literal>,
+ </member>
+ <member>
+ <database class="field">edi</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">jedi</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">error</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">message_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">status_value</database> : CHECK ((status = ANY (ARRAY['new'::text, 'translated'::text, 'trans_error'::text, 'processed'::text, 'proc_error'::text, 'delete_error'::text, 'retry'::text, 'complete'::text])))</member>
+ <member><database class="constraint">valid_message_type</database> : CHECK ((message_type = ANY (ARRAY['ORDERS'::text, 'ORDRSP'::text, 'INVOIC'::text, 'OSTENQ'::text, 'OSTRPT'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.exchange-rate"
+ xreflabel="acq.exchange_rate">
+ <title id="acq.table.exchange-rate-title">
+ Table:
+
+ exchange_rate
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">from_currency</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">to_currency</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">ratio</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fiscal-calendar"
+ xreflabel="acq.fiscal_calendar">
+ <title id="acq.table.fiscal-calendar-title">
+ Table:
+
+ fiscal_calendar
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.fiscal_year via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.fiscal-year"/></member>
+ <member><xref linkend="actor.table.org-unit"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fiscal-year"
+ xreflabel="acq.fiscal_year">
+ <title id="acq.table.fiscal-year-title">
+ Table:
+
+ fiscal_year
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">calendar</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>UNIQUE#2</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fiscal-calendar"/>.
+ </member>
+ <member>
+ <database class="field">year</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">year_begin</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">year_end</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund"
+ xreflabel="acq.fund">
+ <title id="acq.table.fund-title">
+ Table:
+
+ fund
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">year</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT date_part('year'::text, now())</literal>,
+ </member>
+ <member>
+ <database class="field">currency_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#2</literal>,
+ </member>
+ <member>
+ <database class="field">rollover</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">propagate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">balance_warning_percent</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_stop_percent</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">acq_fund_rollover_implies_propagate</database> : CHECK ((propagate OR (NOT rollover)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.fund_allocation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.fund-allocation"/></member>
+ <member><xref linkend="acq.table.fund-debit"/></member>
+ <member><xref linkend="acq.table.fund-tag-map"/></member>
+ <member><xref linkend="acq.table.fund-transfer"/></member>
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="acq.table.po-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-allocation"
+ xreflabel="acq.fund_allocation">
+ <title id="acq.table.fund-allocation-title">
+ Table:
+
+ fund_allocation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.funding-source"/>.
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">allocator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">fund_alloc_allocator_idx</database> : allocator</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-allocation-percent"
+ xreflabel="acq.fund_allocation_percent">
+ <title id="acq.table.fund-allocation-percent-title">
+ Table:
+
+ fund_allocation_percent
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.funding-source"/>.
+ </member>
+ <member>
+ <database class="field">org</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">fund_code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">percent</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">allocator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">percentage_range</database> : CHECK (((percent >= (0)::numeric) AND (percent <= (100)::numeric)))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-allocation-total"
+ xreflabel="acq.fund_allocation_total">
+ <title id="acq.view.fund-allocation-total-title">
+ View:
+
+ fund_allocation_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(100,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-combined-balance"
+ xreflabel="acq.fund_combined_balance">
+ <title id="acq.view.fund-combined-balance-title">
+ View:
+
+ fund_combined_balance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-debit"
+ xreflabel="acq.fund_debit">
+ <title id="acq.table.fund-debit-title">
+ Table:
+
+ fund_debit
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">origin_amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">origin_currency_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">encumbrance</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">debit_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xfer_destination</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.debit_attribution via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.debit-attribution"/></member>
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="acq.table.po-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-debit-total"
+ xreflabel="acq.fund_debit_total">
+ <title id="acq.view.fund-debit-total-title">
+ View:
+
+ fund_debit_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">encumbrance</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-encumbrance-total"
+ xreflabel="acq.fund_encumbrance_total">
+ <title id="acq.view.fund-encumbrance-total-title">
+ View:
+
+ fund_encumbrance_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-spent-balance"
+ xreflabel="acq.fund_spent_balance">
+ <title id="acq.view.fund-spent-balance-title">
+ View:
+
+ fund_spent_balance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.fund-spent-total"
+ xreflabel="acq.fund_spent_total">
+ <title id="acq.view.fund-spent-total-title">
+ View:
+
+ fund_spent_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-tag"
+ xreflabel="acq.fund_tag">
+ <title id="acq.table.fund-tag-title">
+ Table:
+
+ fund_tag
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.fund_tag_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.fund-tag-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-tag-map"
+ xreflabel="acq.fund_tag_map">
+ <title id="acq.table.fund-tag-map-title">
+ Table:
+
+ fund_tag_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund-tag"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.fund-transfer"
+ xreflabel="acq.fund_transfer">
+ <title id="acq.table.fund-transfer-title">
+ Table:
+
+ fund_transfer
+ </title>
+
+ <para>
+
+Fund Transfer
+Each row represents the transfer of money from a source fund
+to a destination fund. There should be corresponding entries
+in acq.fund_allocation. The purpose of acq.fund_transfer is
+to record how much money moved from which fund to which other
+fund.
+The presence of two amount fields, rather than one, reflects
+the possibility that the two funds are denominated in different
+currencies. If they use the same currency type, the two
+amounts should be the same.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">src_fund</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">src_amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">dest_fund</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">dest_amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">transfer_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">transfer_user</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">funding_source_credit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.funding-source-credit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acqftr_usr_idx</database> : transfer_user</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.funding-source"
+ xreflabel="acq.funding_source">
+ <title id="acq.table.funding-source-title">
+ Table:
+
+ funding_source
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">currency_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.fund_allocation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.fund-allocation"/></member>
+ <member><xref linkend="acq.table.fund-allocation-percent"/></member>
+ <member><xref linkend="acq.table.funding-source-credit"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.funding-source-allocation-total"
+ xreflabel="acq.funding_source_allocation_total">
+ <title id="acq.view.funding-source-allocation-total-title">
+ View:
+
+ funding_source_allocation_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(100,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.funding-source-balance"
+ xreflabel="acq.funding_source_balance">
+ <title id="acq.view.funding-source-balance-title">
+ View:
+
+ funding_source_balance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(100,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.funding-source-credit"
+ xreflabel="acq.funding_source_credit">
+ <title id="acq.table.funding-source-credit-title">
+ Table:
+
+ funding_source_credit
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.funding-source"/>.
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deadline_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">effective_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.debit_attribution via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.debit-attribution"/></member>
+ <member><xref linkend="acq.table.fund-transfer"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.funding-source-credit-total"
+ xreflabel="acq.funding_source_credit_total">
+ <title id="acq.view.funding-source-credit-total-title">
+ View:
+
+ funding_source_credit_total
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice"
+ xreflabel="acq.invoice">
+ <title id="acq.table.invoice-title">
+ Table:
+
+ invoice
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">receiver</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">shipper</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">recv_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">recv_method</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'EDI'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice-method"/>.
+ </member>
+ <member>
+ <database class="field">inv_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_ident</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_auth</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_method</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice-payment-method"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.invoice_entry via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.invoice-entry"/></member>
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice-entry"
+ xreflabel="acq.invoice_entry">
+ <title id="acq.table.invoice-entry-title">
+ Table:
+
+ invoice_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice"/>.
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ <member>
+ <database class="field">inv_item_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">phys_item_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">billed_per_item</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice-item"
+ xreflabel="acq.invoice_item">
+ <title id="acq.table.invoice-item-title">
+ Table:
+
+ invoice_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice"/>.
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund-debit"/>.
+ </member>
+ <member>
+ <database class="field">inv_item_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice-item-type"/>.
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">po_item</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.po-item"/>.
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice-item-type"
+ xreflabel="acq.invoice_item_type">
+ <title id="acq.table.invoice-item-type-title">
+ Table:
+
+ invoice_item_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">prorate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.invoice_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ <member><xref linkend="acq.table.po-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice-method"
+ xreflabel="acq.invoice_method">
+ <title id="acq.table.invoice-method-title">
+ Table:
+
+ invoice_method
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.invoice via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.invoice"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.invoice-payment-method"
+ xreflabel="acq.invoice_payment_method">
+ <title id="acq.table.invoice-payment-method-title">
+ Table:
+
+ invoice_payment_method
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.invoice via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.invoice"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem"
+ xreflabel="acq.lineitem">
+ <title id="acq.table.lineitem-title">
+ Table:
+
+ lineitem
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">selector</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">picklist</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.picklist"/>.
+ </member>
+ <member>
+ <database class="field">expected_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">eg_bib_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">source_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'new'::text</literal>,
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.cancel-reason"/>.
+ </member>
+ <member>
+ <database class="field">estimated_unit_price</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">claim_policy</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-policy"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">picklist_or_po</database> : CHECK (((picklist IS NOT NULL) OR (purchase_order IS NOT NULL)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">li_creator_idx</database> : creator</member>
+ <member><database class="index">li_editor_idx</database> : editor</member>
+ <member><database class="index">li_pl_idx</database> : picklist</member>
+ <member><database class="index">li_po_idx</database> : purchase_order</member>
+ <member><database class="index">li_selector_idx</database> : selector</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.distribution_formula_application via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.distribution-formula-application"/></member>
+ <member><xref linkend="acq.table.invoice-entry"/></member>
+ <member><xref linkend="acq.table.lineitem-attr"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="acq.table.lineitem-note"/></member>
+ <member><xref linkend="acq.table.user-request"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-alert-text"
+ xreflabel="acq.lineitem_alert_text">
+ <title id="acq.table.lineitem-alert-text-title">
+ Table:
+
+ lineitem_alert_text
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.lineitem_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.lineitem-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-attr"
+ xreflabel="acq.lineitem_attr">
+ <title id="acq.table.lineitem-attr-title">
+ Table:
+
+ lineitem_attr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">definition</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ <member>
+ <database class="field">attr_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">attr_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">attr_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">li_attr_definition_idx</database> : definition</member>
+ <member><database class="index">li_attr_li_idx</database> : lineitem</member>
+ <member><database class="index">li_attr_value_idx</database> : attr_value</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-attr-definition"
+ xreflabel="acq.lineitem_attr_definition">
+ <title id="acq.table.lineitem-attr-definition-title">
+ Table:
+
+ lineitem_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-detail"
+ xreflabel="acq.lineitem_detail">
+ <title id="acq.table.lineitem-detail-title">
+ Table:
+
+ lineitem_detail
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund-debit"/>.
+ </member>
+ <member>
+ <database class="field">eg_copy_id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cn_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">collection_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-modifier"/>.
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-location"/>.
+ </member>
+ <member>
+ <database class="field">recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.cancel-reason"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">li_detail_li_idx</database> : lineitem</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-generated-attr-definition"
+ xreflabel="acq.lineitem_generated_attr_definition">
+ <title id="acq.table.lineitem-generated-attr-definition-title">
+ Table:
+
+ lineitem_generated_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-local-attr-definition"
+ xreflabel="acq.lineitem_local_attr_definition">
+ <title id="acq.table.lineitem-local-attr-definition-title">
+ Table:
+
+ lineitem_local_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-marc-attr-definition"
+ xreflabel="acq.lineitem_marc_attr_definition">
+ <title id="acq.table.lineitem-marc-attr-definition-title">
+ Table:
+
+ lineitem_marc_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-note"
+ xreflabel="acq.lineitem_note">
+ <title id="acq.table.lineitem-note-title">
+ Table:
+
+ lineitem_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">alert_text</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem-alert-text"/>.
+ </member>
+ <member>
+ <database class="field">vendor_public</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">li_note_creator_idx</database> : creator</member>
+ <member><database class="index">li_note_editor_idx</database> : editor</member>
+ <member><database class="index">li_note_li_idx</database> : lineitem</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-provider-attr-definition"
+ xreflabel="acq.lineitem_provider_attr_definition">
+ <title id="acq.table.lineitem-provider-attr-definition-title">
+ Table:
+
+ lineitem_provider_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.lineitem-usr-attr-definition"
+ xreflabel="acq.lineitem_usr_attr_definition">
+ <title id="acq.table.lineitem-usr-attr-definition-title">
+ Table:
+
+ lineitem_usr_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">li_usr_attr_def_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.view.ordered-funding-source-credit"
+ xreflabel="acq.ordered_funding_source_credit">
+ <title id="acq.view.ordered-funding-source-credit-title">
+ View:
+
+ ordered_funding_source_credit
+ </title>
+
+ <para>
+
+The acq.ordered_funding_source_credit view is a prioritized
+ordering of funding source credits. When ordered by the first
+three columns, this view defines the order in which the various
+credits are to be tapped for spending, subject to the allocations
+in the acq.fund_allocation table.
+The first column reflects the principle that we should spend
+money with deadlines before spending money without deadlines.
+The second column reflects the principle that we should spend the
+oldest money first. For money with deadlines, that means that we
+spend first from the credit with the earliest deadline. For
+money without deadlines, we spend first from the credit with the
+earliest effective date.
+The third column is a tie breaker to ensure a consistent
+ordering.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">sort_priority</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">sort_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">funding_source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.picklist"
+ xreflabel="acq.picklist">
+ <title id="acq.table.picklist-title">
+ Table:
+
+ picklist
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_picklist_creator_idx</database> : creator</member>
+ <member><database class="index">acq_picklist_editor_idx</database> : editor</member>
+ <member><database class="index">acq_picklist_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.lineitem via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.lineitem"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.po-item"
+ xreflabel="acq.po_item">
+ <title id="acq.table.po-item-title">
+ Table:
+
+ po_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund-debit"/>.
+ </member>
+ <member>
+ <database class="field">inv_item_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.invoice-item-type"/>.
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">estimated_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fund"/>.
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.invoice_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.po-note"
+ xreflabel="acq.po_note">
+ <title id="acq.table.po-note-title">
+ Table:
+
+ po_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.purchase-order"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">vendor_public</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_po_note_creator_idx</database> : creator</member>
+ <member><database class="index">acq_po_note_editor_idx</database> : editor</member>
+ <member><database class="index">po_note_po_idx</database> : purchase_order</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider"
+ xreflabel="acq.provider">
+ <title id="acq.table.provider-title">
+ Table:
+
+ provider
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">currency_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.currency-type"/>.
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">holding_tag</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">san</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">edi_default</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.edi-account"/>.
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">prepayment_required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">url</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">fax_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">default_claim_policy</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-policy"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.edi_account via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.edi-account"/></member>
+ <member><xref linkend="acq.table.invoice"/></member>
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.lineitem-provider-attr-definition"/></member>
+ <member><xref linkend="acq.table.provider-address"/></member>
+ <member><xref linkend="acq.table.provider-contact"/></member>
+ <member><xref linkend="acq.table.provider-holding-subfield-map"/></member>
+ <member><xref linkend="acq.table.provider-note"/></member>
+ <member><xref linkend="acq.table.purchase-order"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider-address"
+ xreflabel="acq.provider_address">
+ <title id="acq.table.provider-address-title">
+ Table:
+
+ provider_address
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fax_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider-contact"
+ xreflabel="acq.provider_contact">
+ <title id="acq.table.provider-contact-title">
+ Table:
+
+ provider_contact
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">role</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.provider_contact_address via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.provider-contact-address"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider-contact-address"
+ xreflabel="acq.provider_contact_address">
+ <title id="acq.table.provider-contact-address-title">
+ Table:
+
+ provider_contact_address
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">contact</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider-contact"/>.
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fax_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider-holding-subfield-map"
+ xreflabel="acq.provider_holding_subfield_map">
+ <title id="acq.table.provider-holding-subfield-map-title">
+ Table:
+
+ provider_holding_subfield_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">subfield</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.provider-note"
+ xreflabel="acq.provider_note">
+ <title id="acq.table.provider-note-title">
+ Table:
+
+ provider_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_pro_note_creator_idx</database> : creator</member>
+ <member><database class="index">acq_pro_note_editor_idx</database> : editor</member>
+ <member><database class="index">acq_pro_note_pro_idx</database> : provider</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.purchase-order"
+ xreflabel="acq.purchase_order">
+ <title id="acq.table.purchase-order-title">
+ Table:
+
+ purchase_order
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">ordering_agency</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.provider"/>.
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'new'::text</literal>,
+ </member>
+ <member>
+ <database class="field">order_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.cancel-reason"/>.
+ </member>
+ <member>
+ <database class="field">prepayment_required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acq_po_org_name_order_date_idx</database> : ordering_agency, name, order_date</member>
+ <member><database class="index">po_creator_idx</database> : creator</member>
+ <member><database class="index">po_editor_idx</database> : editor</member>
+ <member><database class="index">po_owner_idx</database> : owner</member>
+ <member><database class="index">po_provider_idx</database> : provider</member>
+ <member><database class="index">po_state_idx</database> : state</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.edi_message via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.edi-message"/></member>
+ <member><xref linkend="acq.table.invoice-entry"/></member>
+ <member><xref linkend="acq.table.invoice-item"/></member>
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.po-item"/></member>
+ <member><xref linkend="acq.table.po-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.serial-claim"
+ xreflabel="acq.serial_claim">
+ <title id="acq.table.serial-claim-title">
+ Table:
+
+ serial_claim
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-type"/>.
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.item"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_claim_lid_idx</database> : item</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.serial_claim_event via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.serial-claim-event"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.serial-claim-event"
+ xreflabel="acq.serial_claim_event">
+ <title id="acq.table.serial-claim-event-title">
+ Table:
+
+ serial_claim_event
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.claim-event-type"/>.
+ </member>
+ <member>
+ <database class="field">claim</database> : <database class="datatype">serial</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.serial-claim"/>.
+ </member>
+ <member>
+ <database class="field">event_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_claim_event_claim_date_idx</database> : claim, event_date</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.user-request"
+ xreflabel="acq.user_request">
+ <title id="acq.table.user-request-title">
+ Table:
+
+ user_request
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">pickup_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">holdable_formats</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_notify</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email_notify</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.lineitem"/>.
+ </member>
+ <member>
+ <database class="field">eg_bib</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">request_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">need_before</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fee</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">request_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.user-request-type"/>.
+ </member>
+ <member>
+ <database class="field">isxn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">volume</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">article_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">article_pages</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">publisher</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pubdate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">mentioned</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">other_info</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_reason</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="acq.table.cancel-reason"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.table.user-request-type"
+ xreflabel="acq.user_request_type">
+ <title id="acq.table.user-request-type-title">
+ Table:
+
+ user_request_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.user_request via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.user-request"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="acq.function.attribute-debits" xreflabel="acqattribute_debits()">
+ <title id="acq.function.attribute-debits-title">attribute_debits()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.audit-acq-lineitem-func" xreflabel="acqaudit_acq_lineitem_func()">
+ <title id="acq.function.audit-acq-lineitem-func-title">audit_acq_lineitem_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.audit-acq-purchase-order-func" xreflabel="acqaudit_acq_purchase_order_func()">
+ <title id="acq.function.audit-acq-purchase-order-func-title">audit_acq_purchase_order_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-auditor-tbl-text-sch-text" xreflabel="acqcreate_acq_auditor(tbl text, sch text)">
+ <title id="acq.function.create-acq-auditor-tbl-text-sch-text-title">create_acq_auditor(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-func-tbl-text-sch-text" xreflabel="acqcreate_acq_func(tbl text, sch text)">
+ <title id="acq.function.create-acq-func-tbl-text-sch-text-title">create_acq_func(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-history-tbl-text-sch-text" xreflabel="acqcreate_acq_history(tbl text, sch text)">
+ <title id="acq.function.create-acq-history-tbl-text-sch-text-title">create_acq_history(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-lifecycle-tbl-text-sch-text" xreflabel="acqcreate_acq_lifecycle(tbl text, sch text)">
+ <title id="acq.function.create-acq-lifecycle-tbl-text-sch-text-title">create_acq_lifecycle(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-seq-tbl-text-sch-text" xreflabel="acqcreate_acq_seq(tbl text, sch text)">
+ <title id="acq.function.create-acq-seq-tbl-text-sch-text-title">create_acq_seq(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.create-acq-update-trigger-tbl-text-sch-text" xreflabel="acqcreate_acq_update_trigger(tbl text, sch text)">
+ <title id="acq.function.create-acq-update-trigger-tbl-text-sch-text-title">create_acq_update_trigger(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.exchange-ratio-text-text-numeric" xreflabel="acqexchange_ratio(text, text, numeric)">
+ <title id="acq.function.exchange-ratio-text-text-numeric-title">exchange_ratio(text, text, numeric)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>numeric</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.exchange-ratio-to-ex-text-from-ex-text" xreflabel="acqexchange_ratio(to_ex text, from_ex text)">
+ <title id="acq.function.exchange-ratio-to-ex-text-from-ex-text-title">exchange_ratio(to_ex text, from_ex text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>numeric</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.extract-holding-attr-table-tag-integer-lineitem-text" xreflabel="acqextract_holding_attr_table(tag integer, lineitem text)">
+ <title id="acq.function.extract-holding-attr-table-tag-integer-lineitem-text-title">extract_holding_attr_table(tag integer, lineitem text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF flat_lineitem_holding_subfield</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.extract-provider-holding-data-lineitem-i-integer" xreflabel="acqextract_provider_holding_data(lineitem_i integer)">
+ <title id="acq.function.extract-provider-holding-data-lineitem-i-integer-title">extract_provider_holding_data(lineitem_i integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF flat_lineitem_detail</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.fap-limit-100" xreflabel="acqfap_limit_100()">
+ <title id="acq.function.fap-limit-100-title">fap_limit_100()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.find-bad-fy" xreflabel="acqfind_bad_fy()">
+ <title id="acq.function.find-bad-fy-title">find_bad_fy()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.fund-alloc-percent-val" xreflabel="acqfund_alloc_percent_val()">
+ <title id="acq.function.fund-alloc-percent-val-title">fund_alloc_percent_val()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.po-org-name-date-unique" xreflabel="acqpo_org_name_date_unique()">
+ <title id="acq.function.po-org-name-date-unique-title">po_org_name_date_unique()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.propagate-funds-by-org-tree-org-unit-id-integer-user-id-integer-old-year-integer" xreflabel="acqpropagate_funds_by_org_tree(org_unit_id integer, user_id integer, old_year integer)">
+ <title id="acq.function.propagate-funds-by-org-tree-org-unit-id-integer-user-id-integer-old-year-integer-title">propagate_funds_by_org_tree(org_unit_id integer, user_id integer, old_year integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.propagate-funds-by-org-unit-org-unit-id-integer-user-id-integer-old-year-integer" xreflabel="acqpropagate_funds_by_org_unit(org_unit_id integer, user_id integer, old_year integer)">
+ <title id="acq.function.propagate-funds-by-org-unit-org-unit-id-integer-user-id-integer-old-year-integer-title">propagate_funds_by_org_unit(org_unit_id integer, user_id integer, old_year integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.purchase-order-name-default" xreflabel="acqpurchase_order_name_default()">
+ <title id="acq.function.purchase-order-name-default-title">purchase_order_name_default()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.rollover-funds-by-org-tree-org-unit-id-integer-user-id-integer-old-year-integer" xreflabel="acqrollover_funds_by_org_tree(org_unit_id integer, user_id integer, old_year integer)">
+ <title id="acq.function.rollover-funds-by-org-tree-org-unit-id-integer-user-id-integer-old-year-integer-title">rollover_funds_by_org_tree(org_unit_id integer, user_id integer, old_year integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.rollover-funds-by-org-unit-org-unit-id-integer-user-id-integer-old-year-integer" xreflabel="acqrollover_funds_by_org_unit(org_unit_id integer, user_id integer, old_year integer)">
+ <title id="acq.function.rollover-funds-by-org-unit-org-unit-id-integer-user-id-integer-old-year-integer-title">rollover_funds_by_org_unit(org_unit_id integer, user_id integer, old_year integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="acq.function.transfer-fund-xfer-note-integer-user-id-numeric-new-amount-integer-new-fund-numeric-old-amount-integer-old-fund-text" xreflabel="acqtransfer_fund(xfer_note integer, user_id numeric, new_amount integer, new_fund numeric, old_amount integer, old_fund text)">
+ <title id="acq.function.transfer-fund-xfer-note-integer-user-id-numeric-new-amount-integer-new-fund-numeric-old-amount-integer-old-fund-text-title">transfer_fund(xfer_note integer, user_id numeric, new_amount integer, new_fund numeric, old_amount integer, old_fund text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="action.schema">
+ <title>Schema action</title>
+ <para></para>
+
+ <simplesect id="action.table.aged-circulation"
+ xreflabel="action.aged_circulation">
+ <title id="action.table.aged-circulation-title">
+ Table:
+
+ aged_circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">usr_post_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_home_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usr_profile</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usr_birth_year</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_call_number</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">copy_location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">copy_owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">copy_circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">copy_bib_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_aged_circulation_target_copy_idx</database> : target_copy</member>
+ <member><database class="index">aged_circ_circ_lib_idx</database> : circ_lib</member>
+ <member><database class="index">aged_circ_copy_circ_lib_idx</database> : copy_circ_lib</member>
+ <member><database class="index">aged_circ_copy_location_idx</database> : copy_location</member>
+ <member><database class="index">aged_circ_copy_owning_lib_idx</database> : copy_owning_lib</member>
+ <member><database class="index">aged_circ_start_idx</database> : xact_start</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.all-circulation"
+ xreflabel="action.all_circulation">
+ <title id="action.view.all-circulation-title">
+ View:
+
+ all_circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_post_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_home_ou</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_profile</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_birth_year</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_call_number</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_bib_record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.billable-circulations"
+ xreflabel="action.billable_circulations">
+ <title id="action.view.billable-circulations-title">
+ View:
+
+ billable_circulations
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.circulation"
+ xreflabel="action.circulation">
+ <title id="action.table.circulation-title">
+ Table:
+
+ circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.billable_xact_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '1 day'::interval</literal>,
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.workstation"/>.
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.workstation"/>.
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action.table.circulation"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">circulation_stop_fines_check</database> : CHECK ((stop_fines = ANY (ARRAY['CHECKIN'::text, 'CLAIMSRETURNED'::text, 'LOST'::text, 'MAXFINES'::text, 'RENEW'::text, 'LONGOVERDUE'::text, 'CLAIMSNEVERCHECKEDOUT'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_circulation_target_copy_idx</database> : target_copy</member>
+ <member><database class="index">circ_all_usr_idx</database> : usr</member>
+ <member><database class="index">circ_checkin_staff_idx</database> : checkin_staff</member>
+ <member><database class="index">circ_checkin_time</database> : checkin_time) WHERE (checkin_time IS NOT NULL</member>
+ <member><database class="index">circ_circ_lib_idx</database> : circ_lib</member>
+ <member><database class="index">circ_circ_staff_idx</database> : circ_staff</member>
+ <member><database class="index">circ_open_date_idx</database> : xact_start) WHERE (xact_finish IS NULL</member>
+ <member><database class="index">circ_open_xacts_idx</database> : usr) WHERE (xact_finish IS NULL</member>
+ <member><database class="index">circ_outstanding_idx</database> : usr) WHERE (checkin_time IS NULL</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.circulation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.circulation"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.fieldset"
+ xreflabel="action.fieldset">
+ <title id="action.table.fieldset-title">
+ Table:
+
+ fieldset
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creation_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">scheduled_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">applied_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">classname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">stored_query</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">pkey_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">fieldset_one_or_the_other</database> : CHECK ((((stored_query IS NOT NULL) AND (pkey_value IS NULL)) OR ((pkey_value IS NOT NULL) AND (stored_query IS NULL))))</member>
+ <member><database class="constraint">valid_status</database> : CHECK ((status = ANY (ARRAY['PENDING'::text, 'APPLIED'::text, 'ERROR'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_fieldset_sched_time_idx</database> : scheduled_time</member>
+ <member><database class="index">action_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.fieldset_col_val via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.fieldset-col-val"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.fieldset-col-val"
+ xreflabel="action.fieldset_col_val">
+ <title id="action.table.fieldset-col-val-title">
+ Table:
+
+ fieldset_col_val
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fieldset</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.fieldset"/>.
+ </member>
+ <member>
+ <database class="field">col</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">val</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-copy-map"
+ xreflabel="action.hold_copy_map">
+ <title id="action.table.hold-copy-map-title">
+ Table:
+
+ hold_copy_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.hold-request"/>.
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">acm_copy_idx</database> : target_copy</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-notification"
+ xreflabel="action.hold_notification">
+ <title id="action.table.hold-notification-title">
+ Table:
+
+ hold_notification
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.hold-request"/>.
+ </member>
+ <member>
+ <database class="field">notify_staff</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">notify_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">method</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">ahn_hold_idx</database> : hold</member>
+ <member><database class="index">ahn_notify_staff_idx</database> : notify_staff</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-request"
+ xreflabel="action.hold_request">
+ <title id="action.table.hold-request-title">
+ Table:
+
+ hold_request
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">request_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">capture_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">fulfillment_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">return_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">prev_check_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">expire_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_cause</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action.table.hold-request-cancel-cause"/>.
+ </member>
+ <member>
+ <database class="field">cancel_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">current_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">fulfillment_staff</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">fulfillment_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">request_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">requestor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">selection_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">selection_depth</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">pickup_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">hold_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">holdable_formats</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_notify</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email_notify</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">frozen</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">thaw_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">shelf_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">cut_in_line</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">shelf_expire_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">hold_request_current_copy_idx</database> : current_copy</member>
+ <member><database class="index">hold_request_fulfillment_staff_idx</database> : fulfillment_staff</member>
+ <member><database class="index">hold_request_pickup_lib_idx</database> : pickup_lib</member>
+ <member><database class="index">hold_request_prev_check_time_idx</database> : prev_check_time</member>
+ <member><database class="index">hold_request_requestor_idx</database> : requestor</member>
+ <member><database class="index">hold_request_target_idx</database> : target</member>
+ <member><database class="index">hold_request_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.hold_copy_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.hold-copy-map"/></member>
+ <member><xref linkend="action.table.hold-notification"/></member>
+ <member><xref linkend="action.table.hold-request-note"/></member>
+ <member><xref linkend="action.table.hold-transit-copy"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-request-cancel-cause"
+ xreflabel="action.hold_request_cancel_cause">
+ <title id="action.table.hold-request-cancel-cause-title">
+ Table:
+
+ hold_request_cancel_cause
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.hold_request via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.hold-request"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-request-note"
+ xreflabel="action.hold_request_note">
+ <title id="action.table.hold-request-note-title">
+ Table:
+
+ hold_request_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.hold-request"/>.
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">body</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">slip</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">ahrn_hold_idx</database> : hold</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.hold-transit-copy"
+ xreflabel="action.hold_transit_copy">
+ <title id="action.table.hold-transit-copy-title">
+ Table:
+
+ hold_transit_copy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('action.transit_copy_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">source_send_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">dest_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">dest</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">prev_hop</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">persistant_transfer</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">prev_dest</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action.table.hold-request"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">active_hold_transit_cp_idx</database> : target_copy</member>
+ <member><database class="index">active_hold_transit_dest_idx</database> : dest</member>
+ <member><database class="index">active_hold_transit_source_idx</database> : source</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.in-house-use"
+ xreflabel="action.in_house_use">
+ <title id="action.table.in-house-use-title">
+ Table:
+
+ in_house_use
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">use_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_in_house_use_staff_idx</database> : staff</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.non-cat-in-house-use"
+ xreflabel="action.non_cat_in_house_use">
+ <title id="action.table.non-cat-in-house-use-title">
+ Table:
+
+ non_cat_in_house_use
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.non-cataloged-type"/>.
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">use_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">non_cat_in_house_use_staff_idx</database> : staff</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.non-cataloged-circulation"
+ xreflabel="action.non_cataloged_circulation">
+ <title id="action.table.non-cataloged-circulation-title">
+ Table:
+
+ non_cataloged_circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">patron</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.non-cataloged-type"/>.
+ </member>
+ <member>
+ <database class="field">circ_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_non_cat_circ_patron_idx</database> : patron</member>
+ <member><database class="index">action_non_cat_circ_staff_idx</database> : staff</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.open-circulation"
+ xreflabel="action.open_circulation">
+ <title id="action.view.open-circulation-title">
+ View:
+
+ open_circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.reservation-transit-copy"
+ xreflabel="action.reservation_transit_copy">
+ <title id="action.table.reservation-transit-copy-title">
+ Table:
+
+ reservation_transit_copy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('action.transit_copy_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">source_send_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">dest_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource"/>.
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">dest</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">prev_hop</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">persistant_transfer</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">prev_dest</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">reservation</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="booking.table.reservation"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">active_reservation_transit_cp_idx</database> : target_copy</member>
+ <member><database class="index">active_reservation_transit_dest_idx</database> : dest</member>
+ <member><database class="index">active_reservation_transit_source_idx</database> : source</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.survey"
+ xreflabel="action.survey">
+ <title id="action.table.survey-title">
+ Table:
+
+ survey
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">start_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">end_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT (now() + '10 years'::interval)</literal>,
+ </member>
+ <member>
+ <database class="field">usr_summary</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">opac</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">poll</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.survey_question via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.survey-question"/></member>
+ <member><xref linkend="action.table.survey-response"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.survey-answer"
+ xreflabel="action.survey_answer">
+ <title id="action.table.survey-answer-title">
+ Table:
+
+ survey_answer
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">question</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.survey-question"/>.
+ </member>
+ <member>
+ <database class="field">answer</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.survey_response via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.survey-response"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.survey-question"
+ xreflabel="action.survey_question">
+ <title id="action.table.survey-question-title">
+ Table:
+
+ survey_question
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">survey</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.survey"/>.
+ </member>
+ <member>
+ <database class="field">question</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.survey_answer via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.survey-answer"/></member>
+ <member><xref linkend="action.table.survey-response"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.survey-response"
+ xreflabel="action.survey_response">
+ <title id="action.table.survey-response-title">
+ Table:
+
+ survey_response
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">response_group_id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">survey</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.survey"/>.
+ </member>
+ <member>
+ <database class="field">question</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.survey-question"/>.
+ </member>
+ <member>
+ <database class="field">answer</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action.table.survey-answer"/>.
+ </member>
+ <member>
+ <database class="field">answer_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">effective_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">action_survey_response_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.transit-copy"
+ xreflabel="action.transit_copy">
+ <title id="action.table.transit-copy-title">
+ Table:
+
+ transit_copy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source_send_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">dest_recv_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">dest</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">prev_hop</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action.table.transit-copy"/>.
+ </member>
+ <member>
+ <database class="field">copy_status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.copy-status"/>.
+ </member>
+ <member>
+ <database class="field">persistant_transfer</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">prev_dest</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">active_transit_cp_idx</database> : target_copy</member>
+ <member><database class="index">active_transit_dest_idx</database> : dest</member>
+ <member><database class="index">active_transit_source_idx</database> : source</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.transit_copy via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.transit-copy"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.unfulfilled-hold-innermost-loop"
+ xreflabel="action.unfulfilled_hold_innermost_loop">
+ <title id="action.view.unfulfilled-hold-innermost-loop-title">
+ View:
+
+ unfulfilled_hold_innermost_loop
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">count</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.table.unfulfilled-hold-list"
+ xreflabel="action.unfulfilled_hold_list">
+ <title id="action.table.unfulfilled-hold-list-title">
+ Table:
+
+ unfulfilled_hold_list
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">current_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fail_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">uhr_hold_idx</database> : hold</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.unfulfilled-hold-loops"
+ xreflabel="action.unfulfilled_hold_loops">
+ <title id="action.view.unfulfilled-hold-loops-title">
+ View:
+
+ unfulfilled_hold_loops
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">count</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.unfulfilled-hold-max-loop"
+ xreflabel="action.unfulfilled_hold_max_loop">
+ <title id="action.view.unfulfilled-hold-max-loop-title">
+ View:
+
+ unfulfilled_hold_max_loop
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">max</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.view.unfulfilled-hold-min-loop"
+ xreflabel="action.unfulfilled_hold_min_loop">
+ <title id="action.view.unfulfilled-hold-min-loop-title">
+ View:
+
+ unfulfilled_hold_min_loop
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">hold</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">min</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action.function.age-circ-on-delete" xreflabel="actionage_circ_on_delete()">
+ <title id="action.function.age-circ-on-delete-title">age_circ_on_delete()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.age-parent-circ-on-delete" xreflabel="actionage_parent_circ_on_delete()">
+ <title id="action.function.age-parent-circ-on-delete-title">age_parent_circ_on_delete()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.apply-fieldset-query-integer-pkey-name-text-table-name-text-fieldset-id-text" xreflabel="actionapply_fieldset(query integer, pkey_name text, table_name text, fieldset_id text)">
+ <title id="action.function.apply-fieldset-query-integer-pkey-name-text-table-name-text-fieldset-id-text-title">apply_fieldset(query integer, pkey_name text, table_name text, fieldset_id text)</title>
+ <para>
+
+Applies a specified fieldset, using a supplied table name and primary
+key name. The query parameter should be non-null only for
+query-based fieldsets.
+Returns NULL if successful, or an error message if not.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.circ-chain-ctx-circ-id-integer" xreflabel="actioncirc_chain(ctx_circ_id integer)">
+ <title id="action.function.circ-chain-ctx-circ-id-integer-title">circ_chain(ctx_circ_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF circulation</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.circulation-claims-returned" xreflabel="actioncirculation_claims_returned()">
+ <title id="action.function.circulation-claims-returned-title">circulation_claims_returned()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.copy-related-hold-stats-copy-id-integer" xreflabel="actioncopy_related_hold_stats(copy_id integer)">
+ <title id="action.function.copy-related-hold-stats-copy-id-integer-title">copy_related_hold_stats(copy_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>hold_stats</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.find-circ-matrix-matchpoint-renewal-integer-match-user-bigint-match-item-integer-context-ou-boolean" xreflabel="actionfind_circ_matrix_matchpoint(renewal integer, match_user bigint, match_item integer, context_ou boolean)">
+ <title id="action.function.find-circ-matrix-matchpoint-renewal-integer-match-user-bigint-match-item-integer-context-ou-boolean-title">find_circ_matrix_matchpoint(renewal integer, match_user bigint, match_item integer, context_ou boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>circ_matrix_matchpoint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.find-hold-matrix-matchpoint-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer" xreflabel="actionfind_hold_matrix_matchpoint(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)">
+ <title id="action.function.find-hold-matrix-matchpoint-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer-title">find_hold_matrix_matchpoint(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.hold-request-permit-test-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer" xreflabel="actionhold_request_permit_test(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)">
+ <title id="action.function.hold-request-permit-test-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer-title">hold_request_permit_test(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.hold-request-permit-test-retargetting-integer-match-requestor-integer-match-user-bigint-match-item-integer-request-ou-integer-pickup-ou-boolean" xreflabel="actionhold_request_permit_test(retargetting integer, match_requestor integer, match_user bigint, match_item integer, request_ou integer, pickup_ou boolean)">
+ <title id="action.function.hold-request-permit-test-retargetting-integer-match-requestor-integer-match-user-bigint-match-item-integer-request-ou-integer-pickup-ou-boolean-title">hold_request_permit_test(retargetting integer, match_requestor integer, match_user bigint, match_item integer, request_ou integer, pickup_ou boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.hold-retarget-permit-test-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer" xreflabel="actionhold_retarget_permit_test(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)">
+ <title id="action.function.hold-retarget-permit-test-match-requestor-integer-match-user-integer-match-item-bigint-request-ou-integer-pickup-ou-integer-title">hold_retarget_permit_test(match_requestor integer, match_user integer, match_item bigint, request_ou integer, pickup_ou integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.item-user-circ-test-integer-bigint-integer" xreflabel="actionitem_user_circ_test(integer, bigint, integer)">
+ <title id="action.function.item-user-circ-test-integer-bigint-integer-title">item_user_circ_test(integer, bigint, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.item-user-circ-test-renewal-integer-match-user-bigint-match-item-integer-circ-ou-boolean" xreflabel="actionitem_user_circ_test(renewal integer, match_user bigint, match_item integer, circ_ou boolean)">
+ <title id="action.function.item-user-circ-test-renewal-integer-match-user-bigint-match-item-integer-circ-ou-boolean-title">item_user_circ_test(renewal integer, match_user bigint, match_item integer, circ_ou boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.item-user-renew-test-integer-bigint-integer" xreflabel="actionitem_user_renew_test(integer, bigint, integer)">
+ <title id="action.function.item-user-renew-test-integer-bigint-integer-title">item_user_renew_test(integer, bigint, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF matrix_test_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.purge-circulations" xreflabel="actionpurge_circulations()">
+ <title id="action.function.purge-circulations-title">purge_circulations()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.push-circ-due-time" xreflabel="actionpush_circ_due_time()">
+ <title id="action.function.push-circ-due-time-title">push_circ_due_time()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.summarize-circ-chain-ctx-circ-id-integer" xreflabel="actionsummarize_circ_chain(ctx_circ_id integer)">
+ <title id="action.function.summarize-circ-chain-ctx-circ-id-integer-title">summarize_circ_chain(ctx_circ_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>circ_chain_summary</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.survey-response-answer-date-fixup" xreflabel="actionsurvey_response_answer_date_fixup()">
+ <title id="action.function.survey-response-answer-date-fixup-title">survey_response_answer_date_fixup()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.usr-visible-circ-copies-integer" xreflabel="actionusr_visible_circ_copies(integer)">
+ <title id="action.function.usr-visible-circ-copies-integer-title">usr_visible_circ_copies(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.usr-visible-circs-usr-id-integer" xreflabel="actionusr_visible_circs(usr_id integer)">
+ <title id="action.function.usr-visible-circs-usr-id-integer-title">usr_visible_circs(usr_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF circulation</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="action.function.usr-visible-holds-usr-id-integer" xreflabel="actionusr_visible_holds(usr_id integer)">
+ <title id="action.function.usr-visible-holds-usr-id-integer-title">usr_visible_holds(usr_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF hold_request</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="action-trigger.schema">
+ <title>Schema action_trigger</title>
+ <para></para>
+
+ <simplesect id="action-trigger.table.cleanup"
+ xreflabel="action_trigger.cleanup">
+ <title id="action-trigger.table.cleanup-title">
+ Table:
+
+ cleanup
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">module</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event_definition via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.collector"
+ xreflabel="action_trigger.collector">
+ <title id="action-trigger.table.collector-title">
+ Table:
+
+ collector
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">module</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.environment via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.environment"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.environment"
+ xreflabel="action_trigger.environment">
+ <title id="action-trigger.table.environment-title">
+ Table:
+
+ environment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">event_def</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-definition"/>.
+ </member>
+ <member>
+ <database class="field">path</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">collector</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.collector"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">environment_label_check</database> : CHECK ((label <> ALL (ARRAY['result'::text, 'target'::text, 'event'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.event"
+ xreflabel="action_trigger.event">
+ <title id="action-trigger.table.event-title">
+ Table:
+
+ event
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">event_def</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-definition"/>.
+ </member>
+ <member>
+ <database class="field">add_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">run_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">start_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">update_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">complete_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">update_process</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'pending'::text</literal>,
+ </member>
+ <member>
+ <database class="field">user_data</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">template_output</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-output"/>.
+ </member>
+ <member>
+ <database class="field">error_output</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-output"/>.
+ </member>
+ <member>
+ <database class="field">async_output</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-output"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">event_state_check</database> : CHECK ((state = ANY (ARRAY['pending'::text, 'invalid'::text, 'found'::text, 'collecting'::text, 'collected'::text, 'validating'::text, 'valid'::text, 'reacting'::text, 'reacted'::text, 'cleaning'::text, 'complete'::text, 'error'::text])))</member>
+ <member><database class="constraint">event_user_data_check</database> : CHECK (((user_data IS NULL) OR is_json(user_data)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">atev_target_def_idx</database> : target, event_def</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.event-definition"
+ xreflabel="action_trigger.event_definition">
+ <title id="action-trigger.table.event-definition-title">
+ Table:
+
+ event_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#2</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">hook</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.hook"/>.
+ </member>
+ <member>
+ <database class="field">validator</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.validator"/>.
+ </member>
+ <member>
+ <database class="field">reactor</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.reactor"/>.
+ </member>
+ <member>
+ <database class="field">cleanup_success</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.cleanup"/>.
+ </member>
+ <member>
+ <database class="field">cleanup_failure</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.cleanup"/>.
+ </member>
+ <member>
+ <database class="field">delay</database> : <database class="datatype">interval</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '00:05:00'::interval</literal>,
+ </member>
+ <member>
+ <database class="field">max_delay</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">usr_field</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opt_in_setting</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.usr-setting-type"/>.
+ </member>
+ <member>
+ <database class="field">delay_field</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">group_field</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">template</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">granularity</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.environment via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.environment"/></member>
+ <member><xref linkend="action-trigger.table.event"/></member>
+ <member><xref linkend="action-trigger.table.event-params"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.event-output"
+ xreflabel="action_trigger.event_output">
+ <title id="action-trigger.table.event-output-title">
+ Table:
+
+ event_output
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">is_error</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">data</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.event-params"
+ xreflabel="action_trigger.event_params">
+ <title id="action-trigger.table.event-params-title">
+ Table:
+
+ event_params
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">event_def</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="action-trigger.table.event-definition"/>.
+ </member>
+ <member>
+ <database class="field">param</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.hook"
+ xreflabel="action_trigger.hook">
+ <title id="action-trigger.table.hook-title">
+ Table:
+
+ hook
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">key</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">core_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">passive</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event_definition via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.reactor"
+ xreflabel="action_trigger.reactor">
+ <title id="action-trigger.table.reactor-title">
+ Table:
+
+ reactor
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">module</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event_definition via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="action-trigger.table.validator"
+ xreflabel="action_trigger.validator">
+ <title id="action-trigger.table.validator-title">
+ Table:
+
+ validator
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">module</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event_definition via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="actor.schema">
+ <title>Schema actor</title>
+ <para>
+Holds all tables pertaining to users and libraries (org units).
+</para>
+
+ <simplesect id="actor.table.card"
+ xreflabel="actor.card">
+ <title id="actor.table.card-title">
+ Table:
+
+ card
+ </title>
+
+ <para>
+
+Library Cards
+Each User has one or more library cards. The current "main"
+card is linked to here from the actor.usr table, and it is up
+to the consortium policy whether more than one card can be
+active for any one user at a given time.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_card_barcode_evergreen_lowercase_idx</database> : lowercase(barcode)</member>
+ <member><database class="index">actor_card_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.hours-of-operation"
+ xreflabel="actor.hours_of_operation">
+ <title id="actor.table.hours-of-operation-title">
+ Table:
+
+ hours_of_operation
+ </title>
+
+ <para>
+
+When does this org_unit usually open and close? (Variations
+are expressed in the actor.org_unit_closed table.)
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">dow_0_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Monday?
+ </member>
+ <member>
+ <database class="field">dow_0_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Monday?
+ </member>
+ <member>
+ <database class="field">dow_1_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Tuesday?
+ </member>
+ <member>
+ <database class="field">dow_1_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Tuesday?
+ </member>
+ <member>
+ <database class="field">dow_2_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Wednesday?
+ </member>
+ <member>
+ <database class="field">dow_2_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Wednesday?
+ </member>
+ <member>
+ <database class="field">dow_3_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Thursday?
+ </member>
+ <member>
+ <database class="field">dow_3_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Thursday?
+ </member>
+ <member>
+ <database class="field">dow_4_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Friday?
+ </member>
+ <member>
+ <database class="field">dow_4_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Friday?
+ </member>
+ <member>
+ <database class="field">dow_5_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Saturday?
+ </member>
+ <member>
+ <database class="field">dow_5_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Saturday?
+ </member>
+ <member>
+ <database class="field">dow_6_open</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '09:00:00'::time without time zone</literal>,
+
+When does this org_unit open on Sunday?
+ </member>
+ <member>
+ <database class="field">dow_6_close</database> : <database class="datatype">time without time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '17:00:00'::time without time zone</literal>,
+
+When does this org_unit close on Sunday?
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-address"
+ xreflabel="actor.org_address">
+ <title id="actor.table.org-address-title">
+ Table:
+
+ org_address
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'MAILING'::text</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">san</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_org_address_org_unit_idx</database> : org_unit</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.org_unit via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.org-unit"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-lasso"
+ xreflabel="actor.org_lasso">
+ <title id="actor.table.org-lasso-title">
+ Table:
+
+ org_lasso
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.org_lasso_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.org-lasso-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-lasso-map"
+ xreflabel="actor.org_lasso_map">
+ <title id="actor.table.org-lasso-map-title">
+ Table:
+
+ org_lasso_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">lasso</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-lasso"/>.
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">ou_lasso_org_unit_idx</database> : org_unit</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-unit"
+ xreflabel="actor.org_unit">
+ <title id="actor.table.org-unit-title">
+ Table:
+
+ org_unit
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">ou_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit-type"/>.
+ </member>
+ <member>
+ <database class="field">ill_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-address"/>.
+ </member>
+ <member>
+ <database class="field">holds_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-address"/>.
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-address"/>.
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-address"/>.
+ </member>
+ <member>
+ <database class="field">shortname</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">fiscal_calendar</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="acq.table.fiscal-calendar"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_org_unit_billing_address_idx</database> : billing_address</member>
+ <member><database class="index">actor_org_unit_holds_address_idx</database> : holds_address</member>
+ <member><database class="index">actor_org_unit_ill_address_idx</database> : ill_address</member>
+ <member><database class="index">actor_org_unit_mailing_address_idx</database> : mailing_address</member>
+ <member><database class="index">actor_org_unit_ou_type_idx</database> : ou_type</member>
+ <member><database class="index">actor_org_unit_parent_ou_idx</database> : parent_ou</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.cancel_reason via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.cancel-reason"/></member>
+ <member><xref linkend="acq.table.claim-event-type"/></member>
+ <member><xref linkend="acq.table.claim-policy"/></member>
+ <member><xref linkend="acq.table.claim-type"/></member>
+ <member><xref linkend="acq.table.distribution-formula"/></member>
+ <member><xref linkend="acq.table.distribution-formula-entry"/></member>
+ <member><xref linkend="acq.table.fund"/></member>
+ <member><xref linkend="acq.table.fund-allocation-percent"/></member>
+ <member><xref linkend="acq.table.fund-tag"/></member>
+ <member><xref linkend="acq.table.funding-source"/></member>
+ <member><xref linkend="acq.table.invoice"/></member>
+ <member><xref linkend="acq.table.lineitem-alert-text"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="acq.table.picklist"/></member>
+ <member><xref linkend="acq.table.provider"/></member>
+ <member><xref linkend="acq.table.purchase-order"/></member>
+ <member><xref linkend="acq.table.user-request"/></member>
+ <member><xref linkend="action.table.circulation"/></member>
+ <member><xref linkend="action.table.fieldset"/></member>
+ <member><xref linkend="action.table.hold-request"/></member>
+ <member><xref linkend="action.table.in-house-use"/></member>
+ <member><xref linkend="action.table.non-cat-in-house-use"/></member>
+ <member><xref linkend="action.table.non-cataloged-circulation"/></member>
+ <member><xref linkend="action.table.survey"/></member>
+ <member><xref linkend="action.table.transit-copy"/></member>
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ <member><xref linkend="actor.table.hours-of-operation"/></member>
+ <member><xref linkend="actor.table.org-address"/></member>
+ <member><xref linkend="actor.table.org-lasso-map"/></member>
+ <member><xref linkend="actor.table.org-unit"/></member>
+ <member><xref linkend="actor.table.org-unit-closed"/></member>
+ <member><xref linkend="actor.table.org-unit-setting"/></member>
+ <member><xref linkend="actor.table.stat-cat"/></member>
+ <member><xref linkend="actor.table.stat-cat-entry"/></member>
+ <member><xref linkend="actor.table.usr"/></member>
+ <member><xref linkend="actor.table.usr-org-unit-opt-in"/></member>
+ <member><xref linkend="actor.table.usr-standing-penalty"/></member>
+ <member><xref linkend="actor.table.workstation"/></member>
+ <member><xref linkend="asset.table.call-number"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="asset.table.copy-location"/></member>
+ <member><xref linkend="asset.table.copy-location-order"/></member>
+ <member><xref linkend="asset.table.copy-template"/></member>
+ <member><xref linkend="asset.table.stat-cat"/></member>
+ <member><xref linkend="asset.table.stat-cat-entry"/></member>
+ <member><xref linkend="biblio.table.record-entry"/></member>
+ <member><xref linkend="booking.table.reservation"/></member>
+ <member><xref linkend="booking.table.resource"/></member>
+ <member><xref linkend="booking.table.resource-attr"/></member>
+ <member><xref linkend="booking.table.resource-attr-value"/></member>
+ <member><xref linkend="booking.table.resource-type"/></member>
+ <member><xref linkend="config.table.billing-type"/></member>
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.idl-field-doc"/></member>
+ <member><xref linkend="config.table.remote-account"/></member>
+ <member><xref linkend="money.table.collections-tracker"/></member>
+ <member><xref linkend="permission.table.grp-penalty-threshold"/></member>
+ <member><xref linkend="permission.table.usr-work-ou-map"/></member>
+ <member><xref linkend="reporter.table.output-folder"/></member>
+ <member><xref linkend="reporter.table.report-folder"/></member>
+ <member><xref linkend="reporter.table.template-folder"/></member>
+ <member><xref linkend="serial.table.distribution"/></member>
+ <member><xref linkend="serial.table.record-entry"/></member>
+ <member><xref linkend="serial.table.subscription"/></member>
+ <member><xref linkend="vandelay.table.import-bib-trash-fields"/></member>
+ <member><xref linkend="vandelay.table.import-item-attr-definition"/></member>
+ <member><xref linkend="vandelay.table.merge-profile"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-unit-closed"
+ xreflabel="actor.org_unit_closed">
+ <title id="actor.table.org-unit-closed-title">
+ Table:
+
+ org_unit_closed
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">close_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">close_end</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">reason</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-unit-proximity"
+ xreflabel="actor.org_unit_proximity">
+ <title id="actor.table.org-unit-proximity-title">
+ Table:
+
+ org_unit_proximity
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">from_org</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">to_org</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">prox</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">from_prox_idx</database> : from_org</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-unit-setting"
+ xreflabel="actor.org_unit_setting">
+ <title id="actor.table.org-unit-setting-title">
+ Table:
+
+ org_unit_setting
+ </title>
+
+ <para>
+
+Org Unit settings
+This table contains any arbitrary settings that a client
+program would like to save for an org unit.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.org-unit-setting-type"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_org_unit_setting_usr_idx</database> : org_unit</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.org-unit-type"
+ xreflabel="actor.org_unit_type">
+ <title id="actor.table.org-unit-type-title">
+ Table:
+
+ org_unit_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">opac_label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">depth</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">parent</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit-type"/>.
+ </member>
+ <member>
+ <database class="field">can_have_vols</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">can_have_users</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_org_unit_type_parent_idx</database> : parent</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.org_unit via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.org-unit"/></member>
+ <member><xref linkend="actor.table.org-unit-type"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.stat-cat"
+ xreflabel="actor.stat_cat">
+ <title id="actor.table.stat-cat-title">
+ Table:
+
+ stat_cat
+ </title>
+
+ <para>
+
+User Statistical Catagories
+Local data collected about Users is placed into a Statistical
+Catagory. Here's where those catagories are defined.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">usr_summary</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.stat_cat_entry via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.stat-cat-entry"/></member>
+ <member><xref linkend="actor.table.stat-cat-entry-usr-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.stat-cat-entry"
+ xreflabel="actor.stat_cat_entry">
+ <title id="actor.table.stat-cat-entry-title">
+ Table:
+
+ stat_cat_entry
+ </title>
+
+ <para>
+
+User Statistical Catagory Entries
+Local data collected about Users is placed into a Statistical
+Catagory. Each library can create entries into any of its own
+stat_cats, its ancestors' stat_cats, or its descendants' stat_cats.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.stat-cat"/>.
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.stat-cat-entry-usr-map"
+ xreflabel="actor.stat_cat_entry_usr_map">
+ <title id="actor.table.stat-cat-entry-usr-map-title">
+ Table:
+
+ stat_cat_entry_usr_map
+ </title>
+
+ <para>
+
+Statistical Catagory Entry to User map
+Records the stat_cat entries for each user.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat_entry</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.stat-cat"/>.
+ </member>
+ <member>
+ <database class="field">target_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_stat_cat_entry_usr_idx</database> : target_usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr"
+ xreflabel="actor.usr">
+ <title id="actor.table.usr-title">
+ Table:
+
+ usr
+ </title>
+
+ <para>
+
+User objects
+This table contains the core User objects that describe both
+staff members and patrons. The difference between the two
+types of users is based on the user's permissions.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">card</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE</literal>,
+ </member>
+ <member>
+ <database class="field">profile</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">passwd</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">standing</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.standing"/>.
+ </member>
+ <member>
+ <database class="field">ident_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.identification-type"/>.
+ </member>
+ <member>
+ <database class="field">ident_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_type2</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.identification-type"/>.
+ </member>
+ <member>
+ <database class="field">ident_value2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">net_access_level</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.net-access-level"/>.
+ </member>
+ <member>
+ <database class="field">photo_url</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">prefix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">first_given_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">second_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">family_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">suffix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">day_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">evening_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">other_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr-address"/>.
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr-address"/>.
+ </member>
+ <member>
+ <database class="field">home_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">dob</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">master_account</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">super_user</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">barred</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">juvenile</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">usrgroup</database> : <database class="datatype">serial</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">claims_returned_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">credit_forward_balance</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 0.00</literal>,
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'none'::text</literal>,
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">expire_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT (now() + '3 years'::interval)</literal>,
+ </member>
+ <member>
+ <database class="field">claims_never_checked_out_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_billing_address_idx</database> : billing_address</member>
+ <member><database class="index">actor_usr_day_phone_idx</database> : lowercase(day_phone)</member>
+ <member><database class="index">actor_usr_email_idx</database> : lowercase(email)</member>
+ <member><database class="index">actor_usr_evening_phone_idx</database> : lowercase(evening_phone)</member>
+ <member><database class="index">actor_usr_family_name_idx</database> : lowercase(family_name)</member>
+ <member><database class="index">actor_usr_first_given_name_idx</database> : lowercase(first_given_name)</member>
+ <member><database class="index">actor_usr_home_ou_idx</database> : home_ou</member>
+ <member><database class="index">actor_usr_ident_value2_idx</database> : lowercase(ident_value2)</member>
+ <member><database class="index">actor_usr_ident_value_idx</database> : lowercase(ident_value)</member>
+ <member><database class="index">actor_usr_mailing_address_idx</database> : mailing_address</member>
+ <member><database class="index">actor_usr_other_phone_idx</database> : lowercase(other_phone)</member>
+ <member><database class="index">actor_usr_second_given_name_idx</database> : lowercase(second_given_name)</member>
+ <member><database class="index">actor_usr_usrgroup_idx</database> : usrgroup</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.claim_event via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.claim-event"/></member>
+ <member><xref linkend="acq.table.distribution-formula-application"/></member>
+ <member><xref linkend="acq.table.fund-allocation"/></member>
+ <member><xref linkend="acq.table.fund-allocation-percent"/></member>
+ <member><xref linkend="acq.table.fund-transfer"/></member>
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.lineitem-note"/></member>
+ <member><xref linkend="acq.table.lineitem-usr-attr-definition"/></member>
+ <member><xref linkend="acq.table.picklist"/></member>
+ <member><xref linkend="acq.table.po-note"/></member>
+ <member><xref linkend="acq.table.provider-note"/></member>
+ <member><xref linkend="acq.table.purchase-order"/></member>
+ <member><xref linkend="acq.table.serial-claim-event"/></member>
+ <member><xref linkend="acq.table.user-request"/></member>
+ <member><xref linkend="action.table.circulation"/></member>
+ <member><xref linkend="action.table.fieldset"/></member>
+ <member><xref linkend="action.table.hold-notification"/></member>
+ <member><xref linkend="action.table.hold-request"/></member>
+ <member><xref linkend="action.table.in-house-use"/></member>
+ <member><xref linkend="action.table.non-cat-in-house-use"/></member>
+ <member><xref linkend="action.table.non-cataloged-circulation"/></member>
+ <member><xref linkend="actor.table.card"/></member>
+ <member><xref linkend="actor.table.stat-cat-entry-usr-map"/></member>
+ <member><xref linkend="actor.table.usr-address"/></member>
+ <member><xref linkend="actor.table.usr-note"/></member>
+ <member><xref linkend="actor.table.usr-org-unit-opt-in"/></member>
+ <member><xref linkend="actor.table.usr-password-reset"/></member>
+ <member><xref linkend="actor.table.usr-saved-search"/></member>
+ <member><xref linkend="actor.table.usr-setting"/></member>
+ <member><xref linkend="actor.table.usr-standing-penalty"/></member>
+ <member><xref linkend="asset.table.call-number"/></member>
+ <member><xref linkend="asset.table.call-number-note"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="asset.table.copy-note"/></member>
+ <member><xref linkend="asset.table.copy-template"/></member>
+ <member><xref linkend="biblio.table.record-entry"/></member>
+ <member><xref linkend="biblio.table.record-note"/></member>
+ <member><xref linkend="booking.table.reservation"/></member>
+ <member><xref linkend="container.table.biblio-record-entry-bucket"/></member>
+ <member><xref linkend="container.table.call-number-bucket"/></member>
+ <member><xref linkend="container.table.copy-bucket"/></member>
+ <member><xref linkend="container.table.user-bucket"/></member>
+ <member><xref linkend="container.table.user-bucket-item"/></member>
+ <member><xref linkend="money.table.billable-xact"/></member>
+ <member><xref linkend="money.table.collections-tracker"/></member>
+ <member><xref linkend="permission.table.usr-grp-map"/></member>
+ <member><xref linkend="permission.table.usr-object-perm-map"/></member>
+ <member><xref linkend="permission.table.usr-perm-map"/></member>
+ <member><xref linkend="permission.table.usr-work-ou-map"/></member>
+ <member><xref linkend="reporter.table.output-folder"/></member>
+ <member><xref linkend="reporter.table.report"/></member>
+ <member><xref linkend="reporter.table.report-folder"/></member>
+ <member><xref linkend="reporter.table.schedule"/></member>
+ <member><xref linkend="reporter.table.template"/></member>
+ <member><xref linkend="reporter.table.template-folder"/></member>
+ <member><xref linkend="serial.table.distribution-note"/></member>
+ <member><xref linkend="serial.table.issuance"/></member>
+ <member><xref linkend="serial.table.item"/></member>
+ <member><xref linkend="serial.table.item-note"/></member>
+ <member><xref linkend="serial.table.routing-list-user"/></member>
+ <member><xref linkend="serial.table.subscription-note"/></member>
+ <member><xref linkend="serial.table.unit"/></member>
+ <member><xref linkend="vandelay.table.queue"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-address"
+ xreflabel="actor.usr_address">
+ <title id="actor.table.usr-address-title">
+ Table:
+
+ usr_address
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">within_city_limits</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'MAILING'::text</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">pending</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">replaces</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr-address"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_addr_city_idx</database> : lowercase(city)</member>
+ <member><database class="index">actor_usr_addr_post_code_idx</database> : lowercase(post_code)</member>
+ <member><database class="index">actor_usr_addr_state_idx</database> : lowercase(state)</member>
+ <member><database class="index">actor_usr_addr_street1_idx</database> : lowercase(street1)</member>
+ <member><database class="index">actor_usr_addr_street2_idx</database> : lowercase(street2)</member>
+ <member><database class="index">actor_usr_addr_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr"/></member>
+ <member><xref linkend="actor.table.usr-address"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-note"
+ xreflabel="actor.usr_note">
+ <title id="actor.table.usr-note-title">
+ Table:
+
+ usr_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_note_creator_idx</database> : creator</member>
+ <member><database class="index">actor_usr_note_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-org-unit-opt-in"
+ xreflabel="actor.usr_org_unit_opt_in">
+ <title id="actor.table.usr-org-unit-opt-in-title">
+ Table:
+
+ usr_org_unit_opt_in
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">opt_in_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">opt_in_ws</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.workstation"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">usr_org_unit_opt_in_staff_idx</database> : staff</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-password-reset"
+ xreflabel="actor.usr_password_reset">
+ <title id="actor.table.usr-password-reset-title">
+ Table:
+
+ usr_password_reset
+ </title>
+
+ <para>
+
+Self-serve password reset requests
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">uuid</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">request_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">has_been_reset</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_password_reset_has_been_reset_idx</database> : has_been_reset</member>
+ <member><database class="index">actor_usr_password_reset_request_time_idx</database> : request_time</member>
+ <member><database class="index">actor_usr_password_reset_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-saved-search"
+ xreflabel="actor.usr_saved_search">
+ <title id="actor.table.usr-saved-search-title">
+ Table:
+
+ usr_saved_search
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">query_text</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">query_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'URL'::text</literal>,
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">valid_query_text</database> : CHECK ((query_type = 'URL'::text))</member>
+ <member><database class="constraint">valid_target</database> : CHECK ((target = ANY (ARRAY['record'::text, 'metarecord'::text, 'callnumber'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-setting"
+ xreflabel="actor.usr_setting">
+ <title id="actor.table.usr-setting-title">
+ Table:
+
+ usr_setting
+ </title>
+
+ <para>
+
+User settings
+This table contains any arbitrary settings that a client
+program would like to save for a user.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.usr-setting-type"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_setting_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.usr-standing-penalty"
+ xreflabel="actor.usr_standing_penalty">
+ <title id="actor.table.usr-standing-penalty-title">
+ Table:
+
+ usr_standing_penalty
+ </title>
+
+ <para>
+
+User standing penalties
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">standing_penalty</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.standing-penalty"/>.
+ </member>
+ <member>
+ <database class="field">staff</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">set_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">stop_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">actor_usr_standing_penalty_staff_idx</database> : staff</member>
+ <member><database class="index">actor_usr_standing_penalty_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.table.workstation"
+ xreflabel="actor.workstation">
+ <title id="actor.table.workstation-title">
+ Table:
+
+ workstation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.circulation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.circulation"/></member>
+ <member><xref linkend="actor.table.usr-org-unit-opt-in"/></member>
+ <member><xref linkend="money.table.bnm-desk-payment"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="actor.function.approve-pending-address-pending-id-integer" xreflabel="actorapprove_pending_address(pending_id integer)">
+ <title id="actor.function.approve-pending-address-pending-id-integer-title">approve_pending_address(pending_id integer)</title>
+ <para>
+
+Replaces an address with a pending address. This is done by giving the pending
+address the ID of the old address. The replaced address is retained with -id.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.calculate-system-penalties-context-org-integer-match-user-integer" xreflabel="actorcalculate_system_penalties(context_org integer, match_user integer)">
+ <title id="actor.function.calculate-system-penalties-context-org-integer-match-user-integer-title">calculate_system_penalties(context_org integer, match_user integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF usr_standing_penalty</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.crypt-pw-insert" xreflabel="actorcrypt_pw_insert()">
+ <title id="actor.function.crypt-pw-insert-title">crypt_pw_insert()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.crypt-pw-update" xreflabel="actorcrypt_pw_update()">
+ <title id="actor.function.crypt-pw-update-title">crypt_pw_update()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-ancestor-at-depth-integer-integer" xreflabel="actororg_unit_ancestor_at_depth(integer, integer)">
+ <title id="actor.function.org-unit-ancestor-at-depth-integer-integer-title">org_unit_ancestor_at_depth(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-ancestor-setting-org-id-text-setting-name-integer" xreflabel="actororg_unit_ancestor_setting(org_id text, setting_name integer)">
+ <title id="actor.function.org-unit-ancestor-setting-org-id-text-setting-name-integer-title">org_unit_ancestor_setting(org_id text, setting_name integer)</title>
+ <para>
+
+Search "up" the org_unit tree until we find the first occurrence of an
+org_unit_setting with the given name.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF org_unit_setting</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-ancestors-integer" xreflabel="actororg_unit_ancestors(integer)">
+ <title id="actor.function.org-unit-ancestors-integer-title">org_unit_ancestors(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-ancestors-distance-distance-integer" xreflabel="actororg_unit_ancestors_distance(distance integer)">
+ <title id="actor.function.org-unit-ancestors-distance-distance-integer-title">org_unit_ancestors_distance(distance integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-combined-ancestors-integer-integer" xreflabel="actororg_unit_combined_ancestors(integer, integer)">
+ <title id="actor.function.org-unit-combined-ancestors-integer-integer-title">org_unit_combined_ancestors(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-common-ancestors-integer-integer" xreflabel="actororg_unit_common_ancestors(integer, integer)">
+ <title id="actor.function.org-unit-common-ancestors-integer-integer-title">org_unit_common_ancestors(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-descendants-integer" xreflabel="actororg_unit_descendants(integer)">
+ <title id="actor.function.org-unit-descendants-integer-title">org_unit_descendants(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-descendants-integer-integer" xreflabel="actororg_unit_descendants(integer, integer)">
+ <title id="actor.function.org-unit-descendants-integer-integer-title">org_unit_descendants(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-descendants-distance-distance-integer" xreflabel="actororg_unit_descendants_distance(distance integer)">
+ <title id="actor.function.org-unit-descendants-distance-distance-integer-title">org_unit_descendants_distance(distance integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-full-path-integer" xreflabel="actororg_unit_full_path(integer)">
+ <title id="actor.function.org-unit-full-path-integer-title">org_unit_full_path(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-full-path-integer-integer" xreflabel="actororg_unit_full_path(integer, integer)">
+ <title id="actor.function.org-unit-full-path-integer-integer-title">org_unit_full_path(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF org_unit</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.org-unit-proximity-integer-integer" xreflabel="actororg_unit_proximity(integer, integer)">
+ <title id="actor.function.org-unit-proximity-integer-integer-title">org_unit_proximity(integer, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.usr-delete-dest-usr-integer-src-usr-integer" xreflabel="actorusr_delete(dest_usr integer, src_usr integer)">
+ <title id="actor.function.usr-delete-dest-usr-integer-src-usr-integer-title">usr_delete(dest_usr integer, src_usr integer)</title>
+ <para>
+
+Logically deletes a user. Removes personally identifiable information,
+and purges associated data in other tables.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.usr-merge-deactivate-cards-integer-del-cards-integer-del-addrs-boolean-dest-usr-boolean-src-usr-boolean" xreflabel="actorusr_merge(deactivate_cards integer, del_cards integer, del_addrs boolean, dest_usr boolean, src_usr boolean)">
+ <title id="actor.function.usr-merge-deactivate-cards-integer-del-cards-integer-del-addrs-boolean-dest-usr-boolean-src-usr-boolean-title">usr_merge(deactivate_cards integer, del_cards integer, del_addrs boolean, dest_usr boolean, src_usr boolean)</title>
+ <para>
+
+Merges all user date from src_usr to dest_usr. When collisions occur,
+keep dest_usr's data and delete src_usr's data.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.usr-merge-rows-dest-usr-text-src-usr-text-col-name-integer-table-name-integer" xreflabel="actorusr_merge_rows(dest_usr text, src_usr text, col_name integer, table_name integer)">
+ <title id="actor.function.usr-merge-rows-dest-usr-text-src-usr-text-col-name-integer-table-name-integer-title">usr_merge_rows(dest_usr text, src_usr text, col_name integer, table_name integer)</title>
+ <para>
+
+Attempts to move each row of the specified table from src_user to dest_user.
+Where conflicts exist, the conflicting "source" row is deleted.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="actor.function.usr-purge-data-specified-dest-usr-integer-src-usr-integer" xreflabel="actorusr_purge_data(specified_dest_usr integer, src_usr integer)">
+ <title id="actor.function.usr-purge-data-specified-dest-usr-integer-src-usr-integer-title">usr_purge_data(specified_dest_usr integer, src_usr integer)</title>
+ <para>
+
+Finds rows dependent on a given row in actor.usr and either deletes them
+or reassigns them to a different user.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="asset.schema">
+ <title>Schema asset</title>
+ <para></para>
+
+ <simplesect id="asset.table.call-number"
+ xreflabel="asset.call_number">
+ <title id="asset.table.call-number-title">
+ Table:
+
+ call_number
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">label_class</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number-class"/>.
+ </member>
+ <member>
+ <database class="field">label_sortkey</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">asset_call_number_creator_idx</database> : creator</member>
+ <member><database class="index">asset_call_number_dewey_idx</database> : call_number_dewey(label)</member>
+ <member><database class="index">asset_call_number_editor_idx</database> : editor</member>
+ <member><database class="index">asset_call_number_label_sortkey</database> : oils_text_as_bytea(label_sortkey)</member>
+ <member><database class="index">asset_call_number_label_sortkey_browse</database> : oils_text_as_bytea(label_sortkey), oils_text_as_bytea(label), id, owning_lib) WHERE ((deleted IS FALSE) OR (deleted = false)</member>
+ <member><database class="index">asset_call_number_record_idx</database> : record</member>
+ <member><database class="index">asset_call_number_upper_label_id_owning_lib_idx</database> : oils_text_as_bytea(label), id, owning_lib</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.call_number_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.call-number-note"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="asset.table.uri-call-number-map"/></member>
+ <member><xref linkend="container.table.call-number-bucket-item"/></member>
+ <member><xref linkend="serial.table.distribution"/></member>
+ <member><xref linkend="serial.table.unit"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.call-number-class"
+ xreflabel="asset.call_number_class">
+ <title id="asset.table.call-number-class-title">
+ Table:
+
+ call_number_class
+ </title>
+
+ <para>
+
+Defines the call number normalization database functions in the "normalizer"
+column and the tag/subfield combinations to use to lookup the call number in
+the "field" column for a given classification scheme. Tag/subfield combinations
+are delimited by commas.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">normalizer</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'asset.normalize_generic'::text</literal>,
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '050ab,055ab,060ab,070ab,080ab,082ab,086ab,088ab,090,092,096,098,099'::text</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.call_number via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.call-number"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.call-number-note"
+ xreflabel="asset.call_number_note">
+ <title id="asset.table.call-number-note-title">
+ Table:
+
+ call_number_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">asset_call_number_note_creator_idx</database> : creator</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.copy"
+ xreflabel="asset.copy">
+ <title id="asset.table.copy-title">
+ Table:
+
+ copy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.copy-status"/>.
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-location"/>.
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 0.00</literal>,
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-modifier"/>.
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">dummy_isbn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status_changed_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">copy_fine_level_check</database> : CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</member>
+ <member><database class="constraint">copy_loan_duration_check</database> : CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">cp_avail_cn_idx</database> : call_number</member>
+ <member><database class="index">cp_cn_idx</database> : call_number</member>
+ <member><database class="index">cp_create_date</database> : create_date</member>
+ <member><database class="index">cp_creator_idx</database> : creator</member>
+ <member><database class="index">cp_editor_idx</database> : editor</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.copy_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.copy-note"/></member>
+ <member><xref linkend="container.table.copy-bucket-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.copy-location"
+ xreflabel="asset.copy_location">
+ <title id="asset.table.copy-location-title">
+ Table:
+
+ copy_location
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">hold_verify</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">label_prefix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">label_suffix</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.distribution_formula_entry via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.distribution-formula-entry"/></member>
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="asset.table.copy-location-order"/></member>
+ <member><xref linkend="asset.table.copy-template"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.copy-location-order"
+ xreflabel="asset.copy_location_order">
+ <title id="asset.table.copy-location-order-title">
+ Table:
+
+ copy_location_order
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-location"/>.
+ </member>
+ <member>
+ <database class="field">org</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">position</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.copy-note"
+ xreflabel="asset.copy_note">
+ <title id="asset.table.copy-note-title">
+ Table:
+
+ copy_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owning_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">asset_copy_note_creator_idx</database> : creator</member>
+ <member><database class="index">asset_copy_note_owning_copy_idx</database> : owning_copy</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.copy-template"
+ xreflabel="asset.copy_template">
+ <title id="asset.table.copy-template-title">
+ Table:
+
+ copy_template
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.copy-status"/>.
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-location"/>.
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">valid_fine_level</database> : CHECK (((fine_level IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</member>
+ <member><database class="constraint">valid_loan_duration</database> : CHECK (((loan_duration IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.distribution via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.distribution"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.opac-visible-copies"
+ xreflabel="asset.opac_visible_copies">
+ <title id="asset.table.opac-visible-copies-title">
+ Table:
+
+ opac_visible_copies
+ </title>
+
+ <para>
+
+Materialized view of copies that are visible in the OPAC, used by
+search.query_parser_fts() to speed up OPAC visibility checks on large
+databases. Contents are maintained by a set of triggers.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">opac_visible_copies_idx1</database> : record, circ_lib</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.stat-cat"
+ xreflabel="asset.stat_cat">
+ <title id="asset.table.stat-cat-title">
+ Table:
+
+ stat_cat
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.stat_cat_entry via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.stat-cat-entry"/></member>
+ <member><xref linkend="asset.table.stat-cat-entry-copy-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.stat-cat-entry"
+ xreflabel="asset.stat_cat_entry">
+ <title id="asset.table.stat-cat-entry-title">
+ Table:
+
+ stat_cat_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.stat-cat"/>.
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.stat_cat_entry_copy_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.stat-cat-entry-copy-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.stat-cat-entry-copy-map"
+ xreflabel="asset.stat_cat_entry_copy_map">
+ <title id="asset.table.stat-cat-entry-copy-map-title">
+ Table:
+
+ stat_cat_entry_copy_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.stat-cat"/>.
+ </member>
+ <member>
+ <database class="field">stat_cat_entry</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.stat-cat-entry"/>.
+ </member>
+ <member>
+ <database class="field">owning_copy</database> : <database class="datatype">bigint</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">scecm_owning_copy_idx</database> : owning_copy</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.stat-cat-entry-transparency-map"
+ xreflabel="asset.stat_cat_entry_transparency_map">
+ <title id="asset.table.stat-cat-entry-transparency-map-title">
+ Table:
+
+ stat_cat_entry_transparency_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">stat_cat_entry</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owning_transparency</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.uri"
+ xreflabel="asset.uri">
+ <title id="asset.table.uri-title">
+ Table:
+
+ uri
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">href</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">use_restriction</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing asset.uri_call_number_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="asset.table.uri-call-number-map"/></member>
+ <member><xref linkend="serial.table.item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.table.uri-call-number-map"
+ xreflabel="asset.uri_call_number_map">
+ <title id="asset.table.uri-call-number-map-title">
+ Table:
+
+ uri_call_number_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">uri</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.uri"/>.
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">asset_uri_call_number_map_cn_idx</database> : call_number</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="asset.function.acp-status-changed" xreflabel="assetacp_status_changed()">
+ <title id="asset.function.acp-status-changed-title">acp_status_changed()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.autogenerate-placeholder-barcode" xreflabel="assetautogenerate_placeholder_barcode()">
+ <title id="asset.function.autogenerate-placeholder-barcode-title">autogenerate_placeholder_barcode()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.cache-copy-visibility" xreflabel="assetcache_copy_visibility()">
+ <title id="asset.function.cache-copy-visibility-title">cache_copy_visibility()</title>
+ <para>
+
+Trigger function to update the copy OPAC visiblity cache.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.label-normalizer" xreflabel="assetlabel_normalizer()">
+ <title id="asset.function.label-normalizer-title">label_normalizer()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.label-normalizer-dewey-text" xreflabel="assetlabel_normalizer_dewey(text)">
+ <title id="asset.function.label-normalizer-dewey-text-title">label_normalizer_dewey(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.label-normalizer-generic-text" xreflabel="assetlabel_normalizer_generic(text)">
+ <title id="asset.function.label-normalizer-generic-text-title">label_normalizer_generic(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.label-normalizer-lc-text" xreflabel="assetlabel_normalizer_lc(text)">
+ <title id="asset.function.label-normalizer-lc-text-title">label_normalizer_lc(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.merge-record-assets-source-record-bigint-target-record-bigint" xreflabel="assetmerge_record_assets(source_record bigint, target_record bigint)">
+ <title id="asset.function.merge-record-assets-source-record-bigint-target-record-bigint-title">merge_record_assets(source_record bigint, target_record bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.metarecord-copy-count-transcendant-integer-unshadow-bigint-available-boolean" xreflabel="assetmetarecord_copy_count(transcendant integer, unshadow bigint, available boolean)">
+ <title id="asset.function.metarecord-copy-count-transcendant-integer-unshadow-bigint-available-boolean-title">metarecord_copy_count(transcendant integer, unshadow bigint, available boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.opac-lasso-metarecord-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetopac_lasso_metarecord_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.opac-lasso-metarecord-copy-count-transcendant-integer-unshadow-bigint-title">opac_lasso_metarecord_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.opac-lasso-record-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetopac_lasso_record_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.opac-lasso-record-copy-count-transcendant-integer-unshadow-bigint-title">opac_lasso_record_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.opac-ou-metarecord-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetopac_ou_metarecord_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.opac-ou-metarecord-copy-count-transcendant-integer-unshadow-bigint-title">opac_ou_metarecord_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.opac-ou-record-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetopac_ou_record_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.opac-ou-record-copy-count-transcendant-integer-unshadow-bigint-title">opac_ou_record_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.record-copy-count-transcendant-integer-unshadow-bigint-available-boolean" xreflabel="assetrecord_copy_count(transcendant integer, unshadow bigint, available boolean)">
+ <title id="asset.function.record-copy-count-transcendant-integer-unshadow-bigint-available-boolean-title">record_copy_count(transcendant integer, unshadow bigint, available boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.refresh-opac-visible-copies-mat-view" xreflabel="assetrefresh_opac_visible_copies_mat_view()">
+ <title id="asset.function.refresh-opac-visible-copies-mat-view-title">refresh_opac_visible_copies_mat_view()</title>
+ <para>
+
+Rebuild the copy OPAC visibility cache. Useful during migrations.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.staff-lasso-metarecord-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetstaff_lasso_metarecord_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.staff-lasso-metarecord-copy-count-transcendant-integer-unshadow-bigint-title">staff_lasso_metarecord_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.staff-lasso-record-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetstaff_lasso_record_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.staff-lasso-record-copy-count-transcendant-integer-unshadow-bigint-title">staff_lasso_record_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.staff-ou-metarecord-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetstaff_ou_metarecord_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.staff-ou-metarecord-copy-count-transcendant-integer-unshadow-bigint-title">staff_ou_metarecord_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="asset.function.staff-ou-record-copy-count-transcendant-integer-unshadow-bigint" xreflabel="assetstaff_ou_record_copy_count(transcendant integer, unshadow bigint)">
+ <title id="asset.function.staff-ou-record-copy-count-transcendant-integer-unshadow-bigint-title">staff_ou_record_copy_count(transcendant integer, unshadow bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="auditor.schema">
+ <title>Schema auditor</title>
+ <para></para>
+
+ <simplesect id="auditor.table.acq-invoice-entry-history"
+ xreflabel="auditor.acq_invoice_entry_history">
+ <title id="auditor.table.acq-invoice-entry-history-title">
+ Table:
+
+ acq_invoice_entry_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_item_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">phys_item_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">billed_per_item</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.acq-invoice-entry-lifecycle"
+ xreflabel="auditor.acq_invoice_entry_lifecycle">
+ <title id="auditor.view.acq-invoice-entry-lifecycle-title">
+ View:
+
+ acq_invoice_entry_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">lineitem</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_item_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">phys_item_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">billed_per_item</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.acq-invoice-history"
+ xreflabel="auditor.acq_invoice_history">
+ <title id="auditor.table.acq-invoice-history-title">
+ Table:
+
+ acq_invoice_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">receiver</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">shipper</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recv_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recv_method</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">inv_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_ident</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_auth</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_method</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.acq-invoice-item-history"
+ xreflabel="auditor.acq_invoice_item_history">
+ <title id="auditor.table.acq-invoice-item-history-title">
+ Table:
+
+ acq_invoice_item_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_item_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">po_item</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.acq-invoice-item-lifecycle"
+ xreflabel="auditor.acq_invoice_item_lifecycle">
+ <title id="auditor.view.acq-invoice-item-lifecycle-title">
+ View:
+
+ acq_invoice_item_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">invoice</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">purchase_order</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">fund_debit</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_item_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cost_billed</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">actual_cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">fund</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_paid</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">po_item</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.acq-invoice-lifecycle"
+ xreflabel="auditor.acq_invoice_lifecycle">
+ <title id="auditor.view.acq-invoice-lifecycle-title">
+ View:
+
+ acq_invoice_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">receiver</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">provider</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">shipper</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">recv_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">recv_method</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">inv_ident</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_auth</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_method</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.actor-org-unit-history"
+ xreflabel="auditor.actor_org_unit_history">
+ <title id="auditor.table.actor-org-unit-history-title">
+ Table:
+
+ actor_org_unit_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">parent_ou</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ou_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ill_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">holds_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">shortname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fiscal_calendar</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.actor-org-unit-lifecycle"
+ xreflabel="auditor.actor_org_unit_lifecycle">
+ <title id="auditor.view.actor-org-unit-lifecycle-title">
+ View:
+
+ actor_org_unit_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_ou</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ou_type</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ill_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">holds_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">shortname</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">fiscal_calendar</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.actor-usr-address-history"
+ xreflabel="auditor.actor_usr_address_history">
+ <title id="auditor.table.actor-usr-address-history-title">
+ Table:
+
+ actor_usr_address_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">within_city_limits</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">pending</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">replaces</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">aud_actor_usr_address_hist_id_idx</database> : id</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.actor-usr-address-lifecycle"
+ xreflabel="auditor.actor_usr_address_lifecycle">
+ <title id="auditor.view.actor-usr-address-lifecycle-title">
+ View:
+
+ actor_usr_address_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">valid</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">within_city_limits</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">address_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">county</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pending</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">replaces</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.actor-usr-history"
+ xreflabel="auditor.actor_usr_history">
+ <title id="auditor.table.actor-usr-history-title">
+ Table:
+
+ actor_usr_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">card</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">profile</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">passwd</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">standing</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ident_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ident_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_type2</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_value2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">net_access_level</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">photo_url</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">prefix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">first_given_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">second_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">family_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">suffix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">day_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">evening_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">other_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">home_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">dob</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">master_account</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">super_user</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">barred</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">juvenile</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">usrgroup</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">claims_returned_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">credit_forward_balance</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">expire_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">claims_never_checked_out_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">aud_actor_usr_hist_id_idx</database> : id</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.actor-usr-lifecycle"
+ xreflabel="auditor.actor_usr_lifecycle">
+ <title id="auditor.view.actor-usr-lifecycle-title">
+ View:
+
+ actor_usr_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">card</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">profile</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">passwd</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">standing</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_type</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_type2</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_value2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">net_access_level</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">photo_url</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">prefix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">first_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">second_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">family_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">suffix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">day_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">evening_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">other_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">mailing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_address</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">home_ou</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">dob</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">master_account</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">super_user</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">barred</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">juvenile</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">usrgroup</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">claims_returned_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">credit_forward_balance</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">expire_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">claims_never_checked_out_count</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.asset-call-number-history"
+ xreflabel="auditor.asset_call_number_history">
+ <title id="auditor.table.asset-call-number-history-title">
+ Table:
+
+ asset_call_number_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label_class</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label_sortkey</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">aud_asset_cn_hist_creator_idx</database> : creator</member>
+ <member><database class="index">aud_asset_cn_hist_editor_idx</database> : editor</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.asset-call-number-lifecycle"
+ xreflabel="auditor.asset_call_number_lifecycle">
+ <title id="auditor.view.asset-call-number-lifecycle-title">
+ View:
+
+ asset_call_number_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">label_class</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">label_sortkey</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.asset-copy-history"
+ xreflabel="auditor.asset_copy_history">
+ <title id="auditor.table.asset-copy-history-title">
+ Table:
+
+ asset_copy_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">dummy_isbn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status_changed_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">aud_asset_cp_hist_creator_idx</database> : creator</member>
+ <member><database class="index">aud_asset_cp_hist_editor_idx</database> : editor</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.asset-copy-lifecycle"
+ xreflabel="auditor.asset_copy_lifecycle">
+ <title id="auditor.view.asset-copy-lifecycle-title">
+ View:
+
+ asset_copy_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_isbn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status_changed_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.table.biblio-record-entry-history"
+ xreflabel="auditor.biblio_record_entry_history">
+ <title id="auditor.table.biblio-record-entry-history-title">
+ Table:
+
+ biblio_record_entry_history
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">audit_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">share_depth</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">aud_bib_rec_entry_hist_creator_idx</database> : creator</member>
+ <member><database class="index">aud_bib_rec_entry_hist_editor_idx</database> : editor</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.view.biblio-record-entry-lifecycle"
+ xreflabel="auditor.biblio_record_entry_lifecycle">
+ <title id="auditor.view.biblio-record-entry-lifecycle-title">
+ View:
+
+ biblio_record_entry_lifecycle
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">?column?</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">audit_action</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">share_depth</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="auditor.function.audit-acq-invoice-entry-func" xreflabel="auditoraudit_acq_invoice_entry_func()">
+ <title id="auditor.function.audit-acq-invoice-entry-func-title">audit_acq_invoice_entry_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-acq-invoice-func" xreflabel="auditoraudit_acq_invoice_func()">
+ <title id="auditor.function.audit-acq-invoice-func-title">audit_acq_invoice_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-acq-invoice-item-func" xreflabel="auditoraudit_acq_invoice_item_func()">
+ <title id="auditor.function.audit-acq-invoice-item-func-title">audit_acq_invoice_item_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-actor-org-unit-func" xreflabel="auditoraudit_actor_org_unit_func()">
+ <title id="auditor.function.audit-actor-org-unit-func-title">audit_actor_org_unit_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-actor-usr-address-func" xreflabel="auditoraudit_actor_usr_address_func()">
+ <title id="auditor.function.audit-actor-usr-address-func-title">audit_actor_usr_address_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-actor-usr-func" xreflabel="auditoraudit_actor_usr_func()">
+ <title id="auditor.function.audit-actor-usr-func-title">audit_actor_usr_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-asset-call-number-func" xreflabel="auditoraudit_asset_call_number_func()">
+ <title id="auditor.function.audit-asset-call-number-func-title">audit_asset_call_number_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-asset-copy-func" xreflabel="auditoraudit_asset_copy_func()">
+ <title id="auditor.function.audit-asset-copy-func-title">audit_asset_copy_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.audit-biblio-record-entry-func" xreflabel="auditoraudit_biblio_record_entry_func()">
+ <title id="auditor.function.audit-biblio-record-entry-func-title">audit_biblio_record_entry_func()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-tbl-text-sch-text" xreflabel="auditorcreate_auditor(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-tbl-text-sch-text-title">create_auditor(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-func-tbl-text-sch-text" xreflabel="auditorcreate_auditor_func(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-func-tbl-text-sch-text-title">create_auditor_func(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-history-tbl-text-sch-text" xreflabel="auditorcreate_auditor_history(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-history-tbl-text-sch-text-title">create_auditor_history(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-lifecycle-tbl-text-sch-text" xreflabel="auditorcreate_auditor_lifecycle(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-lifecycle-tbl-text-sch-text-title">create_auditor_lifecycle(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-seq-tbl-text-sch-text" xreflabel="auditorcreate_auditor_seq(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-seq-tbl-text-sch-text-title">create_auditor_seq(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="auditor.function.create-auditor-update-trigger-tbl-text-sch-text" xreflabel="auditorcreate_auditor_update_trigger(tbl text, sch text)">
+ <title id="auditor.function.create-auditor-update-trigger-tbl-text-sch-text-title">create_auditor_update_trigger(tbl text, sch text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="authority.schema">
+ <title>Schema authority</title>
+ <para></para>
+
+ <simplesect id="authority.table.bib-linking"
+ xreflabel="authority.bib_linking">
+ <title id="authority.table.bib-linking-title">
+ Table:
+
+ bib_linking
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bib</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">authority</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="authority.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">authority_bl_bib_idx</database> : bib</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.table.full-rec"
+ xreflabel="authority.full_rec">
+ <title id="authority.table.full-rec-title">
+ Table:
+
+ full_rec
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">character(3)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ind1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ind2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">subfield</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">authority_full_rec_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">authority_full_rec_record_idx</database> : record</member>
+ <member><database class="index">authority_full_rec_tag_part_idx</database> : "substring"((tag)::text, 2)</member>
+ <member><database class="index">authority_full_rec_tag_subfield_idx</database> : tag, subfield</member>
+ <member><database class="index">authority_full_rec_value_tpo_index</database> : value text_pattern_ops</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.table.rec-descriptor"
+ xreflabel="authority.rec_descriptor">
+ <title id="authority.table.rec-descriptor-title">
+ Table:
+
+ rec_descriptor
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">record_status</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">char_encoding</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">authority_rec_descriptor_record_idx</database> : record</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.table.record-entry"
+ xreflabel="authority.record_entry">
+ <title id="authority.table.record-entry-title">
+ Table:
+
+ record_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">authority_record_entry_creator_idx</database> : creator</member>
+ <member><database class="index">authority_record_entry_editor_idx</database> : editor</member>
+ <member><database class="index">by_heading_and_thesaurus</database> : authority.normalize_heading(marc)) WHERE ((deleted IS FALSE) OR (deleted = false)</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing authority.bib_linking via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="authority.table.bib-linking"/></member>
+ <member><xref linkend="authority.table.record-note"/></member>
+ <member><xref linkend="vandelay.table.authority-match"/></member>
+ <member><xref linkend="vandelay.table.queued-authority-record"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.table.record-note"
+ xreflabel="authority.record_note">
+ <title id="authority.table.record-note-title">
+ Table:
+
+ record_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="authority.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">authority_record_note_creator_idx</database> : creator</member>
+ <member><database class="index">authority_record_note_editor_idx</database> : editor</member>
+ <member><database class="index">authority_record_note_record_idx</database> : record</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.view.tracing-links"
+ xreflabel="authority.tracing_links">
+ <title id="authority.view.tracing-links-title">
+ View:
+
+ tracing_links
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">main_id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">main_tag</database> : <database class="datatype">character(3)</database>
+--
+ </member>
+ <member>
+ <database class="field">main_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">relationship</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">use_restriction</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deprecation</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">display_restriction</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">link_id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">link_tag</database> : <database class="datatype">character(3)</database>
+--
+ </member>
+ <member>
+ <database class="field">link_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="authority.function.flatten-marc-rid-bigint" xreflabel="authorityflatten_marc(rid bigint)">
+ <title id="authority.function.flatten-marc-rid-bigint-title">flatten_marc(rid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF full_rec</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.flatten-marc-text" xreflabel="authorityflatten_marc(text)">
+ <title id="authority.function.flatten-marc-text-title">flatten_marc(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>SET OF full_rec</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.generate-overlay-template-bigint" xreflabel="authoritygenerate_overlay_template(bigint)">
+ <title id="authority.function.generate-overlay-template-bigint-title">generate_overlay_template(bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.generate-overlay-template-text" xreflabel="authoritygenerate_overlay_template(text)">
+ <title id="authority.function.generate-overlay-template-text-title">generate_overlay_template(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.generate-overlay-template-text-bigint" xreflabel="authoritygenerate_overlay_template(text, bigint)">
+ <title id="authority.function.generate-overlay-template-text-bigint-title">generate_overlay_template(text, bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.indexing-ingest-or-delete" xreflabel="authorityindexing_ingest_or_delete()">
+ <title id="authority.function.indexing-ingest-or-delete-title">indexing_ingest_or_delete()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.merge-records-source-record-bigint-target-record-bigint" xreflabel="authoritymerge_records(source_record bigint, target_record bigint)">
+ <title id="authority.function.merge-records-source-record-bigint-target-record-bigint-title">merge_records(source_record bigint, target_record bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.normalize-heading-text" xreflabel="authoritynormalize_heading(text)">
+ <title id="authority.function.normalize-heading-text-title">normalize_heading(text)</title>
+ <para>
+
+Extract the authority heading, thesaurus, and NACO-normalized values
+from an authority record. The primary purpose is to build a unique
+index to defend against duplicated authority records from the same
+thesaurus.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.propagate-changes-aid-bigint" xreflabel="authoritypropagate_changes(aid bigint)">
+ <title id="authority.function.propagate-changes-aid-bigint-title">propagate_changes(aid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.propagate-changes-bid-bigint-aid-bigint" xreflabel="authoritypropagate_changes(bid bigint, aid bigint)">
+ <title id="authority.function.propagate-changes-bid-bigint-aid-bigint-title">propagate_changes(bid bigint, aid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.reingest-authority-full-rec-auth-id-bigint" xreflabel="authorityreingest_authority_full_rec(auth_id bigint)">
+ <title id="authority.function.reingest-authority-full-rec-auth-id-bigint-title">reingest_authority_full_rec(auth_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="authority.function.reingest-authority-rec-descriptor-auth-id-bigint" xreflabel="authorityreingest_authority_rec_descriptor(auth_id bigint)">
+ <title id="authority.function.reingest-authority-rec-descriptor-auth-id-bigint-title">reingest_authority_rec_descriptor(auth_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="biblio.schema">
+ <title>Schema biblio</title>
+ <para></para>
+
+ <simplesect id="biblio.table.record-entry"
+ xreflabel="biblio.record_entry">
+ <title id="biblio.table.record-entry-title">
+ Table:
+
+ record_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'AUTOGEN'::text</literal>,
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT biblio.next_autogen_tcn_value()</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">share_depth</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">biblio_record_entry_create_date_idx</database> : create_date</member>
+ <member><database class="index">biblio_record_entry_creator_idx</database> : creator</member>
+ <member><database class="index">biblio_record_entry_edit_date_idx</database> : edit_date</member>
+ <member><database class="index">biblio_record_entry_editor_idx</database> : editor</member>
+ <member><database class="index">biblio_record_entry_fp_idx</database> : fingerprint</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.lineitem via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.lineitem"/></member>
+ <member><xref linkend="acq.table.user-request"/></member>
+ <member><xref linkend="asset.table.call-number"/></member>
+ <member><xref linkend="authority.table.bib-linking"/></member>
+ <member><xref linkend="biblio.table.record-note"/></member>
+ <member><xref linkend="booking.table.resource-type"/></member>
+ <member><xref linkend="container.table.biblio-record-entry-bucket-item"/></member>
+ <member><xref linkend="metabib.table.author-field-entry"/></member>
+ <member><xref linkend="metabib.table.identifier-field-entry"/></member>
+ <member><xref linkend="metabib.table.keyword-field-entry"/></member>
+ <member><xref linkend="metabib.table.metarecord"/></member>
+ <member><xref linkend="metabib.table.metarecord-source-map"/></member>
+ <member><xref linkend="metabib.table.real-full-rec"/></member>
+ <member><xref linkend="metabib.table.rec-descriptor"/></member>
+ <member><xref linkend="metabib.table.series-field-entry"/></member>
+ <member><xref linkend="metabib.table.subject-field-entry"/></member>
+ <member><xref linkend="metabib.table.title-field-entry"/></member>
+ <member><xref linkend="serial.table.record-entry"/></member>
+ <member><xref linkend="serial.table.subscription"/></member>
+ <member><xref linkend="vandelay.table.bib-match"/></member>
+ <member><xref linkend="vandelay.table.queued-bib-record"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="biblio.table.record-note"
+ xreflabel="biblio.record_note">
+ <title id="biblio.table.record-note-title">
+ Table:
+
+ record_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">biblio_record_note_creator_idx</database> : creator</member>
+ <member><database class="index">biblio_record_note_editor_idx</database> : editor</member>
+ <member><database class="index">biblio_record_note_record_idx</database> : record</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="biblio.function.check-marcxml-well-formed" xreflabel="bibliocheck_marcxml_well_formed()">
+ <title id="biblio.function.check-marcxml-well-formed-title">check_marcxml_well_formed()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.extract-fingerprint-marc-text" xreflabel="biblioextract_fingerprint(marc text)">
+ <title id="biblio.function.extract-fingerprint-marc-text-title">extract_fingerprint(marc text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.extract-located-uris-editor-id-bigint-marcxml-text-bib-id-integer" xreflabel="biblioextract_located_uris(editor_id bigint, marcxml text, bib_id integer)">
+ <title id="biblio.function.extract-located-uris-editor-id-bigint-marcxml-text-bib-id-integer-title">extract_located_uris(editor_id bigint, marcxml text, bib_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.extract-metabib-field-entry-bigint" xreflabel="biblioextract_metabib_field_entry(bigint)">
+ <title id="biblio.function.extract-metabib-field-entry-bigint-title">extract_metabib_field_entry(bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF field_entry_template</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.extract-metabib-field-entry-default-joiner-bigint-rid-text" xreflabel="biblioextract_metabib_field_entry(default_joiner bigint, rid text)">
+ <title id="biblio.function.extract-metabib-field-entry-default-joiner-bigint-rid-text-title">extract_metabib_field_entry(default_joiner bigint, rid text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF field_entry_template</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.extract-quality-best-type-text-best-lang-text-marc-text" xreflabel="biblioextract_quality(best_type text, best_lang text, marc text)">
+ <title id="biblio.function.extract-quality-best-type-text-best-lang-text-marc-text-title">extract_quality(best_type text, best_lang text, marc text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.fingerprint-trigger" xreflabel="bibliofingerprint_trigger()">
+ <title id="biblio.function.fingerprint-trigger-title">fingerprint_trigger()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.flatten-marc-rid-bigint" xreflabel="biblioflatten_marc(rid bigint)">
+ <title id="biblio.function.flatten-marc-rid-bigint-title">flatten_marc(rid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF full_rec</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.flatten-marc-text" xreflabel="biblioflatten_marc(text)">
+ <title id="biblio.function.flatten-marc-text-title">flatten_marc(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>SET OF full_rec</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.indexing-ingest-or-delete" xreflabel="biblioindexing_ingest_or_delete()">
+ <title id="biblio.function.indexing-ingest-or-delete-title">indexing_ingest_or_delete()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.map-authority-linking-marc-bigint-bibid-text" xreflabel="bibliomap_authority_linking(marc bigint, bibid text)">
+ <title id="biblio.function.map-authority-linking-marc-bigint-bibid-text-title">map_authority_linking(marc bigint, bibid text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.marc21-extract-fixed-field-ff-bigint-rid-text" xreflabel="bibliomarc21_extract_fixed_field(ff bigint, rid text)">
+ <title id="biblio.function.marc21-extract-fixed-field-ff-bigint-rid-text-title">marc21_extract_fixed_field(ff bigint, rid text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.marc21-physical-characteristics-rid-bigint" xreflabel="bibliomarc21_physical_characteristics(rid bigint)">
+ <title id="biblio.function.marc21-physical-characteristics-rid-bigint-title">marc21_physical_characteristics(rid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF marc21_physical_characteristics</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.marc21-record-type-rid-bigint" xreflabel="bibliomarc21_record_type(rid bigint)">
+ <title id="biblio.function.marc21-record-type-rid-bigint-title">marc21_record_type(rid bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>marc21_rec_type_map</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="biblio.function.next-autogen-tcn-value" xreflabel="biblionext_autogen_tcn_value()">
+ <title id="biblio.function.next-autogen-tcn-value-title">next_autogen_tcn_value()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="booking.schema">
+ <title>Schema booking</title>
+ <para></para>
+
+ <simplesect id="booking.table.reservation"
+ xreflabel="booking.reservation">
+ <title id="booking.table.reservation-title">
+ Table:
+
+ reservation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.billable_xact_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">request_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">start_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">end_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">capture_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">cancel_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">pickup_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">return_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">booking_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_amount</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">target_resource_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-type"/>.
+ </member>
+ <member>
+ <database class="field">target_resource</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource"/>.
+ </member>
+ <member>
+ <database class="field">current_resource</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource"/>.
+ </member>
+ <member>
+ <database class="field">request_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">pickup_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">capture_staff</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.reservation_transit_copy via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.reservation-transit-copy"/></member>
+ <member><xref linkend="booking.table.reservation-attr-value-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.reservation-attr-value-map"
+ xreflabel="booking.reservation_attr_value_map">
+ <title id="booking.table.reservation-attr-value-map-title">
+ Table:
+
+ reservation_attr_value_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">reservation</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.reservation"/>.
+ </member>
+ <member>
+ <database class="field">attr_value</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-attr-value"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.resource"
+ xreflabel="booking.resource">
+ <title id="booking.table.resource-title">
+ Table:
+
+ resource
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-type"/>.
+ </member>
+ <member>
+ <database class="field">overbook</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(8,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 0.00</literal>,
+ </member>
+ <member>
+ <database class="field">user_fee</database> : <database class="datatype">numeric(8,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 0.00</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.reservation_transit_copy via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.reservation-transit-copy"/></member>
+ <member><xref linkend="booking.table.reservation"/></member>
+ <member><xref linkend="booking.table.resource-attr-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.resource-attr"
+ xreflabel="booking.resource_attr">
+ <title id="booking.table.resource-attr-title">
+ Table:
+
+ resource_attr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">resource_type</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-type"/>.
+ </member>
+ <member>
+ <database class="field">required</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing booking.resource_attr_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="booking.table.resource-attr-map"/></member>
+ <member><xref linkend="booking.table.resource-attr-value"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.resource-attr-map"
+ xreflabel="booking.resource_attr_map">
+ <title id="booking.table.resource-attr-map-title">
+ Table:
+
+ resource_attr_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">resource</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource"/>.
+ </member>
+ <member>
+ <database class="field">resource_attr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-attr"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-attr-value"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.resource-attr-value"
+ xreflabel="booking.resource_attr_value">
+ <title id="booking.table.resource-attr-value-title">
+ Table:
+
+ resource_attr_value
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">attr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="booking.table.resource-attr"/>.
+ </member>
+ <member>
+ <database class="field">valid_value</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing booking.reservation_attr_value_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="booking.table.reservation-attr-value-map"/></member>
+ <member><xref linkend="booking.table.resource-attr-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="booking.table.resource-type"
+ xreflabel="booking.resource_type">
+ <title id="booking.table.resource-type-title">
+ Table:
+
+ resource_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">elbow_room</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_amount</database> : <database class="datatype">numeric(8,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">catalog_item</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">transferable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing booking.reservation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="booking.table.reservation"/></member>
+ <member><xref linkend="booking.table.resource"/></member>
+ <member><xref linkend="booking.table.resource-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="config.schema">
+ <title>Schema config</title>
+ <para>
+The config schema holds static configuration data for the
+Evergreen installation.
+</para>
+
+ <simplesect id="config.table.audience-map"
+ xreflabel="config.audience_map">
+ <title id="config.table.audience-map-title">
+ Table:
+
+ audience_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.bib-level-map"
+ xreflabel="config.bib_level_map">
+ <title id="config.table.bib-level-map-title">
+ Table:
+
+ bib_level_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.bib-source"
+ xreflabel="config.bib_source">
+ <title id="config.table.bib-source-title">
+ Table:
+
+ bib_source
+ </title>
+
+ <para>
+
+This is table is used to set up the relative "quality" of each
+MARC source, such as OCLC. Also identifies "transcendant" sources,
+i.e., sources of bib records that should display in the OPAC
+even if no copies or located URIs are attached.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">transcendant</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">bib_source_quality_check</database> : CHECK (((quality >= 0) AND (quality <= 100)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.queued_bib_record via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.queued-bib-record"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.biblio-fingerprint"
+ xreflabel="config.biblio_fingerprint">
+ <title id="config.table.biblio-fingerprint-title">
+ Table:
+
+ biblio_fingerprint
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">first_word</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">format</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'marcxml'::text</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.billing-type"
+ xreflabel="config.billing_type">
+ <title id="config.table.billing-type-title">
+ Table:
+
+ billing_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">default_price</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing money.billing via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="money.table.billing"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.circ-matrix-circ-mod-test"
+ xreflabel="config.circ_matrix_circ_mod_test">
+ <title id="config.table.circ-matrix-circ-mod-test-title">
+ Table:
+
+ circ_matrix_circ_mod_test
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">matchpoint</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-matrix-matchpoint"/>.
+ </member>
+ <member>
+ <database class="field">items_out</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_circ_mod_test_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.circ-matrix-circ-mod-test-map"
+ xreflabel="config.circ_matrix_circ_mod_test_map">
+ <title id="config.table.circ-matrix-circ-mod-test-map-title">
+ Table:
+
+ circ_matrix_circ_mod_test_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">circ_mod_test</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-matrix-circ-mod-test"/>.
+ </member>
+ <member>
+ <database class="field">circ_mod</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-modifier"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.circ-matrix-matchpoint"
+ xreflabel="config.circ_matrix_matchpoint">
+ <title id="config.table.circ-matrix-matchpoint-title">
+ Table:
+
+ circ_matrix_matchpoint
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-modifier"/>.
+ </member>
+ <member>
+ <database class="field">marc_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.item-type-map"/>.
+ </member>
+ <member>
+ <database class="field">marc_form</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.item-form-map"/>.
+ </member>
+ <member>
+ <database class="field">marc_vr_format</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.videorecording-format-map"/>.
+ </member>
+ <member>
+ <database class="field">copy_circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">copy_owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">ref_flag</database> : <database class="datatype">boolean</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">juvenile_flag</database> : <database class="datatype">boolean</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">is_renewal</database> : <database class="datatype">boolean</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">usr_age_lower_bound</database> : <database class="datatype">interval</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">usr_age_upper_bound</database> : <database class="datatype">interval</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.rule-circ-duration"/>.
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.rule-recurring-fine"/>.
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.rule-max-fine"/>.
+ </member>
+ <member>
+ <database class="field">hard_due_date</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.hard-due-date"/>.
+ </member>
+ <member>
+ <database class="field">script_test</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">total_copy_hold_ratio</database> : <database class="datatype">double precision</database>
+--
+ </member>
+ <member>
+ <database class="field">available_copy_hold_ratio</database> : <database class="datatype">double precision</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_circ_mod_test via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-circ-mod-test"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.circ-modifier"
+ xreflabel="config.circ_modifier">
+ <title id="config.table.circ-modifier-title">
+ Table:
+
+ circ_modifier
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">sip2_media_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">magnetic_media</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">avg_wait_time</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.lineitem_detail via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.lineitem-detail"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></member>
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.copy-status"
+ xreflabel="config.copy_status">
+ <title id="config.table.copy-status-title">
+ Table:
+
+ copy_status
+ </title>
+
+ <para>
+
+Copy Statuses
+The available copy statuses, and whether a copy in that
+status is available for hold request capture. 0 (zero) is
+the only special number in this set, meaning that the item
+is available for immediate checkout, and is counted as available
+in the OPAC.
+Statuses with an ID below 100 are not removable, and have special
+meaning in the code. Do not change them except to translate the
+textual name.
+You may add and remove statuses above 100, and these can be used
+to remove items from normal circulation without affecting the rest
+of the copy's values or its location.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.transit_copy via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.transit-copy"/></member>
+ <member><xref linkend="asset.table.copy"/></member>
+ <member><xref linkend="asset.table.copy-template"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.global-flag"
+ xreflabel="config.global_flag">
+ <title id="config.table.global-flag-title">
+ Table:
+
+ global_flag
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enabled</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.hard-due-date"
+ xreflabel="config.hard_due_date">
+ <title id="config.table.hard-due-date-title">
+ Table:
+
+ hard_due_date
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ceiling_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">forceto</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">hard_due_date_name_check</database> : CHECK ((name ~ '^\\w+$'::text))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hard-due-date-values"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.hard-due-date-values"
+ xreflabel="config.hard_due_date_values">
+ <title id="config.table.hard-due-date-values-title">
+ Table:
+
+ hard_due_date_values
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">hard_due_date</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.hard-due-date"/>.
+ </member>
+ <member>
+ <database class="field">ceiling_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">active_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.hold-matrix-matchpoint"
+ xreflabel="config.hold_matrix_matchpoint">
+ <title id="config.table.hold-matrix-matchpoint-title">
+ Table:
+
+ hold_matrix_matchpoint
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">user_home_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">request_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">pickup_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">item_owning_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">item_circ_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">usr_grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">requestor_grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.circ-modifier"/>.
+ </member>
+ <member>
+ <database class="field">marc_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.item-type-map"/>.
+ </member>
+ <member>
+ <database class="field">marc_form</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.item-form-map"/>.
+ </member>
+ <member>
+ <database class="field">marc_vr_format</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.videorecording-format-map"/>.
+ </member>
+ <member>
+ <database class="field">juvenile_flag</database> : <database class="datatype">boolean</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">ref_flag</database> : <database class="datatype">boolean</database>
+--
+ <literal>UNIQUE#1</literal>,
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">distance_is_from_owner</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">transit_range</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit-type"/>.
+ </member>
+ <member>
+ <database class="field">max_holds</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">include_frozen_holds</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">stop_blocked_user</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">age_hold_protect_rule</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.rule-age-hold-protect"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.i18n-core"
+ xreflabel="config.i18n_core">
+ <title id="config.table.i18n-core-title">
+ Table:
+
+ i18n_core
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fq_field</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">identity_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">translation</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.i18n-locale"/>.
+ </member>
+ <member>
+ <database class="field">string</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.i18n-locale"
+ xreflabel="config.i18n_locale">
+ <title id="config.table.i18n-locale-title">
+ Table:
+
+ i18n_locale
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">marc_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.language-map"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.i18n_core via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.i18n-core"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.identification-type"
+ xreflabel="config.identification_type">
+ <title id="config.table.identification-type-title">
+ Table:
+
+ identification_type
+ </title>
+
+ <para>
+
+Types of valid patron identification.
+Each patron must display at least one valid form of identification
+in order to get a library card. This table lists those forms.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.idl-field-doc"
+ xreflabel="config.idl_field_doc">
+ <title id="config.table.idl-field-doc-title">
+ Table:
+
+ idl_field_doc
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fm_class</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">string</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.index-normalizer"
+ xreflabel="config.index_normalizer">
+ <title id="config.table.index-normalizer-title">
+ Table:
+
+ index_normalizer
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">func</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">param_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.metabib-field-index-norm-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.internal-flag"
+ xreflabel="config.internal_flag">
+ <title id="config.table.internal-flag-title">
+ Table:
+
+ internal_flag
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enabled</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.item-form-map"
+ xreflabel="config.item_form_map">
+ <title id="config.table.item-form-map-title">
+ Table:
+
+ item_form_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.item-type-map"
+ xreflabel="config.item_type_map">
+ <title id="config.table.item-type-map-title">
+ Table:
+
+ item_type_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.language-map"
+ xreflabel="config.language_map">
+ <title id="config.table.language-map-title">
+ Table:
+
+ language_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.i18n_locale via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.i18n-locale"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.lit-form-map"
+ xreflabel="config.lit_form_map">
+ <title id="config.table.lit-form-map-title">
+ Table:
+
+ lit_form_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.marc21-ff-pos-map"
+ xreflabel="config.marc21_ff_pos_map">
+ <title id="config.table.marc21-ff-pos-map-title">
+ Table:
+
+ marc21_ff_pos_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fixed_field</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">rec_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">start_pos</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">length</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">default_val</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ' '::text</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.marc21-physical-characteristic-subfield-map"
+ xreflabel="config.marc21_physical_characteristic_subfield_map">
+ <title id="config.table.marc21-physical-characteristic-subfield-map-title">
+ Table:
+
+ marc21_physical_characteristic_subfield_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">ptype_key</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.marc21-physical-characteristic-type-map"/>.
+ </member>
+ <member>
+ <database class="field">subfield</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">start_pos</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">length</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.marc21_physical_characteristic_value_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.marc21-physical-characteristic-value-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.marc21-physical-characteristic-type-map"
+ xreflabel="config.marc21_physical_characteristic_type_map">
+ <title id="config.table.marc21-physical-characteristic-type-map-title">
+ Table:
+
+ marc21_physical_characteristic_type_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">ptype_key</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.marc21_physical_characteristic_subfield_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.marc21-physical-characteristic-subfield-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.marc21-physical-characteristic-value-map"
+ xreflabel="config.marc21_physical_characteristic_value_map">
+ <title id="config.table.marc21-physical-characteristic-value-map-title">
+ Table:
+
+ marc21_physical_characteristic_value_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ptype_subfield</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.marc21-physical-characteristic-subfield-map"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.marc21-rec-type-map"
+ xreflabel="config.marc21_rec_type_map">
+ <title id="config.table.marc21-rec-type-map-title">
+ Table:
+
+ marc21_rec_type_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type_val</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">blvl_val</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.metabib-class"
+ xreflabel="config.metabib_class">
+ <title id="config.table.metabib-class-title">
+ Table:
+
+ metabib_class
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.metabib_field via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.metabib-field"/></member>
+ <member><xref linkend="config.table.metabib-search-alias"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.metabib-field"
+ xreflabel="config.metabib_field">
+ <title id="config.table.metabib-field-title">
+ Table:
+
+ metabib_field
+ </title>
+
+ <para>
+
+XPath used for record indexing ingest
+This table contains the XPath used to chop up MODS into its
+indexable parts. Each XPath entry is named and assigned to
+a "class" of either title, subject, author, keyword, series
+or identifier.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">field_class</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-class"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">weight</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">format</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'mods33'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.xml-transform"/>.
+ </member>
+ <member>
+ <database class="field">search_field</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">facet_field</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">facet_xpath</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.metabib-field-index-norm-map"/></member>
+ <member><xref linkend="config.table.metabib-search-alias"/></member>
+ <member><xref linkend="metabib.table.author-field-entry"/></member>
+ <member><xref linkend="metabib.table.identifier-field-entry"/></member>
+ <member><xref linkend="metabib.table.keyword-field-entry"/></member>
+ <member><xref linkend="metabib.table.series-field-entry"/></member>
+ <member><xref linkend="metabib.table.subject-field-entry"/></member>
+ <member><xref linkend="metabib.table.title-field-entry"/></member>
+ <member><xref linkend="search.table.relevance-adjustment"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.metabib-field-index-norm-map"
+ xreflabel="config.metabib_field_index_norm_map">
+ <title id="config.table.metabib-field-index-norm-map-title">
+ Table:
+
+ metabib_field_index_norm_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">norm</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.index-normalizer"/>.
+ </member>
+ <member>
+ <database class="field">params</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.metabib-search-alias"
+ xreflabel="config.metabib_search_alias">
+ <title id="config.table.metabib-search-alias-title">
+ Table:
+
+ metabib_search_alias
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">alias</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">field_class</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-class"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.net-access-level"
+ xreflabel="config.net_access_level">
+ <title id="config.table.net-access-level-title">
+ Table:
+
+ net_access_level
+ </title>
+
+ <para>
+
+Patron Network Access level
+This will be used to inform the in-library firewall of how much
+internet access the using patron should be allowed.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.non-cataloged-type"
+ xreflabel="config.non_cataloged_type">
+ <title id="config.table.non-cataloged-type-title">
+ Table:
+
+ non_cataloged_type
+ </title>
+
+ <para>
+
+Types of valid non-cataloged items.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_duration</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '14 days'::interval</literal>,
+ </member>
+ <member>
+ <database class="field">in_house</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.non_cat_in_house_use via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.non-cat-in-house-use"/></member>
+ <member><xref linkend="action.table.non-cataloged-circulation"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.org-unit-setting-type"
+ xreflabel="config.org_unit_setting_type">
+ <title id="config.table.org-unit-setting-type-title">
+ Table:
+
+ org_unit_setting_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.settings-group"/>.
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">datatype</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'string'::text</literal>,
+ </member>
+ <member>
+ <database class="field">fm_class</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">view_perm</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="permission.table.perm-list"/>.
+ </member>
+ <member>
+ <database class="field">update_perm</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="permission.table.perm-list"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">coust_no_empty_link</database> : CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</member>
+ <member><database class="constraint">coust_valid_datatype</database> : CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.org_unit_setting via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.org-unit-setting"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.remote-account"
+ xreflabel="config.remote_account">
+ <title id="config.table.remote-account-title">
+ Table:
+
+ remote_account
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">host</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">username</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">password</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">account</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">path</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">last_activity</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.rule-age-hold-protect"
+ xreflabel="config.rule_age_hold_protect">
+ <title id="config.table.rule-age-hold-protect-title">
+ Table:
+
+ rule_age_hold_protect
+ </title>
+
+ <para>
+
+Hold Item Age Protection rules
+A hold request can only capture new(ish) items when they are
+within a particular proximity of the pickup_lib of the request.
+The proximity ('prox' column) is calculated by counting
+the number of tree edges between the pickup_lib and either the
+owning_lib or circ_lib of the copy that could fulfill the hold,
+as determined by the distance_is_from_owner value of the hold matrix
+rule controlling the hold request.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">age</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">prox</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">rule_age_hold_protect_name_check</database> : CHECK ((name ~ '^\\w+$'::text))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.hold_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.rule-circ-duration"
+ xreflabel="config.rule_circ_duration">
+ <title id="config.table.rule-circ-duration-title">
+ Table:
+
+ rule_circ_duration
+ </title>
+
+ <para>
+
+Circulation Duration rules
+Each circulation is given a duration based on one of these rules.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">extended</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">normal</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">shrt</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">max_renewals</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">rule_circ_duration_name_check</database> : CHECK ((name ~ '^\\w+$'::text))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.rule-max-fine"
+ xreflabel="config.rule_max_fine">
+ <title id="config.table.rule-max-fine-title">
+ Table:
+
+ rule_max_fine
+ </title>
+
+ <para>
+
+Circulation Max Fine rules
+Each circulation is given a maximum fine based on one of
+these rules.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">is_percent</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">rule_max_fine_name_check</database> : CHECK ((name ~ '^\\w+$'::text))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.rule-recurring-fine"
+ xreflabel="config.rule_recurring_fine">
+ <title id="config.table.rule-recurring-fine-title">
+ Table:
+
+ rule_recurring_fine
+ </title>
+
+ <para>
+
+Circulation Recurring Fine rules
+Each circulation is given a recurring fine amount based on one of
+these rules. Note that it is recommended to run the fine generator
+(from cron) at least as frequently as the lowest recurrence interval
+used by your circulation rules so that accrued fines will be up
+to date.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">high</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">normal</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">low</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">recurrence_interval</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '1 day'::interval</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">rule_recurring_fine_name_check</database> : CHECK ((name ~ '^\\w+$'::text))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.settings-group"
+ xreflabel="config.settings_group">
+ <title id="config.table.settings-group-title">
+ Table:
+
+ settings_group
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.org_unit_setting_type via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.org-unit-setting-type"/></member>
+ <member><xref linkend="config.table.usr-setting-type"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.standing"
+ xreflabel="config.standing">
+ <title id="config.table.standing-title">
+ Table:
+
+ standing
+ </title>
+
+ <para>
+
+Patron Standings
+This table contains the values that can be applied to a patron
+by a staff member. These values should not be changed, other
+than for translation, as the ID column is currently a "magic
+number" in the source. :(
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.standing-penalty"
+ xreflabel="config.standing_penalty">
+ <title id="config.table.standing-penalty-title">
+ Table:
+
+ standing_penalty
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">block_list</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">org_depth</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr_standing_penalty via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr-standing-penalty"/></member>
+ <member><xref linkend="permission.table.grp-penalty-threshold"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.upgrade-log"
+ xreflabel="config.upgrade_log">
+ <title id="config.table.upgrade-log-title">
+ Table:
+
+ upgrade_log
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">version</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">install_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.usr-setting-type"
+ xreflabel="config.usr_setting_type">
+ <title id="config.table.usr-setting-type-title">
+ Table:
+
+ usr_setting_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.settings-group"/>.
+ </member>
+ <member>
+ <database class="field">datatype</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'string'::text</literal>,
+ </member>
+ <member>
+ <database class="field">fm_class</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">coust_no_empty_link</database> : CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</member>
+ <member><database class="constraint">coust_valid_datatype</database> : CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action_trigger.event_definition via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action-trigger.table.event-definition"/></member>
+ <member><xref linkend="actor.table.usr-setting"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.videorecording-format-map"
+ xreflabel="config.videorecording_format_map">
+ <title id="config.table.videorecording-format-map-title">
+ Table:
+
+ videorecording_format_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.xml-transform"
+ xreflabel="config.xml_transform">
+ <title id="config.table.xml-transform-title">
+ Table:
+
+ xml_transform
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">namespace_uri</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">prefix</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xslt</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.metabib_field via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.metabib-field"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.z3950-attr"
+ xreflabel="config.z3950_attr">
+ <title id="config.table.z3950-attr-title">
+ Table:
+
+ z3950_attr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.z3950-source"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">format</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">truncation</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.table.z3950-source"
+ xreflabel="config.z3950_source">
+ <title id="config.table.z3950-source-title">
+ Table:
+
+ z3950_source
+ </title>
+
+ <para>
+
+Z39.50 Sources
+Each row in this table represents a database searchable via Z39.50.
+ </para>
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">host</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">port</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">db</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">record_format</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'FI'::text</literal>,
+
+Z39.50 element set.
+ </member>
+ <member>
+ <database class="field">transmission_format</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'usmarc'::text</literal>,
+
+Z39.50 preferred record syntax..
+ </member>
+ <member>
+ <database class="field">auth</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.z3950_attr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.z3950-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="config.function.interval-to-seconds-interval-string-text" xreflabel="configinterval_to_seconds(interval_string text)">
+ <title id="config.function.interval-to-seconds-interval-string-text-title">interval_to_seconds(interval_string text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="config.function.interval-to-seconds-interval-val-interval" xreflabel="configinterval_to_seconds(interval_val interval)">
+ <title id="config.function.interval-to-seconds-interval-val-interval-title">interval_to_seconds(interval_val interval)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="config.function.update-hard-due-dates" xreflabel="configupdate_hard_due_dates()">
+ <title id="config.function.update-hard-due-dates-title">update_hard_due_dates()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="container.schema">
+ <title>Schema container</title>
+ <para></para>
+
+ <simplesect id="container.table.biblio-record-entry-bucket"
+ xreflabel="container.biblio_record_entry_bucket">
+ <title id="container.table.biblio-record-entry-bucket-title">
+ Table:
+
+ biblio_record_entry_bucket
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">btype</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'misc'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.biblio-record-entry-bucket-type"/>.
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.biblio_record_entry_bucket_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.biblio-record-entry-bucket-item"/></member>
+ <member><xref linkend="container.table.biblio-record-entry-bucket-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.biblio-record-entry-bucket-item"
+ xreflabel="container.biblio_record_entry_bucket_item">
+ <title id="container.table.biblio-record-entry-bucket-item-title">
+ Table:
+
+ biblio_record_entry_bucket_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.biblio-record-entry-bucket"/>.
+ </member>
+ <member>
+ <database class="field">target_biblio_record_entry</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.biblio_record_entry_bucket_item_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.biblio-record-entry-bucket-item-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.biblio-record-entry-bucket-item-note"
+ xreflabel="container.biblio_record_entry_bucket_item_note">
+ <title id="container.table.biblio-record-entry-bucket-item-note-title">
+ Table:
+
+ biblio_record_entry_bucket_item_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.biblio-record-entry-bucket-item"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.biblio-record-entry-bucket-note"
+ xreflabel="container.biblio_record_entry_bucket_note">
+ <title id="container.table.biblio-record-entry-bucket-note-title">
+ Table:
+
+ biblio_record_entry_bucket_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.biblio-record-entry-bucket"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.biblio-record-entry-bucket-type"
+ xreflabel="container.biblio_record_entry_bucket_type">
+ <title id="container.table.biblio-record-entry-bucket-type-title">
+ Table:
+
+ biblio_record_entry_bucket_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.biblio_record_entry_bucket via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.biblio-record-entry-bucket"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.call-number-bucket"
+ xreflabel="container.call_number_bucket">
+ <title id="container.table.call-number-bucket-title">
+ Table:
+
+ call_number_bucket
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">btype</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'misc'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.call-number-bucket-type"/>.
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.call_number_bucket_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.call-number-bucket-item"/></member>
+ <member><xref linkend="container.table.call-number-bucket-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.call-number-bucket-item"
+ xreflabel="container.call_number_bucket_item">
+ <title id="container.table.call-number-bucket-item-title">
+ Table:
+
+ call_number_bucket_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.call-number-bucket"/>.
+ </member>
+ <member>
+ <database class="field">target_call_number</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.call_number_bucket_item_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.call-number-bucket-item-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.call-number-bucket-item-note"
+ xreflabel="container.call_number_bucket_item_note">
+ <title id="container.table.call-number-bucket-item-note-title">
+ Table:
+
+ call_number_bucket_item_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.call-number-bucket-item"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.call-number-bucket-note"
+ xreflabel="container.call_number_bucket_note">
+ <title id="container.table.call-number-bucket-note-title">
+ Table:
+
+ call_number_bucket_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.call-number-bucket"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.call-number-bucket-type"
+ xreflabel="container.call_number_bucket_type">
+ <title id="container.table.call-number-bucket-type-title">
+ Table:
+
+ call_number_bucket_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.call_number_bucket via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.call-number-bucket"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.copy-bucket"
+ xreflabel="container.copy_bucket">
+ <title id="container.table.copy-bucket-title">
+ Table:
+
+ copy_bucket
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">btype</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'misc'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.copy-bucket-type"/>.
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.copy_bucket_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.copy-bucket-item"/></member>
+ <member><xref linkend="container.table.copy-bucket-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.copy-bucket-item"
+ xreflabel="container.copy_bucket_item">
+ <title id="container.table.copy-bucket-item-title">
+ Table:
+
+ copy_bucket_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.copy-bucket"/>.
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy"/>.
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">copy_bucket_item_bucket_idx</database> : bucket</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.copy_bucket_item_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.copy-bucket-item-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.copy-bucket-item-note"
+ xreflabel="container.copy_bucket_item_note">
+ <title id="container.table.copy-bucket-item-note-title">
+ Table:
+
+ copy_bucket_item_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.copy-bucket-item"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.copy-bucket-note"
+ xreflabel="container.copy_bucket_note">
+ <title id="container.table.copy-bucket-note-title">
+ Table:
+
+ copy_bucket_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.copy-bucket"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.copy-bucket-type"
+ xreflabel="container.copy_bucket_type">
+ <title id="container.table.copy-bucket-type-title">
+ Table:
+
+ copy_bucket_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.copy_bucket via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.copy-bucket"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.user-bucket"
+ xreflabel="container.user_bucket">
+ <title id="container.table.user-bucket-title">
+ Table:
+
+ user_bucket
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">btype</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'misc'::text</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.user-bucket-type"/>.
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.user_bucket_item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.user-bucket-item"/></member>
+ <member><xref linkend="container.table.user-bucket-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.user-bucket-item"
+ xreflabel="container.user_bucket_item">
+ <title id="container.table.user-bucket-item-title">
+ Table:
+
+ user_bucket_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.user-bucket"/>.
+ </member>
+ <member>
+ <database class="field">target_user</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">user_bucket_item_target_user_idx</database> : target_user</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.user_bucket_item_note via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.user-bucket-item-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.user-bucket-item-note"
+ xreflabel="container.user_bucket_item_note">
+ <title id="container.table.user-bucket-item-note-title">
+ Table:
+
+ user_bucket_item_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.user-bucket-item"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.user-bucket-note"
+ xreflabel="container.user_bucket_note">
+ <title id="container.table.user-bucket-note-title">
+ Table:
+
+ user_bucket_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">bucket</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="container.table.user-bucket"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.table.user-bucket-type"
+ xreflabel="container.user_bucket_type">
+ <title id="container.table.user-bucket-type-title">
+ Table:
+
+ user_bucket_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing container.user_bucket via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="container.table.user-bucket"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="container.function.clear-all-expired-circ-history-items" xreflabel="containerclear_all_expired_circ_history_items()">
+ <title id="container.function.clear-all-expired-circ-history-items-title">clear_all_expired_circ_history_items()</title>
+ <para>
+
+Delete expired circulation bucket items for all users that have
+a setting for patron.max_reading_list_interval.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="container.function.clear-expired-circ-history-items-ac-usr-integer" xreflabel="containerclear_expired_circ_history_items(ac_usr integer)">
+ <title id="container.function.clear-expired-circ-history-items-ac-usr-integer-title">clear_expired_circ_history_items(ac_usr integer)</title>
+ <para>
+
+Delete old circulation bucket items for a specified user.
+"Old" means older than the interval specified by a
+user-level setting, if it is so specified.
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="evergreen.schema">
+ <title>Schema evergreen</title>
+ <para></para>
+
+ <simplesect id="evergreen.function.array-accum-anyelement" xreflabel="evergreenarray_accum(anyelement)">
+ <title id="evergreen.function.array-accum-anyelement-title">array_accum(anyelement)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>anyarray</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.change-db-setting-settings-text-setting-name-textARRAY" xreflabel="evergreenchange_db_setting(settings text, setting_name text[])">
+ <title id="evergreen.function.change-db-setting-settings-text-setting-name-textARRAY-title">change_db_setting(settings text, setting_name text[])</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.extract-marc-field-text-bigint-text" xreflabel="evergreenextract_marc_field(text, bigint, text)">
+ <title id="evergreen.function.extract-marc-field-text-bigint-text-title">extract_marc_field(text, bigint, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.extract-marc-field-text-bigint-text-text" xreflabel="evergreenextract_marc_field(text, bigint, text, text)">
+ <title id="evergreen.function.extract-marc-field-text-bigint-text-text-title">extract_marc_field(text, bigint, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.facet-force-nfc" xreflabel="evergreenfacet_force_nfc()">
+ <title id="evergreen.function.facet-force-nfc-title">facet_force_nfc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.fake-fkey-tgr" xreflabel="evergreenfake_fkey_tgr()">
+ <title id="evergreen.function.fake-fkey-tgr-title">fake_fkey_tgr()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.force-unicode-normal-form-form-text-string-text" xreflabel="evergreenforce_unicode_normal_form(form text, string text)">
+ <title id="evergreen.function.force-unicode-normal-form-form-text-string-text-title">force_unicode_normal_form(form text, string text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.is-json-text" xreflabel="evergreenis_json(text)">
+ <title id="evergreen.function.is-json-text-title">is_json(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.lowercase-text" xreflabel="evergreenlowercase(text)">
+ <title id="evergreen.function.lowercase-text-title">lowercase(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.maintain-901" xreflabel="evergreenmaintain_901()">
+ <title id="evergreen.function.maintain-901-title">maintain_901()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.maintain-control-numbers" xreflabel="evergreenmaintain_control_numbers()">
+ <title id="evergreen.function.maintain-control-numbers-title">maintain_control_numbers()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-code-tracking" xreflabel="evergreenoils_i18n_code_tracking()">
+ <title id="evergreen.function.oils-i18n-code-tracking-title">oils_i18n_code_tracking()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-gettext-integer-text-text-text" xreflabel="evergreenoils_i18n_gettext(integer, text, text, text)">
+ <title id="evergreen.function.oils-i18n-gettext-integer-text-text-text-title">oils_i18n_gettext(integer, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-gettext-text-text-text-text" xreflabel="evergreenoils_i18n_gettext(text, text, text, text)">
+ <title id="evergreen.function.oils-i18n-gettext-text-text-text-text-title">oils_i18n_gettext(text, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-id-tracking" xreflabel="evergreenoils_i18n_id_tracking()">
+ <title id="evergreen.function.oils-i18n-id-tracking-title">oils_i18n_id_tracking()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-update-apply-hint-text-new-ident-text-old-ident-text" xreflabel="evergreenoils_i18n_update_apply(hint text, new_ident text, old_ident text)">
+ <title id="evergreen.function.oils-i18n-update-apply-hint-text-new-ident-text-old-ident-text-title">oils_i18n_update_apply(hint text, new_ident text, old_ident text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-i18n-xlate-raw-locale-text-keyvalue-text-identcol-text-keycol-text-keyclass-text-keytable-text" xreflabel="evergreenoils_i18n_xlate(raw_locale text, keyvalue text, identcol text, keycol text, keyclass text, keytable text)">
+ <title id="evergreen.function.oils-i18n-xlate-raw-locale-text-keyvalue-text-identcol-text-keycol-text-keyclass-text-keytable-text-title">oils_i18n_xlate(raw_locale text, keyvalue text, identcol text, keycol text, keyclass text, keytable text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-json-to-text-text" xreflabel="evergreenoils_json_to_text(text)">
+ <title id="evergreen.function.oils-json-to-text-text-title">oils_json_to_text(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-text-as-bytea-text" xreflabel="evergreenoils_text_as_bytea(text)">
+ <title id="evergreen.function.oils-text-as-bytea-text-title">oils_text_as_bytea(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>bytea</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-tsearch2" xreflabel="evergreenoils_tsearch2()">
+ <title id="evergreen.function.oils-tsearch2-title">oils_tsearch2()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-text-text" xreflabel="evergreenoils_xpath(text, text)">
+ <title id="evergreen.function.oils-xpath-text-text-title">oils_xpath(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-text-text-anyarray" xreflabel="evergreenoils_xpath(text, text, anyarray)">
+ <title id="evergreen.function.oils-xpath-text-text-anyarray-title">oils_xpath(text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-string-text-text" xreflabel="evergreenoils_xpath_string(text, text)">
+ <title id="evergreen.function.oils-xpath-string-text-text-title">oils_xpath_string(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-string-text-text-anyarray" xreflabel="evergreenoils_xpath_string(text, text, anyarray)">
+ <title id="evergreen.function.oils-xpath-string-text-text-anyarray-title">oils_xpath_string(text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-string-text-text-text" xreflabel="evergreenoils_xpath_string(text, text, text)">
+ <title id="evergreen.function.oils-xpath-string-text-text-text-title">oils_xpath_string(text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-string-text-text-text-anyarray" xreflabel="evergreenoils_xpath_string(text, text, text, anyarray)">
+ <title id="evergreen.function.oils-xpath-string-text-text-text-anyarray-title">oils_xpath_string(text, text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xpath-table-criteria-text-xpaths-text-relation-name-text-document-field-text-key-text" xreflabel="evergreenoils_xpath_table(criteria text, xpaths text, relation_name text, document_field text, key text)">
+ <title id="evergreen.function.oils-xpath-table-criteria-text-xpaths-text-relation-name-text-document-field-text-key-text-title">oils_xpath_table(criteria text, xpaths text, relation_name text, document_field text, key text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.oils-xslt-process-text-text" xreflabel="evergreenoils_xslt_process(text, text)">
+ <title id="evergreen.function.oils-xslt-process-text-text-title">oils_xslt_process(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.tableoid2name-oid" xreflabel="evergreentableoid2name(oid)">
+ <title id="evergreen.function.tableoid2name-oid-title">tableoid2name(oid)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.tsvector-concat-public.tsvector-public.tsvector" xreflabel="evergreentsvector_concat(public.tsvector, public.tsvector)">
+ <title id="evergreen.function.tsvector-concat-public.tsvector-public.tsvector-title">tsvector_concat(public.tsvector, public.tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="evergreen.function.xml-escape-str-text" xreflabel="evergreenxml_escape(str text)">
+ <title id="evergreen.function.xml-escape-str-text-title">xml_escape(str text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="extend-reporter.schema">
+ <title>Schema extend_reporter</title>
+ <para></para>
+
+ <simplesect id="extend-reporter.view.full-circ-count"
+ xreflabel="extend_reporter.full_circ_count">
+ <title id="extend-reporter.view.full-circ-count-title">
+ View:
+
+ full_circ_count
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_count</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="extend-reporter.view.global-bibs-by-holding-update"
+ xreflabel="extend_reporter.global_bibs_by_holding_update">
+ <title id="extend-reporter.view.global-bibs-by-holding-update-title">
+ View:
+
+ global_bibs_by_holding_update
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">holding_update</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">update_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="extend-reporter.table.legacy-circ-count"
+ xreflabel="extend_reporter.legacy_circ_count">
+ <title id="extend-reporter.table.legacy-circ-count-title">
+ Table:
+
+ legacy_circ_count
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">circ_count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="metabib.schema">
+ <title>Schema metabib</title>
+ <para></para>
+
+ <simplesect id="metabib.table.author-field-entry"
+ xreflabel="metabib.author_field_entry">
+ <title id="metabib.table.author-field-entry-title">
+ Table:
+
+ author_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_author_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_author_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_author_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.facet-entry"
+ xreflabel="metabib.facet_entry">
+ <title id="metabib.table.facet-entry-title">
+ Table:
+
+ facet_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_facet_entry_field_idx</database> : field</member>
+ <member><database class="index">metabib_facet_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_facet_entry_value_idx</database> : "substring"(value, 1, 1024)</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.view.full-rec"
+ xreflabel="metabib.full_rec">
+ <title id="metabib.view.full-rec-title">
+ View:
+
+ full_rec
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">character(3)</database>
+--
+ </member>
+ <member>
+ <database class="field">ind1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ind2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">subfield</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.identifier-field-entry"
+ xreflabel="metabib.identifier_field_entry">
+ <title id="metabib.table.identifier-field-entry-title">
+ Table:
+
+ identifier_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_identifier_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_identifier_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_identifier_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.keyword-field-entry"
+ xreflabel="metabib.keyword_field_entry">
+ <title id="metabib.table.keyword-field-entry-title">
+ Table:
+
+ keyword_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_keyword_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_keyword_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_keyword_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.metarecord"
+ xreflabel="metabib.metarecord">
+ <title id="metabib.table.metarecord-title">
+ Table:
+
+ metarecord
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">master_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">mods</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_metarecord_fingerprint_idx</database> : fingerprint</member>
+ <member><database class="index">metabib_metarecord_master_record_idx</database> : master_record</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing metabib.metarecord_source_map via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="metabib.table.metarecord-source-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.metarecord-source-map"
+ xreflabel="metabib.metarecord_source_map">
+ <title id="metabib.table.metarecord-source-map-title">
+ Table:
+
+ metarecord_source_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">metarecord</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="metabib.table.metarecord"/>.
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_metarecord_source_map_metarecord_idx</database> : metarecord</member>
+ <member><database class="index">metabib_metarecord_source_map_source_record_idx</database> : source</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.real-full-rec"
+ xreflabel="metabib.real_full_rec">
+ <title id="metabib.table.real-full-rec-title">
+ Table:
+
+ real_full_rec
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('metabib.full_rec_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">character(3)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">ind1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ind2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">subfield</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_full_rec_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_full_rec_record_idx</database> : record</member>
+ <member><database class="index">metabib_full_rec_tag_subfield_idx</database> : tag, subfield</member>
+ <member><database class="index">metabib_full_rec_value_idx</database> : "substring"(value, 1, 1024)</member>
+ <member><database class="index">metabib_full_rec_value_tpo_index</database> : "substring"(value, 1, 1024) text_pattern_ops</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.rec-descriptor"
+ xreflabel="metabib.rec_descriptor">
+ <title id="metabib.table.rec-descriptor-title">
+ Table:
+
+ rec_descriptor
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">bib_level</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">control_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">char_encoding</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enc_level</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">audience</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">lit_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">type_mat</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cat_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pub_status</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_lang</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">vr_format</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">date1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">date2</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_rec_descriptor_audience_idx</database> : audience</member>
+ <member><database class="index">metabib_rec_descriptor_bib_level_idx</database> : bib_level</member>
+ <member><database class="index">metabib_rec_descriptor_cat_form_idx</database> : cat_form</member>
+ <member><database class="index">metabib_rec_descriptor_char_encoding_idx</database> : char_encoding</member>
+ <member><database class="index">metabib_rec_descriptor_control_type_idx</database> : control_type</member>
+ <member><database class="index">metabib_rec_descriptor_date1_idx</database> : date1</member>
+ <member><database class="index">metabib_rec_descriptor_dates_idx</database> : date1, date2</member>
+ <member><database class="index">metabib_rec_descriptor_enc_level_idx</database> : enc_level</member>
+ <member><database class="index">metabib_rec_descriptor_item_form_idx</database> : item_form</member>
+ <member><database class="index">metabib_rec_descriptor_item_lang_idx</database> : item_lang</member>
+ <member><database class="index">metabib_rec_descriptor_item_type_idx</database> : item_type</member>
+ <member><database class="index">metabib_rec_descriptor_lit_form_idx</database> : lit_form</member>
+ <member><database class="index">metabib_rec_descriptor_pub_status_idx</database> : pub_status</member>
+ <member><database class="index">metabib_rec_descriptor_record_idx</database> : record</member>
+ <member><database class="index">metabib_rec_descriptor_vr_format_idx</database> : vr_format</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.series-field-entry"
+ xreflabel="metabib.series_field_entry">
+ <title id="metabib.table.series-field-entry-title">
+ Table:
+
+ series_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_series_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_series_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_series_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.subject-field-entry"
+ xreflabel="metabib.subject_field_entry">
+ <title id="metabib.table.subject-field-entry-title">
+ Table:
+
+ subject_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_subject_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_subject_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_subject_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.table.title-field-entry"
+ xreflabel="metabib.title_field_entry">
+ <title id="metabib.table.title-field-entry-title">
+ Table:
+
+ title_field_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">index_vector</database> : <database class="datatype">tsvector</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">metabib_title_field_entry_index_vector_idx</database> : index_vector</member>
+ <member><database class="index">metabib_title_field_entry_source_idx</database> : source</member>
+ <member><database class="index">metabib_title_field_entry_value_idx</database> : "substring"(value, 1, 1024)) WHERE ((index_vector)::pg_catalog.tsvector = ((''::pg_catalog.tsvector)::tsvector)::pg_catalog.tsvector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="metabib.function.reingest-metabib-field-entries-bib-id-bigint" xreflabel="metabibreingest_metabib_field_entries(bib_id bigint)">
+ <title id="metabib.function.reingest-metabib-field-entries-bib-id-bigint-title">reingest_metabib_field_entries(bib_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="metabib.function.reingest-metabib-full-rec-bib-id-bigint" xreflabel="metabibreingest_metabib_full_rec(bib_id bigint)">
+ <title id="metabib.function.reingest-metabib-full-rec-bib-id-bigint-title">reingest_metabib_full_rec(bib_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="metabib.function.reingest-metabib-rec-descriptor-bib-id-bigint" xreflabel="metabibreingest_metabib_rec_descriptor(bib_id bigint)">
+ <title id="metabib.function.reingest-metabib-rec-descriptor-bib-id-bigint-title">reingest_metabib_rec_descriptor(bib_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="metabib.function.remap-metarecord-for-bib-fp-bigint-bib-id-text" xreflabel="metabibremap_metarecord_for_bib(fp bigint, bib_id text)">
+ <title id="metabib.function.remap-metarecord-for-bib-fp-bigint-bib-id-text-title">remap_metarecord_for_bib(fp bigint, bib_id text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="money.schema">
+ <title>Schema money</title>
+ <para></para>
+
+ <simplesect id="money.table.billable-xact"
+ xreflabel="money.billable_xact">
+ <title id="money.table.billable-xact-title">
+ Table:
+
+ billable_xact
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">m_b_x_open_xacts_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.billable-xact-summary"
+ xreflabel="money.billable_xact_summary">
+ <title id="money.view.billable-xact-summary-title">
+ View:
+
+ billable_xact_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.billable-xact-summary-location-view"
+ xreflabel="money.billable_xact_summary_location_view">
+ <title id="money.view.billable-xact-summary-location-view-title">
+ View:
+
+ billable_xact_summary_location_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.billable-xact-with-void-summary"
+ xreflabel="money.billable_xact_with_void_summary">
+ <title id="money.view.billable-xact-with-void-summary-title">
+ View:
+
+ billable_xact_with_void_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.billing"
+ xreflabel="money.billing">
+ <title id="money.table.billing-title">
+ Table:
+
+ billing
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">voider</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">void_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">billing_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">btype</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.billing-type"/>.
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">m_b_time_idx</database> : billing_ts</member>
+ <member><database class="index">m_b_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.bnm-desk-payment"
+ xreflabel="money.bnm_desk_payment">
+ <title id="money.table.bnm-desk-payment-title">
+ Table:
+
+ bnm_desk_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cash_drawer</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.workstation"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.bnm-payment"
+ xreflabel="money.bnm_payment">
+ <title id="money.table.bnm-payment-title">
+ Table:
+
+ bnm_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.bnm-payment-view"
+ xreflabel="money.bnm_payment_view">
+ <title id="money.view.bnm-payment-view-title">
+ View:
+
+ bnm_payment_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.cash-payment"
+ xreflabel="money.cash_payment">
+ <title id="money.table.cash-payment-title">
+ Table:
+
+ cash_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cash_drawer</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_cash_id_idx</database> : id</member>
+ <member><database class="index">money_cash_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_cash_payment_cash_drawer_idx</database> : cash_drawer</member>
+ <member><database class="index">money_cash_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_cash_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.cashdrawer-payment-view"
+ xreflabel="money.cashdrawer_payment_view">
+ <title id="money.view.cashdrawer-payment-view-title">
+ View:
+
+ cashdrawer_payment_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">cashdrawer</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.check-payment"
+ xreflabel="money.check_payment">
+ <title id="money.table.check-payment-title">
+ Table:
+
+ check_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cash_drawer</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">check_number</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_check_id_idx</database> : id</member>
+ <member><database class="index">money_check_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_check_payment_cash_drawer_idx</database> : cash_drawer</member>
+ <member><database class="index">money_check_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_check_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.collections-tracker"
+ xreflabel="money.collections_tracker">
+ <title id="money.table.collections-tracker-title">
+ Table:
+
+ collections_tracker
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">collector</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">enter_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">m_c_t_collector_idx</database> : collector</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.credit-card-payment"
+ xreflabel="money.credit_card_payment">
+ <title id="money.table.credit-card-payment-title">
+ Table:
+
+ credit_card_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">cash_drawer</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">cc_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cc_number</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cc_processor</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cc_first_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">cc_last_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">expire_month</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">expire_year</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">approval_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_credit_card_id_idx</database> : id</member>
+ <member><database class="index">money_credit_card_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_credit_card_payment_cash_drawer_idx</database> : cash_drawer</member>
+ <member><database class="index">money_credit_card_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_credit_card_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.credit-payment"
+ xreflabel="money.credit_payment">
+ <title id="money.table.credit-payment-title">
+ Table:
+
+ credit_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_credit_id_idx</database> : id</member>
+ <member><database class="index">money_credit_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_credit_payment_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_credit_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.desk-payment-view"
+ xreflabel="money.desk_payment_view">
+ <title id="money.view.desk-payment-view-title">
+ View:
+
+ desk_payment_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">cash_drawer</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.forgive-payment"
+ xreflabel="money.forgive_payment">
+ <title id="money.table.forgive-payment-title">
+ Table:
+
+ forgive_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_forgive_id_idx</database> : id</member>
+ <member><database class="index">money_forgive_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_forgive_payment_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_forgive_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.goods-payment"
+ xreflabel="money.goods_payment">
+ <title id="money.table.goods-payment-title">
+ Table:
+
+ goods_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_goods_id_idx</database> : id</member>
+ <member><database class="index">money_goods_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_goods_payment_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_goods_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.grocery"
+ xreflabel="money.grocery">
+ <title id="money.table.grocery-title">
+ Table:
+
+ grocery
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.billable_xact_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">circ_open_date_idx</database> : xact_start) WHERE (xact_finish IS NULL</member>
+ <member><database class="index">m_g_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.materialized-billable-xact-summary"
+ xreflabel="money.materialized_billable_xact_summary">
+ <title id="money.table.materialized-billable-xact-summary-title">
+ Table:
+
+ materialized_billable_xact_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_mat_summary_usr_idx</database> : usr</member>
+ <member><database class="index">money_mat_summary_xact_start_idx</database> : xact_start</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.non-drawer-payment-view"
+ xreflabel="money.non_drawer_payment_view">
+ <title id="money.view.non-drawer-payment-view-title">
+ View:
+
+ non_drawer_payment_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-billable-xact-summary"
+ xreflabel="money.open_billable_xact_summary">
+ <title id="money.view.open-billable-xact-summary-title">
+ View:
+
+ open_billable_xact_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">billing_location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-transaction-billing-summary"
+ xreflabel="money.open_transaction_billing_summary">
+ <title id="money.view.open-transaction-billing-summary-title">
+ View:
+
+ open_transaction_billing_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-transaction-billing-type-summary"
+ xreflabel="money.open_transaction_billing_type_summary">
+ <title id="money.view.open-transaction-billing-type-summary-title">
+ View:
+
+ open_transaction_billing_type_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-transaction-payment-summary"
+ xreflabel="money.open_transaction_payment_summary">
+ <title id="money.view.open-transaction-payment-summary-title">
+ View:
+
+ open_transaction_payment_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-usr-circulation-summary"
+ xreflabel="money.open_usr_circulation_summary">
+ <title id="money.view.open-usr-circulation-summary-title">
+ View:
+
+ open_usr_circulation_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.open-usr-summary"
+ xreflabel="money.open_usr_summary">
+ <title id="money.view.open-usr-summary-title">
+ View:
+
+ open_usr_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.payment"
+ xreflabel="money.payment">
+ <title id="money.table.payment-title">
+ Table:
+
+ payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">m_p_time_idx</database> : payment_ts</member>
+ <member><database class="index">m_p_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.payment-view"
+ xreflabel="money.payment_view">
+ <title id="money.view.payment-view-title">
+ View:
+
+ payment_view
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.transaction-billing-summary"
+ xreflabel="money.transaction_billing_summary">
+ <title id="money.view.transaction-billing-summary-title">
+ View:
+
+ transaction_billing_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.transaction-billing-type-summary"
+ xreflabel="money.transaction_billing_type_summary">
+ <title id="money.view.transaction-billing-type-summary-title">
+ View:
+
+ transaction_billing_type_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.transaction-billing-with-void-summary"
+ xreflabel="money.transaction_billing_with_void_summary">
+ <title id="money.view.transaction-billing-with-void-summary-title">
+ View:
+
+ transaction_billing_with_void_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_billing_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.transaction-payment-summary"
+ xreflabel="money.transaction_payment_summary">
+ <title id="money.view.transaction-payment-summary-title">
+ View:
+
+ transaction_payment_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.transaction-payment-with-void-summary"
+ xreflabel="money.transaction_payment_with_void_summary">
+ <title id="money.view.transaction-payment-with-void-summary-title">
+ View:
+
+ transaction_payment_with_void_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_type</database> : <database class="datatype">name</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.usr-circulation-summary"
+ xreflabel="money.usr_circulation_summary">
+ <title id="money.view.usr-circulation-summary-title">
+ View:
+
+ usr_circulation_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.view.usr-summary"
+ xreflabel="money.usr_summary">
+ <title id="money.view.usr-summary-title">
+ View:
+
+ usr_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">total_paid</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">balance_owed</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.table.work-payment"
+ xreflabel="money.work_payment">
+ <title id="money.table.work-payment-title">
+ Table:
+
+ work_payment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('money.payment_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">payment_ts</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">amount_collected</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">accepting_usr</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">money_work_id_idx</database> : id</member>
+ <member><database class="index">money_work_payment_accepting_usr_idx</database> : accepting_usr</member>
+ <member><database class="index">money_work_payment_payment_ts_idx</database> : payment_ts</member>
+ <member><database class="index">money_work_payment_xact_idx</database> : xact</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="money.function.mat-summary-create" xreflabel="moneymat_summary_create()">
+ <title id="money.function.mat-summary-create-title">mat_summary_create()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.mat-summary-delete" xreflabel="moneymat_summary_delete()">
+ <title id="money.function.mat-summary-delete-title">mat_summary_delete()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.mat-summary-update" xreflabel="moneymat_summary_update()">
+ <title id="money.function.mat-summary-update-title">mat_summary_update()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-billing-add" xreflabel="moneymaterialized_summary_billing_add()">
+ <title id="money.function.materialized-summary-billing-add-title">materialized_summary_billing_add()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-billing-del" xreflabel="moneymaterialized_summary_billing_del()">
+ <title id="money.function.materialized-summary-billing-del-title">materialized_summary_billing_del()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-billing-update" xreflabel="moneymaterialized_summary_billing_update()">
+ <title id="money.function.materialized-summary-billing-update-title">materialized_summary_billing_update()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-payment-add" xreflabel="moneymaterialized_summary_payment_add()">
+ <title id="money.function.materialized-summary-payment-add-title">materialized_summary_payment_add()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-payment-del" xreflabel="moneymaterialized_summary_payment_del()">
+ <title id="money.function.materialized-summary-payment-del-title">materialized_summary_payment_del()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="money.function.materialized-summary-payment-update" xreflabel="moneymaterialized_summary_payment_update()">
+ <title id="money.function.materialized-summary-payment-update-title">materialized_summary_payment_update()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="offline.schema">
+ <title>Schema offline</title>
+ <para></para>
+
+ <simplesect id="offline.table.script"
+ xreflabel="offline.script">
+ <title id="offline.table.script-title">
+ Table:
+
+ script
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">session</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">requestor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">logfile</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">time_delta</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">count</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">offline_script_pkey</database> : id</member>
+ <member><database class="index">offline_script_session</database> : session</member>
+ <member><database class="index">offline_script_ws</database> : workstation</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="offline.table.session"
+ xreflabel="offline.session">
+ <title id="offline.table.session-title">
+ Table:
+
+ session
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">key</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">org</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">in_process</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">start_time</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">end_time</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">num_complete</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">offline_session_creation</database> : create_time</member>
+ <member><database class="index">offline_session_org</database> : org</member>
+ <member><database class="index">offline_session_pkey</database> : key</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="permission.schema">
+ <title>Schema permission</title>
+ <para></para>
+
+ <simplesect id="permission.table.grp-penalty-threshold"
+ xreflabel="permission.grp_penalty_threshold">
+ <title id="permission.table.grp-penalty-threshold-title">
+ Table:
+
+ grp_penalty_threshold
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">org_unit</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">penalty</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.standing-penalty"/>.
+ </member>
+ <member>
+ <database class="field">threshold</database> : <database class="datatype">numeric(8,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.grp-perm-map"
+ xreflabel="permission.grp_perm_map">
+ <title id="permission.table.grp-perm-map-title">
+ Table:
+
+ grp_perm_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">perm</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.perm-list"/>.
+ </member>
+ <member>
+ <database class="field">depth</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">grantable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.grp-tree"
+ xreflabel="permission.grp_tree">
+ <title id="permission.table.grp-tree-title">
+ Table:
+
+ grp_tree
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">parent</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ <member>
+ <database class="field">usergroup</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">perm_interval</database> : <database class="datatype">interval</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT '3 years'::interval</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">application_perm</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">grp_tree_parent_idx</database> : parent</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing actor.usr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="actor.table.usr"/></member>
+ <member><xref linkend="config.table.circ-matrix-matchpoint"/></member>
+ <member><xref linkend="config.table.hold-matrix-matchpoint"/></member>
+ <member><xref linkend="permission.table.grp-penalty-threshold"/></member>
+ <member><xref linkend="permission.table.grp-perm-map"/></member>
+ <member><xref linkend="permission.table.grp-tree"/></member>
+ <member><xref linkend="permission.table.usr-grp-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.perm-list"
+ xreflabel="permission.perm_list">
+ <title id="permission.table.perm-list-title">
+ Table:
+
+ perm_list
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">perm_list_code_idx</database> : code</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing config.org_unit_setting_type via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="config.table.org-unit-setting-type"/></member>
+ <member><xref linkend="permission.table.grp-perm-map"/></member>
+ <member><xref linkend="permission.table.usr-object-perm-map"/></member>
+ <member><xref linkend="permission.table.usr-perm-map"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.usr-grp-map"
+ xreflabel="permission.usr_grp_map">
+ <title id="permission.table.usr-grp-map-title">
+ Table:
+
+ usr_grp_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">grp</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.grp-tree"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.usr-object-perm-map"
+ xreflabel="permission.usr_object_perm_map">
+ <title id="permission.table.usr-object-perm-map-title">
+ Table:
+
+ usr_object_perm_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">perm</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.perm-list"/>.
+ </member>
+ <member>
+ <database class="field">object_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">object_id</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">grantable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">uopm_usr_idx</database> : usr</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.usr-perm-map"
+ xreflabel="permission.usr_perm_map">
+ <title id="permission.table.usr-perm-map-title">
+ Table:
+
+ usr_perm_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">perm</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="permission.table.perm-list"/>.
+ </member>
+ <member>
+ <database class="field">depth</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">grantable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.table.usr-work-ou-map"
+ xreflabel="permission.usr_work_ou_map">
+ <title id="permission.table.usr-work-ou-map-title">
+ Table:
+
+ usr_work_ou_map
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">work_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="permission.function.grp-ancestors-integer" xreflabel="permissiongrp_ancestors(integer)">
+ <title id="permission.function.grp-ancestors-integer-title">grp_ancestors(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF grp_tree</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.grp-ancestors-distance-distance-integer" xreflabel="permissiongrp_ancestors_distance(distance integer)">
+ <title id="permission.function.grp-ancestors-distance-distance-integer-title">grp_ancestors_distance(distance integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.grp-descendants-distance-distance-integer" xreflabel="permissiongrp_descendants_distance(distance integer)">
+ <title id="permission.function.grp-descendants-distance-distance-integer-title">grp_descendants_distance(distance integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-can-grant-perm-target-ou-integer-tperm-text-iuser-integer" xreflabel="permissionusr_can_grant_perm(target_ou integer, tperm text, iuser integer)">
+ <title id="permission.function.usr-can-grant-perm-target-ou-integer-tperm-text-iuser-integer-title">usr_can_grant_perm(target_ou integer, tperm text, iuser integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-home-perm-target-ou-integer-tperm-text-iuser-integer" xreflabel="permissionusr_has_home_perm(target_ou integer, tperm text, iuser integer)">
+ <title id="permission.function.usr-has-home-perm-target-ou-integer-tperm-text-iuser-integer-title">usr_has_home_perm(target_ou integer, tperm text, iuser integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-object-perm-integer-text-text-text" xreflabel="permissionusr_has_object_perm(integer, text, text, text)">
+ <title id="permission.function.usr-has-object-perm-integer-text-text-text-title">usr_has_object_perm(integer, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-object-perm-target-ou-integer-obj-id-text-obj-type-text-tperm-text-iuser-integer" xreflabel="permissionusr_has_object_perm(target_ou integer, obj_id text, obj_type text, tperm text, iuser integer)">
+ <title id="permission.function.usr-has-object-perm-target-ou-integer-obj-id-text-obj-type-text-tperm-text-iuser-integer-title">usr_has_object_perm(target_ou integer, obj_id text, obj_type text, tperm text, iuser integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-perm-integer-text-integer" xreflabel="permissionusr_has_perm(integer, text, integer)">
+ <title id="permission.function.usr-has-perm-integer-text-integer-title">usr_has_perm(integer, text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-perm-at-perm-code-integer-user-id-text" xreflabel="permissionusr_has_perm_at(perm_code integer, user_id text)">
+ <title id="permission.function.usr-has-perm-at-perm-code-integer-user-id-text-title">usr_has_perm_at(perm_code integer, user_id text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-perm-at-all-perm-code-integer-user-id-text" xreflabel="permissionusr_has_perm_at_all(perm_code integer, user_id text)">
+ <title id="permission.function.usr-has-perm-at-all-perm-code-integer-user-id-text-title">usr_has_perm_at_all(perm_code integer, user_id text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-perm-at-all-nd-perm-code-integer-user-id-text" xreflabel="permissionusr_has_perm_at_all_nd(perm_code integer, user_id text)">
+ <title id="permission.function.usr-has-perm-at-all-nd-perm-code-integer-user-id-text-title">usr_has_perm_at_all_nd(perm_code integer, user_id text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-perm-at-nd-perm-code-integer-user-id-text" xreflabel="permissionusr_has_perm_at_nd(perm_code integer, user_id text)">
+ <title id="permission.function.usr-has-perm-at-nd-perm-code-integer-user-id-text-title">usr_has_perm_at_nd(perm_code integer, user_id text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-has-work-perm-target-ou-integer-tperm-text-iuser-integer" xreflabel="permissionusr_has_work_perm(target_ou integer, tperm text, iuser integer)">
+ <title id="permission.function.usr-has-work-perm-target-ou-integer-tperm-text-iuser-integer-title">usr_has_work_perm(target_ou integer, tperm text, iuser integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="permission.function.usr-perms-integer" xreflabel="permissionusr_perms(integer)">
+ <title id="permission.function.usr-perms-integer-title">usr_perms(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF usr_perm_map</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="public.schema">
+ <title>Schema public</title>
+ <para>standard public schema</para>
+
+ <simplesect id="public.table.staging-items"
+ xreflabel="public.staging_items">
+ <title id="public.table.staging-items-title">
+ Table:
+
+ staging_items
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">l_callnum</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">hseq</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">egid</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">createdate</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">l_location</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">l_barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">l_circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">l_owning_lib</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="public.function.-get-parser-from-curcfg" xreflabel="public_get_parser_from_curcfg()">
+ <title id="public.function.-get-parser-from-curcfg-title">_get_parser_from_curcfg()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.agg-text-text" xreflabel="publicagg_text(text)">
+ <title id="public.function.agg-text-text-title">agg_text(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.agg-tsvector-tsvector" xreflabel="publicagg_tsvector(tsvector)">
+ <title id="public.function.agg-tsvector-tsvector-title">agg_tsvector(tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.call-number-dewey-text" xreflabel="publiccall_number_dewey(text)">
+ <title id="public.function.call-number-dewey-text-title">call_number_dewey(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.call-number-dewey-text-integer" xreflabel="publiccall_number_dewey(text, integer)">
+ <title id="public.function.call-number-dewey-text-integer-title">call_number_dewey(text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.cleanup-acq-marc" xreflabel="publiccleanup_acq_marc()">
+ <title id="public.function.cleanup-acq-marc-title">cleanup_acq_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.concat-tsvector-tsvector" xreflabel="publicconcat(tsvector, tsvector)">
+ <title id="public.function.concat-tsvector-tsvector-title">concat(tsvector, tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.connectby-text-text-text-text-integer" xreflabel="publicconnectby(text, text, text, text, integer)">
+ <title id="public.function.connectby-text-text-text-text-integer-title">connectby(text, text, text, text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.connectby-text-text-text-text-integer-text" xreflabel="publicconnectby(text, text, text, text, integer, text)">
+ <title id="public.function.connectby-text-text-text-text-integer-text-title">connectby(text, text, text, text, integer, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.connectby-text-text-text-text-text-integer" xreflabel="publicconnectby(text, text, text, text, text, integer)">
+ <title id="public.function.connectby-text-text-text-text-text-integer-title">connectby(text, text, text, text, text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.connectby-text-text-text-text-text-integer-text" xreflabel="publicconnectby(text, text, text, text, text, integer, text)">
+ <title id="public.function.connectby-text-text-text-text-text-integer-text-title">connectby(text, text, text, text, text, integer, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab-text" xreflabel="publiccrosstab(text)">
+ <title id="public.function.crosstab-text-title">crosstab(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab-text-integer" xreflabel="publiccrosstab(text, integer)">
+ <title id="public.function.crosstab-text-integer-title">crosstab(text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab-text-text" xreflabel="publiccrosstab(text, text)">
+ <title id="public.function.crosstab-text-text-title">crosstab(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab2-text" xreflabel="publiccrosstab2(text)">
+ <title id="public.function.crosstab2-text-title">crosstab2(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF tablefunc_crosstab_2</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab3-text" xreflabel="publiccrosstab3(text)">
+ <title id="public.function.crosstab3-text-title">crosstab3(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF tablefunc_crosstab_3</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.crosstab4-text" xreflabel="publiccrosstab4(text)">
+ <title id="public.function.crosstab4-text-title">crosstab4(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF tablefunc_crosstab_4</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.dex-init-internal" xreflabel="publicdex_init(internal)">
+ <title id="public.function.dex-init-internal-title">dex_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.dex-lexize-internal-internal-integer" xreflabel="publicdex_lexize(internal, internal, integer)">
+ <title id="public.function.dex-lexize-internal-internal-integer-title">dex_lexize(internal, internal, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.entityize-text" xreflabel="publicentityize(text)">
+ <title id="public.function.entityize-text-title">entityize(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.explode-array-anyarray" xreflabel="publicexplode_array(anyarray)">
+ <title id="public.function.explode-array-anyarray-title">explode_array(anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.extract-acq-marc-field-bigint-text-text" xreflabel="publicextract_acq_marc_field(bigint, text, text)">
+ <title id="public.function.extract-acq-marc-field-bigint-text-text-title">extract_acq_marc_field(bigint, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.extract-marc-field-text-bigint-text" xreflabel="publicextract_marc_field(text, bigint, text)">
+ <title id="public.function.extract-marc-field-text-bigint-text-title">extract_marc_field(text, bigint, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.extract-marc-field-text-bigint-text-text" xreflabel="publicextract_marc_field(text, bigint, text, text)">
+ <title id="public.function.extract-marc-field-text-bigint-text-text-title">extract_marc_field(text, bigint, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.facet-force-nfc" xreflabel="publicfacet_force_nfc()">
+ <title id="public.function.facet-force-nfc-title">facet_force_nfc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.first-anyelement" xreflabel="publicfirst(anyelement)">
+ <title id="public.function.first-anyelement-title">first(anyelement)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.first5-text" xreflabel="publicfirst5(text)">
+ <title id="public.function.first5-text-title">first5(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.first-agg-anyelement-anyelement" xreflabel="publicfirst_agg(anyelement, anyelement)">
+ <title id="public.function.first-agg-anyelement-anyelement-title">first_agg(anyelement, anyelement)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.first-word-text" xreflabel="publicfirst_word(text)">
+ <title id="public.function.first-word-text-title">first_word(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.force-unicode-normal-form-form-text-string-text" xreflabel="publicforce_unicode_normal_form(form text, string text)">
+ <title id="public.function.force-unicode-normal-form-form-text-string-text-title">force_unicode_normal_form(form text, string text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.get-covers-tsvector-tsquery" xreflabel="publicget_covers(tsvector, tsquery)">
+ <title id="public.function.get-covers-tsvector-tsquery-title">get_covers(tsvector, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-oid-text-tsquery" xreflabel="publicheadline(oid, text, tsquery)">
+ <title id="public.function.headline-oid-text-tsquery-title">headline(oid, text, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-oid-text-tsquery-text" xreflabel="publicheadline(oid, text, tsquery, text)">
+ <title id="public.function.headline-oid-text-tsquery-text-title">headline(oid, text, tsquery, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-text-text-tsquery" xreflabel="publicheadline(text, text, tsquery)">
+ <title id="public.function.headline-text-text-tsquery-title">headline(text, text, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-text-text-tsquery-text" xreflabel="publicheadline(text, text, tsquery, text)">
+ <title id="public.function.headline-text-text-tsquery-text-title">headline(text, text, tsquery, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-text-tsquery" xreflabel="publicheadline(text, tsquery)">
+ <title id="public.function.headline-text-tsquery-title">headline(text, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.headline-text-tsquery-text" xreflabel="publicheadline(text, tsquery, text)">
+ <title id="public.function.headline-text-tsquery-text-title">headline(text, tsquery, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.ingest-acq-marc" xreflabel="publicingest_acq_marc()">
+ <title id="public.function.ingest-acq-marc-title">ingest_acq_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.is-json-text" xreflabel="publicis_json(text)">
+ <title id="public.function.is-json-text-title">is_json(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.last-anyelement" xreflabel="publiclast(anyelement)">
+ <title id="public.function.last-anyelement-title">last(anyelement)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.last-agg-anyelement-anyelement" xreflabel="publiclast_agg(anyelement, anyelement)">
+ <title id="public.function.last-agg-anyelement-anyelement-title">last_agg(anyelement, anyelement)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.left-trunc-text-integer" xreflabel="publicleft_trunc(text, integer)">
+ <title id="public.function.left-trunc-text-integer-title">left_trunc(text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.length-tsvector" xreflabel="publiclength(tsvector)">
+ <title id="public.function.length-tsvector-title">length(tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.lexize-oid-text" xreflabel="publiclexize(oid, text)">
+ <title id="public.function.lexize-oid-text-title">lexize(oid, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.lexize-text" xreflabel="publiclexize(text)">
+ <title id="public.function.lexize-text-title">lexize(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.lexize-text-text" xreflabel="publiclexize(text, text)">
+ <title id="public.function.lexize-text-text-title">lexize(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.lowercase-text" xreflabel="publiclowercase(text)">
+ <title id="public.function.lowercase-text-title">lowercase(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.maintain-901" xreflabel="publicmaintain_901()">
+ <title id="public.function.maintain-901-title">maintain_901()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.maintain-control-numbers" xreflabel="publicmaintain_control_numbers()">
+ <title id="public.function.maintain-control-numbers-title">maintain_control_numbers()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.naco-normalize-text" xreflabel="publicnaco_normalize(text)">
+ <title id="public.function.naco-normalize-text-title">naco_normalize(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.naco-normalize-text-text" xreflabel="publicnaco_normalize(text, text)">
+ <title id="public.function.naco-normalize-text-text-title">naco_normalize(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.naco-normalize-keep-comma-text" xreflabel="publicnaco_normalize_keep_comma(text)">
+ <title id="public.function.naco-normalize-keep-comma-text-title">naco_normalize_keep_comma(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.non-filing-normalize-text-char" xreflabel="publicnon_filing_normalize(text, "char")">
+ <title id="public.function.non-filing-normalize-text-char-title">non_filing_normalize(text, "char")</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.normal-rand-integer-double-precision-double-precision" xreflabel="publicnormal_rand(integer, double precision, double precision)">
+ <title id="public.function.normal-rand-integer-double-precision-double-precision-title">normal_rand(integer, double precision, double precision)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF double precision</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.normalize-space-text" xreflabel="publicnormalize_space(text)">
+ <title id="public.function.normalize-space-text-title">normalize_space(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.numnode-tsquery" xreflabel="publicnumnode(tsquery)">
+ <title id="public.function.numnode-tsquery-title">numnode(tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-code-tracking" xreflabel="publicoils_i18n_code_tracking()">
+ <title id="public.function.oils-i18n-code-tracking-title">oils_i18n_code_tracking()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-gettext-integer-text-text-text" xreflabel="publicoils_i18n_gettext(integer, text, text, text)">
+ <title id="public.function.oils-i18n-gettext-integer-text-text-text-title">oils_i18n_gettext(integer, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-gettext-text-text-text-text" xreflabel="publicoils_i18n_gettext(text, text, text, text)">
+ <title id="public.function.oils-i18n-gettext-text-text-text-text-title">oils_i18n_gettext(text, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-id-tracking" xreflabel="publicoils_i18n_id_tracking()">
+ <title id="public.function.oils-i18n-id-tracking-title">oils_i18n_id_tracking()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-update-apply-hint-text-new-ident-text-old-ident-text" xreflabel="publicoils_i18n_update_apply(hint text, new_ident text, old_ident text)">
+ <title id="public.function.oils-i18n-update-apply-hint-text-new-ident-text-old-ident-text-title">oils_i18n_update_apply(hint text, new_ident text, old_ident text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-i18n-xlate-raw-locale-text-keyvalue-text-identcol-text-keycol-text-keyclass-text-keytable-text" xreflabel="publicoils_i18n_xlate(raw_locale text, keyvalue text, identcol text, keycol text, keyclass text, keytable text)">
+ <title id="public.function.oils-i18n-xlate-raw-locale-text-keyvalue-text-identcol-text-keycol-text-keyclass-text-keytable-text-title">oils_i18n_xlate(raw_locale text, keyvalue text, identcol text, keycol text, keyclass text, keytable text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-json-to-text-text" xreflabel="publicoils_json_to_text(text)">
+ <title id="public.function.oils-json-to-text-text-title">oils_json_to_text(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-text-as-bytea-text" xreflabel="publicoils_text_as_bytea(text)">
+ <title id="public.function.oils-text-as-bytea-text-title">oils_text_as_bytea(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>bytea</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-tsearch2" xreflabel="publicoils_tsearch2()">
+ <title id="public.function.oils-tsearch2-title">oils_tsearch2()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-text-text" xreflabel="publicoils_xpath(text, text)">
+ <title id="public.function.oils-xpath-text-text-title">oils_xpath(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-text-text-anyarray" xreflabel="publicoils_xpath(text, text, anyarray)">
+ <title id="public.function.oils-xpath-text-text-anyarray-title">oils_xpath(text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text[]</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-string-text-text" xreflabel="publicoils_xpath_string(text, text)">
+ <title id="public.function.oils-xpath-string-text-text-title">oils_xpath_string(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-string-text-text-anyarray" xreflabel="publicoils_xpath_string(text, text, anyarray)">
+ <title id="public.function.oils-xpath-string-text-text-anyarray-title">oils_xpath_string(text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-string-text-text-text" xreflabel="publicoils_xpath_string(text, text, text)">
+ <title id="public.function.oils-xpath-string-text-text-text-title">oils_xpath_string(text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-string-text-text-text-anyarray" xreflabel="publicoils_xpath_string(text, text, text, anyarray)">
+ <title id="public.function.oils-xpath-string-text-text-text-anyarray-title">oils_xpath_string(text, text, text, anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xpath-table-criteria-text-xpaths-text-relation-name-text-document-field-text-key-text" xreflabel="publicoils_xpath_table(criteria text, xpaths text, relation_name text, document_field text, key text)">
+ <title id="public.function.oils-xpath-table-criteria-text-xpaths-text-relation-name-text-document-field-text-key-text-title">oils_xpath_table(criteria text, xpaths text, relation_name text, document_field text, key text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.oils-xslt-process-text-text" xreflabel="publicoils_xslt_process(text, text)">
+ <title id="public.function.oils-xslt-process-text-text-title">oils_xslt_process(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.parse-oid-text" xreflabel="publicparse(oid, text)">
+ <title id="public.function.parse-oid-text-title">parse(oid, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF tokenout</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.parse-text" xreflabel="publicparse(text)">
+ <title id="public.function.parse-text-title">parse(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF tokenout</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.parse-text-text" xreflabel="publicparse(text, text)">
+ <title id="public.function.parse-text-text-title">parse(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF tokenout</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.plainto-tsquery-oid-text" xreflabel="publicplainto_tsquery(oid, text)">
+ <title id="public.function.plainto-tsquery-oid-text-title">plainto_tsquery(oid, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.plainto-tsquery-text" xreflabel="publicplainto_tsquery(text)">
+ <title id="public.function.plainto-tsquery-text-title">plainto_tsquery(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.plainto-tsquery-text-text" xreflabel="publicplainto_tsquery(text, text)">
+ <title id="public.function.plainto-tsquery-text-text-title">plainto_tsquery(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.prsd-end-internal" xreflabel="publicprsd_end(internal)">
+ <title id="public.function.prsd-end-internal-title">prsd_end(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.prsd-getlexeme-internal-internal-internal" xreflabel="publicprsd_getlexeme(internal, internal, internal)">
+ <title id="public.function.prsd-getlexeme-internal-internal-internal-title">prsd_getlexeme(internal, internal, internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>integer</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.prsd-headline-internal-internal-internal" xreflabel="publicprsd_headline(internal, internal, internal)">
+ <title id="public.function.prsd-headline-internal-internal-internal-title">prsd_headline(internal, internal, internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.prsd-lextype-internal" xreflabel="publicprsd_lextype(internal)">
+ <title id="public.function.prsd-lextype-internal-title">prsd_lextype(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.prsd-start-internal-integer" xreflabel="publicprsd_start(internal, integer)">
+ <title id="public.function.prsd-start-internal-integer-title">prsd_start(internal, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.querytree-tsquery" xreflabel="publicquerytree(tsquery)">
+ <title id="public.function.querytree-tsquery-title">querytree(tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-realARRAY-tsvector-tsquery" xreflabel="publicrank(real[], tsvector, tsquery)">
+ <title id="public.function.rank-realARRAY-tsvector-tsquery-title">rank(real[], tsvector, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-realARRAY-tsvector-tsquery-integer" xreflabel="publicrank(real[], tsvector, tsquery, integer)">
+ <title id="public.function.rank-realARRAY-tsvector-tsquery-integer-title">rank(real[], tsvector, tsquery, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-tsvector-tsquery" xreflabel="publicrank(tsvector, tsquery)">
+ <title id="public.function.rank-tsvector-tsquery-title">rank(tsvector, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-tsvector-tsquery-integer" xreflabel="publicrank(tsvector, tsquery, integer)">
+ <title id="public.function.rank-tsvector-tsquery-integer-title">rank(tsvector, tsquery, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-cd-realARRAY-tsvector-tsquery" xreflabel="publicrank_cd(real[], tsvector, tsquery)">
+ <title id="public.function.rank-cd-realARRAY-tsvector-tsquery-title">rank_cd(real[], tsvector, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-cd-realARRAY-tsvector-tsquery-integer" xreflabel="publicrank_cd(real[], tsvector, tsquery, integer)">
+ <title id="public.function.rank-cd-realARRAY-tsvector-tsquery-integer-title">rank_cd(real[], tsvector, tsquery, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-cd-tsvector-tsquery" xreflabel="publicrank_cd(tsvector, tsquery)">
+ <title id="public.function.rank-cd-tsvector-tsquery-title">rank_cd(tsvector, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rank-cd-tsvector-tsquery-integer" xreflabel="publicrank_cd(tsvector, tsquery, integer)">
+ <title id="public.function.rank-cd-tsvector-tsquery-integer-title">rank_cd(tsvector, tsquery, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.remove-commas-text" xreflabel="publicremove_commas(text)">
+ <title id="public.function.remove-commas-text-title">remove_commas(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.remove-diacritics-text" xreflabel="publicremove_diacritics(text)">
+ <title id="public.function.remove-diacritics-text-title">remove_diacritics(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.remove-paren-substring-text" xreflabel="publicremove_paren_substring(text)">
+ <title id="public.function.remove-paren-substring-text-title">remove_paren_substring(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.remove-whitespace-text" xreflabel="publicremove_whitespace(text)">
+ <title id="public.function.remove-whitespace-text-title">remove_whitespace(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.reset-tsearch" xreflabel="publicreset_tsearch()">
+ <title id="public.function.reset-tsearch-title">reset_tsearch()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rewrite-tsquery-text" xreflabel="publicrewrite(tsquery, text)">
+ <title id="public.function.rewrite-tsquery-text-title">rewrite(tsquery, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rewrite-tsquery-tsquery-tsquery" xreflabel="publicrewrite(tsquery, tsquery, tsquery)">
+ <title id="public.function.rewrite-tsquery-tsquery-tsquery-title">rewrite(tsquery, tsquery, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rewrite-tsqueryARRAY" xreflabel="publicrewrite(tsquery[])">
+ <title id="public.function.rewrite-tsqueryARRAY-title">rewrite(tsquery[])</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rewrite-accum-tsquery-tsqueryARRAY" xreflabel="publicrewrite_accum(tsquery, tsquery[])">
+ <title id="public.function.rewrite-accum-tsquery-tsqueryARRAY-title">rewrite_accum(tsquery, tsquery[])</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.rewrite-finish-tsquery" xreflabel="publicrewrite_finish(tsquery)">
+ <title id="public.function.rewrite-finish-tsquery-title">rewrite_finish(tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.right-trunc-text-integer" xreflabel="publicright_trunc(text, integer)">
+ <title id="public.function.right-trunc-text-integer-title">right_trunc(text, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curcfg-integer" xreflabel="publicset_curcfg(integer)">
+ <title id="public.function.set-curcfg-integer-title">set_curcfg(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curcfg-text" xreflabel="publicset_curcfg(text)">
+ <title id="public.function.set-curcfg-text-title">set_curcfg(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curdict-integer" xreflabel="publicset_curdict(integer)">
+ <title id="public.function.set-curdict-integer-title">set_curdict(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curdict-text" xreflabel="publicset_curdict(text)">
+ <title id="public.function.set-curdict-text-title">set_curdict(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curprs-integer" xreflabel="publicset_curprs(integer)">
+ <title id="public.function.set-curprs-integer-title">set_curprs(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.set-curprs-text" xreflabel="publicset_curprs(text)">
+ <title id="public.function.set-curprs-text-title">set_curprs(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.setweight-tsvector-char" xreflabel="publicsetweight(tsvector, "char")">
+ <title id="public.function.setweight-tsvector-char-title">setweight(tsvector, "char")</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.show-curcfg" xreflabel="publicshow_curcfg()">
+ <title id="public.function.show-curcfg-title">show_curcfg()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>oid</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.snb-en-init-internal" xreflabel="publicsnb_en_init(internal)">
+ <title id="public.function.snb-en-init-internal-title">snb_en_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.snb-lexize-internal-internal-integer" xreflabel="publicsnb_lexize(internal, internal, integer)">
+ <title id="public.function.snb-lexize-internal-internal-integer-title">snb_lexize(internal, internal, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.snb-ru-init-internal" xreflabel="publicsnb_ru_init(internal)">
+ <title id="public.function.snb-ru-init-internal-title">snb_ru_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.snb-ru-init-koi8-internal" xreflabel="publicsnb_ru_init_koi8(internal)">
+ <title id="public.function.snb-ru-init-koi8-internal-title">snb_ru_init_koi8(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.snb-ru-init-utf8-internal" xreflabel="publicsnb_ru_init_utf8(internal)">
+ <title id="public.function.snb-ru-init-utf8-internal-title">snb_ru_init_utf8(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.spell-init-internal" xreflabel="publicspell_init(internal)">
+ <title id="public.function.spell-init-internal-title">spell_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.spell-lexize-internal-internal-integer" xreflabel="publicspell_lexize(internal, internal, integer)">
+ <title id="public.function.spell-lexize-internal-internal-integer-title">spell_lexize(internal, internal, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.split-date-range-text" xreflabel="publicsplit_date_range(text)">
+ <title id="public.function.split-date-range-text-title">split_date_range(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.stat-text" xreflabel="publicstat(text)">
+ <title id="public.function.stat-text-title">stat(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF statinfo</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.stat-text-text" xreflabel="publicstat(text, text)">
+ <title id="public.function.stat-text-text-title">stat(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF statinfo</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.strip-tsvector" xreflabel="publicstrip(tsvector)">
+ <title id="public.function.strip-tsvector-title">strip(tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.syn-init-internal" xreflabel="publicsyn_init(internal)">
+ <title id="public.function.syn-init-internal-title">syn_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.syn-lexize-internal-internal-integer" xreflabel="publicsyn_lexize(internal, internal, integer)">
+ <title id="public.function.syn-lexize-internal-internal-integer-title">syn_lexize(internal, internal, integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tableoid2name-oid" xreflabel="publictableoid2name(oid)">
+ <title id="public.function.tableoid2name-oid-title">tableoid2name(oid)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.text-concat-text-text" xreflabel="publictext_concat(text, text)">
+ <title id="public.function.text-concat-text-text-title">text_concat(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.thesaurus-init-internal" xreflabel="publicthesaurus_init(internal)">
+ <title id="public.function.thesaurus-init-internal-title">thesaurus_init(internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.thesaurus-lexize-internal-internal-integer-internal" xreflabel="publicthesaurus_lexize(internal, internal, integer, internal)">
+ <title id="public.function.thesaurus-lexize-internal-internal-integer-internal-title">thesaurus_lexize(internal, internal, integer, internal)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>internal</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsquery-oid-text" xreflabel="publicto_tsquery(oid, text)">
+ <title id="public.function.to-tsquery-oid-text-title">to_tsquery(oid, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsquery-text" xreflabel="publicto_tsquery(text)">
+ <title id="public.function.to-tsquery-text-title">to_tsquery(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsquery-text-text" xreflabel="publicto_tsquery(text, text)">
+ <title id="public.function.to-tsquery-text-text-title">to_tsquery(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsvector-oid-text" xreflabel="publicto_tsvector(oid, text)">
+ <title id="public.function.to-tsvector-oid-text-title">to_tsvector(oid, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsvector-text" xreflabel="publicto_tsvector(text)">
+ <title id="public.function.to-tsvector-text-title">to_tsvector(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.to-tsvector-text-text" xreflabel="publicto_tsvector(text, text)">
+ <title id="public.function.to-tsvector-text-text-title">to_tsvector(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.token-type" xreflabel="publictoken_type()">
+ <title id="public.function.token-type-title">token_type()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF tokentype</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.token-type-integer" xreflabel="publictoken_type(integer)">
+ <title id="public.function.token-type-integer-title">token_type(integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF tokentype</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.token-type-text" xreflabel="publictoken_type(text)">
+ <title id="public.function.token-type-text-title">token_type(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>SET OF tokentype</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.translate-isbn1013-text" xreflabel="publictranslate_isbn1013(text)">
+ <title id="public.function.translate-isbn1013-text-title">translate_isbn1013(text)</title>
+ <para>
+
+The translate_isbn1013 function takes an input ISBN and returns the
+following in a single space-delimited string if the input ISBN is valid:
+ - The normalized input ISBN (hyphens stripped)
+ - The normalized input ISBN with a fixed checksum if the checksum was bad
+ - The ISBN converted to its ISBN10 or ISBN13 counterpart, if possible
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.ts-debug-text" xreflabel="publicts_debug(text)">
+ <title id="public.function.ts-debug-text-title">ts_debug(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF tsdebug</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsearch2" xreflabel="publictsearch2()">
+ <title id="public.function.tsearch2-title">tsearch2()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsq-mcontained-tsquery-tsquery" xreflabel="publictsq_mcontained(tsquery, tsquery)">
+ <title id="public.function.tsq-mcontained-tsquery-tsquery-title">tsq_mcontained(tsquery, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsq-mcontains-tsquery-tsquery" xreflabel="publictsq_mcontains(tsquery, tsquery)">
+ <title id="public.function.tsq-mcontains-tsquery-tsquery-title">tsq_mcontains(tsquery, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsquery-and-tsquery-tsquery" xreflabel="publictsquery_and(tsquery, tsquery)">
+ <title id="public.function.tsquery-and-tsquery-tsquery-title">tsquery_and(tsquery, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsquery-not-tsquery" xreflabel="publictsquery_not(tsquery)">
+ <title id="public.function.tsquery-not-tsquery-title">tsquery_not(tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsquery-or-tsquery-tsquery" xreflabel="publictsquery_or(tsquery, tsquery)">
+ <title id="public.function.tsquery-or-tsquery-tsquery-title">tsquery_or(tsquery, tsquery)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>INTERNAL</seg>
+ <seg>tsquery</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.tsvector-concat-tsvector-tsvector" xreflabel="publictsvector_concat(tsvector, tsvector)">
+ <title id="public.function.tsvector-concat-tsvector-tsvector-title">tsvector_concat(tsvector, tsvector)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>tsvector</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.uppercase-text" xreflabel="publicuppercase(text)">
+ <title id="public.function.uppercase-text-title">uppercase(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xml-encode-special-chars-text" xreflabel="publicxml_encode_special_chars(text)">
+ <title id="public.function.xml-encode-special-chars-text-title">xml_encode_special_chars(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xml-is-well-formed-text" xreflabel="publicxml_is_well_formed(text)">
+ <title id="public.function.xml-is-well-formed-text-title">xml_is_well_formed(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xml-valid-text" xreflabel="publicxml_valid(text)">
+ <title id="public.function.xml-valid-text-title">xml_valid(text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-bool-text-text" xreflabel="publicxpath_bool(text, text)">
+ <title id="public.function.xpath-bool-text-text-title">xpath_bool(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-list-text-text" xreflabel="publicxpath_list(text, text)">
+ <title id="public.function.xpath-list-text-text-title">xpath_list(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-list-text-text-text" xreflabel="publicxpath_list(text, text, text)">
+ <title id="public.function.xpath-list-text-text-text-title">xpath_list(text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-nodeset-text-text" xreflabel="publicxpath_nodeset(text, text)">
+ <title id="public.function.xpath-nodeset-text-text-title">xpath_nodeset(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-nodeset-text-text-text" xreflabel="publicxpath_nodeset(text, text, text)">
+ <title id="public.function.xpath-nodeset-text-text-text-title">xpath_nodeset(text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-nodeset-text-text-text-text" xreflabel="publicxpath_nodeset(text, text, text, text)">
+ <title id="public.function.xpath-nodeset-text-text-text-text-title">xpath_nodeset(text, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-number-text-text" xreflabel="publicxpath_number(text, text)">
+ <title id="public.function.xpath-number-text-text-title">xpath_number(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>real</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-string-text-text" xreflabel="publicxpath_string(text, text)">
+ <title id="public.function.xpath-string-text-text-title">xpath_string(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xpath-table-text-text-text-text-text" xreflabel="publicxpath_table(text, text, text, text, text)">
+ <title id="public.function.xpath-table-text-text-text-text-text-title">xpath_table(text, text, text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>SET OF record</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xslt-process-text-text" xreflabel="publicxslt_process(text, text)">
+ <title id="public.function.xslt-process-text-text-title">xslt_process(text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="public.function.xslt-process-text-text-text" xreflabel="publicxslt_process(text, text, text)">
+ <title id="public.function.xslt-process-text-text-text-title">xslt_process(text, text, text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>C</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="query.schema">
+ <title>Schema query</title>
+ <para>
+Contains tables designed to represent user-defined queries for
+reports and the like.
+</para>
+
+ <simplesect id="query.table.bind-variable"
+ xreflabel="query.bind_variable">
+ <title id="query.table.bind-variable-title">
+ Table:
+
+ bind_variable
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">default_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">bind_variable_type</database> : CHECK ((type = ANY (ARRAY['string'::text, 'number'::text, 'string_list'::text, 'number_list'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing query.expression via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="query.table.expression"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.case-branch"
+ xreflabel="query.case_branch">
+ <title id="query.table.case-branch-title">
+ Table:
+
+ case_branch
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">condition</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">result</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.datatype"
+ xreflabel="query.datatype">
+ <title id="query.table.datatype-title">
+ Table:
+
+ datatype
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">datatype_name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">is_numeric</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">is_composite</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">qdt_comp_not_num</database> : CHECK (((is_numeric IS FALSE) OR (is_composite IS FALSE)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing query.expression via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="query.table.expression"/></member>
+ <member><xref linkend="query.table.function-param-def"/></member>
+ <member><xref linkend="query.table.function-sig"/></member>
+ <member><xref linkend="query.table.record-column"/></member>
+ <member><xref linkend="query.table.subfield"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xbet"
+ xreflabel="query.expr_xbet">
+ <title id="query.view.expr-xbet-title">
+ View:
+
+ expr_xbet
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xbind"
+ xreflabel="query.expr_xbind">
+ <title id="query.view.expr-xbind-title">
+ View:
+
+ expr_xbind
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">bind_variable</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xbool"
+ xreflabel="query.expr_xbool">
+ <title id="query.view.expr-xbool-title">
+ View:
+
+ expr_xbool
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">literal</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xcase"
+ xreflabel="query.expr_xcase">
+ <title id="query.view.expr-xcase-title">
+ View:
+
+ expr_xcase
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xcast"
+ xreflabel="query.expr_xcast">
+ <title id="query.view.expr-xcast-title">
+ View:
+
+ expr_xcast
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">cast_type</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xcol"
+ xreflabel="query.expr_xcol">
+ <title id="query.view.expr-xcol-title">
+ View:
+
+ expr_xcol
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">table_alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">column_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xex"
+ xreflabel="query.expr_xex">
+ <title id="query.view.expr-xex-title">
+ View:
+
+ expr_xex
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">subquery</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xfunc"
+ xreflabel="query.expr_xfunc">
+ <title id="query.view.expr-xfunc-title">
+ View:
+
+ expr_xfunc
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">column_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">function_id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xin"
+ xreflabel="query.expr_xin">
+ <title id="query.view.expr-xin-title">
+ View:
+
+ expr_xin
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">subquery</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xisnull"
+ xreflabel="query.expr_xisnull">
+ <title id="query.view.expr-xisnull-title">
+ View:
+
+ expr_xisnull
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xnull"
+ xreflabel="query.expr_xnull">
+ <title id="query.view.expr-xnull-title">
+ View:
+
+ expr_xnull
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xnum"
+ xreflabel="query.expr_xnum">
+ <title id="query.view.expr-xnum-title">
+ View:
+
+ expr_xnum
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">literal</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xop"
+ xreflabel="query.expr_xop">
+ <title id="query.view.expr-xop-title">
+ View:
+
+ expr_xop
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">operator</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">right_operand</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xser"
+ xreflabel="query.expr_xser">
+ <title id="query.view.expr-xser-title">
+ View:
+
+ expr_xser
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">operator</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xstr"
+ xreflabel="query.expr_xstr">
+ <title id="query.view.expr-xstr-title">
+ View:
+
+ expr_xstr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">literal</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.view.expr-xsubq"
+ xreflabel="query.expr_xsubq">
+ <title id="query.view.expr-xsubq-title">
+ View:
+
+ expr_xsubq
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">subquery</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.expression"
+ xreflabel="query.expression">
+ <title id="query.table.expression-title">
+ Table:
+
+ expression
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">parenthesize</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">parent_expr</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">literal</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">table_alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">column_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">left_operand</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">operator</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">right_operand</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">function_id</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.function-sig"/>.
+ </member>
+ <member>
+ <database class="field">subquery</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">cast_type</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ <member>
+ <database class="field">negate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">bind_variable</database> : <database class="datatype">text</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.bind-variable"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">expression_type</database> : CHECK ((type = ANY (ARRAY['xbet'::text, 'xbind'::text, 'xbool'::text, 'xcase'::text, 'xcast'::text, 'xcol'::text, 'xex'::text, 'xfunc'::text, 'xin'::text, 'xisnull'::text, 'xnull'::text, 'xnum'::text, 'xop'::text, 'xser'::text, 'xstr'::text, 'xsubq'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing query.case_branch via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="query.table.case-branch"/></member>
+ <member><xref linkend="query.table.expression"/></member>
+ <member><xref linkend="query.table.from-relation"/></member>
+ <member><xref linkend="query.table.order-by-item"/></member>
+ <member><xref linkend="query.table.select-item"/></member>
+ <member><xref linkend="query.table.stored-query"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.from-relation"
+ xreflabel="query.from_relation">
+ <title id="query.table.from-relation-title">
+ Table:
+
+ from_relation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">table_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">class_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">subquery</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">function_call</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">table_alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_relation</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.from-relation"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">join_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">on_clause</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">good_join_type</database> : CHECK (((join_type IS NULL) OR (join_type = ANY (ARRAY['INNER'::text, 'LEFT'::text, 'RIGHT'::text, 'FULL'::text]))))</member>
+ <member><database class="constraint">join_or_core</database> : CHECK (((((parent_relation IS NULL) AND (join_type IS NULL)) AND (on_clause IS NULL)) OR (((parent_relation IS NOT NULL) AND (join_type IS NOT NULL)) AND (on_clause IS NOT NULL))))</member>
+ <member><database class="constraint">relation_type</database> : CHECK ((type = ANY (ARRAY['RELATION'::text, 'SUBQUERY'::text, 'FUNCTION'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing query.from_relation via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="query.table.from-relation"/></member>
+ <member><xref linkend="query.table.record-column"/></member>
+ <member><xref linkend="query.table.stored-query"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.function-param-def"
+ xreflabel="query.function_param_def">
+ <title id="query.table.function-param-def-title">
+ Table:
+
+ function_param_def
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">function_id</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.function-sig"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">datatype</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">qfpd_pos_seq_no</database> : CHECK ((seq_no > 0))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.function-sig"
+ xreflabel="query.function_sig">
+ <title id="query.table.function-sig-title">
+ Table:
+
+ function_sig
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">function_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">return_type</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ <member>
+ <database class="field">is_aggregate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">qfd_rtn_or_aggr</database> : CHECK (((return_type IS NULL) OR (is_aggregate = false)))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">query_function_sig_name_idx</database> : function_name</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing query.expression via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="query.table.expression"/></member>
+ <member><xref linkend="query.table.function-param-def"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.order-by-item"
+ xreflabel="query.order_by_item">
+ <title id="query.table.order-by-item-title">
+ Table:
+
+ order_by_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stored_query</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">expression</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.query-sequence"
+ xreflabel="query.query_sequence">
+ <title id="query.table.query-sequence-title">
+ Table:
+
+ query_sequence
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent_query</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">child_query</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.record-column"
+ xreflabel="query.record_column">
+ <title id="query.table.record-column-title">
+ Table:
+
+ record_column
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">from_relation</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.from-relation"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">column_name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">column_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.select-item"
+ xreflabel="query.select_item">
+ <title id="query.table.select-item-title">
+ Table:
+
+ select_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stored_query</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.stored-query"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">expression</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">column_alias</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">grouped_by</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.stored-query"
+ xreflabel="query.stored_query">
+ <title id="query.table.stored-query-title">
+ Table:
+
+ stored_query
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">use_all</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">use_distinct</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">from_clause</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.from-relation"/>.
+ </member>
+ <member>
+ <database class="field">where_clause</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">having_clause</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">limit_count</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ <member>
+ <database class="field">offset_count</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="query.table.expression"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">query_type</database> : CHECK ((type = ANY (ARRAY['SELECT'::text, 'UNION'::text, 'INTERSECT'::text, 'EXCEPT'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing action.fieldset via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="action.table.fieldset"/></member>
+ <member><xref linkend="query.table.expression"/></member>
+ <member><xref linkend="query.table.from-relation"/></member>
+ <member><xref linkend="query.table.order-by-item"/></member>
+ <member><xref linkend="query.table.query-sequence"/></member>
+ <member><xref linkend="query.table.select-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="query.table.subfield"
+ xreflabel="query.subfield">
+ <title id="query.table.subfield-title">
+ Table:
+
+ subfield
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">composite_type</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ <member>
+ <database class="field">seq_no</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">subfield_type</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="query.table.datatype"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">qsf_pos_seq_no</database> : CHECK ((seq_no > 0))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="reporter.schema">
+ <title>Schema reporter</title>
+ <para></para>
+
+ <simplesect id="reporter.view.circ-type"
+ xreflabel="reporter.circ_type">
+ <title id="reporter.view.circ-type-title">
+ View:
+
+ circ_type
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.currently-running"
+ xreflabel="reporter.currently_running">
+ <title id="reporter.view.currently-running-title">
+ View:
+
+ currently_running
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">runner_barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">run_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">scheduled_wait_time</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.demographic"
+ xreflabel="reporter.demographic">
+ <title id="reporter.view.demographic-title">
+ View:
+
+ demographic
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">dob</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">general_division</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.hold-request-record"
+ xreflabel="reporter.hold_request_record">
+ <title id="reporter.view.hold-request-record-title">
+ View:
+
+ hold_request_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">target</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">hold_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">bib_record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.materialized-simple-record"
+ xreflabel="reporter.materialized_simple_record">
+ <title id="reporter.table.materialized-simple-record-title">
+ Table:
+
+ materialized_simple_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">publisher</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pubdate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">isbn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">issn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.old-super-simple-record"
+ xreflabel="reporter.old_super_simple_record">
+ <title id="reporter.view.old-super-simple-record-title">
+ View:
+
+ old_super_simple_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">publisher</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pubdate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">isbn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">issn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.output-folder"
+ xreflabel="reporter.output_folder">
+ <title id="reporter.table.output-folder-title">
+ Table:
+
+ output_folder
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.output-folder"/>.
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">shared</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">share_with</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_output_fldr_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing reporter.output_folder via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="reporter.table.output-folder"/></member>
+ <member><xref linkend="reporter.table.schedule"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.overdue-circs"
+ xreflabel="reporter.overdue_circs">
+ <title id="reporter.view.overdue-circs-title">
+ View:
+
+ overdue_circs
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.overdue-reports"
+ xreflabel="reporter.overdue_reports">
+ <title id="reporter.view.overdue-reports-title">
+ View:
+
+ overdue_reports
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">runner_barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">run_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">scheduled_wait_time</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.pending-reports"
+ xreflabel="reporter.pending_reports">
+ <title id="reporter.view.pending-reports-title">
+ View:
+
+ pending_reports
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">runner_barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">run_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">scheduled_wait_time</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.report"
+ xreflabel="reporter.report">
+ <title id="reporter.table.report-title">
+ Table:
+
+ report
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">template</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.template"/>.
+ </member>
+ <member>
+ <database class="field">data</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">folder</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.report-folder"/>.
+ </member>
+ <member>
+ <database class="field">recur</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">recurrence</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_rpt_fldr_idx</database> : folder</member>
+ <member><database class="index">rpt_rpt_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing reporter.schedule via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="reporter.table.schedule"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.report-folder"
+ xreflabel="reporter.report_folder">
+ <title id="reporter.table.report-folder-title">
+ Table:
+
+ report_folder
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.report-folder"/>.
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">shared</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">share_with</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_rpt_fldr_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing reporter.report via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="reporter.table.report"/></member>
+ <member><xref linkend="reporter.table.report-folder"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.schedule"
+ xreflabel="reporter.schedule">
+ <title id="reporter.table.schedule-title">
+ Table:
+
+ schedule
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">report</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.report"/>.
+ </member>
+ <member>
+ <database class="field">folder</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.output-folder"/>.
+ </member>
+ <member>
+ <database class="field">runner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">run_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">start_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">complete_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">excel_format</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">html_format</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">csv_format</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">chart_pie</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">chart_bar</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">chart_line</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">error_code</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">error_text</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_sched_folder_idx</database> : folder</member>
+ <member><database class="index">rpt_sched_runner_idx</database> : runner</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.simple-record"
+ xreflabel="reporter.simple_record">
+ <title id="reporter.view.simple-record-title">
+ View:
+
+ simple_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">metarecord</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">uniform_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">publisher</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pubdate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">series_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">series_statement</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">summary</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">isbn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">issn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">topic_subject</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">geographic_subject</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">genre</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">name_subject</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">corporate_subject</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">external_uri</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.super-simple-record"
+ xreflabel="reporter.super_simple_record">
+ <title id="reporter.view.super-simple-record-title">
+ View:
+
+ super_simple_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">fingerprint</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">quality</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_source</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">tcn_value</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">publisher</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pubdate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">isbn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ <member>
+ <database class="field">issn</database> : <database class="datatype">text[]</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.template"
+ xreflabel="reporter.template">
+ <title id="reporter.table.template-title">
+ Table:
+
+ template
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">data</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">folder</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.template-folder"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_tmpl_fldr_idx</database> : folder</member>
+ <member><database class="index">rpt_tmpl_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing reporter.report via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="reporter.table.report"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.table.template-folder"
+ xreflabel="reporter.template_folder">
+ <title id="reporter.table.template-folder-title">
+ Table:
+
+ template_folder
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">parent</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="reporter.table.template-folder"/>.
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">shared</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">share_with</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">rpt_tmpl_fldr_owner_idx</database> : owner</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing reporter.template via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="reporter.table.template"/></member>
+ <member><xref linkend="reporter.table.template-folder"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.xact-billing-totals"
+ xreflabel="reporter.xact_billing_totals">
+ <title id="reporter.view.xact-billing-totals-title">
+ View:
+
+ xact_billing_totals
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">unvoided</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.view.xact-paid-totals"
+ xreflabel="reporter.xact_paid_totals">
+ <title id="reporter.view.xact-paid-totals-title">
+ View:
+
+ xact_paid_totals
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">xact</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">unvoided</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">voided</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ <member>
+ <database class="field">total</database> : <database class="datatype">numeric</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="reporter.function.disable-materialized-simple-record-trigger" xreflabel="reporterdisable_materialized_simple_record_trigger()">
+ <title id="reporter.function.disable-materialized-simple-record-trigger-title">disable_materialized_simple_record_trigger()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.enable-materialized-simple-record-trigger" xreflabel="reporterenable_materialized_simple_record_trigger()">
+ <title id="reporter.function.enable-materialized-simple-record-trigger-title">enable_materialized_simple_record_trigger()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.refresh-materialized-simple-record" xreflabel="reporterrefresh_materialized_simple_record()">
+ <title id="reporter.function.refresh-materialized-simple-record-title">refresh_materialized_simple_record()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>void</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.simple-rec-delete-r-id-bigint" xreflabel="reportersimple_rec_delete(r_id bigint)">
+ <title id="reporter.function.simple-rec-delete-r-id-bigint-title">simple_rec_delete(r_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.simple-rec-trigger" xreflabel="reportersimple_rec_trigger()">
+ <title id="reporter.function.simple-rec-trigger-title">simple_rec_trigger()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.simple-rec-update-deleted-bigint-r-id-boolean" xreflabel="reportersimple_rec_update(deleted bigint, r_id boolean)">
+ <title id="reporter.function.simple-rec-update-deleted-bigint-r-id-boolean-title">simple_rec_update(deleted bigint, r_id boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="reporter.function.simple-rec-update-r-id-bigint" xreflabel="reportersimple_rec_update(r_id bigint)">
+ <title id="reporter.function.simple-rec-update-r-id-bigint-title">simple_rec_update(r_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="search.schema">
+ <title>Schema search</title>
+ <para></para>
+
+ <simplesect id="search.table.relevance-adjustment"
+ xreflabel="search.relevance_adjustment">
+ <title id="search.table.relevance-adjustment-title">
+ Table:
+
+ relevance_adjustment
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="config.table.metabib-field"/>.
+ </member>
+ <member>
+ <database class="field">bump_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">multiplier</database> : <database class="datatype">numeric</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1.0</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">relevance_adjustment_bump_type_check</database> : CHECK ((bump_type = ANY (ARRAY['word_order'::text, 'first_word'::text, 'full_match'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="search.function.explode-array-anyarray" xreflabel="searchexplode_array(anyarray)">
+ <title id="search.function.explode-array-anyarray-title">explode_array(anyarray)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF anyelement</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="search.function.query-parser-fts-staff-integer-metarecord-integer-param-limit-text-param-check-integerARRAY-param-offset-integerARRAY-param-locations-integer-param-statuses-integer-param-query-integer-param-depth-boolean-param-search-ou-boolean" xreflabel="searchquery_parser_fts(staff integer, metarecord integer, param_limit text, param_check integer[], param_offset integer[], param_locations integer, param_statuses integer, param_query integer, param_depth boolean, param_search_ou boolean)">
+ <title id="search.function.query-parser-fts-staff-integer-metarecord-integer-param-limit-text-param-check-integerARRAY-param-offset-integerARRAY-param-locations-integer-param-statuses-integer-param-query-integer-param-depth-boolean-param-search-ou-boolean-title">query_parser_fts(staff integer, metarecord integer, param_limit text, param_check integer[], param_offset integer[], param_locations integer, param_statuses integer, param_query integer, param_depth boolean, param_search_ou boolean)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF search_result</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ <section id="serial.schema">
+ <title>Schema serial</title>
+ <para></para>
+
+ <simplesect id="serial.table.basic-summary"
+ xreflabel="serial.basic_summary">
+ <title id="serial.table.basic-summary-title">
+ Table:
+
+ basic_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">distribution</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.distribution"/>.
+ </member>
+ <member>
+ <database class="field">generated_coverage</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">textual_holdings</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">show_generated</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_basic_summary_dist_idx</database> : distribution</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.caption-and-pattern"
+ xreflabel="serial.caption_and_pattern">
+ <title id="serial.table.caption-and-pattern-title">
+ Table:
+
+ caption_and_pattern
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">subscription</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.subscription"/>.
+ </member>
+ <member>
+ <database class="field">type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">start_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">end_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">pattern_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">enum_1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enum_2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enum_3</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enum_4</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enum_5</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">enum_6</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">chron_1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">chron_2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">chron_3</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">chron_4</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">chron_5</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">cap_type</database> : CHECK ((type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_caption_and_pattern_sub_idx</database> : subscription</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.issuance via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.issuance"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.distribution"
+ xreflabel="serial.distribution">
+ <title id="serial.table.distribution-title">
+ Table:
+
+ distribution
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record_entry</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="serial.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">summary_method</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">subscription</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.subscription"/>.
+ </member>
+ <member>
+ <database class="field">holding_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">receive_call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">receive_unit_template</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-template"/>.
+ </member>
+ <member>
+ <database class="field">bind_call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">bind_unit_template</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.copy-template"/>.
+ </member>
+ <member>
+ <database class="field">unit_label_prefix</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">unit_label_suffix</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">sdist_summary_method_check</database> : CHECK (((summary_method IS NULL) OR (summary_method = ANY (ARRAY['add_to_sre'::text, 'merge_with_sre'::text, 'use_sre_only'::text, 'use_sdist_only'::text]))))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_distribution_holding_lib_idx</database> : holding_lib</member>
+ <member><database class="index">serial_distribution_sub_idx</database> : subscription</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.basic_summary via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.basic-summary"/></member>
+ <member><xref linkend="serial.table.distribution-note"/></member>
+ <member><xref linkend="serial.table.index-summary"/></member>
+ <member><xref linkend="serial.table.stream"/></member>
+ <member><xref linkend="serial.table.supplement-summary"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.distribution-note"
+ xreflabel="serial.distribution_note">
+ <title id="serial.table.distribution-note-title">
+ Table:
+
+ distribution_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">distribution</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.distribution"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_distribution_note_dist_idx</database> : distribution</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.index-summary"
+ xreflabel="serial.index_summary">
+ <title id="serial.table.index-summary-title">
+ Table:
+
+ index_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">distribution</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.distribution"/>.
+ </member>
+ <member>
+ <database class="field">generated_coverage</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">textual_holdings</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">show_generated</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_index_summary_dist_idx</database> : distribution</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.issuance"
+ xreflabel="serial.issuance">
+ <title id="serial.table.issuance-title">
+ Table:
+
+ issuance
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">subscription</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.subscription"/>.
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">date_published</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">caption_and_pattern</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="serial.table.caption-and-pattern"/>.
+ </member>
+ <member>
+ <database class="field">holding_code</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">holding_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">holding_link_id</database> : <database class="datatype">integer</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">valid_holding_type</database> : CHECK (((holding_type IS NULL) OR (holding_type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text]))))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_issuance_caption_and_pattern_idx</database> : caption_and_pattern</member>
+ <member><database class="index">serial_issuance_date_published_idx</database> : date_published</member>
+ <member><database class="index">serial_issuance_sub_idx</database> : subscription</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.item"
+ xreflabel="serial.item">
+ <title id="serial.table.item-title">
+ Table:
+
+ item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">issuance</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.issuance"/>.
+ </member>
+ <member>
+ <database class="field">stream</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.stream"/>.
+ </member>
+ <member>
+ <database class="field">unit</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="serial.table.unit"/>.
+ </member>
+ <member>
+ <database class="field">uri</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="asset.table.uri"/>.
+ </member>
+ <member>
+ <database class="field">date_expected</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">date_received</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">text</database>
+--
+ <literal>DEFAULT 'Expected'::text</literal>,
+ </member>
+ <member>
+ <database class="field">shadowed</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">valid_status</database> : CHECK ((status = ANY (ARRAY['Bindery'::text, 'Bound'::text, 'Claimed'::text, 'Discarded'::text, 'Expected'::text, 'Not Held'::text, 'Not Published'::text, 'Received'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_item_date_received_idx</database> : date_received</member>
+ <member><database class="index">serial_item_issuance_idx</database> : issuance</member>
+ <member><database class="index">serial_item_status_idx</database> : status</member>
+ <member><database class="index">serial_item_stream_idx</database> : stream</member>
+ <member><database class="index">serial_item_unit_idx</database> : unit</member>
+ <member><database class="index">serial_item_uri_idx</database> : uri</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing acq.serial_claim via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="acq.table.serial-claim"/></member>
+ <member><xref linkend="serial.table.item-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.item-note"
+ xreflabel="serial.item_note">
+ <title id="serial.table.item-note-title">
+ Table:
+
+ item_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">item</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.item"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_item_note_item_idx</database> : item</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.record-entry"
+ xreflabel="serial.record_entry">
+ <title id="serial.table.record-entry-title">
+ Table:
+
+ record_entry
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">source</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">active</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">last_xact_id</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_record_entry_creator_idx</database> : creator</member>
+ <member><database class="index">serial_record_entry_editor_idx</database> : editor</member>
+ <member><database class="index">serial_record_entry_owning_lib_idx</database> : owning_lib, deleted</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.distribution via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.distribution"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.routing-list-user"
+ xreflabel="serial.routing_list_user">
+ <title id="serial.table.routing-list-user-title">
+ Table:
+
+ routing_list_user
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">stream</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.stream"/>.
+ </member>
+ <member>
+ <database class="field">pos</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">reader</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">department</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">reader_or_dept</database> : CHECK ((((reader IS NOT NULL) AND (department IS NULL)) OR ((reader IS NULL) AND (department IS NOT NULL))))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_routing_list_user_reader_idx</database> : reader</member>
+ <member><database class="index">serial_routing_list_user_stream_idx</database> : stream</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.stream"
+ xreflabel="serial.stream">
+ <title id="serial.table.stream-title">
+ Table:
+
+ stream
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">distribution</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.distribution"/>.
+ </member>
+ <member>
+ <database class="field">routing_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_stream_dist_idx</database> : distribution</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.item"/></member>
+ <member><xref linkend="serial.table.routing-list-user"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.subscription"
+ xreflabel="serial.subscription">
+ <title id="serial.table.subscription-title">
+ Table:
+
+ subscription
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">start_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">end_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">record_entry</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ <member>
+ <database class="field">expected_date_offset</database> : <database class="datatype">interval</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_subscription_owner_idx</database> : owning_lib</member>
+ <member><database class="index">serial_subscription_record_idx</database> : record_entry</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.caption_and_pattern via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.caption-and-pattern"/></member>
+ <member><xref linkend="serial.table.distribution"/></member>
+ <member><xref linkend="serial.table.issuance"/></member>
+ <member><xref linkend="serial.table.subscription-note"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.subscription-note"
+ xreflabel="serial.subscription_note">
+ <title id="serial.table.subscription-note-title">
+ Table:
+
+ subscription_note
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">subscription</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.subscription"/>.
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">pub</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">title</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_subscription_note_sub_idx</database> : subscription</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.supplement-summary"
+ xreflabel="serial.supplement_summary">
+ <title id="serial.table.supplement-summary-title">
+ Table:
+
+ supplement_summary
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">distribution</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="serial.table.distribution"/>.
+ </member>
+ <member>
+ <database class="field">generated_coverage</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">textual_holdings</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">show_generated</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">serial_supplement_summary_dist_idx</database> : distribution</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="serial.table.unit"
+ xreflabel="serial.unit">
+ <title id="serial.table.unit-title">
+ Table:
+
+ unit
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('asset.copy_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="asset.table.call-number"/>.
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 1</literal>,
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 0.00</literal>,
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">dummy_isbn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status_changed_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT true</literal>,
+ </member>
+ <member>
+ <database class="field">cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">sort_key</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">detailed_contents</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">summary_contents</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">copy_fine_level_check</database> : CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</member>
+ <member><database class="constraint">copy_loan_duration_check</database> : CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">unit_avail_cn_idx</database> : call_number</member>
+ <member><database class="index">unit_cn_idx</database> : call_number</member>
+ <member><database class="index">unit_creator_idx</database> : creator</member>
+ <member><database class="index">unit_editor_idx</database> : editor</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing serial.item via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="serial.table.item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="staging.schema">
+ <title>Schema staging</title>
+ <para></para>
+
+ <simplesect id="staging.table.billing-address-stage"
+ xreflabel="staging.billing_address_stage">
+ <title id="staging.table.billing-address-stage-title">
+ Table:
+
+ billing_address_stage
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">row_id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('staging.mailing_address_stage_row_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">row_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'OK'::text</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'US'::text</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="staging.table.card-stage"
+ xreflabel="staging.card_stage">
+ <title id="staging.table.card-stage-title">
+ Table:
+
+ card_stage
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">row_id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">row_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="staging.table.mailing-address-stage"
+ xreflabel="staging.mailing_address_stage">
+ <title id="staging.table.mailing-address-stage-title">
+ Table:
+
+ mailing_address_stage
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">row_id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">row_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">street1</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">street2</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">city</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">state</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'OK'::text</literal>,
+ </member>
+ <member>
+ <database class="field">country</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'US'::text</literal>,
+ </member>
+ <member>
+ <database class="field">post_code</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="staging.table.statcat-stage"
+ xreflabel="staging.statcat_stage">
+ <title id="staging.table.statcat-stage-title">
+ Table:
+
+ statcat_stage
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">row_id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">row_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">statcat</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="staging.table.user-stage"
+ xreflabel="staging.user_stage">
+ <title id="staging.table.user-stage-title">
+ Table:
+
+ user_stage
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">row_id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">row_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">usrname</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">profile</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">email</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">passwd</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ident_type</database> : <database class="datatype">integer</database>
+--
+ <literal>DEFAULT 3</literal>,
+ </member>
+ <member>
+ <database class="field">first_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">second_given_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">family_name</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">day_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">evening_phone</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">home_ou</database> : <database class="datatype">integer</database>
+--
+ <literal>DEFAULT 2</literal>,
+ </member>
+ <member>
+ <database class="field">dob</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="stats.schema">
+ <title>Schema stats</title>
+ <para></para>
+
+ <simplesect id="stats.view.fleshed-call-number"
+ xreflabel="stats.fleshed_call_number">
+ <title id="stats.view.fleshed-call-number-title">
+ View:
+
+ fleshed_call_number
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">label_class</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">label_sortkey</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">item_lang</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="stats.view.fleshed-circulation"
+ xreflabel="stats.fleshed_circulation">
+ <title id="stats.view.fleshed-circulation-title">
+ View:
+
+ fleshed_circulation
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">usr</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_start</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">xact_finish</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">unrecovered</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">target_copy</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_staff</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">renewal_remaining</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">due_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">duration</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_interval</database> : <database class="datatype">interval</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">phone_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">desk_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_renewal</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">duration_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">recurring_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">max_fine_rule</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">stop_fines</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_workstation</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">checkin_scan_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">parent_circ</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">start_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">finish_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">start_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">finish_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">item_lang</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="stats.view.fleshed-copy"
+ xreflabel="stats.fleshed_copy">
+ <title id="stats.view.fleshed-copy-title">
+ View:
+
+ fleshed_copy
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">creator</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">editor</database> : <database class="datatype">bigint</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">loan_duration</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">fine_level</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">age_protect</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(6,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_author</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deleted</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">floating</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">dummy_isbn</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status_changed_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">mint_condition</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">cost</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date_day</database> : <database class="datatype">date</database>
+--
+ </member>
+ <member>
+ <database class="field">create_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">edit_date_hour</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number_label</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">item_lang</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">item_form</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+
+ </section>
+
+ <section id="vandelay.schema">
+ <title>Schema vandelay</title>
+ <para></para>
+
+ <simplesect id="vandelay.table.authority-attr-definition"
+ xreflabel="vandelay.authority_attr_definition">
+ <title id="vandelay.table.authority-attr-definition-title">
+ Table:
+
+ authority_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.queued_authority_record_attr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.queued-authority-record-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.authority-match"
+ xreflabel="vandelay.authority_match">
+ <title id="vandelay.table.authority-match-title">
+ Table:
+
+ authority_match
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">matched_attr</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-authority-record-attr"/>.
+ </member>
+ <member>
+ <database class="field">queued_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-authority-record"/>.
+ </member>
+ <member>
+ <database class="field">eg_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="authority.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.authority-queue"
+ xreflabel="vandelay.authority_queue">
+ <title id="vandelay.table.authority-queue-title">
+ Table:
+
+ authority_queue
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('vandelay.queue_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">queue_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'authority'::text</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">authority_queue_queue_type_check</database> : CHECK ((queue_type = 'authority'::text))</member>
+ <member><database class="constraint">queue_queue_type_check</database> : CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.queued_authority_record via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.queued-authority-record"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.bib-attr-definition"
+ xreflabel="vandelay.bib_attr_definition">
+ <title id="vandelay.table.bib-attr-definition-title">
+ Table:
+
+ bib_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">serial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">code</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">description</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">xpath</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">remove</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT ''::text</literal>,
+ </member>
+ <member>
+ <database class="field">ident</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.queued_bib_record_attr via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.queued-bib-record-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.bib-match"
+ xreflabel="vandelay.bib_match">
+ <title id="vandelay.table.bib-match-title">
+ Table:
+
+ bib_match
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">field_type</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">matched_attr</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-bib-record-attr"/>.
+ </member>
+ <member>
+ <database class="field">queued_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-bib-record"/>.
+ </member>
+ <member>
+ <database class="field">eg_record</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">bib_match_field_type_check</database> : CHECK ((field_type = ANY (ARRAY['isbn'::text, 'tcn_value'::text, 'id'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.bib-queue"
+ xreflabel="vandelay.bib_queue">
+ <title id="vandelay.table.bib-queue-title">
+ Table:
+
+ bib_queue
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('vandelay.queue_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">queue_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'bib'::text</literal>,
+ </member>
+ <member>
+ <database class="field">item_attr_def</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.import-item-attr-definition"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">bib_queue_queue_type_check</database> : CHECK ((queue_type = 'bib'::text))</member>
+ <member><database class="constraint">queue_queue_type_check</database> : CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.queued_bib_record via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.queued-bib-record"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.import-bib-trash-fields"
+ xreflabel="vandelay.import_bib_trash_fields">
+ <title id="vandelay.table.import-bib-trash-fields-title">
+ Table:
+
+ import_bib_trash_fields
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.import-item"
+ xreflabel="vandelay.import_item">
+ <title id="vandelay.table.import-item-title">
+ Table:
+
+ import_item
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-bib-record"/>.
+ </member>
+ <member>
+ <database class="field">definition</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.import-item-attr-definition"/>.
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">integer</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">numeric(8,2)</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pub_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">priv_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">boolean</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.import-item-attr-definition"
+ xreflabel="vandelay.import_item_attr_definition">
+ <title id="vandelay.table.import-item-attr-definition-title">
+ Table:
+
+ import_item_attr_definition
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">tag</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">keep</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">owning_lib</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_lib</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">call_number</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">copy_number</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">status</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">location</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circulate</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">deposit_amount</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">ref</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">holdable</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">price</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">barcode</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_modifier</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">circ_as_type</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">alert_message</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">opac_visible</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pub_note_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">pub_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">priv_note_title</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">priv_note</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.bib_queue via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.bib-queue"/></member>
+ <member><xref linkend="vandelay.table.import-item"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.merge-profile"
+ xreflabel="vandelay.merge_profile">
+ <title id="vandelay.table.merge-profile-title">
+ Table:
+
+ merge_profile
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.org-unit"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">add_spec</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">replace_spec</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">strip_spec</database> : <database class="datatype">text</database>
+--
+ </member>
+ <member>
+ <database class="field">preserve_spec</database> : <database class="datatype">text</database>
+--
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">add_replace_strip_or_preserve</database> : CHECK ((((preserve_spec IS NOT NULL) OR (replace_spec IS NOT NULL)) OR ((preserve_spec IS NULL) AND (replace_spec IS NULL))))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queue"
+ xreflabel="vandelay.queue">
+ <title id="vandelay.table.queue-title">
+ Table:
+
+ queue
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">owner</database> : <database class="datatype">integer</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="actor.table.usr"/>.
+ </member>
+ <member>
+ <database class="field">name</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">complete</database> : <database class="datatype">boolean</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT false</literal>,
+ </member>
+ <member>
+ <database class="field">queue_type</database> : <database class="datatype">text</database>
+--
+ <literal>UNIQUE#1</literal>,
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'bib'::text</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">queue_queue_type_check</database> : CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queued-authority-record"
+ xreflabel="vandelay.queued_authority_record">
+ <title id="vandelay.table.queued-authority-record-title">
+ Table:
+
+ queued_authority_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('vandelay.queued_record_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">import_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">purpose</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'import'::text</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">queue</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.authority-queue"/>.
+ </member>
+ <member>
+ <database class="field">imported_as</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="authority.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">queued_record_purpose_check</database> : CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">queued_authority_record_queue_idx</database> : queue</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.authority_match via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.authority-match"/></member>
+ <member><xref linkend="vandelay.table.queued-authority-record-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queued-authority-record-attr"
+ xreflabel="vandelay.queued_authority_record_attr">
+ <title id="vandelay.table.queued-authority-record-attr-title">
+ Table:
+
+ queued_authority_record_attr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-authority-record"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.authority-attr-definition"/>.
+ </member>
+ <member>
+ <database class="field">attr_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">queued_authority_record_attr_record_idx</database> : record</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.authority_match via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.authority-match"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queued-bib-record"
+ xreflabel="vandelay.queued_bib_record">
+ <title id="vandelay.table.queued-bib-record-title">
+ Table:
+
+ queued_bib_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigint</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ <literal>DEFAULT nextval('vandelay.queued_record_id_seq'::regclass)</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">import_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">purpose</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'import'::text</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ <member>
+ <database class="field">queue</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.bib-queue"/>.
+ </member>
+ <member>
+ <database class="field">bib_source</database> : <database class="datatype">integer</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="config.table.bib-source"/>.
+ </member>
+ <member>
+ <database class="field">imported_as</database> : <database class="datatype">bigint</database>
+--
+ <literal>REFERENCES</literal> <xref linkend="biblio.table.record-entry"/>.
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">queued_record_purpose_check</database> : CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">queued_bib_record_queue_idx</database> : queue</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.bib_match via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.bib-match"/></member>
+ <member><xref linkend="vandelay.table.import-item"/></member>
+ <member><xref linkend="vandelay.table.queued-bib-record-attr"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queued-bib-record-attr"
+ xreflabel="vandelay.queued_bib_record_attr">
+ <title id="vandelay.table.queued-bib-record-attr-title">
+ Table:
+
+ queued_bib_record_attr
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">record</database> : <database class="datatype">bigint</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.queued-bib-record"/>.
+ </member>
+ <member>
+ <database class="field">field</database> : <database class="datatype">integer</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>REFERENCES</literal> <xref linkend="vandelay.table.bib-attr-definition"/>.
+ </member>
+ <member>
+ <database class="field">attr_value</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Indexes:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="index">queued_bib_record_attr_record_idx</database> : record</member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Tables referencing vandelay.bib_match via Foreign Key Constraints:</title>
+ <simplelist type="horiz" columns="2">
+ <member><xref linkend="vandelay.table.bib-match"/></member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.table.queued-record"
+ xreflabel="vandelay.queued_record">
+ <title id="vandelay.table.queued-record-title">
+ Table:
+
+ queued_record
+ </title>
+
+ <formalpara>
+ <title>Columns:</title>
+ <simplelist type="horiz" columns="1">
+ <member><emphasis class="italic">field name : datatype -- parameters, contraints and notes</emphasis></member>
+ <member>
+ <database class="field">id</database> : <database class="datatype">bigserial</database>
+--
+ <literal>PRIMARY KEY</literal>,
+ </member>
+ <member>
+ <database class="field">create_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT now()</literal>,
+ </member>
+ <member>
+ <database class="field">import_time</database> : <database class="datatype">timestamp with time zone</database>
+--
+ </member>
+ <member>
+ <database class="field">purpose</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ <literal>DEFAULT 'import'::text</literal>,
+ </member>
+ <member>
+ <database class="field">marc</database> : <database class="datatype">text</database>
+--
+ <literal>NOT NULL</literal>,
+ </member>
+ </simplelist>
+ </formalpara>
+ <formalpara>
+ <title>Constraints:</title>
+ <simplelist type="horiz" columns="1">
+ <member><database class="constraint">queued_record_purpose_check</database> : CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</member>
+ </simplelist>
+ </formalpara>
+ </simplesect>
+ <simplesect id="vandelay.function.add-field-field-text-source-xml-text-target-xml-text" xreflabel="vandelayadd_field(field text, source_xml text, target_xml text)">
+ <title id="vandelay.function.add-field-field-text-source-xml-text-target-xml-text-title">add_field(field text, source_xml text, target_xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.add-field-force-add-text-field-text-source-xml-text-target-xml-integer" xreflabel="vandelayadd_field(force_add text, field text, source_xml text, target_xml integer)">
+ <title id="vandelay.function.add-field-force-add-text-field-text-source-xml-text-target-xml-integer-title">add_field(force_add text, field text, source_xml text, target_xml integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-authority-queue-merge-profile-id-bigint-queue-id-integer" xreflabel="vandelayauto_overlay_authority_queue(merge_profile_id bigint, queue_id integer)">
+ <title id="vandelay.function.auto-overlay-authority-queue-merge-profile-id-bigint-queue-id-integer-title">auto_overlay_authority_queue(merge_profile_id bigint, queue_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-authority-queue-queue-id-bigint" xreflabel="vandelayauto_overlay_authority_queue(queue_id bigint)">
+ <title id="vandelay.function.auto-overlay-authority-queue-queue-id-bigint-title">auto_overlay_authority_queue(queue_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-authority-record-merge-profile-id-bigint-import-id-integer" xreflabel="vandelayauto_overlay_authority_record(merge_profile_id bigint, import_id integer)">
+ <title id="vandelay.function.auto-overlay-authority-record-merge-profile-id-bigint-import-id-integer-title">auto_overlay_authority_record(merge_profile_id bigint, import_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-bib-queue-merge-profile-id-bigint-queue-id-integer" xreflabel="vandelayauto_overlay_bib_queue(merge_profile_id bigint, queue_id integer)">
+ <title id="vandelay.function.auto-overlay-bib-queue-merge-profile-id-bigint-queue-id-integer-title">auto_overlay_bib_queue(merge_profile_id bigint, queue_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-bib-queue-queue-id-bigint" xreflabel="vandelayauto_overlay_bib_queue(queue_id bigint)">
+ <title id="vandelay.function.auto-overlay-bib-queue-queue-id-bigint-title">auto_overlay_bib_queue(queue_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>SET OF bigint</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.auto-overlay-bib-record-merge-profile-id-bigint-import-id-integer" xreflabel="vandelayauto_overlay_bib_record(merge_profile_id bigint, import_id integer)">
+ <title id="vandelay.function.auto-overlay-bib-record-merge-profile-id-bigint-import-id-integer-title">auto_overlay_bib_record(merge_profile_id bigint, import_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.cleanup-authority-marc" xreflabel="vandelaycleanup_authority_marc()">
+ <title id="vandelay.function.cleanup-authority-marc-title">cleanup_authority_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.cleanup-bib-marc" xreflabel="vandelaycleanup_bib_marc()">
+ <title id="vandelay.function.cleanup-bib-marc-title">cleanup_bib_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.compile-profile-incoming-xml-text" xreflabel="vandelaycompile_profile(incoming_xml text)">
+ <title id="vandelay.function.compile-profile-incoming-xml-text-title">compile_profile(incoming_xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>compile_profile</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.find-bib-tcn-data-xml-text" xreflabel="vandelayfind_bib_tcn_data(xml text)">
+ <title id="vandelay.function.find-bib-tcn-data-xml-text-title">find_bib_tcn_data(xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF tcn_data</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.ingest-authority-marc" xreflabel="vandelayingest_authority_marc()">
+ <title id="vandelay.function.ingest-authority-marc-title">ingest_authority_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.ingest-bib-items" xreflabel="vandelayingest_bib_items()">
+ <title id="vandelay.function.ingest-bib-items-title">ingest_bib_items()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.ingest-bib-marc" xreflabel="vandelayingest_bib_marc()">
+ <title id="vandelay.function.ingest-bib-marc-title">ingest_bib_marc()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.ingest-items-attr-def-id-bigint-import-id-bigint" xreflabel="vandelayingest_items(attr_def_id bigint, import_id bigint)">
+ <title id="vandelay.function.ingest-items-attr-def-id-bigint-import-id-bigint-title">ingest_items(attr_def_id bigint, import_id bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>SET OF import_item</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.match-bib-record" xreflabel="vandelaymatch_bib_record()">
+ <title id="vandelay.function.match-bib-record-title">match_bib_record()</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>trigger</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.merge-record-xml-strip-rule-text-replace-preserve-rule-text-add-rule-text-source-xml-text-target-xml-text" xreflabel="vandelaymerge_record_xml(strip_rule text, replace_preserve_rule text, add_rule text, source_xml text, target_xml text)">
+ <title id="vandelay.function.merge-record-xml-strip-rule-text-replace-preserve-rule-text-add-rule-text-source-xml-text-target-xml-text-title">merge_record_xml(strip_rule text, replace_preserve_rule text, add_rule text, source_xml text, target_xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.merge-record-xml-template-marc-text-target-marc-text" xreflabel="vandelaymerge_record_xml(template_marc text, target_marc text)">
+ <title id="vandelay.function.merge-record-xml-template-marc-text-target-marc-text-title">merge_record_xml(template_marc text, target_marc text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.overlay-authority-record-merge-profile-id-bigint-eg-id-bigint-import-id-integer" xreflabel="vandelayoverlay_authority_record(merge_profile_id bigint, eg_id bigint, import_id integer)">
+ <title id="vandelay.function.overlay-authority-record-merge-profile-id-bigint-eg-id-bigint-import-id-integer-title">overlay_authority_record(merge_profile_id bigint, eg_id bigint, import_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.overlay-bib-record-merge-profile-id-bigint-eg-id-bigint-import-id-integer" xreflabel="vandelayoverlay_bib_record(merge_profile_id bigint, eg_id bigint, import_id integer)">
+ <title id="vandelay.function.overlay-bib-record-merge-profile-id-bigint-eg-id-bigint-import-id-integer-title">overlay_bib_record(merge_profile_id bigint, eg_id bigint, import_id integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.replace-field-field-text-source-xml-text-target-xml-text" xreflabel="vandelayreplace_field(field text, source_xml text, target_xml text)">
+ <title id="vandelay.function.replace-field-field-text-source-xml-text-target-xml-text-title">replace_field(field text, source_xml text, target_xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.strip-field-field-text-xml-text" xreflabel="vandelaystrip_field(field text, xml text)">
+ <title id="vandelay.function.strip-field-field-text-xml-text-title">strip_field(field text, xml text)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPERLU</seg>
+ <seg>text</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.template-overlay-bib-record-eg-id-text-v-marc-bigint" xreflabel="vandelaytemplate_overlay_bib_record(eg_id text, v_marc bigint)">
+ <title id="vandelay.function.template-overlay-bib-record-eg-id-text-v-marc-bigint-title">template_overlay_bib_record(eg_id text, v_marc bigint)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>SQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+ <simplesect id="vandelay.function.template-overlay-bib-record-merge-profile-id-text-eg-id-bigint-v-marc-integer" xreflabel="vandelaytemplate_overlay_bib_record(merge_profile_id text, eg_id bigint, v_marc integer)">
+ <title id="vandelay.function.template-overlay-bib-record-merge-profile-id-text-eg-id-bigint-v-marc-integer-title">template_overlay_bib_record(merge_profile_id text, eg_id bigint, v_marc integer)</title>
+ <para>
+
+ <segmentedlist>
+ <title>Function Properties</title>
+ <?dbhtml list-presentation="list"?>
+ <segtitle>Language</segtitle>
+ <segtitle>Return Type</segtitle>
+ <seglistitem>
+ <seg>PLPGSQL</seg>
+ <seg>boolean</seg>
+ </seglistitem>
+ </segmentedlist>
+</para>
+</simplesect>
+
+ </section>
+
+ </chapter>