Funktionen zur Datenbearbeitung in PostgreSQL
Brian Piccolo
Sr. Director, Digital Strategy
SELECT name FROM pg_available_extensions;+--------------------+ | name | |--------------------| | dblink | | pg_stat_statements | +--------------------+
SELECT extname FROM pg_extension;+---------+ | name | |---------| | plpgsql | +---------+
--Enable the fuzzystrmatch extension CREATE EXTENSION IF NOT EXISTS fuzzystrmatch; --Confirm that fuzzstrmatch has been enabled SELECT extname FROM pg_extension;+---------------+ | name | |---------------| | plpgsql | | fuzzystrmatch | +---------------+
SELECT levenshtein('GUMBO', 'GAMBOL');+-------------+ | levenshtein | |-------------| | 2 | +-------------+
SELECT similarity('GUMBO', 'GAMBOL');+------------+ | similarity | |------------| | 0.18181818 | +------------+
Funktionen zur Datenbearbeitung in PostgreSQL