openpolitics.com

  • writing
  • quotes
  • Topics
    • academia
    • corruption
    • economics
    • education
    • environment
    • finance
    • history
    • hypertext
    • media
    • philosophy
    • psychology
    • religion
    • russia
    • ted nelson
  • about
← Previous Next →

URI data type for PostgreSQL

This is an extension for PostgreSQL that provides a uri data type. Advantages over using plain textfor storing URIs include:

  • URI syntax checking
  • functions for extracting URI components
  • human-friendly sorting

The actual URI parsing is provided by the uriparser library, which supports URI syntax as per RFC 3986.

 

source: $link[host]

Tags: database, postgres

Read Original Source

Tim Langeman © 2025 · Genesis Framework · WordPress · Log in