emailaddr
Email address type for PostgreSQL
pg_emailaddr : Email address type for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3800 | emailaddr | pg_emailaddr | 0 |
TYPE | Unknown | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| See Also | pg_html5_email_address uri pg_utl_smtp pg_smtp_client omni_email ip4r url_encode prefix |
+varatt.h, no valid license, distribution suspend
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0 |
18 17 16 15 14 | pg_emailaddr |
- |
| RPM | PIGSTY | 0 |
18 17 16 15 14 | pg_emailaddr_$v |
- |
| DEB | PIGSTY | 0 |
18 17 16 15 14 | postgresql-$v-pg-emailaddr |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| el8.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| el9.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| el9.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| el10.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| el10.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| d12.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| d12.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| d13.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| d13.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u22.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u22.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u24.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u24.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u26.x86_64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
| u26.aarch64 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 | PIGSTY 0 |
Source
github.com/petere/pgemailaddr
pgemailaddr-0.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The emailaddr extension provides a data type for storing and validating email addresses conforming to the addr-spec format defined in RFC 5322.
Data Type
The emailaddr type validates email addresses on input according to RFC 5322 addr-spec rules. Simple formats like [email protected] are accepted. Display name syntax such as "User Name" <[email protected]> is not supported.
Operators
Standard comparison operators are supported: =, <>, <, >, <=, >=.
Index Support
Btree indexes are available for efficient lookups and sorting on emailaddr columns.