Project

General

Profile

« Previous | Next » 

Revision 14453

fix: schemas/util.sql: col_re(): support column names with " in them

View differences:

trunk/schemas/util.sql
1496 1496
CREATE FUNCTION col_re() RETURNS text
1497 1497
    LANGUAGE sql IMMUTABLE
1498 1498
    AS $$
1499
SELECT '(?:"[^"\s]+"|\w+)'::text
1499
SELECT '(?:"(?:[^"\s]|"")+"|\w+)'::text
1500 1500
$$;
1501 1501

  
1502 1502

  

Also available in: Unified diff