Project

General

Profile

« Previous | Next » 

Revision 13386

schemas/public_.sql: query_view_regexp(): also match auxiliary tables

View differences:

trunk/schemas/public_.sql
4354 4354
CREATE FUNCTION query_view_regexp() RETURNS text
4355 4355
    LANGUAGE sql IMMUTABLE
4356 4356
    AS $$
4357
SELECT '^_[[:alpha:]]+_\d+'::text
4357
SELECT '^(?:_[[:alpha:]]+_)?_[[:alpha:]]+_\d+'::text
4358 4358
$$;
4359 4359

  
4360 4360

  
trunk/schemas/vegbien.sql
4354 4354
CREATE FUNCTION query_view_regexp() RETURNS text
4355 4355
    LANGUAGE sql IMMUTABLE
4356 4356
    AS $$
4357
SELECT '^_[[:alpha:]]+_\d+'::text
4357
SELECT '^(?:_[[:alpha:]]+_)?_[[:alpha:]]+_\d+'::text
4358 4358
$$;
4359 4359

  
4360 4360

  

Also available in: Unified diff