Functions for PostgreSQL that mimic POSIX basename and dirname. #complete
http://www.elfsternberg.com/2016/07/13/added-basename-dirname-postgresql-sped-catalogia-lot/
Elf M. Sternberg 6961710f75 | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.rst | ||
basename.sql | ||
basename_tests.sql |
README.rst
Synopsis -------- `basename.sql` contains functions which provide the POSIX-equivalent functions `basename` and `dirname` of PostgreSQL. The functions are written in fairly standard PL/pgSQL, and should work with any version of PostgreSQL after version 6. I make no claim that these functions are SQL/PSM-compliant. LICENSE AND COPYRIGHT NOTICE: NO WARRANTY GRANTED OR IMPLIED ------------------------------------------------------------ Copyright ⓒ 2016 Elf M. Sternberg <elf.sternberg@gmail.com> Released under The MIT License. Please see the LICENSE file for more details. All rights not clearly enumerated by the LICENSE are reserved to the authors.