diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
commit | 87fd132d0145d36d9eae9cdf521935202db228f7 (patch) | |
tree | 8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/sql-postgresql.xml | |
parent | 2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff) | |
download | tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip |
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/sql-postgresql.xml')
-rw-r--r-- | kate/data/sql-postgresql.xml | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/kate/data/sql-postgresql.xml b/kate/data/sql-postgresql.xml index 9c88c7fd1..a8b1101ac 100644 --- a/kate/data/sql-postgresql.xml +++ b/kate/data/sql-postgresql.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- PostgreSQL SQL, syntax definition based on sql.xml by Yury Lebedev --> -<language name="SQL (PostgreSQL)" version="1.12" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> +<language name="SQL (PostgreSQL)" version="1.13" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> <highlighting> <list name="keywords"> <item> ABORT </item> @@ -48,12 +48,12 @@ <item> CATALOG </item> <item> CATALOG_NAME </item> <item> CHAIN </item> - <item> CHAR_LENGTH </item> + <item> CHARACTERISTICS </item> <item> CHARACTER_LENGTH </item> <item> CHARACTER_SET_CATALOG </item> <item> CHARACTER_SET_NAME </item> <item> CHARACTER_SET_SCHEMA </item> - <item> CHARACTERISTICS </item> + <item> CHAR_LENGTH </item> <item> CHECK </item> <item> CHECKED </item> <item> CHECKPOINT </item> @@ -81,11 +81,11 @@ <item> CONNECT </item> <item> CONNECTION </item> <item> CONNECTION_NAME </item> + <item> CONSTRAINTS </item> <item> CONSTRAINT </item> <item> CONSTRAINT_CATALOG </item> <item> CONSTRAINT_NAME </item> <item> CONSTRAINT_SCHEMA </item> - <item> CONSTRAINTS </item> <item> CONSTRUCTOR </item> <item> CONTAINS </item> <item> CONTINUE </item> @@ -163,6 +163,7 @@ <item> EXISTS </item> <item> EXPLAIN </item> <item> EXTERNAL </item> + <item> FALSE </item> <item> FETCH </item> <item> FINAL </item> <item> FIRST </item> @@ -315,13 +316,13 @@ <item> OWNER </item> <item> PAD </item> <item> PARAMETER </item> + <item> PARAMETERS </item> <item> PARAMETER_MODE </item> <item> PARAMETER_NAME </item> <item> PARAMETER_ORDINAL_POSITION </item> <item> PARAMETER_SPECIFIC_CATALOG </item> <item> PARAMETER_SPECIFIC_NAME </item> <item> PARAMETER_SPECIFIC_SCHEMA </item> - <item> PARAMETERS </item> <item> PARTIAL </item> <item> PASCAL </item> <item> PASSWORD </item> @@ -371,8 +372,8 @@ <item> ROUTINE_NAME </item> <item> ROUTINE_SCHEMA </item> <item> ROW </item> - <item> ROW_COUNT </item> <item> ROWS </item> + <item> ROW_COUNT </item> <item> RULE </item> <item> SAVEPOINT </item> <item> SCALE </item> @@ -404,8 +405,8 @@ <item> SOURCE </item> <item> SPACE </item> <item> SPECIFIC </item> - <item> SPECIFIC_NAME </item> <item> SPECIFICTYPE </item> + <item> SPECIFIC_NAME </item> <item> SQL </item> <item> SQLCODE </item> <item> SQLERROR </item> @@ -444,9 +445,9 @@ <item> TOAST </item> <item> TRAILING </item> <item> TRANSACTION </item> - <item> TRANSACTION_ACTIVE </item> <item> TRANSACTIONS_COMMITTED </item> <item> TRANSACTIONS_ROLLED_BACK </item> + <item> TRANSACTION_ACTIVE </item> <item> TRANSFORM </item> <item> TRANSFORMS </item> <item> TRANSLATE </item> @@ -457,6 +458,7 @@ <item> TRIGGER_NAME </item> <item> TRIGGER_SCHEMA </item> <item> TRIM </item> + <item> TRUE </item> <item> TRUNCATE </item> <item> TRUSTED </item> <item> TYPE </item> @@ -498,10 +500,8 @@ <item> WRITE </item> <item> YEAR </item> <item> ZONE </item> - <item> FALSE </item> - <item> TRUE </item> </list> - <list name="operators"> + <list name="operators"> <item> + </item> <item> - </item> <item> * </item> @@ -557,8 +557,8 @@ <!-- network address type --> <item> <<= </item> <item> >>= </item> - </list> - <list name="functions"> + </list> + <list name="functions"> <!-- math --> <item> ABS </item> <item> CBRT </item> @@ -683,57 +683,57 @@ <item> VARIANCE </item> </list> <list name="types"> - <item> LZTEXT </item> <item> BIGINT </item> - <item> INT2 </item> - <item> INT8 </item> <item> BIGSERIAL </item> - <item> SERIAL8 </item> <item> BIT </item> <item> BIT VARYING </item> - <item> VARBIT </item> - <item> BOOLEAN </item> <item> BOOL </item> + <item> BOOLEAN </item> <item> BOX </item> <item> BYTEA </item> - <item> CHARACTER </item> <item> CHAR </item> + <item> CHARACTER </item> <item> CHARACTER VARYING </item> - <item> VARCHAR </item> <item> CIDR </item> <item> CIRCLE </item> <item> DATE </item> + <item> DECIMAL </item> <item> DOUBLE PRECISION </item> <item> FLOAT8 </item> <item> INET </item> - <item> INTEGER </item> <item> INT </item> + <item> INT2 </item> <item> INT4 </item> + <item> INT8 </item> + <item> INTEGER </item> <item> INTERVAL </item> <item> LINE </item> <item> LSEG </item> + <item> LZTEXT </item> <item> MACADDR </item> <item> MONEY </item> <item> NUMERIC </item> - <item> DECIMAL </item> <item> OID </item> <item> PATH </item> <item> POINT </item> <item> POLYGON </item> <item> REAL </item> - <item> SMALLINT </item> <item> SERIAL </item> + <item> SERIAL8 </item> + <item> SMALLINT </item> <item> TEXT </item> <item> TIME </item> - <item> TIMETZ </item> <item> TIMESTAMP </item> - <item> TIMESTAMPTZ </item> <item> TIMESTAMP WITH TIMEZONE </item> + <item> TIMESTAMPTZ </item> + <item> TIMETZ </item> + <item> VARBIT </item> + <item> VARCHAR </item> </list> <contexts> <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> <!-- HACK: don't jump into MultiLineString for CREATE FUNCTION $funcName$...$funcName$ --> - <StringDetect String="CREATE FUNCTION" context="CreateFunction" attribute="Keyword" /> + <StringDetect String="CREATE FUNCTION" context="CreateFunction" attribute="Keyword"/> <keyword attribute="Keyword" context="#stay" String="keywords"/> <keyword attribute="Operator" context="#stay" String="operators"/> <keyword attribute="Function" context="#stay" String="functions"/> @@ -760,15 +760,15 @@ <RegExpr attribute="Operator" context="MultiLineString" String="\$([^\$\n\r]*)\$" dynamic="true"/> </context> <context name="CreateFunction" attribute="Normal Text" lineEndContext="#stay"> - <RegExpr attribute="Function" context="FunctionBody" String="\$([^\$\n\r]*)\$" dynamic="true"/> - <IncludeRules context="Normal" /> + <RegExpr attribute="Function" context="FunctionBody" String="\$([^\$\n\r]*)\$" dynamic="true"/> + <IncludeRules context="Normal"/> </context> <context name="FunctionBody" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> - <RegExpr attribute="Function" context="#pop#pop" String="\$%1\$" dynamic="true"/> - <IncludeRules context="Normal" /> + <RegExpr attribute="Function" context="#pop#pop" String="\$%1\$" dynamic="true"/> + <IncludeRules context="Normal"/> </context> <context name="MultiLineString" attribute="String" lineEndContext="#stay" dynamic="true"> - <RegExpr attribute="Operator" context="#pop" String="\$%1\$" dynamic="true"/> + <RegExpr attribute="Operator" context="#pop" String="\$%1\$" dynamic="true"/> </context> <context name="String" attribute="String" lineEndContext="#stay"> <LineContinue attribute="String" context="#pop"/> @@ -787,19 +787,19 @@ <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"/> </contexts> <itemDatas> - <itemData name="Normal Text" defStyleNum="dsNormal"/> - <itemData name="Keyword" defStyleNum="dsKeyword"/> - <itemData name="Operator" defStyleNum="dsNormal"/> - <itemData name="Function" defStyleNum="dsFunction"/> - <itemData name="Data Type" defStyleNum="dsDataType"/> - <itemData name="Decimal" defStyleNum="dsDecVal"/> - <itemData name="Float" defStyleNum="dsFloat"/> - <itemData name="String" defStyleNum="dsString"/> - <itemData name="String Char" defStyleNum="dsChar"/> - <itemData name="Comment" defStyleNum="dsComment"/> - <itemData name="Identifier" defStyleNum="dsOthers"/> - <itemData name="Symbol" defStyleNum="dsChar"/> - <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Operator" defStyleNum="dsNormal"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Identifier" defStyleNum="dsOthers"/> + <itemData name="Symbol" defStyleNum="dsChar"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> </itemDatas> </highlighting> <general> @@ -807,6 +807,6 @@ <comment name="singleLine" start="--"/> <comment name="multiLine" start="/*" end="*/"/> </comments> - <keywords casesensitive="0" weakDeliminator="+-*/|!@&#<>%^=~:.?"/> + <keywords casesensitive="0" weakDeliminator="+-*/|=!<>~^:.@&#%?"/> </general> </language> |