July 2005
Intermediate to advanced
1032 pages
27h 10m
English
The pgcurl package (gborg.postgresql.org/project/pgcurl) adds networking features to a PostgreSQL database. pgcurl wraps the libcurl networking library in a set of five server functions:
urlencode( TEXT ) RETURNS TEXT
urlencode() translates “special” characters into their URL-escaped form. Specifically, urlencode() converts any character outside of the ranges a–z, A–Z, and 0–9 into the form %nn (where nn is the two-digit hexadecimal representation of the character according to RFC 2396).
urldecode( TEXT ) RETURNS TEXT
urldecode() translates an URL-escaped string into a plain-text form. Specifically, urldecode() any sequence of the form %nn (where nn is the two-digit hexadecimal representation of a character) ...
Read now
Unlock full access