↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

get_byte

Extracts n'th byte from binary string.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
binarystring
group label
Binary String Functions And Operators
lang
en
layout
table-new
pages
functions-binarystring.html
prose only
false

Definition PG 18

Extracts n'th byte from binary string.

Signatures and overloads

get_byte ( bytes bytea, n integer ) → integer → integer
Extracts n'th byte from binary string.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:1f9886b61a6ba2940ba5c6ad6d8c0c1c8e2c4c3375e6f6033f2b88fd7fe3c6f9

Text language: en · wiki-repair-20261023:1f9886b61a6ba2940ba5c6ad6d8c0c1c8e2c4c3375e6f6033f2b88fd7fe3c6f9