<commit_before>"""
    pygments.lexers._postgres_builtins
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Self-updating data files for PostgreSQL lexer.

    :copyright: Copyright 2011 by <NAME>.
    :license: BSD, see LICENSE for details.
"""

import re
import urllib2

# One man's constant is another man's variable.
SOURCE_URL = 'https://github.com/postgres/postgres/raw/REL9_0_STABLE'
KEYWORDS_URL = SOURCE_URL + '/doc/src/sgml/keywords.sgml'
DATATYPES_URL = SOURCE_URL + '/doc/src/sgml/datatype.sgml'

def update_myself():
    datatypes = parse_datatypes(fetch(DATATYPES_URL))
    keywords = parse_keywords(fetch(KEYWORDS_URL))
    update_consts(__file__, 'DATATYPES', datatypes)<commit_msg>Pull PostgreSQL keywords from their master<commit_after>"""
    pygments.lexers._postgres_builtins
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Self-updating data files for PostgreSQL lexer.

    :copyright: Copyright 2011 by <NAME>.
    :license: BSD, see LICENSE for details.
"""

import re
import urllib2

# One man's constant is another man's variable.
SOURCE_URL = 'https://github.com/postgres/postgres/raw/master'
KEYWORDS_URL = SOURCE_URL + '/doc/src/sgml/keywords.sgml'
DATATYPES_URL = SOURCE_URL + '/doc/src/sgml/datatype.sgml'

def update_myself():
    datatypes = parse_datatypes(fetch(DATATYPES_URL))
    keywords = parse_keywords(fetch(KEYWORDS_URL))
    update_consts(__file__, 'DATATYPES', datatypes)
{'fraction_non_alphanumeric': 0.15362731152204837, 'fraction_numerical': 0.008534850640113799, 'mean_word_length': 4.8625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2122393', 'n_tokens_mistral': 499, 'n_tokens_neox': 474, 'n_words': 98}