url_encode
url_encode, url_decode functions
url_encode : url_encode, url_decode functions
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4190 | url_encode | url_encode | 1.2.5 |
UTIL | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | uri pg_curl http pg_net emailaddr pg_html5_email_address pg_smtp_client |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.2.5 |
18 17 16 15 14 | url_encode |
- |
| RPM | PIGSTY | 1.2.5 |
18 17 16 15 14 | url_encode_$v |
- |
| DEB | PIGSTY | 1.2.5 |
18 17 16 15 14 | postgresql-$v-url-encode |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| el8.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| el9.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| el9.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| el10.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| el10.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| d12.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| d12.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| d13.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| d13.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u22.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u22.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u24.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u24.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u26.x86_64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
| u26.aarch64 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 | PIGSTY 1.2.5 |
Source
github.com/okbob/url_encode
url_encode-1.2.5.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
url_encode: URL encoding and decoding functions for PostgreSQL
Functions
url_encode(text) returns text
Percent-encode a string for use in URLs:
url_decode(text) returns text
Decode a percent-encoded string:
uri_encode(text) returns text
Encode a full URI (preserves scheme, slashes, etc.):
uri_decode(text) returns text
Decode an encoded URI: