forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
98 lines
9.2 KiB
HTML
98 lines
9.2 KiB
HTML
<a name="EN-US_TOPIC_0000001811490737"></a><a name="EN-US_TOPIC_0000001811490737"></a>
|
|
|
|
<h1 class="topictitle1">PG_AGGREGATE</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001811490737__a588fd5cfcfcb415cb4da0453c0025473"><strong id="EN-US_TOPIC_0000001811490737__b15119292561">pg_aggregate</strong> records information about aggregation functions. Each entry in <strong id="EN-US_TOPIC_0000001811490737__en-us_topic_0058965583_b84235270611186">pg_aggregate</strong> is an extension of an entry in <strong id="EN-US_TOPIC_0000001811490737__en-us_topic_0058965583_b842352706111814">pg_proc</strong>. The <strong id="EN-US_TOPIC_0000001811490737__en-us_topic_0058965583_b842352706111440">pg_proc</strong> entry carries the aggregate's name, input and output data types, and other information that is similar to ordinary functions.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001811490737__t64a3d239c9b349e3bf74b75fe8a5ec00" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_AGGREGATE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001811490737__r1cbdd6910a734ff7bcd0c1afd610eeb2"><th align="left" class="cellrowborder" valign="top" width="19.55%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001811490737__a34c18c51e1c340b8acc13d23979746ef"><strong id="EN-US_TOPIC_0000001811490737__b62336720147">Column</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.530000000000001%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001811490737__a7295ba3eae754d3c804e6b6aca3c9648"><strong id="EN-US_TOPIC_0000001811490737__b16150209161413">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.82%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001811490737__a69a030c30c1e4a5eb796da774fc09019"><strong id="EN-US_TOPIC_0000001811490737__b196311411191413">Reference</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.1%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001811490737__a16e5421f93974efdb43416247db2bba9"><strong id="EN-US_TOPIC_0000001811490737__b5902191312143">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001811490737__rc6c91f00b6124b93bae596a314e7f2fa"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a1c72acb6bcc943e3ba80f9b7da1efa74">aggfnoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a679418594c6345fcadf5f8fb47e2e1d5">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__a687cc34c6ee044ff8975b6ccc8fb07eb"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a963ae69cefe94fc89f2cba1fe2123195"><a href="dws_04_0608.html">PG_PROC</a> OID of the aggregate function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r854c7b3304cf4eebb6439aae0bdb2697"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a69ab0b4a846f4819a7b9e1fb57ff210a">aggtransfn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a5b01045195654a6c98679761cb2b13a7">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__aa4d2ecc127f04163b2846b6c23b2864d"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a95ccdee80c2d4f8f88c8de493aacb962">Transition function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r41bf3c3013134b0f949cea7070b30ce9"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__af266fea2bab34491b1127f1422181623">aggcollectfn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a9be63db6a59942f0a17c2ebef025ebaf">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__a1de796c4f864468d96faba99512b6cc1"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a523ca6c306a843198e936da0b81cbdcf">Aggregate function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__rabcdfa46257144238aee06aeacf77504"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a80dfc380f4e74c1681a6130641152947">aggfinalfn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a71bb6de912494c0da93e50105ca83f14">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__ad74496c7f0df44d9ae50574831841ec4"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a97efe97036ad48598c3d18794f877247">Final function (zero if none).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r28a1fa08c2bf4379be08a8fdbc526362"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a4bf8e448fe8949c6aee61abd8c1be91c">aggsortop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a039f95be14914edf9a7cdec029048a94">OID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__a97c4fd091303446aac7822799d793c34"><a href="dws_04_0604.html">PG_OPERATOR</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a9d3855121eab4f949a167513178b7d7e">Associated sort operator (zero if none).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r8e3e9733e28b4b7cbc5be8d529d5cbe8"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a6a7dc7a7f6de4d069792e65b874b228b">aggtranstype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a75b184daaab74fc8ad5d29c018e5934f">OID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__afa269b1b26824c5383f2a1152cc5ee73"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a3d965c81dbb04fe49098f38cb254d2c6">Data type of the aggregate function's internal transition (state) data.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r37f89114c1d1446cbd5737a5fa542017"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__ab05d29f174e74488b542db69b03b6aeb">agginitval</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__a718953bb6ee34ba981f2700a64e017c7">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__aebc7fe852cf14a1abc087cc7972de17b">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__ad472d49052de4089a17ef6aa1f71b04a">Initial value of the transition state. This is a text column containing the initial value in its external string representation. If this column is null, the transition state value starts out null.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001811490737__r758e7eb998ae4eb3a15a2334e1e315a9"><td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001811490737__a95efd84b419a4d60a54df7e6c0ba1dfc">agginitcollect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001811490737__aa1afd994e08743e69602633b4239eb13">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001811490737__af7039a8369bc4f01bb2e792de7b154de">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.1%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001811490737__a5fb24c9976f54ab190d6d59c622e5e05">Initial value of the collection state. This is a text column containing the initial value in its external string representation. If this column is null, the collection state value starts out null.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|