Search.setIndex({"docnames": ["advanced", "connection", "cursor", "errorcodes", "errors", "extensions", "extras", "faq", "index", "install", "license", "module", "news", "pool", "sql", "sqlstate_errors", "tz", "usage"], "filenames": ["advanced.rst", "connection.rst", "cursor.rst", "errorcodes.rst", "errors.rst", "extensions.rst", "extras.rst", "faq.rst", "index.rst", "install.rst", "license.rst", "module.rst", "news.rst", "pool.rst", "sql.rst", "sqlstate_errors.rst", "tz.rst", "usage.rst"], "titles": ["More advanced topics", "The connection class", "The cursor class", "psycopg2.errorcodes \u2013 Error codes defined by PostgreSQL", "psycopg2.errors \u2013 Exception classes mapping PostgreSQL errors", "psycopg2.extensions \u2013 Extensions to the DB API", "psycopg2.extras \u2013 Miscellaneous goodies for Psycopg 2", "Frequently Asked Questions", "Psycopg \u2013 PostgreSQL database adapter for Python", "Installation", "License", "The psycopg2 module content", "Release notes", "psycopg2.pool \u2013 Connections pooling", "psycopg2.sql \u2013 SQL string composition", "<no title>", "psycopg2.tz \u2013 tzinfo implementations for Psycopg 2", "Basic module usage"], "terms": {"psycopg": [0, 1, 2, 4, 5, 7, 10, 11, 17], "expos": [0, 1, 2, 4, 5, 7, 11, 12, 14, 17], "two": [0, 1, 2, 3, 5, 7, 8, 9, 10, 12, 16], "style": [0, 14, 17], "class": [0, 3, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17], "can": [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17], "sub": [0, 6, 9, 12], "expand": 0, "them": [0, 1, 2, 5, 6, 7, 9, 12, 14, 17], "need": [0, 2, 3, 6, 7, 9, 11, 12, 14, 17], "programm": [0, 11], "psycopg2": [0, 1, 2, 8, 9, 12, 17], "extens": [0, 4, 6, 7, 8, 9, 12, 17], "The": [0, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "usual": [0, 1, 2, 3, 5, 6, 7, 9, 11, 14, 17], "onli": [0, 1, 2, 5, 6, 7, 9, 11, 12, 13, 14, 16, 17], "provid": [0, 1, 2, 5, 6, 7, 11, 12, 17], "an": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17], "easi": [0, 2, 5, 7, 12], "wai": [0, 2, 4, 6, 7, 9, 12, 14, 17], "creat": [0, 1, 2, 5, 6, 7, 8, 11, 12, 13, 14, 16, 17], "custom": [0, 6, 7, 8, 11, 12], "other": [0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 14, 17], "us": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16], "ar": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17], "possibl": [0, 1, 2, 5, 6, 7, 9, 12, 14, 17], "much": [0, 12], "interest": 0, "becaus": [0, 2, 5, 6, 7, 9, 17], "where": [0, 1, 2, 5, 6, 7, 11, 12, 14, 17], "queri": [0, 1, 2, 5, 6, 7, 8, 9, 11, 12, 14], "build": [0, 7, 8, 12, 17], "execut": [0, 1, 2, 3, 4, 5, 7, 8, 9, 11, 12, 14, 17], "result": [0, 1, 2, 5, 6, 7, 8, 9, 11, 12, 14, 17], "variabl": [0, 2, 5, 7, 9, 11, 12, 14, 17], "happen": [0, 1, 12, 14, 17], "extra": [0, 1, 2, 7, 8, 12, 17], "modul": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16], "contain": [0, 1, 2, 3, 4, 5, 6, 9, 11, 12, 14], "sever": [0, 1, 5, 6, 7, 8, 11, 12, 17], "exampl": [0, 1, 2, 3, 5, 6, 7, 11, 12, 14, 17], "subclass": [0, 1, 3, 4, 5, 8, 11, 12, 13, 14], "If": [0, 1, 2, 5, 6, 7, 8, 10, 11, 12, 13, 14, 17], "you": [0, 1, 2, 5, 6, 7, 8, 10, 11, 12, 14, 17], "sinc": [0, 1, 5, 6, 11, 16, 17], "2": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 13, 14, 15, 17], "5": [0, 1, 2, 5, 6, 7, 8, 11, 17], "cursor_factori": [0, 1, 5, 6, 11, 12], "paramet": [0, 1, 2, 5, 6, 7, 8, 11, 12, 13, 14], "regular": [0, 1, 2, 5, 6, 9, 11, 17], "instead": [0, 2, 5, 6, 7, 11, 12, 14, 16, 17], "perform": [0, 1, 2, 5, 6, 9, 12, 17], "log": [0, 1, 12], "import": [0, 1, 2, 5, 6, 7, 9, 11, 12, 14, 17], "loggingcursor": [0, 6], "def": [0, 2, 6, 17], "self": [0, 6, 9, 17], "arg": [0, 5, 6, 13, 14], "none": [0, 1, 2, 5, 6, 7, 11, 12, 13, 14, 16, 17], "logger": [0, 6], "getlogg": 0, "sql_debug": 0, "info": [0, 1, 5, 12], "mogrifi": [0, 2, 6, 12, 17], "try": [0, 1, 2, 3, 4, 6, 7, 9, 11, 12, 17], "except": [0, 1, 2, 3, 6, 7, 8, 10, 12, 15, 17], "exc": [0, 2], "error": [0, 1, 5, 6, 7, 8, 9, 11, 12, 15, 17], "": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 14, 16, 17], "__class__": 0, "__name__": 0, "rais": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 17], "conn": [0, 1, 2, 5, 6, 9, 11, 13, 14, 17], "dsn": [0, 1, 5, 6, 11, 12, 17], "cur": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 17], "insert": [0, 2, 6, 7, 8, 11, 12, 14, 17], "INTO": [0, 2, 6, 7, 17], "mytabl": [0, 4, 6, 17], "valu": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14], "10": [0, 2, 5, 6, 7, 14, 16, 17], "20": [0, 4, 6, 14, 15, 17], "30": [0, 12, 17], "ani": [0, 1, 2, 5, 6, 7, 9, 10, 11, 12, 14, 17], "string": [0, 1, 2, 5, 6, 7, 8, 11, 12], "mechan": [0, 5, 17], "similar": [0, 2, 6, 11, 12, 14, 17], "propos": [0, 17], "pep": [0, 5, 12], "246": [0, 5, 12], "function": [0, 1, 2, 6, 7, 8, 11, 12, 13, 14, 16, 17], "method": [0, 1, 2, 4, 5, 6, 7, 11, 12, 13, 14, 16, 17], "its": [0, 1, 2, 3, 4, 5, 6, 7, 9, 12, 17], "argument": [0, 1, 2, 5, 6, 7, 9, 11, 12, 14, 16, 17], "isqlquot": [0, 5, 6], "conform": [0, 5], "thi": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17], "getquot": [0, 5, 6, 12, 17], "return": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 13, 14, 16, 17], "represent": [0, 2, 5, 6, 7, 12, 17], "must": [0, 1, 2, 5, 6, 7, 10, 11, 12, 14, 17], "byte": [0, 1, 2, 5, 6, 7, 12, 17], "3": [0, 1, 2, 5, 6, 7, 8, 9, 10, 11, 16, 17], "option": [0, 1, 2, 4, 5, 6, 7, 9, 10, 12, 13, 15], "mai": [0, 1, 2, 4, 5, 6, 7, 9, 10, 11, 12, 14, 17], "prepar": [0, 1, 5, 6, 12, 17], "There": [0, 5, 7], "basic": [0, 5, 8, 11], "have": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 17], "itself": [0, 2, 4, 11, 15, 17], "know": [0, 1, 3, 5, 11, 12], "how": [0, 5, 6, 7, 9, 17], "make": [0, 1, 2, 3, 5, 6, 7, 8, 9, 11, 12, 17], "Such": [0, 17], "__conform__": [0, 12], "call": [0, 1, 2, 5, 6, 7, 9, 12, 13, 17], "check": [0, 1, 2, 4, 5, 6, 7, 9, 11, 12, 15], "which": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 14, 17], "case": [0, 1, 2, 4, 5, 6, 9, 11, 12, 14, 15, 17], "also": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 16, 17], "implement": [0, 1, 2, 5, 6, 7, 8, 11, 12, 13, 17], "suitabl": [0, 1, 6, 9, 14, 17], "wrapper": [0, 4, 5, 6, 8, 9, 15, 17], "viabl": 0, "author": [0, 1, 4, 12, 15, 17], "specif": [0, 1, 2, 3, 4, 5, 8, 11, 12, 15, 17], "design": [0, 8, 12], "databas": [0, 1, 2, 3, 4, 6, 7, 9, 11, 12, 14, 17], "e": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 14, 17], "depend": [0, 2, 4, 5, 6, 7, 9, 12, 15], "pollut": [0, 1], "interfac": [0, 2, 4, 6, 11, 12, 14, 17], "requir": [0, 1, 2, 5, 6, 7, 10, 11, 12, 17], "doesn": [0, 1, 2, 5, 6, 7, 11, 12, 14, 17], "t": [0, 1, 2, 5, 6, 7, 9, 11, 12, 13, 14, 17], "bother": 0, "For": [0, 1, 2, 4, 5, 6, 7, 9, 11, 17], "simpl": [0, 1, 5, 6, 11, 12, 13, 17], "take": [0, 5, 7, 9, 11, 12, 16], "look": [0, 1, 3, 5, 6, 7, 9, 17], "sourc": [0, 4, 5, 9, 10, 11, 12, 14, 17], "code": [0, 2, 4, 5, 6, 8, 9, 10, 11, 12, 13, 17], "inet": [0, 6, 12, 17], "directli": [0, 6, 13, 14, 16], "mayb": [0, 12], "come": [0, 5, 9, 14, 17], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16], "third": 0, "parti": 0, "regist": [0, 2, 5, 6, 7, 17], "via": [0, 1, 2, 5, 6, 12, 17], "register_adapt": [0, 5, 6, 17], "A": [0, 1, 2, 5, 6, 9, 10, 11, 12, 13, 14, 17], "uuid_adapt": [0, 6], "register_uuid": [0, 6], "conveni": [0, 6, 14, 17], "write": [0, 1, 2, 5, 7, 9, 11, 12, 17], "asi": [0, 5, 12], "whose": [0, 5, 14], "simpli": 0, "str": [0, 1, 5, 6, 7, 12, 14, 17], "ing": 0, "convers": [0, 1, 5, 6, 8, 12, 17], "wrap": [0, 1, 2, 5, 6, 11, 14, 17], "map": [0, 2, 5, 6, 8, 12, 14, 17], "point": [0, 1, 2, 5, 6, 12, 17], "postgresql": [0, 1, 2, 5, 6, 7, 9, 11, 12, 13, 14, 15], "geometr": 0, "__init__": [0, 16, 17], "x": [0, 2, 6, 7, 9, 12, 16, 17], "y": [0, 9], "adapt_point": 0, "atabl": 0, "apoint": 0, "1": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 17], "23": [0, 2, 4, 6, 12, 15, 17], "4": [0, 1, 2, 4, 5, 6, 7, 8, 9, 11, 17], "56": 0, "abov": [0, 1, 6, 17], "command": [0, 1, 2, 5, 6, 7, 9, 12, 17], "read": [0, 1, 2, 5, 6, 7, 9, 12, 17], "through": [0, 2, 5, 11, 12], "user": [0, 1, 2, 5, 6, 7, 9, 11, 12, 17], "defin": [0, 1, 4, 5, 6, 8, 9, 11, 12, 17], "current": [0, 1, 2, 5, 6, 7, 8, 9, 17], "being": [0, 1, 2, 5, 6, 8, 10, 12], "should": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17], "follow": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17], "pars": [0, 5, 6, 7, 12, 17], "previous": [0, 1, 2, 4, 5, 11, 12, 16, 17], "cast_point": 0, "convert": [0, 1, 2, 4, 5, 6, 7, 11, 12, 17], "f1": [0, 6], "f2": [0, 6], "express": [0, 14], "m": [0, 6, 12], "re": [0, 7, 12], "match": [0, 2, 5, 6, 8, 9], "r": [0, 1, 5, 14, 17], "float": [0, 5, 6, 7, 12, 17], "group": [0, 5, 6], "els": [0, 4, 6, 7, 17], "interfaceerror": [0, 1, 2, 11], "bad": [0, 5, 12], "In": [0, 2, 4, 5, 6, 7, 9, 10, 11, 14, 15, 17], "order": [0, 2, 4, 5, 6, 9, 12, 17], "either": [0, 1, 2, 5, 6, 10, 11, 12, 16, 17], "standard": [0, 1, 2, 3, 4, 5, 6, 8, 11, 15, 17], "oid": [0, 1, 2, 5, 6, 7, 12], "known": [0, 1, 6, 7, 12, 17], "It": [0, 1, 2, 5, 6, 7, 8, 9, 11, 12, 14, 17], "retriev": [0, 2, 5, 6, 9, 12, 17], "second": [0, 5, 6, 7, 11, 12, 17], "column": [0, 1, 2, 5, 6, 11, 12, 17], "descript": [0, 2, 5, 11, 12], "select": [0, 1, 2, 3, 5, 6, 7, 9, 11, 12, 14, 17], "null": [0, 2, 5, 12, 17], "point_oid": 0, "0": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17], "600": [0, 12], "system": [0, 1, 4, 5, 7, 8, 9, 12, 15, 17], "catalog": [0, 4, 5, 15], "name": [0, 1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 17], "namespac": [0, 12], "pg_catalog": 0, "pg_type": [0, 5], "join": [0, 6, 14], "pg_namespac": 0, "ON": 0, "typnamespac": 0, "typnam": [0, 5], "typenam": 0, "AND": 0, "nspname": 0, "fetchon": [0, 2, 6, 17], "after": [0, 1, 2, 4, 5, 6, 7, 9, 12, 17], "new_typ": [0, 5, 7], "register_typ": [0, 2, 5, 7, 12, 17], "bind": [0, 2, 9, 11, 12, 17], "than": [0, 1, 2, 3, 5, 6, 10, 11, 12, 14, 17], "one": [0, 1, 2, 4, 5, 6, 7, 9, 11, 12, 17], "specifi": [0, 1, 2, 5, 6, 9, 11, 12, 14, 17], "complet": [0, 4, 5, 8, 9, 11, 12, 15, 17], "spell": 0, "automat": [0, 1, 2, 5, 6, 7, 9, 12, 13, 14, 17], "when": [0, 1, 2, 5, 6, 7, 9, 11, 12, 17], "print": [0, 2, 9, 11, 14, 17], "typecast": [0, 2, 5, 6, 7, 12, 17], "new_array_typ": [0, 5, 7, 12], "arrai": [0, 5, 6, 7, 12, 17], "list": [0, 1, 2, 4, 5, 6, 7, 9, 11, 12, 14], "allow": [0, 1, 2, 4, 5, 6, 7, 12, 14, 16, 17], "interact": [0, 7, 9, 12, 17], "session": [0, 1, 2, 5, 7, 11, 12, 17], "facil": [0, 6, 12, 17], "offer": [0, 6, 11, 13, 17], "listen": [0, 5], "notifi": [0, 1, 5, 12], "pleas": [0, 2, 5, 7, 9, 12, 17], "refer": [0, 2, 4, 5, 6, 12, 17], "document": [0, 1, 2, 3, 4, 5, 7, 10, 11, 12, 16, 17], "about": [0, 1, 5, 6, 7, 9, 11, 12, 13, 17], "form": [0, 1, 2, 5, 6, 14, 16, 17], "commun": [0, 1, 5, 6, 8, 12, 17], "instanc": [0, 1, 2, 4, 5, 6, 9, 12, 14, 16, 17], "made": [0, 2, 5, 12, 14, 17], "avail": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 17], "upon": [0, 4, 5, 12], "recept": [0, 5, 12], "sent": [0, 1, 2, 5, 6, 12, 17], "see": [0, 1, 2, 5, 6, 7, 9, 10, 11, 12, 17], "keep": [0, 1, 4, 6, 7, 17], "autocommit": [0, 1, 7, 12, 17], "mode": [0, 1, 2, 4, 5, 7, 12, 17], "wish": [0, 10], "receiv": [0, 1, 4, 5, 6, 7, 10, 12, 17], "send": [0, 5, 6, 7, 12, 17], "time": [0, 1, 2, 5, 6, 7, 9, 11, 12, 14], "manner": [0, 5], "everi": [0, 1, 2, 4, 5, 6, 11, 12, 17], "poll": [0, 1, 6, 8, 12], "messag": [0, 1, 2, 3, 5, 6, 7, 9, 11, 12], "without": [0, 1, 6, 9, 10, 12, 17], "wast": [0, 9], "resourc": [0, 1, 4, 5, 7, 15, 17], "applic": [0, 1, 2, 3, 5, 8, 10, 11, 13], "could": [0, 1, 4, 5, 6, 11, 12, 17], "someth": [0, 6, 9, 17], "ha": [0, 1, 2, 3, 5, 6, 9, 11, 12, 16, 17], "arriv": [0, 6], "better": [0, 1, 2, 6, 12], "strategi": 0, "some": [0, 1, 3, 5, 6, 9, 12, 14, 17], "o": [0, 5, 9, 12, 17], "sleep": 0, "until": [0, 1, 5, 6, 7, 17], "awaken": 0, "kernel": 0, "data": [0, 1, 2, 4, 5, 7, 8, 11, 12, 15, 17], "therebi": 0, "cpu": 0, "unless": [0, 1, 6, 9, 12], "set_isolation_level": [0, 1, 5, 12], "isolation_level_autocommit": [0, 1, 5], "test": [0, 1, 2, 3, 5, 6, 8, 11, 12, 17], "wait": [0, 1, 5, 6, 14], "channel": [0, 1, 5], "while": [0, 3, 4, 5, 6, 11, 12, 17], "true": [0, 1, 2, 4, 5, 6, 7, 11, 13, 17], "timeout": [0, 5, 6, 12], "pop": 0, "got": [0, 6], "pid": [0, 1, 5, 12], "payload": [0, 1, 5, 6, 12], "run": [0, 1, 2, 5, 6, 7, 8, 12, 17], "script": [0, 1, 6, 12, 17], "hello": 0, "separ": [0, 1, 2, 5, 9, 12, 14, 17], "psql": 0, "shell": [0, 7, 12], "output": [0, 2, 5, 6, 12], "6535": 0, "note": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 17], "9": [0, 1, 2, 4, 5, 6, 7, 8, 9, 16, 17], "previou": [0, 1, 2, 5, 6, 7, 14, 17], "version": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 16, 17], "server": [0, 1, 2, 3, 5, 6, 7, 8, 9, 11, 12], "attribut": [0, 1, 2, 3, 4, 5, 6, 11, 12, 14, 16, 17], "set": [0, 1, 2, 5, 6, 7, 9, 11, 12, 16, 17], "empti": [0, 2, 5, 6, 12, 17], "chang": [0, 1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 17], "ad": [0, 1, 2, 4, 5, 6, 9, 11, 12, 14, 17], "handl": [0, 1, 2, 5, 6, 8, 12, 13], "7": [0, 1, 2, 5, 6, 7, 8, 11, 14, 17], "writabl": [0, 1, 2, 7, 12], "replac": [0, 1, 5, 6, 12, 14], "append": [0, 1, 2, 5, 12, 17], "would": [0, 1, 2, 5, 6, 9, 10, 17], "dequ": 0, "issu": [0, 1, 2, 7, 12, 17], "establish": [0, 1, 5], "pass": [0, 1, 2, 3, 5, 6, 7, 8, 11, 12, 13, 14, 16], "async": [0, 1, 5, 7, 11, 12], "work": [0, 1, 4, 5, 6, 7, 9, 12, 13, 14, 17], "reli": [0, 1, 5, 9, 17], "caller": [0, 6], "socket": [0, 5, 6, 9, 11, 12], "file": [0, 1, 2, 4, 5, 6, 7, 9, 10, 12, 15, 17], "descriptor": [0, 1, 4, 5, 15], "readi": [0, 1, 5, 13], "accept": [0, 1, 5, 12, 17], "been": [0, 1, 2, 3, 4, 5, 6, 12, 16, 17], "transfer": [0, 7, 17], "client": [0, 1, 2, 5, 6, 7, 8, 9, 11, 12, 13, 17], "fileno": [0, 1, 5, 6, 12], "get": [0, 1, 5, 7, 9, 12, 13], "proce": [0, 1], "accord": [0, 1, 2, 3, 5, 6, 7, 17], "state": [0, 1, 2, 4, 5, 11, 12, 15, 17], "loop": [0, 2, 6, 7, 12], "togeth": [0, 1, 5, 12], "carri": 0, "oper": [0, 1, 2, 4, 5, 6, 9, 11, 12, 13, 14, 15, 17], "poll_ok": [0, 1, 5], "break": [0, 6, 12], "elif": [0, 17], "poll_writ": [0, 5], "poll_read": [0, 5], "operationalerror": [0, 1, 4, 5, 11, 12, 15], "cours": [0, 9, 17], "block": [0, 1, 2, 5, 6, 7, 12, 17], "entir": [0, 1, 2, 12, 17], "real": [0, 1, 12, 17], "framework": 0, "mani": [0, 1, 2, 4, 5, 6, 8, 11, 12, 14, 17], "nonetheless": 0, "nonblock": 0, "obtain": [0, 5, 6, 12, 17], "further": [0, 1, 2, 6, 7, 11, 17], "thu": [0, 3, 11, 17], "safe": [0, 1, 2, 5, 7, 12, 13, 14, 17], "aconn": 0, "acur": 0, "few": [0, 4, 5, 6, 7, 9, 12, 13, 17], "met": [0, 9, 17], "non": [0, 1, 5, 8, 11, 12, 17], "attempt": [0, 1, 2, 6], "libpq": [0, 1, 2, 5, 7, 8, 9, 11, 12, 17], "pqconnectstart": 0, "same": [0, 1, 2, 5, 6, 7, 8, 10, 11, 12, 13, 16, 17], "callproc": [0, 2, 12, 17], "produc": [0, 2, 3, 5, 6, 12, 17], "pg_sleep": [0, 7], "42": [0, 2, 3, 4, 5, 6, 7, 14, 15], "isexecut": [0, 1], "concurr": [0, 1, 5, 7, 8, 9, 12], "limit": [0, 4, 5, 6, 11, 12, 15], "alwai": [0, 2, 5, 7, 9, 12, 17], "so": [0, 1, 2, 4, 5, 6, 7, 9, 10, 11, 12, 14, 17], "transact": [0, 1, 2, 4, 8, 11, 12, 15], "implicitli": [0, 1, 6, 12], "first": [0, 1, 3, 5, 6, 7, 12, 17], "commit": [0, 1, 2, 5, 7, 8, 12], "rollback": [0, 1, 2, 4, 5, 7, 11, 12, 15, 17], "manual": [0, 1, 6, 12], "control": [0, 1, 5, 6, 8, 11, 12], "begin": [0, 1, 5, 6, 12, 17], "similarli": 0, "set_sess": [0, 1, 5, 12, 17], "still": [0, 1, 3, 4, 6, 8, 12, 14, 15, 17], "invok": [0, 1, 2, 5, 12, 14], "proper": [0, 11, 12, 17], "default_transaction_": [0, 1, 12], "With": [0, 6, 7, 12], "set_client_encod": [0, 1, 12, 17], "executemani": [0, 2, 6, 12, 14, 17], "larg": [0, 1, 2, 5, 7, 8, 11, 12], "copi": [0, 2, 6, 8, 10, 11, 12], "probabl": [0, 2, 5, 7], "futur": [0, 1, 2, 6, 7], "releas": [0, 1, 3, 6, 7, 8, 9, 17], "base": [0, 2, 4, 5, 6, 11, 12, 13, 14, 15], "particip": [0, 1, 5], "cooper": [0, 5], "multithread": [0, 2, 12], "eventlet": [0, 5], "gevent": [0, 5], "patch": [0, 12], "enabl": [0, 6, 12, 17], "switch": [0, 1, 5, 12], "presenc": [0, 14], "process": [0, 1, 2, 4, 5, 6, 7, 8, 11, 12], "green": [0, 7, 12, 17], "thread": [0, 1, 2, 7, 8, 11, 12, 13], "c": [0, 1, 2, 6, 7, 8, 9, 10, 12, 17], "registr": [0, 6], "callback": [0, 5, 6, 7, 12], "set_wait_callback": [0, 1, 5, 6, 7], "ones": [0, 1, 4, 5, 7, 9, 12, 13, 14, 17], "deleg": [0, 5], "respons": [0, 6, 12, 17], "becom": [0, 6, 7, 9, 12], "readabl": [0, 2, 12], "doe": [0, 1, 2, 3, 5, 6, 7, 9, 11, 12], "freedom": 0, "schedul": [0, 12], "whenev": [0, 1, 2, 5], "thei": [0, 2, 5, 6, 7, 9, 11, 12, 14, 17], "want": [0, 1, 5, 6, 7, 9, 12, 14, 17], "advantag": [0, 7, 11], "maintain": [0, 5, 9, 12], "db": [0, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17], "api": [0, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17], "semant": [0, 6], "view": [0, 1, 5], "end": [0, 1, 2, 6, 7, 17], "all": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17], "transpar": 0, "environ": [0, 5, 9, 11, 12], "give": [0, 6, 10, 12], "modifi": [0, 2, 6, 10, 12, 14], "sqlalchemi": 0, "program": [0, 1, 4, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17], "differ": [0, 1, 2, 5, 6, 9, 11, 12, 13, 14, 16, 17], "per": [0, 1, 2, 4, 6, 12, 15, 17], "deadlock": [0, 5, 12], "befor": [0, 1, 2, 4, 5, 6, 7, 9, 12, 14, 17], "therefor": [0, 6], "advis": [0, 6, 9, 17], "avoid": [0, 1, 7, 12], "share": [0, 1, 7, 8, 11, 12, 13, 17], "between": [0, 1, 3, 4, 6, 11, 12, 17], "friendli": [0, 8], "lock": [0, 1, 4, 12, 17], "synchron": [0, 6], "g": [0, 1, 2, 4, 5, 6, 7, 9, 11, 12, 14, 17], "pool": [0, 1, 7, 8, 12], "possibli": [0, 12], "wait_select": [0, 5, 6, 7, 12], "boil": 0, "down": 0, "singl": [0, 1, 2, 5, 6, 7, 11, 13, 14, 17], "out": [0, 2, 6, 8, 9, 11, 12, 17], "scope": [0, 5, 6, 17], "ti": 0, "detail": [0, 1, 2, 5, 6, 7, 9, 10, 11, 12, 17], "psycogreen": 0, "project": [0, 12], "inform": [0, 1, 5, 6, 7, 9, 11, 12], "compat": [0, 1, 2, 4, 5, 6, 9, 12], "modern": [0, 12], "built": [0, 5, 7, 9, 12, 17], "top": 0, "both": [0, 1, 2, 5, 6, 8, 11, 12, 17], "add": [0, 5, 6, 9, 12, 17], "featur": [0, 4, 6, 8, 9, 12, 15, 17], "stream": [0, 6, 9, 17], "sure": [0, 6, 7, 9, 12, 17], "permit": 0, "postgr": [0, 1, 2, 5, 9, 11, 17], "pg_hba": 0, "conf": [0, 12], "reload": 0, "configur": [0, 1, 4, 5, 9, 12, 15, 17], "wal_level": 0, "max_wal_send": 0, "max_replication_slot": 0, "greater": [0, 11, 17], "zero": [0, 11], "restart": 0, "psycopg2_test": [0, 9], "Then": 0, "quickli": 0, "product": [0, 9, 10], "intend": [0, 1], "demo": 0, "__future__": 0, "print_funct": 0, "sy": [0, 2], "dbname": [0, 1, 5, 9, 11, 17], "connection_factori": [0, 5, 6, 11, 12], "logicalreplicationconnect": [0, 6], "test_decod": [0, 6], "textual": [0, 2, 3], "start_repl": [0, 6, 12], "slot_nam": [0, 6], "pytest": 0, "decod": [0, 1, 2, 5, 6, 7, 12, 17], "programmingerror": [0, 1, 2, 4, 5, 6, 11, 12, 15, 17], "create_replication_slot": [0, 6], "output_plugin": [0, 6], "democonsum": 0, "__call__": [0, 6], "msg": [0, 6], "send_feedback": [0, 6], "flush_lsn": [0, 6], "data_start": [0, 6], "press": 0, "stderr": [0, 9], "consume_stream": [0, 6, 12], "keyboardinterrupt": [0, 6, 7], "close": [0, 1, 2, 5, 7, 12, 13, 17], "slot": [0, 6], "exist": [0, 4, 6, 9, 11, 12, 14, 15, 17], "drop": [0, 1, 5, 6, 12, 16], "pg_drop_replication_slot": 0, "longer": [0, 6, 12, 17], "warn": [0, 4, 11, 12, 15], "accumul": 0, "pg_xlog": 0, "now": [0, 1, 2, 6, 7, 12, 14, 17], "normal": [0, 2, 6, 7, 12, 14, 17], "etc": [0, 1, 5, 6, 11, 12, 17], "continu": [0, 6, 12, 17], "termin": [0, 1, 4, 15, 17], "mvcc": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "encapsul": [1, 17], "factori": [1, 2, 5, 6, 8, 11, 12, 17], "among": [1, 4, 9], "safeti": [1, 2, 7, 8, 11, 12], "context": [1, 2, 5, 6, 12, 14, 17], "manag": [1, 2, 12, 17], "exit": [1, 12, 17], "success": [1, 6], "roll": [1, 17], "back": [1, 2, 6, 12, 17], "cursor": [1, 4, 5, 7, 8, 9, 11, 12, 14, 15, 16], "sql1": [1, 17], "sql2": [1, 17], "leav": [1, 2, 7, 12], "scrollabl": [1, 2, 12, 17], "withhold": [1, 2, 17], "fals": [1, 2, 5, 6, 11, 13, 17], "new": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 17], "object": [1, 2, 4, 7, 8, 12, 15], "side": [1, 2, 6, 8, 12], "otherwis": [1, 2, 5, 6, 7, 14, 17], "By": [1, 5, 6, 17], "default": [1, 2, 5, 6, 7, 11, 12, 16, 17], "declar": [1, 2, 12, 17], "scroll": [1, 2, 12, 17], "hold": [1, 5, 6, 11, 12, 16, 17], "properti": [1, 5, 6, 12, 17], "valid": [1, 5, 11, 12, 17], "identifi": [1, 5, 7, 12, 14, 17], "start": [1, 5, 6, 7, 9, 12, 17], "digit": [1, 2, 5, 6], "alphanumer": 1, "charact": [1, 2, 3, 5, 14, 17], "quot": [1, 2, 5, 6, 12, 14, 17], "were": [1, 5, 6, 7, 11, 12, 16, 17], "pend": 1, "open": [1, 5, 6, 7, 9, 12, 17], "effect": [1, 2, 5, 6, 17], "manipul": [1, 5, 17], "lost": [1, 6, 12], "immedi": [1, 2, 6, 17], "statement": [1, 2, 4, 5, 6, 7, 10, 11, 12, 14, 15], "caus": [1, 5, 6, 12], "implicit": 1, "rather": [1, 2, 3, 5, 11, 12], "del": [1, 2, 17], "unus": [1, 2, 7, 12], "forward": [1, 2, 7, 17], "appli": [1, 6, 10, 12, 17], "discard": [1, 2, 6, 7, 12, 13, 17], "wa": [1, 2, 5, 6, 7, 8, 9, 11, 12, 17], "isol": [1, 2, 8, 12, 17], "level": [1, 2, 6, 7, 8, 11, 12, 17], "explicit": [1, 7, 12], "backend": [1, 2, 5, 7, 11, 12, 17], "inappropri": 1, "uncommit": [1, 5], "middlewar": [1, 12, 17], "behav": [1, 5, 12, 17], "incorrectli": 1, "though": [1, 6, 11, 17], "dure": [1, 2, 5, 6, 7, 11, 12, 16, 17], "statu": [1, 8, 12], "status_in_transact": [1, 5], "pgbouncer": [1, 12, 17], "report": [1, 5, 6, 7, 9, 11, 12], "unclean": 1, "To": [1, 6, 9, 11], "problem": [1, 5, 8, 11, 12, 14], "ensur": [1, 12], "phase": [1, 5, 8, 12], "support": [1, 2, 4, 7, 8, 9, 11, 12, 13, 14, 15, 16], "protocol": [1, 6, 8, 12], "introductori": 1, "explan": 1, "8": [1, 2, 3, 4, 5, 6, 7, 8, 14, 17], "notsupportederror": [1, 2, 4, 5, 11, 12, 15], "older": [1, 5, 7, 12], "xid": [1, 5, 17], "format_id": [1, 5], "gtrid": [1, 5], "bqual": [1, 5], "tpc_": 1, "type": [1, 2, 8, 12, 14], "constraint": [1, 4, 15], "explain": 1, "member": [1, 5], "access": [1, 4, 5, 6, 8, 12, 15], "unpack": [1, 2, 5, 9], "item": [1, 2, 5, 6, 7, 11, 12, 14, 17], "tupl": [1, 2, 5, 6, 7, 12, 14], "tpc_begin": [1, 17], "tpc": 1, "given": [1, 2, 5, 6, 11, 12], "id": [1, 2, 5, 6, 11, 14, 17], "outsid": [1, 2, 5, 17], "noth": [1, 2, 5, 6], "last": [1, 2, 3, 6, 7, 9, 12], "status_readi": [1, 5], "furthermor": [1, 6, 17], "within": [1, 3, 5, 6, 17], "plain": [1, 5, 12], "latter": [1, 2], "tpc_recov": [1, 5, 12, 17], "tpc_prepar": [1, 17], "tpc_commit": [1, 5, 17], "tpc_rollback": [1, 5, 17], "reset": [1, 12], "restor": [1, 12], "remain": [1, 2, 5, 17], "finish": [1, 5], "prior": 1, "choos": [1, 12, 17], "do": [1, 2, 3, 7, 10, 12, 17], "global": [1, 5, 6, 7, 17], "invalid": [1, 4, 12, 14, 15, 17], "recoveri": [1, 17], "On": [1, 6, 17], "repres": [1, 3, 5, 6, 7, 11, 12, 14, 17], "initi": [1, 4, 6, 7, 12, 15], "usabl": [1, 17], "algorithm": [1, 5], "jdbc": [1, 17], "driver": [1, 17], "encod": [1, 2, 5, 6, 7, 12, 17], "xa": [1, 5, 17], "tripl": 1, "correctli": [1, 7, 9, 12, 17], "owner": [1, 5], "popul": [1, 5], "pg_prepared_xact": 1, "export": [1, 2, 5, 9, 11, 12, 17], "addit": [1, 3, 8, 10], "integ": [1, 2, 5, 6, 7, 11, 12, 14, 17], "nonzero": 1, "broken": [1, 7, 12], "cancel": [1, 5, 6, 7, 12], "interrupt": [1, 7, 12], "long": [1, 7, 11, 12, 17], "button": 1, "push": 1, "ui": 1, "querycancelederror": [1, 5, 7, 12], "guarante": [1, 5], "succe": 1, "pqcancel": 1, "eventu": [1, 6, 13, 14, 17], "revert": [1, 5], "recov": [1, 5, 7], "12": [1, 4, 6, 17], "password": [1, 5, 11, 12], "obscur": 1, "isolation_level": [1, 12], "readonli": [1, 12], "deferr": [1, 12], "more": [1, 2, 4, 5, 6, 8, 9, 10, 11, 12, 14, 17], "next": [1, 2, 6, 12], "liter": [1, 6, 12, 14, 17], "repeat": [1, 5, 6, 12, 14, 17], "serializ": [1, 5], "equival": [1, 5, 6], "constant": [1, 3, 6, 8, 11, 12, 14], "alia": [1, 5, 11, 12, 17], "default_transaction_isol": 1, "default_transaction_read_onli": 1, "default_transaction_deferr": 1, "progress": [1, 5, 17], "behaviour": [1, 5, 12], "plai": [1, 9, 12], "well": [1, 6, 9, 12, 17], "extern": [1, 4, 12, 15], "characterist": [1, 12], "untouch": [1, 14], "whatev": [1, 5, 9], "vacuum": [1, 5, 17], "dbapi": [1, 2, 12], "includ": [1, 2, 3, 4, 5, 6, 10, 12, 13, 14, 17], "action": [1, 4, 12, 15, 17], "taken": [1, 2, 17], "idl": [1, 5, 7, 17], "undesir": [1, 17], "condit": [1, 3, 4, 5, 6, 7, 12, 17], "reason": [1, 14, 17], "held": [1, 17], "tabl": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 17], "bloat": [1, 17], "live": [1, 7, 17], "soon": [1, 7, 17], "isolation_level_default": [1, 5, 12], "show": [1, 5, 17], "transaction_isol": [1, 5], "legaci": 1, "mix": [1, 7, 11, 12, 17], "respect": [1, 10, 11, 12], "phenomena": 1, "symbol": [1, 3, 5, 7, 11, 12], "enc": 1, "notic": [1, 10, 12], "foo": [1, 2, 5, 6, 7, 14, 17], "serial": [1, 5, 6, 12, 17], "primari": [1, 6, 17], "kei": [1, 6, 11, 13, 17], "pprint": 1, "index": [1, 2, 6, 7, 8, 12], "foo_pkei": 1, "n": [1, 2, 14], "sequenc": [1, 2, 5, 6, 7, 12, 14, 17], "foo_id_seq": 1, "python": [1, 2, 5, 6, 7, 11, 12, 13, 14, 16], "silent": [1, 6, 12], "leak": [1, 12], "excess": 1, "gener": [1, 4, 5, 6, 7, 10, 11, 12, 13, 14, 17], "50": [1, 6], "kept": 1, "place": [1, 6, 9, 12, 14, 17], "up": [1, 5, 6, 7, 9, 12, 17], "guard": [1, 17], "leakag": 1, "what": [1, 3, 4, 5, 7, 8, 11, 17], "log_stat": 1, "client_min_messag": 1, "log_min_duration_stat": 1, "asynchron": [1, 5, 6, 8, 11, 12], "notif": [1, 5, 8, 12], "compos": [1, 2, 6, 12, 14], "backward": [1, 2, 5, 12, 17], "connectioninfo": [1, 5], "nativ": [1, 5, 12], "undefin": [1, 7], "lobject": [1, 5, 12, 17], "new_oid": [1, 5], "new_fil": [1, 5], "lobject_factori": [1, 12], "overview": [1, 2, 5], "assign": [1, 3, 12, 17], "below": [1, 5, 9, 11], "alreadi": [1, 5, 6, 7, 9, 11, 12, 17], "mean": [1, 2, 5, 6, 7, 12, 17], "lo_import": [1, 17], "instanti": [1, 6], "w": 1, "rw": 1, "don": [1, 11, 12, 17], "b": [1, 2, 5, 7, 12, 17], "unicod": [1, 2, 5, 6, 7, 8, 12], "neither": 1, "nor": [1, 17], "relat": [1, 2, 5, 11, 12, 17], "coroutin": [1, 8, 12, 17], "librari": [1, 5, 6, 7, 8, 9, 10, 11, 12, 17], "async_": [1, 5, 11, 12], "keyword": [1, 5, 11, 12, 14], "wouldn": 1, "instal": [1, 6, 8, 12, 17], "underli": [1, 5], "interoper": [1, 2, 17], "pgconn_ptr": [1, 12], "intern": [1, 2, 4, 5, 6, 11, 12, 15], "pgconn": [1, 12], "raw": [1, 2, 6, 11, 12], "structur": [1, 2, 6, 12, 17], "ctype": [1, 2, 9, 12], "util": [1, 2], "pydll": [1, 2], "loadlibrari": [1, 2], "find_librari": [1, 2], "pq": [1, 2], "pqserververs": [1, 5], "argtyp": [1, 2], "c_void_p": [1, 2], "restyp": [1, 2], "c_int": 1, "90611": 1, "get_native_connect": [1, 12], "pycapsul": 1, "associ": [1, 2, 5, 13, 17], "capsul": [1, 12], "doc": [1, 5, 7, 10, 12], "These": [1, 5, 6], "get_transaction_statu": [1, 12], "transaction_statu": [1, 5], "pqtransactionstatu": [1, 5], "protocol_vers": [1, 5, 12], "frontend": [1, 5], "pqprotocolvers": [1, 5], "server_vers": [1, 5, 11, 12, 17], "number": [1, 2, 5, 6, 7, 8, 9, 11, 12, 14, 16], "major": [1, 5, 12], "minor": [1, 5, 12], "revis": [1, 5, 12, 17], "decim": [1, 2, 5, 6, 7, 12, 17], "80105": 1, "get_backend_pid": [1, 12], "backend_pid": [1, 5], "servic": 1, "updat": [1, 2, 6, 7, 8, 12], "your": [1, 2, 4, 5, 6, 7, 9, 10, 12, 14, 17], "belong": [1, 5], "host": [1, 5, 9, 11], "local": [1, 3, 6, 12, 16], "pqbackendpid": [1, 5], "get_parameter_statu": [1, 12], "parameter_statu": [1, 5], "potenti": [1, 12, 14], "server_encod": 1, "client_encod": 1, "is_superus": 1, "session_author": 1, "datestyl": [1, 12], "timezon": [1, 2, 5, 12, 16, 17], "integer_datetim": 1, "standard_conforming_str": [1, 5, 12], "did": [1, 2, 12], "request": [1, 5, 6, 7, 11, 12, 14], "pqparameterstatu": [1, 5], "get_dsn_paramet": [1, 12], "dsn_paramet": [1, 5], "dictionari": [1, 2, 5, 12, 17], "remov": [1, 5, 9, 10, 12], "port": [1, 5, 9, 11, 12], "5432": [1, 5, 11], "sslmode": [1, 5, 11, 12], "prefer": [1, 5, 17], "pqconninfo": [1, 5], "connect": [2, 4, 7, 8, 9, 11, 12, 14, 15, 17], "bound": [2, 6, 11, 12, 17], "lifetim": [2, 17], "done": [2, 6], "visibl": 2, "each": [2, 4, 5, 6, 7, 11, 12, 17], "sql": [2, 3, 4, 6, 7, 8, 11, 12, 15], "describ": [2, 9, 11, 12], "row": [2, 6, 11, 12], "had": [2, 14, 17], "yet": [2, 4, 5, 7, 9, 15], "retun": 2, "type_cod": [2, 5, 11, 12], "display_s": [2, 5], "actual": [2, 5, 6, 11, 12], "length": [2, 5, 12], "internal_s": [2, 5], "size": [2, 5, 6, 7, 12], "precis": [2, 5, 12, 17], "total": [2, 5, 6, 12], "signific": [2, 5], "numer": [2, 5, 6, 7, 11, 12, 17], "scale": [2, 5, 12], "count": [2, 5, 12], "fraction": [2, 5, 6, 12], "part": [2, 5, 6, 7, 14], "null_ok": [2, 5], "boolean": [2, 5, 6, 17], "henc": [2, 6], "capabl": [2, 11], "never": [2, 5, 7, 12, 17], "extend": [2, 5, 8, 10, 12, 17], "fetch": [2, 5, 6, 7, 12, 17], "even": [2, 4, 6, 7, 10, 12, 14, 17], "var": 2, "posit": [2, 5, 6, 7, 12, 14, 17], "placehold": [2, 6, 7, 12, 14, 17], "vars_list": 2, "against": [2, 5, 6, 9, 12, 17], "found": [2, 3, 4, 5, 6, 7, 11, 12, 15, 16], "mostli": [2, 8, 11, 12, 17], "rule": [2, 4, 5, 6, 14, 15], "num": [2, 6, 17], "123": [2, 6, 12], "bar": [2, 6, 7, 14, 17], "baz": [2, 6, 14], "faster": [2, 6, 12], "fast": [2, 7, 8], "helper": [2, 8], "procnam": 2, "store": [2, 5, 6, 17], "procedur": [2, 12, 17], "entri": [2, 4, 5, 7, 17], "expect": [2, 5, 6, 11, 12, 13, 17], "overload": 2, "suppli": 2, "present": [2, 11, 14], "compliant": 2, "suppos": [2, 5, 7], "consist": [2, 5, 6, 12, 13], "input": [2, 5, 11, 17], "introduc": [2, 4, 12], "11": [2, 9, 17], "exactli": [2, 16], "setinputs": 2, "complianc": [2, 5, 11], "iter": [2, 12, 14, 17], "explicitli": [2, 5, 6, 7, 12], "record": [2, 6, 9, 12, 17], "100": [2, 6, 12, 17], "abc": [2, 6, 17], "dada": 2, "over": [2, 7, 11, 12], "iters": [2, 12, 17], "roundtrip": [2, 6, 12, 17], "overhead": [2, 7, 17], "fetchmani": [2, 7, 12, 17], "arrays": 2, "determin": [2, 17], "indic": [2, 3, 6, 8, 9], "due": [2, 3, 5, 7, 11], "fewer": [2, 6], "consider": 2, "involv": [2, 6], "optim": [2, 12, 14], "best": [2, 8], "retain": [2, 6], "fetchal": [2, 6, 9, 17], "rel": [2, 14], "offset": [2, 5, 12, 16, 17], "absolut": [2, 5], "target": [2, 17], "indexerror": 2, "catch": [2, 4, 11, 17], "1000": [2, 12], "deal_with_it": 2, "move": [2, 12, 17], "tell": [2, 5, 9], "u": [2, 9, 12, 17], "reliabl": [2, 6, 17], "we": [2, 12, 17], "went": 2, "network": [2, 12, 17], "2000": [2, 17], "rowcount": [2, 6, 12], "dql": 2, "like": [2, 3, 5, 9, 10, 11, 12, 14], "affect": [2, 11, 17], "dml": 2, "reserv": 2, "redefin": 2, "rownumb": [2, 12], "cannot": [2, 6, 7, 14, 17], "seen": 2, "lastrowid": [2, 12], "wasn": [2, 12], "advic": 2, "syntax": [2, 4, 5, 7, 8, 11, 12, 15, 17], "flexibl": [2, 5, 8], "bodi": 2, "statusmessag": 2, "cast": [2, 7, 8, 11, 12, 17], "most": [2, 5, 6, 7, 8, 9, 17], "tzinfo_factori": [2, 16], "zone": [2, 12], "timestamp": [2, 5, 6, 11, 12, 17], "WITH": [2, 4, 12, 15, 17], "tzinfo": [2, 8, 12, 17], "datetim": [2, 5, 6, 11, 12, 16, 17], "previosli": 2, "tz": [2, 7, 8, 12, 17], "fixedoffsettimezon": [2, 8, 12, 16, 17], "nextset": 2, "multipl": [2, 6, 12, 14], "setoutputs": 2, "effici": [2, 5, 6, 8, 9, 12, 17], "TO": [2, 7, 8, 12], "As": [2, 5, 6], "copy_from": [2, 12, 17], "sep": 2, "8192": 2, "readlin": [2, 17], "tab": 2, "buffer": [2, 6, 12, 17], "content": [2, 4, 5, 6, 8, 12, 14, 17], "assum": [2, 6, 17], "f": [2, 5, 17], "stringio": 2, "tfoo": 2, "n74": 2, "tbar": 2, "6": [2, 3, 4, 5, 6, 7, 8, 9, 17], "74": [2, 17], "io": [2, 12], "textiobas": [2, 12], "field": [2, 5, 6, 7, 12, 14, 17], "schema": [2, 4, 6, 12, 14, 15], "qualifi": [2, 5, 6, 12, 14, 17], "copy_expert": [2, 14, 17], "copy_to": [2, 12, 17], "stdout": 2, "submit": 2, "stdin": [2, 7], "dynam": [2, 5, 6, 7, 12, 14, 17], "csv": 2, "header": [2, 9, 12], "dealt": 2, "pgresult_ptr": [2, 12], "pgresult": 2, "pqcmdstatu": 2, "c_char_p": 2, "pgcode": [3, 4, 11, 12], "emit": [3, 9, 17], "five": 3, "convent": 3, "sqlstate": [3, 5, 8, 11, 12, 15], "occur": [3, 11], "less": [3, 9, 12], "across": [3, 6, 7, 12, 13], "subject": [3, 10], "invent": 3, "borrow": 3, "denot": 3, "three": [3, 7, 12, 17], "recogn": [3, 17], "abl": [3, 5, 6, 17], "infer": 3, "class_syntax_error_or_access_rule_viol": 3, "undefined_t": 3, "42p01": [3, 4, 11, 15], "15": [3, 4, 9, 12], "lookup": [3, 4, 8, 12], "keyerror": [3, 4], "ouch": 3, "aargh": 3, "14": [3, 4, 5, 17], "13": [4, 6], "attach": [4, 5, 12], "camelcas": 4, "22012": [4, 15], "division_by_zero": 4, "divisionbyzero": [4, 15], "superclass": [4, 12], "introduct": [4, 5, 6], "everyth": [4, 9], "written": [4, 5, 6, 12, 17], "integrityerror": [4, 11, 15], "detect": [4, 5, 11, 12], "duplic": 4, "specialis": 4, "uniqueviol": [4, 15], "idiomat": 4, "IN": [4, 12, 17], "exclus": 4, "nowait": 4, "errorcod": [4, 8, 11, 12], "lock_not_avail": 4, "handler": [4, 11], "locknotavail": [4, 15], "55p03": [4, 15], "here": [4, 5, 7, 10, 11, 12, 17], "02": [4, 15, 17], "No": [4, 5, 6, 7, 9, 12, 15], "02000": [4, 15], "nodata": [4, 15], "databaseerror": [4, 11, 12, 15], "02001": [4, 15], "noadditionaldynamicresultsetsreturn": [4, 15], "03": [4, 15], "Not": [4, 6, 9, 15, 17], "03000": [4, 15], "sqlstatementnotyetcomplet": [4, 15], "08": [4, 15, 17], "08000": [4, 15], "connectionexcept": [4, 15], "08001": [4, 15], "sqlclientunabletoestablishsqlconnect": [4, 15], "08003": [4, 15], "connectiondoesnotexist": [4, 15], "08004": [4, 15], "sqlserverrejectedestablishmentofsqlconnect": [4, 15], "08006": [4, 15], "connectionfailur": [4, 15], "08007": [4, 15], "transactionresolutionunknown": [4, 15], "08p01": [4, 15], "protocolviol": [4, 15], "09": [4, 15], "trigger": [4, 15], "09000": [4, 15], "triggeredactionexcept": [4, 15], "0a": [4, 15], "0a000": [4, 15], "featurenotsupport": [4, 15], "0b": [4, 15], "0b000": [4, 15], "invalidtransactioniniti": [4, 15], "0f": [4, 15], "locat": [4, 9, 15], "0f000": [4, 15], "locatorexcept": [4, 15], "0f001": [4, 15], "invalidlocatorspecif": [4, 15], "0l": [4, 15], "grantor": [4, 15], "0l000": [4, 15], "invalidgrantor": [4, 15], "0lp01": [4, 15], "invalidgrantoper": [4, 15], "0p": [4, 15], "role": [4, 15], "0p000": [4, 15], "invalidrolespecif": [4, 15], "0z": [4, 15], "diagnost": [4, 5, 9, 11, 12, 15], "0z000": [4, 15], "diagnosticsexcept": [4, 15], "0z002": [4, 15], "stackeddiagnosticsaccessedwithoutactivehandl": [4, 15], "20000": [4, 15], "casenotfound": [4, 15], "21": [4, 15, 17], "cardin": [4, 15], "violat": [4, 15], "21000": [4, 15], "cardinalityviol": [4, 15], "22": [4, 15], "22000": [4, 15], "dataexcept": [4, 15], "dataerror": [4, 11, 15], "22001": [4, 15], "stringdatarighttrunc": [4, 15], "22002": [4, 15], "nullvaluenoindicatorparamet": [4, 15], "22003": [4, 15], "numericvalueoutofrang": [4, 15], "22004": [4, 15], "nullvaluenotallow": [4, 15], "22005": [4, 15], "errorinassign": [4, 15], "22007": [4, 15], "invaliddatetimeformat": [4, 15], "22008": [4, 15], "datetimefieldoverflow": [4, 15], "22009": [4, 15], "invalidtimezonedisplacementvalu": [4, 15], "2200b": [4, 15], "escapecharacterconflict": [4, 15], "2200c": [4, 15], "invaliduseofescapecharact": [4, 15], "2200d": [4, 15], "invalidescapeoctet": [4, 15], "2200f": [4, 15], "zerolengthcharacterstr": [4, 15], "2200g": [4, 15], "mostspecifictypemismatch": [4, 15], "2200h": [4, 15], "sequencegeneratorlimitexceed": [4, 15], "2200l": [4, 15], "notanxmldocu": [4, 15], "2200m": [4, 15], "invalidxmldocu": [4, 15], "2200n": [4, 15], "invalidxmlcont": [4, 15], "2200": [4, 15], "invalidxmlcom": [4, 15], "2200t": [4, 15], "invalidxmlprocessinginstruct": [4, 15], "22010": [4, 15], "invalidindicatorparametervalu": [4, 15], "22011": [4, 15], "substringerror": [4, 15], "22013": [4, 15], "invalidprecedingorfollowings": [4, 15], "22014": [4, 15], "invalidargumentforntilefunct": [4, 15], "22015": [4, 15], "intervalfieldoverflow": [4, 15], "22016": [4, 15], "invalidargumentfornthvaluefunct": [4, 15], "22018": [4, 15], "invalidcharactervalueforcast": [4, 15], "22019": [4, 15], "invalidescapecharact": [4, 15], "2201b": [4, 15], "invalidregularexpress": [4, 15], "2201e": [4, 15], "invalidargumentforlogarithm": [4, 15], "2201f": [4, 15], "invalidargumentforpowerfunct": [4, 15], "2201g": [4, 15], "invalidargumentforwidthbucketfunct": [4, 15], "2201w": [4, 15], "invalidrowcountinlimitclaus": [4, 15], "2201x": [4, 15], "invalidrowcountinresultoffsetclaus": [4, 15], "22021": [4, 15], "characternotinrepertoir": [4, 15], "22022": [4, 15], "indicatoroverflow": [4, 15], "22023": [4, 15], "invalidparametervalu": [4, 15], "22024": [4, 15], "unterminatedcstr": [4, 15], "22025": [4, 15], "invalidescapesequ": [4, 15], "22026": [4, 15], "stringdatalengthmismatch": [4, 15], "22027": [4, 15], "trimerror": [4, 15], "2202e": [4, 15], "arraysubscripterror": [4, 15], "2202g": [4, 15], "invalidtablesamplerepeat": [4, 15], "2202h": [4, 15], "invalidtablesampleargu": [4, 15], "22030": [4, 15], "duplicatejsonobjectkeyvalu": [4, 15], "22031": [4, 15], "invalidargumentforsqljsondatetimefunct": [4, 15], "22032": [4, 15], "invalidjsontext": [4, 15], "22033": [4, 15], "invalidsqljsonsubscript": [4, 15], "22034": [4, 15], "morethanonesqljsonitem": [4, 15], "22035": [4, 15], "nosqljsonitem": [4, 15], "22036": [4, 15], "nonnumericsqljsonitem": [4, 15], "22037": [4, 15], "nonuniquekeysinajsonobject": [4, 15], "22038": [4, 15], "singletonsqljsonitemrequir": [4, 15], "22039": [4, 15], "sqljsonarraynotfound": [4, 15], "2203a": [4, 15], "sqljsonmembernotfound": [4, 15], "2203b": [4, 15], "sqljsonnumbernotfound": [4, 15], "2203c": [4, 15], "sqljsonobjectnotfound": [4, 15], "2203d": [4, 15], "toomanyjsonarrayel": [4, 15], "2203e": [4, 15], "toomanyjsonobjectmemb": [4, 15], "2203f": [4, 15], "sqljsonscalarrequir": [4, 15], "2203g": [4, 15], "sqljsonitemcannotbecasttotargettyp": [4, 15], "22p01": [4, 15], "floatingpointexcept": [4, 15], "22p02": [4, 15], "invalidtextrepresent": [4, 15], "22p03": [4, 15], "invalidbinaryrepresent": [4, 15], "22p04": [4, 15], "badcopyfileformat": [4, 15], "22p05": [4, 15], "untranslatablecharact": [4, 15], "22p06": [4, 15], "nonstandarduseofescapecharact": [4, 15], "integr": [4, 11, 15], "23000": [4, 15], "integrityconstraintviol": [4, 15], "23001": [4, 15], "restrictviol": [4, 15], "23502": [4, 15], "notnullviol": [4, 11, 15], "23503": [4, 15], "foreignkeyviol": [4, 15], "23505": [4, 15], "23514": [4, 15], "checkviol": [4, 15], "23p01": [4, 15], "exclusionviol": [4, 15], "24": [4, 6, 12, 15, 17], "24000": [4, 15], "invalidcursorst": [4, 15], "internalerror": [4, 11, 15], "25": [4, 15], "25000": [4, 15], "invalidtransactionst": [4, 15], "25001": [4, 15], "activesqltransact": [4, 15], "25002": [4, 15], "branchtransactionalreadyact": [4, 15], "25003": [4, 15], "inappropriateaccessmodeforbranchtransact": [4, 15], "25004": [4, 15], "inappropriateisolationlevelforbranchtransact": [4, 15], "25005": [4, 15], "noactivesqltransactionforbranchtransact": [4, 15], "25006": [4, 15], "readonlysqltransact": [4, 15], "25007": [4, 15], "schemaanddatastatementmixingnotsupport": [4, 15], "25008": [4, 15], "heldcursorrequiressameisolationlevel": [4, 15], "25p01": [4, 15], "noactivesqltransact": [4, 15], "25p02": [4, 15], "infailedsqltransact": [4, 15], "25p03": [4, 15], "idleintransactionsessiontimeout": [4, 15], "26": [4, 12, 15], "26000": [4, 15], "invalidsqlstatementnam": [4, 15], "27": [4, 15, 17], "27000": [4, 15], "triggereddatachangeviol": [4, 15], "28": [4, 15], "28000": [4, 15], "invalidauthorizationspecif": [4, 15], "28p01": [4, 15], "invalidpassword": [4, 15], "2b": [4, 15], "privileg": [4, 15], "2b000": [4, 15], "dependentprivilegedescriptorsstillexist": [4, 15], "2bp01": [4, 15], "dependentobjectsstillexist": [4, 15], "2d": [4, 15], "2d000": [4, 15], "invalidtransactiontermin": [4, 15], "2f": [4, 15], "routin": [4, 15], "2f000": [4, 15], "sqlroutineexcept": [4, 15], "2f002": [4, 15], "modifyingsqldatanotpermit": [4, 15], "2f003": [4, 15], "prohibitedsqlstatementattempt": [4, 15], "2f004": [4, 15], "readingsqldatanotpermit": [4, 15], "2f005": [4, 15], "functionexecutednoreturnstat": [4, 15], "34": [4, 15], "34000": [4, 15], "invalidcursornam": [4, 15], "38": [4, 15, 17], "38000": [4, 15], "externalroutineexcept": [4, 15], "38001": [4, 15], "containingsqlnotpermit": [4, 15], "38002": [4, 15], "modifyingsqldatanotpermittedext": [4, 15], "38003": [4, 15], "prohibitedsqlstatementattemptedext": [4, 15], "38004": [4, 15], "readingsqldatanotpermittedext": [4, 15], "39": [4, 15], "invoc": [4, 15], "39000": [4, 15], "externalroutineinvocationexcept": [4, 15], "39001": [4, 15], "invalidsqlstatereturn": [4, 15], "39004": [4, 15], "nullvaluenotallowedext": [4, 15], "39p01": [4, 15], "triggerprotocolviol": [4, 15], "39p02": [4, 15], "srfprotocolviol": [4, 15], "39p03": [4, 15], "eventtriggerprotocolviol": [4, 15], "3b": [4, 15], "savepoint": [4, 7, 15], "3b000": [4, 15], "savepointexcept": [4, 15], "3b001": [4, 15], "invalidsavepointspecif": [4, 15], "3d": [4, 15], "3d000": [4, 15], "invalidcatalognam": [4, 15], "3f": [4, 15], "3f000": [4, 15], "invalidschemanam": [4, 15], "40": [4, 12, 15, 17], "40000": [4, 15], "transactionrollback": [4, 15], "40001": [4, 15], "serializationfailur": [4, 15], "40002": [4, 15], "transactionintegrityconstraintviol": [4, 15], "40003": [4, 15], "statementcompletionunknown": [4, 15], "40p01": [4, 15], "deadlockdetect": [4, 15], "42000": [4, 15], "syntaxerrororaccessruleviol": [4, 15], "42501": [4, 15], "insufficientprivileg": [4, 15], "42601": [4, 15], "syntaxerror": [4, 15], "42602": [4, 15], "invalidnam": [4, 15], "42611": [4, 15], "invalidcolumndefinit": [4, 15], "42622": [4, 15], "nametoolong": [4, 15], "42701": [4, 15], "duplicatecolumn": [4, 15], "42702": [4, 15], "ambiguouscolumn": [4, 15], "42703": [4, 15], "undefinedcolumn": [4, 15], "42704": [4, 15], "undefinedobject": [4, 15], "42710": [4, 15], "duplicateobject": [4, 15], "42712": [4, 15], "duplicatealia": [4, 15], "42723": [4, 15], "duplicatefunct": [4, 15], "42725": [4, 15], "ambiguousfunct": [4, 15], "42803": [4, 15], "groupingerror": [4, 15], "42804": [4, 15], "datatypemismatch": [4, 15], "42809": [4, 15], "wrongobjecttyp": [4, 15], "42830": [4, 15], "invalidforeignkei": [4, 15], "42846": [4, 15], "cannotcoerc": [4, 15], "42883": [4, 15], "undefinedfunct": [4, 15], "428c9": [4, 15], "generatedalwai": [4, 15], "42939": [4, 15], "reservednam": [4, 15], "undefinedt": [4, 15], "42p02": [4, 15], "undefinedparamet": [4, 15], "42p03": [4, 15], "duplicatecursor": [4, 15], "42p04": [4, 15], "duplicatedatabas": [4, 15], "42p05": [4, 15], "duplicatepreparedstat": [4, 15], "42p06": [4, 15], "duplicateschema": [4, 15], "42p07": [4, 15], "duplicatet": [4, 15], "42p08": [4, 15], "ambiguousparamet": [4, 15], "42p09": [4, 15], "ambiguousalia": [4, 15], "42p10": [4, 15], "invalidcolumnrefer": [4, 15], "42p11": [4, 15], "invalidcursordefinit": [4, 15], "42p12": [4, 15], "invaliddatabasedefinit": [4, 15], "42p13": [4, 15], "invalidfunctiondefinit": [4, 15], "42p14": [4, 15], "invalidpreparedstatementdefinit": [4, 15], "42p15": [4, 15], "invalidschemadefinit": [4, 15], "42p16": [4, 15], "invalidtabledefinit": [4, 15], "42p17": [4, 15], "invalidobjectdefinit": [4, 15], "42p18": [4, 15], "indeterminatedatatyp": [4, 15], "42p19": [4, 15], "invalidrecurs": [4, 15], "42p20": [4, 15], "windowingerror": [4, 15], "42p21": [4, 15], "collationmismatch": [4, 15], "42p22": [4, 15], "indeterminatecol": [4, 15], "44": [4, 15], "44000": [4, 15], "withcheckoptionviol": [4, 15], "53": [4, 12, 15], "insuffici": [4, 15], "53000": [4, 15], "insufficientresourc": [4, 15], "53100": [4, 15], "diskful": [4, 15], "53200": [4, 15], "outofmemori": [4, 15], "53300": [4, 15], "toomanyconnect": [4, 15], "53400": [4, 15], "configurationlimitexceed": [4, 15], "54": [4, 15], "exceed": [4, 15], "54000": [4, 15], "programlimitexceed": [4, 15], "54001": [4, 15], "statementtoocomplex": [4, 15], "54011": [4, 15], "toomanycolumn": [4, 15], "54023": [4, 15], "toomanyargu": [4, 15], "55": [4, 12, 15], "prerequisit": [4, 8, 15], "55000": [4, 15], "objectnotinprerequisitest": [4, 15], "55006": [4, 15], "objectinus": [4, 15], "55p02": [4, 15], "cantchangeruntimeparam": [4, 15], "55p04": [4, 15], "unsafenewenumvalueusag": [4, 15], "57": [4, 12, 15], "intervent": [4, 15], "57000": [4, 15], "operatorintervent": [4, 15], "57014": [4, 15], "querycancel": [4, 15], "57p01": [4, 15], "adminshutdown": [4, 15], "57p02": [4, 15], "crashshutdown": [4, 15], "57p03": [4, 15], "cannotconnectnow": [4, 15], "57p04": [4, 15], "databasedrop": [4, 15], "57p05": [4, 15], "idlesessiontimeout": [4, 15], "58": [4, 12, 15], "58000": [4, 15], "systemerror": [4, 12, 15], "58030": [4, 15], "ioerror": [4, 15], "58p01": [4, 15], "undefinedfil": [4, 15], "58p02": [4, 15], "duplicatefil": [4, 15], "72": [4, 15], "snapshot": [4, 5, 15], "failur": [4, 5, 6, 9, 12, 15], "72000": [4, 15], "snapshottooold": [4, 15], "f0": [4, 15], "f0000": [4, 15], "configfileerror": [4, 15], "f0001": [4, 15], "lockfileexist": [4, 15], "hv": [4, 15], "foreign": [4, 11, 15], "med": [4, 15], "hv000": [4, 15], "fdwerror": [4, 15], "hv001": [4, 15], "fdwoutofmemori": [4, 15], "hv002": [4, 15], "fdwdynamicparametervalueneed": [4, 15], "hv004": [4, 15], "fdwinvaliddatatyp": [4, 15], "hv005": [4, 15], "fdwcolumnnamenotfound": [4, 15], "hv006": [4, 15], "fdwinvaliddatatypedescriptor": [4, 15], "hv007": [4, 15], "fdwinvalidcolumnnam": [4, 15], "hv008": [4, 15], "fdwinvalidcolumnnumb": [4, 15], "hv009": [4, 15], "fdwinvaliduseofnullpoint": [4, 15], "hv00a": [4, 15], "fdwinvalidstringformat": [4, 15], "hv00b": [4, 15], "fdwinvalidhandl": [4, 15], "hv00c": [4, 15], "fdwinvalidoptionindex": [4, 15], "hv00d": [4, 15], "fdwinvalidoptionnam": [4, 15], "hv00j": [4, 15], "fdwoptionnamenotfound": [4, 15], "hv00k": [4, 15], "fdwreplyhandl": [4, 15], "hv00l": [4, 15], "fdwunabletocreateexecut": [4, 15], "hv00m": [4, 15], "fdwunabletocreaterepli": [4, 15], "hv00n": [4, 15], "fdwunabletoestablishconnect": [4, 15], "hv00p": [4, 15], "fdwnoschema": [4, 15], "hv00q": [4, 15], "fdwschemanotfound": [4, 15], "hv00r": [4, 15], "fdwtablenotfound": [4, 15], "hv010": [4, 15], "fdwfunctionsequenceerror": [4, 15], "hv014": [4, 15], "fdwtoomanyhandl": [4, 15], "hv021": [4, 15], "fdwinconsistentdescriptorinform": [4, 15], "hv024": [4, 15], "fdwinvalidattributevalu": [4, 15], "hv090": [4, 15], "fdwinvalidstringlengthorbufferlength": [4, 15], "hv091": [4, 15], "fdwinvaliddescriptorfieldidentifi": [4, 15], "p0": [4, 15], "pl": [4, 15, 17], "pgsql": [4, 12, 15, 17], "p0000": [4, 15], "plpgsqlerror": [4, 15], "p0001": [4, 15], "raiseexcept": [4, 15], "p0002": [4, 15], "nodatafound": [4, 15], "p0003": [4, 15], "toomanyrow": [4, 15], "p0004": [4, 15], "assertfailur": [4, 15], "xx": [4, 15], "xx000": [4, 15], "internalerror_": [4, 15], "xx001": [4, 15], "datacorrupt": [4, 15], "xx002": [4, 15], "indexcorrupt": [4, 15], "minimum": [5, 17], "Their": 5, "introspect": 5, "chunk": [5, 7, 12], "file_nam": 5, "lo_export": [5, 17], "seek": 5, "whenc": 5, "2gb": [5, 12, 17], "truncat": [5, 11, 12], "len": [5, 14], "later": [5, 6, 10, 12, 14, 17], "lo_trunc": [5, 7], "64": [5, 7, 12, 17], "bit": [5, 7, 12, 17], "resp": 5, "runtim": [5, 7, 12], "fail": [5, 7, 11, 12, 17], "faq": [5, 6, 7, 9], "unlink": 5, "pqdb": 5, "pquser": 5, "pqpass": 5, "ip": 5, "address": [5, 6, 11, 12], "directori": [5, 6, 7, 9, 10, 12], "path": [5, 7, 9, 12, 17], "unix": [5, 9, 11], "distinguish": 5, "pqhost": 5, "int": [5, 6, 12, 17], "pqport": 5, "line": [5, 7, 9, 11, 12, 17], "pqoption": 5, "dict": [5, 6, 12, 17], "weren": 5, "pqstatu": 5, "unknown": [5, 17], "00": [5, 12, 17], "90305": 5, "100002": 5, "error_messag": 5, "recent": [5, 7, 9, 12], "pqerrormessag": 5, "pqsocket": 5, "needs_password": 5, "authent": [5, 11], "bool": [5, 17], "pqconnectionneedspassword": 5, "used_password": 5, "pqconnectionusedpassword": 5, "ssl_in_us": 5, "ssl": [5, 7, 9], "pqsslinus": 5, "ssl_attribut": 5, "ssl_attribute_nam": 5, "pqsslattribut": 5, "pqsslattributenam": 5, "kwarg": [5, 6, 11, 13, 14], "namedtupl": [5, 12, 17], "decid": 5, "computation": 5, "intens": 5, "compil": [5, 8, 9, 11, 12], "flag": [5, 6, 9, 17], "builtin": [5, 6, 12, 17], "neg": [5, 12, 17], "pqfsize": 5, "table_oid": [5, 12], "pg_class": 5, "pqftabl": 5, "table_column": [5, 12], "pg_attribut": 5, "attnum": 5, "pqftablecol": 5, "static": [5, 9, 12], "from_str": 5, "unpars": [5, 7, 17], "invers": 5, "branch": [5, 17], "distinct": 5, "format": [5, 6, 7, 11, 12, 14, 17], "32": [5, 6, 17], "who": [5, 12], "diag": [5, 11], "pqresulterrorfield": 5, "pg_diag_sever": 5, "column_nam": 5, "constraint_nam": 5, "datatype_nam": 5, "internal_posit": 5, "internal_queri": 5, "message_detail": 5, "message_hint": 5, "message_primari": [5, 11], "schema_nam": 5, "severity_nonloc": [5, 12], "source_fil": 5, "source_funct": 5, "source_lin": 5, "statement_posit": 5, "table_nam": [5, 14], "inspir": [5, 17], "deal": [5, 6, 12, 17], "obj": [5, 6], "complex": [5, 6], "recurs": 5, "compon": [5, 6, 17], "often": [5, 17], "task": 5, "onc": [5, 6, 9, 12, 17], "wrapped_object": 5, "necessari": [5, 12, 14, 17], "enough": [5, 12], "_wrap": 5, "constructor": [5, 6, 8, 12, 16], "sql_in": [5, 12], "quotedstr": [5, 12], "enclos": 5, "appear": [5, 17], "escap": [5, 7, 12, 14, 17], "doubl": [5, 12, 14, 17], "backslash": [5, 12], "too": [5, 7, 9, 12, 14, 17], "reilli": [5, 17], "binari": [5, 6, 7, 11, 12], "plu": [5, 11, 12], "printabl": 5, "char": [5, 11, 12], "x00": 5, "x08": 5, "x0f": 5, "000": 5, "010": 5, "017": 5, "_psycopg": [5, 6, 7, 9, 12], "special": [5, 6, 10, 11, 12, 17], "datefrompi": [5, 17], "timefrompi": 5, "timestampfrompi": 5, "intervalfrompi": 5, "caster": [5, 6, 12, 17], "signatur": [5, 6], "fun": 5, "usag": [5, 8, 9, 12], "base_cast": 5, "typarrai": 5, "desir": [5, 6], "just": [5, 6, 9, 12], "macaddr": [5, 6], "1040": 5, "string_typ": 5, "trap": [5, 11, 12], "transactionrollbackerror": [5, 12], "origin": [5, 6, 10, 12], "hook": 5, "get_wait_callback": 5, "libpq_vers": [5, 11, 12], "load": [5, 6, 7, 11, 12], "lesser": [5, 6, 10], "__libpq_version__": [5, 8, 11, 12], "pqlibvers": 5, "make_dsn": [5, 12], "put": [5, 12, 13], "merg": [5, 6, 12, 14, 17], "overrid": [5, 6, 12], "far": 5, "parse_dsn": [5, 11, 12], "concern": 5, "com": [5, 12], "s3cr3t": 5, "uri": [5, 12], "secret": [5, 11], "someon": 5, "somedb": 5, "connect_timeout": 5, "pqconninfopars": 5, "quote_id": [5, 12, 14], "pqescapeidentifi": 5, "encrypt_password": [5, 12], "encrypt": 5, "cleartext": 5, "md5": 5, "least": [5, 6, 7, 11, 12, 17], "password_encrypt": 5, "pqencryptpasswordconn": 5, "pqencryptpassword": 5, "typic": [5, 6, 17], "isolation_level_read_uncommit": 5, "model": [5, 17], "stricter": 5, "isolation_level_read_commit": 5, "began": 5, "isolation_level_repeatable_read": 5, "howev": [5, 14, 17], "retri": 5, "stabl": [5, 12], "necessarili": [5, 11], "isolation_level_serializ": 5, "strictest": 5, "monitor": 5, "inconsist": [5, 12], "those": 5, "pyscopg": 5, "transaction_status_idl": 5, "transaction_status_act": 5, "transaction_status_intran": 5, "transaction_status_inerror": 5, "transaction_status_unknown": 5, "find": [5, 6, 7, 9, 12, 17], "shown": 5, "status_begin": 5, "status_prepar": 5, "enum": 5, "postgrespollingstatustyp": 5, "poll_error": 5, "relev": [5, 7], "unicodearrai": [5, 7, 17], "date": [5, 6, 9, 11, 12], "interv": [5, 6, 12, 17], "longinteg": 5, "rowid": [5, 11], "binaryarrai": 5, "booleanarrai": 5, "bytesarrai": [5, 7, 17], "datearrai": 5, "datetimearrai": 5, "decimalarrai": 5, "floatarrai": 5, "integerarrai": 5, "intervalarrai": 5, "longintegerarrai": 5, "rowidarrai": 5, "stringarrai": 5, "timearrai": 5, "pydat": 5, "pydatetim": 5, "pydatetimetz": 5, "pyinterv": 5, "pytim": 5, "pydatearrai": 5, "pydatetimearrai": 5, "pydatetimetzarrai": 5, "pyintervalarrai": 5, "pytimearrai": 5, "py": [5, 9, 12], "mx": [5, 12], "datetimetz": 5, "littl": [6, 7, 12], "distribut": [6, 9, 10, 12, 17], "behavior": 6, "altern": [6, 7, 8, 9, 12, 17], "off": [6, 11, 12], "dict_cur": 6, "dictcursor": [6, 12], "rec": 6, "dictconnect": 6, "veri": [6, 7, 9, 11], "dictrow": [6, 12], "realdictcursor": [6, 12], "extrem": [6, 17], "realdictconnect": [6, 12], "realdictrow": [6, 12], "namedtuplecursor": [6, 12], "element": [6, 12, 14, 17], "nt_cur": 6, "namedtupleconnect": 6, "loggingconnect": [6, 12], "filter": 6, "overwrit": 6, "unwant": 6, "logobj": 6, "loggeradapt": [6, 12], "mintimeloggingconnect": 6, "overwritten": 6, "mintim": 6, "mintimeloggingcursor": [6, 12], "companion": 6, "topic": [6, 8], "replication_log": 6, "replication_phys": 6, "logic": 6, "log_conn": 6, "log_cur": 6, "physicalreplicationconnect": 6, "physic": 6, "phys_conn": 6, "phys_cur": 6, "replicationcursor": [6, 12], "individu": 6, "replicationmessag": 6, "read_messag": 6, "data_s": 6, "lsn": 6, "wal_end": [6, 12], "wal": 6, "send_tim": 6, "moment": 6, "correspond": 6, "slot_typ": 6, "plugin": [6, 12], "disallow": 6, "logical1": 6, "physical1": 6, "slot1": 6, "drop_replication_slot": 6, "start_lsn": 6, "timelin": 6, "status_interv": 6, "hexadecim": 6, "xxx": 6, "histori": 6, "feedback": 6, "packet": 6, "hand": [6, 17], "replai": 6, "flush": [6, 12], "confirm": [6, 12], "oldest": 6, "might": [6, 12], "recycl": 6, "verifi": [6, 9, 17], "exact": [6, 16], "period": [6, 12], "prevent": 6, "disconnect": [6, 11, 12], "construct": [6, 11], "start_replication_expert": [6, 12], "consum": [6, 17], "incom": 6, "around": [6, 9, 12], "full": [6, 12], "keepalive_interv": [6, 12], "callabl": [6, 11], "keepal": [6, 12], "enter": 6, "endless": 6, "throw": [6, 12], "stoprepl": 6, "unhandl": [6, 12], "sketch": 6, "logicalstreamconsum": 6, "process_messag": 6, "constantli": 6, "appropri": [6, 12, 17], "lead": [6, 17], "disk": 6, "segment": 6, "write_lsn": 6, "apply_lsn": 6, "repli": 6, "forc": [6, 12], "predat": 6, "warm": 6, "standbi": 6, "master": 6, "slave": 6, "regardless": [6, 9], "certain": [6, 12, 17], "reach": 6, "low": 6, "benefici": 6, "particular": [6, 10, 11, 17], "iff": 6, "repeatedli": [6, 12], "io_timestamp": 6, "direct": [6, 7], "feedback_timestamp": 6, "total_second": 6, "sel": 6, "max": [6, 17], "interruptederror": 6, "recalcul": 6, "intention": 6, "inherit": [6, 11, 12, 14], "occurr": 6, "jsonb": [6, 7, 12], "workaround": 6, "box": [6, 8], "text": [6, 12, 17], "register_json": [6, 7], "jsondata": 6, "op": [6, 7, 12], "register_default_json": [6, 7], "lambda": [6, 7], "register_hstor": [6, 12], "clobber": [6, 12], "care": [6, 9, 17], "dump": 6, "simplejson": 6, "myjson": 6, "register_default_jsonb": 6, "parse_float": 6, "Or": 6, "ultrajson": 6, "ujson": 6, "conn_or_cur": 6, "array_oid": [6, 7], "chosen": [6, 12], "fix": [6, 12, 16], "embed": 6, "greatli": [6, 9], "improv": [6, 12, 16], "capac": 6, "gist": 6, "gin": 6, "search": [6, 8, 12], "pair": 6, "btree": 6, "equal": [6, 11], "uniqu": 6, "disabl": [6, 9], "regtyp": 6, "analog": 6, "contrib": 6, "public": [6, 10, 12], "register_composit": [6, 12, 17], "collect": [6, 12], "card": 6, "AS": [6, 17], "suit": [6, 8], "compositecast": 6, "0x": 6, "heart": 6, "nest": [6, 7], "card_back": 6, "face": 6, "blue": 6, "dictcomposit": 6, "zip": 6, "attnam": 6, "attr": 6, "help": [6, 9, 12], "atttyp": 6, "register_rang": [6, 12], "lower": 6, "upper": 6, "unbound": [6, 12], "whether": 6, "immut": 6, "hashabl": 6, "evalu": [6, 14], "nonempti": 6, "sort": [6, 14], "although": [6, 7], "particularli": 6, "meanging": 6, "meant": [6, 9, 14], "compar": [6, 11, 16], "typeerror": 6, "numericrang": 6, "isempti": 6, "lower_inc": 6, "upper_inc": 6, "lower_inf": 6, "upper_inf": 6, "int4rang": 6, "int8rang": 6, "numrang": 6, "daterang": 6, "datetimerang": 6, "tsrang": 6, "datetimetzrang": 6, "tstzrang": 6, "lack": 6, "infin": [6, 12, 17], "9999": [6, 17], "31": [6, 17], "infinit": 6, "pgrang": 6, "pyrang": 6, "strict": 6, "subtyp": 6, "rangecast": 6, "inspect": [6, 12], "subtype_oid": 6, "creation": [6, 12, 16], "array_typecast": 6, "my_uuid": 6, "12345678": 6, "1234": 6, "5678": 6, "567812345678": 6, "transform": 6, "a0eebc99": 6, "9c0b": 6, "4ef8": 6, "bb6d": 6, "6bb9bd380a11": 6, "cidr": [6, 17], "ordinari": 6, "treat": [6, 17], "register_ipaddress": 6, "ipaddress": [6, 12, 17], "ipv4interfac": 6, "ipv6interfac": 6, "ipv4network": 6, "ipv6network": 6, "register_inet": 6, "deprec": [6, 11, 12, 14, 16], "develop": [6, 7, 12], "disappear": 6, "127": 6, "192": [6, 12], "168": 6, "addr": 6, "correct": [6, 7, 9, 12, 17], "NOT": [6, 7], "realli": [6, 12, 14], "imposs": [6, 12], "inject": [6, 17], "evil": 6, "charit": 6, "understat": 6, "speed": 6, "reduc": 6, "magnitud": 6, "execute_batch": [6, 12], "argslist": 6, "page_s": 6, "multi": [6, 8, 13], "conjunct": 6, "dealloc": [6, 12], "big": [6, 12], "param": [6, 12], "params_list": 6, "stmt": 6, "bring": 6, "benefit": 6, "plan": 6, "cach": [6, 7, 12, 16], "amount": [6, 17], "whole": [6, 7, 12, 17], "execute_valu": [6, 12], "templat": [6, 14], "snippet": [6, 14], "snif": 6, "maximum": [6, 13, 17], "claus": 6, "obviou": 6, "candid": 6, "v1": 6, "v2": 6, "sigint": 6, "ctrl": [6, 7, 12], "gotcha": 7, "encount": [7, 11], "feel": 7, "free": [7, 10, 12, 13], "suggest": [7, 12], "answer": 7, "googl": [7, 9], "haven": 7, "mail": [7, 9, 12], "bug": [7, 9, 12], "tracker": [7, 9], "piro": [7, 12], "grumpi": 7, "why": 7, "abort": [7, 12, 17], "ignor": [7, 12], "anyth": [7, 17], "seem": [7, 12], "harsh": [7, 12], "rememb": [7, 12, 17], "multiprocess": [7, 12, 17], "fork": [7, 17], "child": 7, "adapt": [7, 9, 10, 11, 12, 14], "my": 7, "sai": 7, "d": [7, 17], "wrong": [7, 11, 12, 17], "And": 7, "comma": [7, 14, 17], "utf": [7, 12], "magic": 7, "formula": 7, "trick": 7, "gori": 7, "dec2float": 7, "json": [7, 12, 17], "easiest": 7, "3802": 7, "3807": 7, "my_tabl": [7, 14], "hex": [7, 12, 17], "bytea": [7, 12, 17], "earlier": 7, "solv": [7, 12], "own": [7, 9, 12], "parser": [7, 12], "bytea_output": [7, 17], "upgrad": [7, 9, 12], "save": [7, 16], "oppos": 7, "lightweight": 7, "lot": [7, 8, 12], "pose": 7, "kind": [7, 17], "But": 7, "memori": [7, 11, 12, 16, 17], "proport": 7, "our": 7, "almost": [7, 12], "dispos": [7, 17], "old": [7, 9, 12], "anymor": [7, 11, 12, 17], "tight": 7, "bunch": 7, "slow": [7, 12], "think": [7, 9], "tcp": [7, 12], "good": [7, 12], "left": [7, 14, 17], "disadvantag": 7, "small": [7, 12, 16], "skip": 7, "unrespons": 7, "cnn": 7, "traceback": 7, "again": [7, 9, 12, 13], "fine": 7, "packag": [7, 12], "proven": 7, "unreli": 7, "quick": [7, 8], "h": [7, 9, 10, 12], "am": 7, "miss": [7, 9, 12], "dev": [7, 9], "python3": [7, 9], "fe": [7, 9], "importerror": 7, "year": [7, 11], "lo_truncate64": 7, "ldd": [7, 9], "grep": 7, "pg_config": [7, 9, 12], "mod_wsgi": [7, 12], "asp": 7, "egg": 7, "easy_instal": 7, "unabl": 7, "env": 7, "python_egg_cach": 7, "modwsgi": 7, "wsgipythonegg": 7, "popular": 8, "languag": [8, 9, 17], "Its": 8, "main": [8, 9, 12, 17], "heavili": 8, "destroi": [8, 12, 17], "secur": [8, 14], "thank": [8, 12], "apilevel": [8, 11], "threadsafeti": [8, 11], "paramstyl": [8, 11], "advanc": [8, 12], "replic": [8, 12], "definit": 8, "miscellan": [8, 12], "goodi": 8, "composit": [8, 12, 17], "localtimezon": [8, 16], "abstractconnectionpool": [8, 13], "simpleconnectionpool": [8, 13], "threadedconnectionpool": [8, 13], "frequent": 8, "ask": 8, "question": 8, "meta": 8, "practic": [8, 9, 17], "licens": [8, 12], "lgpl": 8, "page": [8, 17], "offici": [9, 12], "quickest": 9, "wheel": [9, 12], "pypi": 9, "pip": [9, 12], "pre": [9, 12], "my_data": 9, "beginn": 9, "meet": 9, "publish": [9, 10, 17], "shouldn": [9, 17], "libssl": 9, "conflict": 9, "under": [9, 10, 11, 12], "segfault": [9, 12], "doubt": 9, "tri": 9, "displai": [9, 12], "txt": 9, "bugfix": [9, 12], "Of": [9, 17], "github": [9, 12], "sometim": [9, 12, 17], "streamlin": 9, "unexpect": [9, 11], "ship": 9, "right": [9, 12], "usr": 9, "lib": 9, "bin": 9, "matter": 9, "setup": [9, 12], "dll": 9, "ld_library_path": 9, "linux": [9, 12], "link": [9, 10, 12], "mismatch": 9, "cfg": [9, 12], "build_ext": 9, "pg": 9, "config": 9, "download": 9, "tar": 9, "gz": 9, "edit": 9, "psycopg_debug": [9, 12], "copiou": 9, "matur": 9, "cpython": 9, "jython": 9, "ironpython": 9, "coupl": [9, 12], "cffi": 9, "align": 9, "unittest": 9, "defaulttest": 9, "test_suit": 9, "verbos": 9, "psycopg2_testdb": 9, "psycopg2_testdb_host": 9, "psycopg2_testdb_port": 9, "psycopg2_testdb_us": 9, "especi": [9, 17], "week": 9, "discov": 9, "ticket": [9, 12], "complain": 9, "blog": 9, "twitter": 9, "worst": 9, "ever": 9, "qualiti": 9, "figur": 9, "archflag": 9, "starbuck": 9, "softwar": [10, 12], "redistribut": 10, "term": 10, "gnu": 10, "foundat": 10, "hope": 10, "warranti": 10, "impli": [10, 17], "merchant": 10, "fit": [10, 12], "FOR": [10, 17], "purpos": 10, "copyright": 10, "holder": 10, "permiss": 10, "openssl": [10, 12], "combin": 10, "obei": 10, "oblig": 10, "delet": 10, "along": 10, "http": [10, 12], "www": 10, "org": 10, "bsd": 10, "pattern": [10, 17], "microprotocol": [10, 12], "grant": 10, "anyon": 10, "commerci": 10, "alter": 10, "freeli": 10, "restrict": 10, "misrepres": 10, "claim": 10, "wrote": 10, "acknowledg": 10, "appreci": 10, "plainli": 10, "mark": [10, 12], "preced": [11, 12], "marker": 11, "pyformat": 11, "90100": 11, "standarderror": 11, "consid": [11, 12], "pgerror": [11, 12], "barf": 11, "divis": 11, "rang": [11, 12, 17], "alloc": [11, 12, 17], "sync": [11, 12], "turn": [11, 12], "layout": [11, 12], "__": [11, 14], "section": 11, "verbatim": 11, "accur": 11, "tool": [11, 12, 17], "destin": 11, "blob": [11, 17], "untyp": 11, "overcom": 11, "accordingli": [11, 12], "hint": 11, "singleton": 11, "month": 11, "dai": [11, 17], "hour": [11, 17], "minut": [11, 12, 16, 17], "stamp": 11, "datefromtick": 11, "tick": 11, "epoch": 11, "timefromtick": [11, 12], "timestampfromtick": [11, 12], "fromtick": 11, "variant": [11, 12], "1497": 12, "1r": 12, "search_path": 12, "1487": 12, "pg_servic": 12, "common": [12, 14, 17], "1365": 12, "1q": 12, "alpin": 12, "musl": 12, "1392": 12, "maco": 12, "arm64": 12, "appl": 12, "m1": 12, "1482": 12, "valueerror": 12, "y10k": 12, "1307": 12, "preliminari": 12, "1376": 12, "1386": 12, "1l": 12, "1388": 12, "regress": 12, "1291": 12, "941": 12, "1272": 12, "08xxx": 12, "reclassifi": 12, "1148": 12, "dir": 12, "1200": 12, "1198": 12, "1197": 12, "599": 12, "manylinux2014": 12, "tag": 12, "i686": 12, "x86_64": 12, "platform": [12, 16], "manylinux_2_24": 12, "aarch64": 12, "ppc64le": 12, "1k": 12, "1250": 12, "refcount": 12, "initialis": 12, "1252": 12, "1267": 12, "1101": 12, "mxdatetim": 12, "virtualenv": 12, "996": 12, "1133": 12, "1141": 12, "arm": 12, "architectur": 12, "1125": 12, "1g": 12, "1019": 12, "1026": 12, "slice": 12, "1034": 12, "aix": 12, "1061": 12, "1073": 12, "854": 12, "swallow": 12, "keyboard": 12, "898": 12, "940": 12, "inclus": 12, "951": 12, "overflow": 12, "961": 12, "1d": 12, "interval_statu": 12, "913": 12, "928": 12, "884": 12, "1b": 12, "543": 12, "836": 12, "886": 12, "887": 12, "682": 12, "576": 12, "835": 12, "661": 12, "variou": 12, "726": 12, "782": 12, "732": 12, "800": 12, "813": 12, "human": 12, "773": 12, "177": 12, "783": 12, "838": 12, "occasion": 12, "unrel": 12, "829": 12, "interspers": 12, "856": 12, "intenum": 12, "591": 12, "psycopg1": 12, "register_tstz_w_sec": 12, "persistentconnectionpool": 12, "zope": 12, "zpsycopgda": 12, "psycopg_display_s": 12, "2to3": 12, "2r": 12, "cleanup": 12, "346": 12, "384": 12, "2q": 12, "807": 12, "746": 12, "freebsd": 12, "755": 12, "hang": [12, 17], "781": 12, "788": 12, "790": 12, "794": 12, "2p": 12, "ascii": 12, "211": 12, "325": 12, "solari": 12, "deriv": 12, "smarto": 12, "illumo": 12, "677": 12, "msys2": 12, "658": 12, "679": 12, "716": 12, "2o": 12, "awai": [12, 13], "532": 12, "579": 12, "corner": 12, "580": 12, "609": 12, "613": 12, "632": 12, "633": 12, "pypy3": 12, "649": 12, "2n": 12, "infrastructur": 12, "2l": 12, "601": 12, "602": 12, "libresolv": 12, "incompat": 12, "glibc": 12, "timestamptz": [12, 17], "578": 12, "263": 12, "311": 12, "443": 12, "mistak": 12, "propag": 12, "410": 12, "528": 12, "536": 12, "vc9": 12, "window": 12, "541": 12, "544": 12, "545": 12, "547": 12, "random": 12, "550": 12, "signal": 12, "551": 12, "554": 12, "microsecond": 12, "redshift": 12, "558": 12, "562": 12, "517": 12, "518": 12, "520": 12, "308": 12, "322": 12, "oleksandr": 12, "shulgin": 12, "craig": 12, "ringer": 12, "deserv": 12, "huge": [12, 17], "321": 12, "363": 12, "35": 12, "323": 12, "326": 12, "317": 12, "343": 12, "387": 12, "359": 12, "364": 12, "381": 12, "456": 12, "codec": 12, "473": 12, "491": 12, "495": 12, "503": 12, "420": 12, "483": 12, "512": 12, "picklabl": 12, "462": 12, "489": 12, "506": 12, "281": 12, "352": 12, "331": 12, "333": 12, "348": 12, "repr": [12, 17], "uniti": 12, "361": 12, "365": 12, "setuptool": 12, "370": 12, "v": 12, "2015": 12, "380": 12, "382": 12, "412": 12, "decref": 12, "424": 12, "285": 12, "290": 12, "unlock": 12, "294": 12, "309": 12, "msvc": 12, "350": 12, "larger": 12, "blake": 12, "rous": 12, "maa": 12, "team": 12, "timetz": [12, 17], "272": 12, "191": 12, "262": 12, "pickl": [12, 16], "265": 12, "270": 12, "278": 12, "226": 12, "219": 12, "220": 12, "228": 12, "229": 12, "256": 12, "stand": 12, "alon": 12, "juggl": 12, "201": 12, "1630": 12, "git": 12, "url": 12, "18": [12, 17], "180": 12, "unsaf": 12, "assert": 12, "debug": 12, "188": 12, "discuss": 12, "arbitrari": 12, "chri": 12, "wither": 12, "193": 12, "194": 12, "adam": 12, "petrovich": 12, "diagnosi": 12, "poorli": 12, "forgot": 12, "init": 12, "195": 12, "196": 12, "sign": [12, 16], "203": 12, "210": 12, "jame": 12, "emerton": 12, "170": 12, "meaning": 12, "alexei": 12, "borzenkov": 12, "173": 12, "187": 12, "round": [12, 17], "146": 12, "comparison": 12, "164": 12, "166": 12, "gangadharan": 12, "matthew": 12, "woodcraft": 12, "149": 12, "jon": 12, "nelson": 12, "108": 12, "ronan": 12, "dunklau": 12, "tobia": 12, "oberstein": 12, "properli": 12, "148": 12, "153": 12, "repositori": 12, "corri": 12, "hain": 12, "105": 12, "gil": 12, "interpret": [12, 14], "crash": [12, 14], "manu": 12, "cupcic": 12, "110": 12, "solut": [12, 17], "113": 12, "114": 12, "zsql": 12, "125": 12, "142": 12, "131": 12, "133": 12, "135": 12, "pqgetresult": 12, "140": 12, "141": 12, "84": 12, "lo_creat": 12, "pgpool": 12, "ii": 12, "88": 12, "90": 12, "menno": 12, "smit": 12, "94": 12, "95": 12, "103": 12, "codebas": 12, "clean": 12, "gcc": 12, "analysi": 12, "reveal": 12, "uncheck": 12, "derefer": 12, "david": 12, "malcolm": 12, "assist": 12, "app": 12, "honour": 12, "80": 12, "73": 12, "82": 12, "hstore": [12, 17], "66": 12, "event": 12, "52": 12, "62": 12, "lazi": 12, "uuid": [12, 17], "marko": 12, "kreen": 12, "65": 12, "67": 12, "68": 12, "referenc": 12, "81": 12, "consecut": 12, "loss": [12, 17], "prefix": 12, "minu": 12, "dave": 12, "red": 12, "hat": 12, "711095": 12, "steve": 12, "laci": 12, "peter": 12, "eisentraut": 12, "46": 12, "vivisect": 12, "eric": 12, "snow": 12, "ryan": 12, "48": 12, "brought": 12, "euc_cn": 12, "euc_jis_2004": 12, "iso885910": 12, "iso885916": 12, "latin10": 12, "shift_jis_2004": 12, "bytearrai": [12, 17], "memoryview": [12, 17], "refus": 12, "guess": 12, "weakli": 12, "karsten": 12, "hilbert": 12, "icon": 12, "pumukel": 12, "marti": 12, "raudsepp": 12, "cento": 12, "aim": 12, "iso": 12, "gc": 12, "pqfreemem": 12, "freed": 12, "conn_get_isolation_level": 12, "bux": 12, "basicconfig": 12, "mess": 12, "anywai": 12, "utc": [12, 16, 17], "seri": 12, "jan": 12, "daniel": 12, "me": 12, "classic": 12, "browser": 12, "html": 12, "isbusi": 12, "situat": [12, 17], "59": [12, 17], "spuriou": 12, "varrazzo": 12, "nan": 12, "citizen": 12, "ecosystem": 12, "compani": 12, "peopl": [12, 14], "rant": 12, "hacker": 12, "ll": 12, "dislik": 12, "wrongli": 12, "__slots__": 12, "go": 12, "robust": [12, 17], "provok": 12, "garbag": 12, "processor": 12, "devel": 12, "inf": 12, "trip": 12, "debian": 12, "pq_complete_error": 12, "184": 12, "152": 12, "fatal": 12, "186": 12, "bc": 12, "209": 12, "dbapi20": 12, "calcul": 12, "expens": [12, 13], "infrequ": 12, "spew": 12, "win32": 12, "buglet": 12, "glitch": 12, "mutex": 12, "pyobject_head": 12, "corrupt": 12, "macro": 12, "353": 12, "zope2": 12, "ish": 12, "changelog": 12, "forget": [12, 17], "__gcc__": 12, "django": 12, "tinyerp": 12, "_without_": 12, "layer": 12, "anticip": 12, "stop": 12, "grumbl": 12, "iron": 12, "quit": 12, "solid": 12, "slightli": 12, "menu": 12, "kudo": 12, "safer": 12, "py2ex": 12, "docstr": 12, "account": 12, "renam": 12, "epydoc": 12, "bdist_rpm": 12, "brows": 12, "mscv": 12, "mingw": 12, "plug": 12, "instant": 12, "themselv": 12, "arch": 12, "ok": 12, "asprintf": 12, "mogrif": 12, "tuple_factori": 12, "row_factori": 12, "gone": 12, "core": 12, "fulli": [12, 17], "registri": 12, "fetchxxx": 12, "numericoid": 12, "isn": 12, "activ": [12, 17], "isreadi": 12, "copy_in": 12, "favor": 12, "obvious": 12, "pthread": 12, "winsock2": 12, "fill": [12, 17], "neat": 12, "dt": [12, 17], "latin": 12, "datetimedelta": 12, "__iter__": 12, "qstring": 12, "pboolean": 12, "reorgan": 12, "tree": 12, "split": 12, "stuff": 12, "autotool": 12, "pure": 13, "minconn": 13, "maxconn": 13, "getconn": 13, "putconn": 13, "closeal": 13, "accid": 14, "seriou": 14, "untrust": [14, 17], "ext": 14, "somewhat": 14, "hoc": 14, "opposit": 14, "danger": 14, "forgotten": 14, "somewher": 14, "exploit": 14, "weak": 14, "fly": 14, "clearli": 14, "pkei": 14, "my_nam": 14, "some_t": [14, 17], "as_str": 14, "field1": 14, "field2": 14, "field3": 14, "hierarchi": 14, "dot": 14, "hardcod": 14, "abstract": 14, "undergo": [14, 17], "auto": 14, "union": 14, "tbl": 14, "seq": 14, "snip": 14, "t1": 14, "t2": 14, "ba": 14, "t3": 14, "z": 14, "verion": 14, "s1": 14, "s2": 14, "s3": 14, "q1": 14, "q2": 14, "comp": 14, "joiner": 14, "interpos": 14, "east": 16, "shh": 16, "mm": 16, "timedelta": [16, 17], "idea": 16, "varchar": 17, "let": 17, "persist": 17, "an_int": 17, "a_dat": 17, "a_str": 17, "2005": 17, "another_d": 17, "resembl": 17, "subtl": 17, "delimit": 17, "insid": 17, "wherea": 17, "unescap": 17, "na\u00efv": 17, "approach": 17, "concaten": 17, "recip": 17, "terribl": 17, "WILL": 17, "miser": 17, "web": 17, "site": 17, "attack": 17, "easili": 17, "craft": 17, "malform": 17, "gain": 17, "unauthor": 17, "destruct": 17, "widespread": 17, "memo": 17, "onto": 17, "desk": 17, "stress": 17, "interpol": 17, "gunpoint": 17, "unlik": 17, "ilik": 17, "_": 17, "confus": 17, "bobbi": 17, "smallint": 17, "bigint": 17, "fairli": 17, "customiz": 17, "10l": 17, "eas": 17, "exchang": 17, "translat": 17, "\u00e0\u00e8\u00ec\u00f2\u00f9": 17, "utf8": 17, "xc3": 17, "xa0": 17, "xa8": 17, "xac": 17, "xb2": 17, "xb9": 17, "xe2": 17, "x82": 17, "latin9": 17, "xe0": 17, "xe8": 17, "xec": 17, "xf2": 17, "xf9": 17, "xa4": 17, "u20ac": 17, "uniformli": 17, "stori": 17, "neeed": 17, "mypic": 17, "pictur": 17, "png": 17, "rb": 17, "2010": 17, "425337": 17, "08t01": 17, "01": 17, "6027": 17, "k": 17, "europ": 17, "rome": 17, "45": 17, "3600": 17, "histor": 17, "nearest": 17, "asia": 17, "calcutta": 17, "1900": 17, "5h": 17, "21m": 17, "19260": 17, "19270": 17, "unfortun": 17, "bidirect": 17, "infdateadapt": 17, "min": 17, "fall": 17, "uncleanli": 17, "wide": 17, "final": 17, "proportion": 17, "dataset": 17, "examin": 17, "subsequ": 17, "100kb": 17, "decreas": 17, "reffunc": 17, "refcursor": 17, "col": 17, "plpgsql": 17, "cur1": 17, "curnam": 17, "steal": 17, "cur2": 17, "parlanc": 17, "serv": 17, "observ": 17, "deploi": 17, "fastcgi": 17, "90300": 17, "__version__": 17, "lo64": 17, "contit": 17, "exce": 17, "200": 17, "emploi": 17, "java": 17}, "objects": {"": [[1, 0, 1, "", "connection"], [2, 0, 1, "", "cursor"], [11, 3, 0, "-", "psycopg2"]], "connection": [[1, 1, 1, "", "async"], [1, 1, 1, "", "async_"], [1, 1, 1, "", "autocommit"], [1, 2, 1, "", "cancel"], [1, 2, 1, "", "close"], [1, 1, 1, "", "closed"], [1, 2, 1, "", "commit"], [1, 2, 1, "", "cursor"], [1, 1, 1, "", "cursor_factory"], [1, 1, 1, "", "deferrable"], [1, 1, 1, "", "dsn"], [1, 1, 1, "", "encoding"], [1, 2, 1, "", "fileno"], [1, 2, 1, "", "get_backend_pid"], [1, 2, 1, "", "get_dsn_parameters"], [1, 2, 1, "", "get_native_connection"], [1, 2, 1, "", "get_parameter_status"], [1, 2, 1, "", "get_transaction_status"], [1, 1, 1, "", "info"], [1, 2, 1, "", "isexecuting"], [1, 1, 1, "", "isolation_level"], [1, 2, 1, "", "lobject"], [1, 1, 1, "", "notices"], [1, 1, 1, "", "notifies"], [1, 1, 1, "", "pgconn_ptr"], [1, 2, 1, "", "poll"], [1, 1, 1, "", "protocol_version"], [1, 1, 1, "", "readonly"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "rollback"], [1, 1, 1, "", "server_version"], [1, 2, 1, "", "set_client_encoding"], [1, 2, 1, "", "set_isolation_level"], [1, 2, 1, "", "set_session"], [1, 1, 1, "", "status"], [1, 2, 1, "", "tpc_begin"], [1, 2, 1, "", "tpc_commit"], [1, 2, 1, "", "tpc_prepare"], [1, 2, 1, "", "tpc_recover"], [1, 2, 1, "", "tpc_rollback"], [1, 2, 1, "", "xid"]], "cursor": [[2, 1, 1, "", "arraysize"], [2, 2, 1, "", "callproc"], [2, 2, 1, "", "cast"], [2, 2, 1, "", "close"], [2, 1, 1, "", "closed"], [2, 1, 1, "", "connection"], [2, 2, 1, "", "copy_expert"], [2, 2, 1, "", "copy_from"], [2, 2, 1, "", "copy_to"], [2, 1, 1, "", "description"], [2, 2, 1, "", "execute"], [2, 2, 1, "", "executemany"], [2, 2, 1, "", "fetchall"], [2, 2, 1, "", "fetchmany"], [2, 2, 1, "", "fetchone"], [2, 1, 1, "", "itersize"], [2, 1, 1, "", "lastrowid"], [2, 2, 1, "", "mogrify"], [2, 1, 1, "", "name"], [2, 2, 1, "", "nextset"], [2, 1, 1, "", "pgresult_ptr"], [2, 1, 1, "", "query"], [2, 1, 1, "", "rowcount"], [2, 1, 1, "", "rownumber"], [2, 2, 1, "", "scroll"], [2, 1, 1, "", "scrollable"], [2, 2, 1, "", "setinputsizes"], [2, 2, 1, "", "setoutputsize"], [2, 1, 1, "", "statusmessage"], [2, 1, 1, "", "tzinfo_factory"], [2, 1, 1, "", "withhold"]], "psycopg2": [[11, 4, 1, "", "BINARY"], [11, 5, 1, "", "Binary"], [11, 4, 1, "", "DATETIME"], [11, 6, 1, "", "DataError"], [11, 6, 1, "", "DatabaseError"], [11, 5, 1, "", "Date"], [11, 5, 1, "", "DateFromTicks"], [11, 6, 1, "", "Error"], [11, 6, 1, "", "IntegrityError"], [11, 6, 1, "", "InterfaceError"], [11, 6, 1, "", "InternalError"], [11, 4, 1, "", "NUMBER"], [11, 6, 1, "", "NotSupportedError"], [11, 6, 1, "", "OperationalError"], [11, 6, 1, "", "ProgrammingError"], [11, 4, 1, "", "ROWID"], [11, 4, 1, "", "STRING"], [11, 5, 1, "", "Time"], [11, 5, 1, "", "TimeFromTicks"], [11, 5, 1, "", "Timestamp"], [11, 5, 1, "", "TimestampFromTicks"], [11, 6, 1, "", "Warning"], [11, 4, 1, "", "__libpq_version__"], [11, 4, 1, "", "apilevel"], [11, 5, 1, "", "connect"], [3, 3, 0, "-", "errorcodes"], [4, 3, 0, "-", "errors"], [5, 3, 0, "-", "extensions"], [6, 3, 0, "-", "extras"], [11, 4, 1, "", "paramstyle"], [13, 3, 0, "-", "pool"], [14, 3, 0, "-", "sql"], [11, 4, 1, "", "threadsafety"], [16, 3, 0, "-", "tz"]], "psycopg2.Error": [[11, 1, 1, "", "cursor"], [11, 1, 1, "", "diag"], [11, 1, 1, "", "pgcode"], [11, 1, 1, "", "pgerror"]], "psycopg2.errorcodes": [[3, 5, 1, "", "lookup"]], "psycopg2.errors": [[4, 5, 1, "", "lookup"]], "psycopg2.extensions": [[5, 0, 1, "", "AsIs"], [5, 4, 1, "", "BINARYARRAY"], [5, 4, 1, "", "BOOLEAN"], [5, 4, 1, "", "BOOLEANARRAY"], [5, 4, 1, "", "BYTES"], [5, 4, 1, "", "BYTESARRAY"], [5, 0, 1, "", "Binary"], [5, 0, 1, "", "Boolean"], [5, 0, 1, "", "Column"], [5, 0, 1, "", "ConnectionInfo"], [5, 4, 1, "", "DATE"], [5, 4, 1, "", "DATEARRAY"], [5, 4, 1, "", "DATETIMEARRAY"], [5, 4, 1, "", "DECIMAL"], [5, 4, 1, "", "DECIMALARRAY"], [5, 0, 1, "", "DateFromPy"], [5, 0, 1, "", "Diagnostics"], [5, 4, 1, "", "FLOAT"], [5, 4, 1, "", "FLOATARRAY"], [5, 0, 1, "", "Float"], [5, 4, 1, "", "INTEGER"], [5, 4, 1, "", "INTEGERARRAY"], [5, 4, 1, "", "INTERVAL"], [5, 4, 1, "", "INTERVALARRAY"], [5, 4, 1, "", "ISOLATION_LEVEL_AUTOCOMMIT"], [5, 4, 1, "", "ISOLATION_LEVEL_DEFAULT"], [5, 4, 1, "", "ISOLATION_LEVEL_READ_COMMITTED"], [5, 4, 1, "", "ISOLATION_LEVEL_READ_UNCOMMITTED"], [5, 4, 1, "", "ISOLATION_LEVEL_REPEATABLE_READ"], [5, 4, 1, "", "ISOLATION_LEVEL_SERIALIZABLE"], [5, 0, 1, "", "ISQLQuote"], [5, 0, 1, "", "IntervalFromPy"], [5, 4, 1, "", "LONGINTEGER"], [5, 4, 1, "", "LONGINTEGERARRAY"], [5, 0, 1, "", "Notify"], [5, 4, 1, "", "POLL_ERROR"], [5, 4, 1, "", "POLL_OK"], [5, 4, 1, "", "POLL_READ"], [5, 4, 1, "", "POLL_WRITE"], [5, 4, 1, "", "PYDATE"], [5, 4, 1, "", "PYDATEARRAY"], [5, 4, 1, "", "PYDATETIME"], [5, 4, 1, "", "PYDATETIMEARRAY"], [5, 4, 1, "", "PYDATETIMETZ"], [5, 4, 1, "", "PYDATETIMETZARRAY"], [5, 4, 1, "", "PYINTERVAL"], [5, 4, 1, "", "PYINTERVALARRAY"], [5, 4, 1, "", "PYTIME"], [5, 4, 1, "", "PYTIMEARRAY"], [5, 6, 1, "", "QueryCanceledError"], [5, 0, 1, "", "QuotedString"], [5, 4, 1, "", "ROWIDARRAY"], [5, 0, 1, "", "SQL_IN"], [5, 4, 1, "", "STATUS_BEGIN"], [5, 4, 1, "", "STATUS_IN_TRANSACTION"], [5, 4, 1, "", "STATUS_PREPARED"], [5, 4, 1, "", "STATUS_READY"], [5, 4, 1, "", "STRINGARRAY"], [5, 4, 1, "", "TIME"], [5, 4, 1, "", "TIMEARRAY"], [5, 4, 1, "", "TRANSACTION_STATUS_ACTIVE"], [5, 4, 1, "", "TRANSACTION_STATUS_IDLE"], [5, 4, 1, "", "TRANSACTION_STATUS_INERROR"], [5, 4, 1, "", "TRANSACTION_STATUS_INTRANS"], [5, 4, 1, "", "TRANSACTION_STATUS_UNKNOWN"], [5, 0, 1, "", "TimeFromPy"], [5, 0, 1, "", "TimestampFromPy"], [5, 6, 1, "", "TransactionRollbackError"], [5, 4, 1, "", "UNICODE"], [5, 4, 1, "", "UNICODEARRAY"], [5, 0, 1, "", "Xid"], [5, 5, 1, "", "adapt"], [5, 4, 1, "", "adapters"], [5, 0, 1, "", "connection"], [5, 0, 1, "", "cursor"], [5, 4, 1, "", "encodings"], [5, 2, 1, "", "encrypt_password"], [5, 5, 1, "", "get_wait_callback"], [5, 5, 1, "", "libpq_version"], [5, 0, 1, "", "lobject"], [5, 5, 1, "", "make_dsn"], [5, 5, 1, "", "new_array_type"], [5, 5, 1, "", "new_type"], [5, 5, 1, "", "parse_dsn"], [5, 5, 1, "", "quote_ident"], [5, 5, 1, "", "register_adapter"], [5, 5, 1, "", "register_type"], [5, 5, 1, "", "set_wait_callback"], [5, 4, 1, "", "string_types"]], "psycopg2.extensions.AsIs": [[5, 2, 1, "", "getquoted"]], "psycopg2.extensions.Binary": [[5, 2, 1, "", "getquoted"]], "psycopg2.extensions.Column": [[5, 1, 1, "", "display_size"], [5, 1, 1, "", "internal_size"], [5, 1, 1, "", "name"], [5, 1, 1, "", "null_ok"], [5, 1, 1, "", "precision"], [5, 1, 1, "", "scale"], [5, 1, 1, "", "table_column"], [5, 1, 1, "", "table_oid"], [5, 1, 1, "", "type_code"]], "psycopg2.extensions.ConnectionInfo": [[5, 1, 1, "", "backend_pid"], [5, 1, 1, "", "dbname"], [5, 1, 1, "", "dsn_parameters"], [5, 1, 1, "", "error_message"], [5, 1, 1, "", "host"], [5, 1, 1, "", "needs_password"], [5, 1, 1, "", "options"], [5, 2, 1, "", "parameter_status"], [5, 1, 1, "", "password"], [5, 1, 1, "", "port"], [5, 1, 1, "", "protocol_version"], [5, 1, 1, "", "server_version"], [5, 1, 1, "", "socket"], [5, 2, 1, "", "ssl_attribute"], [5, 1, 1, "", "ssl_attribute_names"], [5, 1, 1, "", "ssl_in_use"], [5, 1, 1, "", "status"], [5, 1, 1, "", "transaction_status"], [5, 1, 1, "", "used_password"], [5, 1, 1, "", "user"]], "psycopg2.extensions.Diagnostics": [[5, 1, 1, "", "column_name"], [5, 1, 1, "", "constraint_name"], [5, 1, 1, "", "context"], [5, 1, 1, "", "datatype_name"], [5, 1, 1, "", "internal_position"], [5, 1, 1, "", "internal_query"], [5, 1, 1, "", "message_detail"], [5, 1, 1, "", "message_hint"], [5, 1, 1, "", "message_primary"], [5, 1, 1, "", "schema_name"], [5, 1, 1, "", "severity"], [5, 1, 1, "", "severity_nonlocalized"], [5, 1, 1, "", "source_file"], [5, 1, 1, "", "source_function"], [5, 1, 1, "", "source_line"], [5, 1, 1, "", "sqlstate"], [5, 1, 1, "", "statement_position"], [5, 1, 1, "", "table_name"]], "psycopg2.extensions.ISQLQuote": [[5, 1, 1, "", "_wrapped"], [5, 2, 1, "", "getquoted"], [5, 2, 1, "", "prepare"]], "psycopg2.extensions.Notify": [[5, 1, 1, "", "channel"], [5, 1, 1, "", "payload"], [5, 1, 1, "", "pid"]], "psycopg2.extensions.QuotedString": [[5, 2, 1, "", "getquoted"]], "psycopg2.extensions.Xid": [[5, 1, 1, "", "bqual"], [5, 1, 1, "", "database"], [5, 1, 1, "", "format_id"], [5, 2, 1, "", "from_string"], [5, 1, 1, "", "gtrid"], [5, 1, 1, "", "owner"], [5, 1, 1, "", "prepared"]], "psycopg2.extensions.lobject": [[5, 2, 1, "", "close"], [5, 1, 1, "", "closed"], [5, 2, 1, "", "export"], [5, 1, 1, "", "mode"], [5, 1, 1, "", "oid"], [5, 2, 1, "", "read"], [5, 2, 1, "", "seek"], [5, 2, 1, "", "tell"], [5, 2, 1, "", "truncate"], [5, 2, 1, "", "unlink"], [5, 2, 1, "", "write"]], "psycopg2.extras": [[6, 0, 1, "", "CompositeCaster"], [6, 0, 1, "", "DateRange"], [6, 0, 1, "", "DateTimeRange"], [6, 0, 1, "", "DateTimeTZRange"], [6, 0, 1, "", "DictConnection"], [6, 0, 1, "", "DictCursor"], [6, 0, 1, "", "DictRow"], [6, 0, 1, "", "Inet"], [6, 0, 1, "", "Json"], [6, 0, 1, "", "LoggingConnection"], [6, 0, 1, "", "LoggingCursor"], [6, 0, 1, "", "LogicalReplicationConnection"], [6, 0, 1, "", "MinTimeLoggingConnection"], [6, 0, 1, "", "MinTimeLoggingCursor"], [6, 0, 1, "", "NamedTupleConnection"], [6, 0, 1, "", "NamedTupleCursor"], [6, 0, 1, "", "NumericRange"], [6, 0, 1, "", "PhysicalReplicationConnection"], [6, 4, 1, "", "REPLICATION_LOGICAL"], [6, 4, 1, "", "REPLICATION_PHYSICAL"], [6, 0, 1, "", "Range"], [6, 0, 1, "", "RangeCaster"], [6, 0, 1, "", "RealDictConnection"], [6, 0, 1, "", "RealDictCursor"], [6, 0, 1, "", "RealDictRow"], [6, 0, 1, "", "ReplicationCursor"], [6, 0, 1, "", "ReplicationMessage"], [6, 0, 1, "", "StopReplication"], [6, 0, 1, "", "UUID_adapter"], [6, 5, 1, "", "execute_batch"], [6, 5, 1, "", "execute_values"], [6, 5, 1, "", "register_composite"], [6, 5, 1, "", "register_default_json"], [6, 5, 1, "", "register_default_jsonb"], [6, 5, 1, "", "register_hstore"], [6, 5, 1, "", "register_inet"], [6, 5, 1, "", "register_ipaddress"], [6, 5, 1, "", "register_json"], [6, 5, 1, "", "register_range"], [6, 5, 1, "", "register_uuid"], [6, 5, 1, "", "wait_select"]], "psycopg2.extras.CompositeCaster": [[6, 1, 1, "", "array_oid"], [6, 1, 1, "", "attnames"], [6, 1, 1, "", "atttypes"], [6, 2, 1, "", "make"], [6, 1, 1, "", "name"], [6, 1, 1, "", "oid"], [6, 1, 1, "", "schema"], [6, 1, 1, "", "type"]], "psycopg2.extras.Json": [[6, 2, 1, "", "dumps"]], "psycopg2.extras.LoggingConnection": [[6, 2, 1, "", "filter"], [6, 2, 1, "", "initialize"]], "psycopg2.extras.MinTimeLoggingConnection": [[6, 2, 1, "", "filter"], [6, 2, 1, "", "initialize"]], "psycopg2.extras.Range": [[6, 1, 1, "", "isempty"], [6, 1, 1, "", "lower"], [6, 1, 1, "", "lower_inc"], [6, 1, 1, "", "lower_inf"], [6, 1, 1, "", "upper"], [6, 1, 1, "", "upper_inc"], [6, 1, 1, "", "upper_inf"]], "psycopg2.extras.RangeCaster": [[6, 1, 1, "", "adapter"], [6, 1, 1, "", "array_typecaster"], [6, 1, 1, "", "range"], [6, 1, 1, "", "typecaster"]], "psycopg2.extras.ReplicationCursor": [[6, 2, 1, "", "consume_stream"], [6, 2, 1, "", "create_replication_slot"], [6, 2, 1, "", "drop_replication_slot"], [6, 1, 1, "", "feedback_timestamp"], [6, 2, 1, "", "fileno"], [6, 1, 1, "", "io_timestamp"], [6, 2, 1, "", "read_message"], [6, 2, 1, "", "send_feedback"], [6, 2, 1, "", "start_replication"], [6, 2, 1, "", "start_replication_expert"], [6, 1, 1, "", "wal_end"]], "psycopg2.extras.ReplicationMessage": [[6, 1, 1, "", "cursor"], [6, 1, 1, "", "data_size"], [6, 1, 1, "", "data_start"], [6, 1, 1, "", "payload"], [6, 1, 1, "", "send_time"], [6, 1, 1, "", "wal_end"]], "psycopg2.pool": [[13, 0, 1, "", "AbstractConnectionPool"], [13, 0, 1, "", "SimpleConnectionPool"], [13, 0, 1, "", "ThreadedConnectionPool"]], "psycopg2.pool.AbstractConnectionPool": [[13, 2, 1, "", "closeall"], [13, 2, 1, "", "getconn"], [13, 2, 1, "", "putconn"]], "psycopg2.sql": [[14, 0, 1, "", "Composable"], [14, 0, 1, "", "Composed"], [14, 0, 1, "", "Identifier"], [14, 0, 1, "", "Literal"], [14, 0, 1, "", "Placeholder"], [14, 0, 1, "", "SQL"]], "psycopg2.sql.Composable": [[14, 2, 1, "", "as_string"]], "psycopg2.sql.Composed": [[14, 2, 1, "", "join"], [14, 1, 1, "", "seq"]], "psycopg2.sql.Identifier": [[14, 1, 1, "", "strings"]], "psycopg2.sql.Literal": [[14, 1, 1, "", "wrapped"]], "psycopg2.sql.Placeholder": [[14, 1, 1, "", "name"]], "psycopg2.sql.SQL": [[14, 2, 1, "", "format"], [14, 2, 1, "", "join"], [14, 1, 1, "", "string"]], "psycopg2.tz": [[16, 0, 1, "", "FixedOffsetTimezone"], [16, 0, 1, "", "LocalTimezone"]]}, "objtypes": {"0": "py:class", "1": "py:attribute", "2": "py:method", "3": "py:module", "4": "py:data", "5": "py:function", "6": "py:exception"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "attribute", "Python attribute"], "2": ["py", "method", "Python method"], "3": ["py", "module", "Python module"], "4": ["py", "data", "Python data"], "5": ["py", "function", "Python function"], "6": ["py", "exception", "Python exception"]}, "titleterms": {"more": 0, "advanc": 0, "topic": 0, "connect": [0, 1, 5, 6, 13], "cursor": [0, 2, 6, 17], "factori": 0, "adapt": [0, 5, 6, 8, 17], "new": [0, 12], "python": [0, 8, 9, 17], "type": [0, 5, 6, 7, 11, 17], "sql": [0, 5, 14, 17], "syntax": 0, "cast": [0, 5, 6], "object": [0, 5, 6, 11, 14, 17], "asynchron": 0, "notif": 0, "support": [0, 5, 6, 17], "coroutin": [0, 5, 6], "librari": 0, "replic": [0, 6], "protocol": [0, 5, 17], "logic": 0, "quick": [0, 9], "start": 0, "The": [1, 2, 11, 17], "class": [1, 2, 4, 5], "db": [1, 2, 5, 11], "api": [1, 2, 5, 11], "extens": [1, 2, 5, 11], "psycopg2": [3, 4, 5, 6, 7, 10, 11, 13, 14, 16], "errorcod": 3, "error": [3, 4], "code": 3, "defin": 3, "postgresql": [3, 4, 8, 17], "except": [4, 5, 11], "map": 4, "sqlstate": 4, "definit": 5, "databas": [5, 8], "function": 5, "addit": [5, 6], "other": 5, "isol": 5, "level": 5, "constant": [5, 17], "transact": [5, 7, 17], "statu": 5, "poll": 5, "extra": 6, "miscellan": 6, "goodi": 6, "psycopg": [6, 8, 9, 12, 16], "2": [6, 9, 12, 16], "subclass": 6, "dictionari": 6, "like": [6, 17], "real": 6, "namedtupl": 6, "log": 6, "data": 6, "json": 6, "hstore": 6, "composit": [6, 14], "rang": 6, "uuid": 6, "network": 6, "fast": 6, "execut": 6, "helper": 6, "frequent": 7, "ask": 7, "question": 7, "meta": 7, "problem": [7, 9, 17], "handl": [7, 17], "convers": 7, "best": 7, "practic": 7, "compil": 7, "instal": [7, 9], "v": 9, "binari": [9, 17], "chang": 9, "packag": 9, "between": 9, "7": [9, 12], "8": [9, 12], "prerequisit": 9, "build": 9, "runtim": 9, "requir": 9, "non": 9, "standard": 9, "creat": 9, "debug": 9, "implement": [9, 16], "run": 9, "test": 9, "suit": 9, "If": 9, "you": 9, "still": 9, "have": 9, "licens": 10, "lgpl": 10, "altern": 10, "modul": [11, 14, 17], "content": 11, "constructor": 11, "releas": 12, "note": 12, "current": 12, "what": 12, "": 12, "9": 12, "5": 12, "4": 12, "3": 12, "1": 12, "6": 12, "0": 12, "14": 12, "13": 12, "12": 12, "11": 12, "10": 12, "beta": 12, "99": 12, "pool": 13, "string": [14, 17], "usag": [14, 17], "tz": 16, "tzinfo": 16, "basic": 17, "pass": 17, "paramet": 17, "queri": 17, "valu": 17, "contain": 17, "backslash": 17, "number": 17, "unicod": 17, "date": 17, "time": 17, "zone": 17, "infinit": 17, "list": 17, "tupl": 17, "control": 17, "statement": 17, "server": 17, "side": 17, "thread": 17, "process": 17, "safeti": 17, "us": 17, "copi": 17, "TO": 17, "from": 17, "access": 17, "larg": 17, "two": 17, "phase": 17, "commit": 17}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.todo": 2, "sphinx.ext.intersphinx": 1, "sphinx": 57}, "alltitles": {"More advanced topics": [[0, "more-advanced-topics"]], "Connection and cursor factories": [[0, "connection-and-cursor-factories"]], "Adapting new Python types to SQL syntax": [[0, "adapting-new-python-types-to-sql-syntax"]], "Type casting of SQL types into Python objects": [[0, "type-casting-of-sql-types-into-python-objects"]], "Asynchronous notifications": [[0, "asynchronous-notifications"]], "Asynchronous support": [[0, "asynchronous-support"]], "Support for coroutine libraries": [[0, "support-for-coroutine-libraries"]], "Replication protocol support": [[0, "replication-protocol-support"]], "Logical replication Quick-Start": [[0, "logical-replication-quick-start"]], "The connection class": [[1, "the-connection-class"]], "DB API extension": [[1, null], [1, null], [2, null], [2, null], [2, null], [2, null], [2, null], [2, null], [2, null], [2, null], [2, null], [2, null], [11, null], [11, null], [11, null]], "The cursor class": [[2, "the-cursor-class"]], "psycopg2.errorcodes \u2013 Error codes defined by PostgreSQL": [[3, "psycopg2-errorcodes-error-codes-defined-by-postgresql"]], "psycopg2.errors \u2013 Exception classes mapping PostgreSQL errors": [[4, "psycopg2-errors-exception-classes-mapping-postgresql-errors"]], "SQLSTATE exception classes": [[4, "sqlstate-exception-classes"]], "psycopg2.extensions \u2013 Extensions to the DB API": [[5, "module-psycopg2.extensions"]], "Classes definitions": [[5, "classes-definitions"]], "SQL adaptation protocol objects": [[5, "sql-adaptation-protocol-objects"]], "Database types casting functions": [[5, "database-types-casting-functions"]], "Additional exceptions": [[5, "additional-exceptions"]], "Coroutines support functions": [[5, "coroutines-support-functions"]], "Other functions": [[5, "other-functions"]], "Isolation level constants": [[5, "isolation-level-constants"]], "Transaction status constants": [[5, "transaction-status-constants"]], "Connection status constants": [[5, "connection-status-constants"]], "Poll constants": [[5, "poll-constants"]], "Additional database types": [[5, "additional-database-types"]], "psycopg2.extras \u2013 Miscellaneous goodies for Psycopg 2": [[6, "module-psycopg2.extras"]], "Connection and cursor subclasses": [[6, "connection-and-cursor-subclasses"]], "Dictionary-like cursor": [[6, "dictionary-like-cursor"]], "Real dictionary cursor": [[6, "real-dictionary-cursor"]], "namedtuple cursor": [[6, "namedtuple-cursor"]], "Logging cursor": [[6, "logging-cursor"]], "Replication support objects": [[6, "replication-support-objects"]], "Additional data types": [[6, "additional-data-types"]], "JSON adaptation": [[6, "json-adaptation"]], "Hstore data type": [[6, "hstore-data-type"]], "Composite types casting": [[6, "composite-types-casting"]], "Range data types": [[6, "range-data-types"]], "UUID data type": [[6, "uuid-data-type"]], "Networking data types": [[6, "networking-data-types"]], "Fast execution helpers": [[6, "fast-execution-helpers"]], "Coroutine support": [[6, "coroutine-support"]], "Frequently Asked Questions": [[7, "frequently-asked-questions"]], "Meta": [[7, "meta"]], "Problems with transactions handling": [[7, "problems-with-transactions-handling"]], "Problems with type conversions": [[7, "problems-with-type-conversions"]], "Best practices": [[7, "best-practices"]], "Problems compiling and installing psycopg2": [[7, "problems-compiling-and-installing-psycopg2"]], "Psycopg \u2013 PostgreSQL database adapter for Python": [[8, "psycopg-postgresql-database-adapter-for-python"]], "Installation": [[9, "installation"]], "Quick Install": [[9, "quick-install"]], "psycopg vs psycopg-binary": [[9, "psycopg-vs-psycopg-binary"]], "Change in binary packages between Psycopg 2.7 and 2.8": [[9, "change-in-binary-packages-between-psycopg-2-7-and-2-8"]], "Prerequisites": [[9, "prerequisites"]], "Build prerequisites": [[9, "build-prerequisites"]], "Runtime requirements": [[9, "runtime-requirements"]], "Non-standard builds": [[9, "non-standard-builds"]], "Creating a debug build": [[9, "creating-a-debug-build"]], "Non-standard Python Implementation": [[9, "non-standard-python-implementation"]], "Running the test suite": [[9, "running-the-test-suite"]], "If you still have problems": [[9, "if-you-still-have-problems"]], "License": [[10, "license"]], "psycopg2 and the LGPL": [[10, "psycopg2-and-the-lgpl"]], "Alternative licenses": [[10, "alternative-licenses"]], "The psycopg2 module content": [[11, "module-psycopg2"]], "Exceptions": [[11, "exceptions"]], "Type Objects and Constructors": [[11, "type-objects-and-constructors"]], "Release notes": [[12, "release-notes"]], "Current release": [[12, "current-release"]], "What\u2019s new in psycopg 2.9.5": [[12, "what-s-new-in-psycopg-2-9-5"]], "What\u2019s new in psycopg 2.9.4": [[12, "what-s-new-in-psycopg-2-9-4"]], "What\u2019s new in psycopg 2.9.3": [[12, "what-s-new-in-psycopg-2-9-3"]], "What\u2019s new in psycopg 2.9.2": [[12, "what-s-new-in-psycopg-2-9-2"]], "What\u2019s new in psycopg 2.9.1": [[12, "what-s-new-in-psycopg-2-9-1"]], "What\u2019s new in psycopg 2.9": [[12, "what-s-new-in-psycopg-2-9"]], "What\u2019s new in psycopg 2.8.7": [[12, "what-s-new-in-psycopg-2-8-7"]], "What\u2019s new in psycopg 2.8.6": [[12, "what-s-new-in-psycopg-2-8-6"]], "What\u2019s new in psycopg 2.8.5": [[12, "what-s-new-in-psycopg-2-8-5"]], "What\u2019s new in psycopg 2.8.4": [[12, "what-s-new-in-psycopg-2-8-4"]], "What\u2019s new in psycopg 2.8.3": [[12, "what-s-new-in-psycopg-2-8-3"]], "What\u2019s new in psycopg 2.8.2": [[12, "what-s-new-in-psycopg-2-8-2"]], "What\u2019s new in psycopg 2.8.1": [[12, "what-s-new-in-psycopg-2-8-1"]], "What\u2019s new in psycopg 2.8": [[12, "what-s-new-in-psycopg-2-8"]], "What\u2019s new in psycopg 2.7.7": [[12, "what-s-new-in-psycopg-2-7-7"]], "What\u2019s new in psycopg 2.7.6.1": [[12, "what-s-new-in-psycopg-2-7-6-1"]], "What\u2019s new in psycopg 2.7.6": [[12, "what-s-new-in-psycopg-2-7-6"]], "What\u2019s new in psycopg 2.7.5": [[12, "what-s-new-in-psycopg-2-7-5"]], "What\u2019s new in psycopg 2.7.4": [[12, "what-s-new-in-psycopg-2-7-4"]], "What\u2019s new in psycopg 2.7.3.2": [[12, "what-s-new-in-psycopg-2-7-3-2"]], "What\u2019s new in psycopg 2.7.3.1": [[12, "what-s-new-in-psycopg-2-7-3-1"]], "What\u2019s new in psycopg 2.7.3": [[12, "what-s-new-in-psycopg-2-7-3"]], "What\u2019s new in psycopg 2.7.2": [[12, "what-s-new-in-psycopg-2-7-2"]], "What\u2019s new in psycopg 2.7.1": [[12, "what-s-new-in-psycopg-2-7-1"]], "What\u2019s new in psycopg 2.7": [[12, "what-s-new-in-psycopg-2-7"]], "What\u2019s new in psycopg 2.6.2": [[12, "what-s-new-in-psycopg-2-6-2"]], "What\u2019s new in psycopg 2.6.1": [[12, "what-s-new-in-psycopg-2-6-1"]], "What\u2019s new in psycopg 2.6": [[12, "what-s-new-in-psycopg-2-6"]], "What\u2019s new in psycopg 2.5.5": [[12, "what-s-new-in-psycopg-2-5-5"]], "What\u2019s new in psycopg 2.5.4": [[12, "what-s-new-in-psycopg-2-5-4"]], "What\u2019s new in psycopg 2.5.3": [[12, "what-s-new-in-psycopg-2-5-3"]], "What\u2019s new in psycopg 2.5.2": [[12, "what-s-new-in-psycopg-2-5-2"]], "What\u2019s new in psycopg 2.5.1": [[12, "what-s-new-in-psycopg-2-5-1"]], "What\u2019s new in psycopg 2.5": [[12, "what-s-new-in-psycopg-2-5"]], "What\u2019s new in psycopg 2.4.6": [[12, "what-s-new-in-psycopg-2-4-6"]], "What\u2019s new in psycopg 2.4.5": [[12, "what-s-new-in-psycopg-2-4-5"]], "What\u2019s new in psycopg 2.4.4": [[12, "what-s-new-in-psycopg-2-4-4"]], "What\u2019s new in psycopg 2.4.3": [[12, "what-s-new-in-psycopg-2-4-3"]], "What\u2019s new in psycopg 2.4.2": [[12, "what-s-new-in-psycopg-2-4-2"]], "What\u2019s new in psycopg 2.4.1": [[12, "what-s-new-in-psycopg-2-4-1"]], "What\u2019s new in psycopg 2.4": [[12, "what-s-new-in-psycopg-2-4"]], "What\u2019s new in psycopg 2.3.2": [[12, "what-s-new-in-psycopg-2-3-2"]], "What\u2019s new in psycopg 2.3.1": [[12, "what-s-new-in-psycopg-2-3-1"]], "What\u2019s new in psycopg 2.3": [[12, "what-s-new-in-psycopg-2-3"]], "What\u2019s new in psycopg 2.2.2": [[12, "what-s-new-in-psycopg-2-2-2"]], "What\u2019s new in psycopg 2.2.1": [[12, "what-s-new-in-psycopg-2-2-1"]], "What\u2019s new in psycopg 2.2": [[12, "what-s-new-in-psycopg-2-2"]], "What\u2019s new in psycopg 2.0.14": [[12, "what-s-new-in-psycopg-2-0-14"]], "What\u2019s new in psycopg 2.0.13": [[12, "what-s-new-in-psycopg-2-0-13"]], "What\u2019s new in psycopg 2.0.12": [[12, "what-s-new-in-psycopg-2-0-12"]], "What\u2019s new in psycopg 2.0.11": [[12, "what-s-new-in-psycopg-2-0-11"]], "What\u2019s new in psycopg 2.0.10": [[12, "what-s-new-in-psycopg-2-0-10"]], "What\u2019s new in psycopg 2.0.9": [[12, "what-s-new-in-psycopg-2-0-9"], [12, "id1"]], "What\u2019s new in psycopg 2.0.8": [[12, "what-s-new-in-psycopg-2-0-8"]], "What\u2019s new in psycopg 2.0.7": [[12, "what-s-new-in-psycopg-2-0-7"]], "What\u2019s new in psycopg 2.0.6": [[12, "what-s-new-in-psycopg-2-0-6"]], "What\u2019s new in psycopg 2.0.5.1": [[12, "what-s-new-in-psycopg-2-0-5-1"]], "What\u2019s new in psycopg 2.0.5": [[12, "what-s-new-in-psycopg-2-0-5"]], "What\u2019s new in psycopg 2.0.4": [[12, "what-s-new-in-psycopg-2-0-4"]], "What\u2019s new in psycopg 2.0.3": [[12, "what-s-new-in-psycopg-2-0-3"]], "What\u2019s new in psycopg 2.0.2": [[12, "what-s-new-in-psycopg-2-0-2"]], "What\u2019s new in psycopg 2.0.1": [[12, "what-s-new-in-psycopg-2-0-1"]], "What\u2019s new in psycopg 2.0": [[12, "what-s-new-in-psycopg-2-0"]], "What\u2019s new in psycopg 2.0 beta 7": [[12, "what-s-new-in-psycopg-2-0-beta-7"]], "What\u2019s new in psycopg 2.0 beta 6": [[12, "what-s-new-in-psycopg-2-0-beta-6"]], "What\u2019s new in psycopg 2.0 beta 5": [[12, "what-s-new-in-psycopg-2-0-beta-5"]], "What\u2019s new in psycopg 2.0 beta 4": [[12, "what-s-new-in-psycopg-2-0-beta-4"]], "What\u2019s new in psycopg 2.0 beta 3": [[12, "what-s-new-in-psycopg-2-0-beta-3"]], "What\u2019s new in psycopg 2.0 beta 2": [[12, "what-s-new-in-psycopg-2-0-beta-2"]], "What\u2019s new in psycopg 2.0 beta 1": [[12, "what-s-new-in-psycopg-2-0-beta-1"]], "What\u2019s new in psycopg 1.99.13": [[12, "what-s-new-in-psycopg-1-99-13"]], "What\u2019s new in psycopg 1.99.12": [[12, "what-s-new-in-psycopg-1-99-12"]], "What\u2019s new in psycopg 1.99.11": [[12, "what-s-new-in-psycopg-1-99-11"]], "What\u2019s new in psycopg 1.99.10": [[12, "what-s-new-in-psycopg-1-99-10"]], "What\u2019s new in psycopg 1.99.9": [[12, "what-s-new-in-psycopg-1-99-9"]], "What\u2019s new in psycopg 1.99.8": [[12, "what-s-new-in-psycopg-1-99-8"]], "What\u2019s new in psycopg 1.99.7": [[12, "what-s-new-in-psycopg-1-99-7"]], "What\u2019s new in psycopg 1.99.6": [[12, "what-s-new-in-psycopg-1-99-6"]], "What\u2019s new in psycopg 1.99.3": [[12, "what-s-new-in-psycopg-1-99-3"], [12, "id2"]], "What\u2019s new in psycopg 1.99.2": [[12, "what-s-new-in-psycopg-1-99-2"]], "What\u2019s new in psycopg 1.99.1": [[12, "what-s-new-in-psycopg-1-99-1"]], "What\u2019s new in psycopg 1.99.0": [[12, "what-s-new-in-psycopg-1-99-0"]], "psycopg2.pool \u2013 Connections pooling": [[13, "psycopg2-pool-connections-pooling"]], "psycopg2.sql \u2013 SQL string composition": [[14, "module-psycopg2.sql"]], "Module usage": [[14, "module-usage"]], "sql objects": [[14, "sql-objects"]], "psycopg2.tz \u2013 tzinfo implementations for Psycopg 2": [[16, "module-psycopg2.tz"]], "Basic module usage": [[17, "basic-module-usage"]], "Passing parameters to SQL queries": [[17, "passing-parameters-to-sql-queries"]], "The problem with the query parameters": [[17, "the-problem-with-the-query-parameters"]], "Values containing backslashes and LIKE": [[17, "values-containing-backslashes-and-like"]], "Adaptation of Python values to SQL types": [[17, "adaptation-of-python-values-to-sql-types"]], "Constants adaptation": [[17, "constants-adaptation"]], "Numbers adaptation": [[17, "numbers-adaptation"]], "Strings adaptation": [[17, "strings-adaptation"]], "Unicode handling": [[17, "unicode-handling"]], "Binary adaptation": [[17, "binary-adaptation"]], "Date/Time objects adaptation": [[17, "date-time-objects-adaptation"]], "Time zones handling": [[17, "time-zones-handling"]], "Infinite dates handling": [[17, "infinite-dates-handling"]], "Time handling": [[17, "time-handling"]], "Lists adaptation": [[17, "lists-adaptation"]], "Tuples adaptation": [[17, "tuples-adaptation"]], "Transactions control": [[17, "transactions-control"]], "with statement": [[17, "with-statement"]], "Server side cursors": [[17, "server-side-cursors"]], "Thread and process safety": [[17, "thread-and-process-safety"]], "Using COPY TO and COPY FROM": [[17, "using-copy-to-and-copy-from"]], "Access to PostgreSQL large objects": [[17, "access-to-postgresql-large-objects"]], "Two-Phase Commit protocol support": [[17, "two-phase-commit-protocol-support"]]}, "indexentries": {"adaptation": [[0, "index-2"], [6, "index-10"], [6, "index-8"], [6, "index-9"], [17, "index-12"], [17, "index-13"], [17, "index-3"], [17, "index-4"], [17, "index-5"], [17, "index-6"], [17, "index-8"], [17, "index-9"]], "asynchronous": [[0, "index-6"], [0, "index-7"]], "connection": [[0, "index-0"], [0, "index-7"], [1, "index-12"], [1, "index-13"], [1, "index-19"], [6, "index-3"], [11, "index-0"], [13, "index-0"]], "coroutine": [[0, "index-8"]], "creating new adapters": [[0, "index-2"]], "cursor": [[0, "index-0"], [6, "index-0"], [6, "index-1"], [6, "index-2"], [6, "index-5"], [6, "index-6"], [17, "index-16"]], "cursor subclass": [[0, "index-1"]], "data types": [[0, "index-2"], [6, "index-10"], [6, "index-11"], [6, "index-12"], [6, "index-13"], [6, "index-7"], [6, "index-8"], [6, "index-9"], [17, "index-3"]], "eventlet": [[0, "index-8"]], "example": [[0, "index-1"], [0, "index-4"], [6, "index-14"], [17, "index-0"]], "greenlet": [[0, "index-8"]], "listen": [[0, "index-6"]], "notify": [[0, "index-6"]], "notifications": [[0, "index-6"]], "objects": [[0, "index-2"], [17, "index-3"]], "pep 246": [[0, "index-3"], [5, "index-0"]], "python enhancement proposals": [[0, "index-3"], [5, "index-0"], [12, "index-1"], [12, "index-2"]], "replication": [[0, "index-9"], [6, "index-6"], [6, "index-3"], [6, "index-4"], [6, "index-5"]], "sql command": [[0, "index-6"], [17, "index-16"], [17, "index-18"]], "subclassing": [[0, "index-0"]], "type casting": [[0, "index-5"]], "types adaptation": [[0, "index-4"]], "wait callback": [[0, "index-8"]], "gevent": [[0, "index-8"]], "autocommit": [[1, "index-9"], [17, "index-14"]], "backend": [[1, "index-17"]], "client": [[1, "index-10"], [1, "index-11"]], "commit": [[1, "index-0"], [1, "index-6"], [17, "index-14"]], "encoding": [[1, "index-10"], [5, "index-2"]], "exceptions": [[1, "index-3"], [5, "index-3"], [11, "index-1"]], "in the connection class": [[1, "index-3"]], "info": [[1, "index-12"]], "isolation level": [[1, "index-9"], [5, "index-4"]], "logging": [[1, "index-11"], [6, "index-2"]], "pid": [[1, "index-17"]], "parameters": [[1, "index-18"], [1, "index-19"], [11, "index-0"], [17, "index-1"]], "pgbouncer": [[1, "index-2"]], "prepare": [[1, "index-5"]], "prepared": [[1, "index-6"], [1, "index-7"]], "protocol": [[1, "index-15"]], "recover": [[1, "index-8"]], "rollback": [[1, "index-1"], [1, "index-7"], [17, "index-14"]], "server": [[1, "index-16"], [1, "index-18"]], "status": [[1, "index-13"], [1, "index-14"]], "transaction": [[1, "index-0"], [1, "index-1"], [1, "index-14"], [1, "index-5"], [1, "index-8"], [1, "index-9"], [17, "index-14"], [17, "index-20"]], "two-phase commit": [[1, "index-4"], [17, "index-20"]], "version": [[1, "index-15"], [1, "index-16"]], "async (connection attribute)": [[1, "connection.async"]], "async_ (connection attribute)": [[1, "connection.async_"]], "autocommit (connection attribute)": [[1, "connection.autocommit"]], "cancel() (connection method)": [[1, "connection.cancel"]], "close() (connection method)": [[1, "connection.close"]], "closed (connection attribute)": [[1, "connection.closed"]], "commit() (connection method)": [[1, "connection.commit"]], "connection (built-in class)": [[1, "connection"]], "cursor() (connection method)": [[1, "connection.cursor"]], "cursor_factory (connection attribute)": [[1, "connection.cursor_factory"]], "deferrable (connection attribute)": [[1, "connection.deferrable"]], "dsn (connection attribute)": [[1, "connection.dsn"]], "encoding (connection attribute)": [[1, "connection.encoding"]], "fileno() (connection method)": [[1, "connection.fileno"]], "get_backend_pid() (connection method)": [[1, "connection.get_backend_pid"]], "get_dsn_parameters() (connection method)": [[1, "connection.get_dsn_parameters"]], "get_native_connection() (connection method)": [[1, "connection.get_native_connection"]], "get_parameter_status() (connection method)": [[1, "connection.get_parameter_status"]], "get_transaction_status() (connection method)": [[1, "connection.get_transaction_status"]], "info (connection attribute)": [[1, "connection.info"]], "isexecuting() (connection method)": [[1, "connection.isexecuting"]], "isolation_level (connection attribute)": [[1, "connection.isolation_level"]], "lobject() (connection method)": [[1, "connection.lobject"]], "methods": [[1, "index-4"]], "notices (connection attribute)": [[1, "connection.notices"]], "notifies (connection attribute)": [[1, "connection.notifies"]], "pgconn_ptr (connection attribute)": [[1, "connection.pgconn_ptr"]], "poll() (connection method)": [[1, "connection.poll"]], "protocol_version (connection attribute)": [[1, "connection.protocol_version"]], "readonly (connection attribute)": [[1, "connection.readonly"]], "reset() (connection method)": [[1, "connection.reset"]], "rollback() (connection method)": [[1, "connection.rollback"]], "server_version (connection attribute)": [[1, "connection.server_version"]], "set_client_encoding() (connection method)": [[1, "connection.set_client_encoding"]], "set_isolation_level() (connection method)": [[1, "connection.set_isolation_level"]], "set_session() (connection method)": [[1, "connection.set_session"]], "status (connection attribute)": [[1, "connection.status"]], "tpc_begin() (connection method)": [[1, "connection.tpc_begin"]], "tpc_commit() (connection method)": [[1, "connection.tpc_commit"]], "tpc_prepare() (connection method)": [[1, "connection.tpc_prepare"]], "tpc_recover() (connection method)": [[1, "connection.tpc_recover"]], "tpc_rollback() (connection method)": [[1, "connection.tpc_rollback"]], "unclean server": [[1, "index-2"]], "xid() (connection method)": [[1, "connection.xid"]], "arraysize (cursor attribute)": [[2, "cursor.arraysize"]], "callproc() (cursor method)": [[2, "cursor.callproc"]], "cast() (cursor method)": [[2, "cursor.cast"]], "close() (cursor method)": [[2, "cursor.close"]], "closed (cursor attribute)": [[2, "cursor.closed"]], "connection (cursor attribute)": [[2, "cursor.connection"]], "copy_expert() (cursor method)": [[2, "cursor.copy_expert"]], "copy_from() (cursor method)": [[2, "cursor.copy_from"]], "copy_to() (cursor method)": [[2, "cursor.copy_to"]], "cursor (built-in class)": [[2, "cursor"]], "description (cursor attribute)": [[2, "cursor.description"]], "execute() (cursor method)": [[2, "cursor.execute"]], "executemany() (cursor method)": [[2, "cursor.executemany"]], "fetchall() (cursor method)": [[2, "cursor.fetchall"]], "fetchmany() (cursor method)": [[2, "cursor.fetchmany"]], "fetchone() (cursor method)": [[2, "cursor.fetchone"]], "itersize (cursor attribute)": [[2, "cursor.itersize"]], "lastrowid (cursor attribute)": [[2, "cursor.lastrowid"]], "mogrify() (cursor method)": [[2, "cursor.mogrify"]], "name (cursor attribute)": [[2, "cursor.name"]], "nextset() (cursor method)": [[2, "cursor.nextset"]], "oid": [[2, "index-0"]], "pgresult_ptr (cursor attribute)": [[2, "cursor.pgresult_ptr"]], "query (cursor attribute)": [[2, "cursor.query"]], "rowcount (cursor attribute)": [[2, "cursor.rowcount"]], "rownumber (cursor attribute)": [[2, "cursor.rownumber"]], "scroll() (cursor method)": [[2, "cursor.scroll"]], "scrollable (cursor attribute)": [[2, "cursor.scrollable"]], "setinputsizes() (cursor method)": [[2, "cursor.setinputsizes"]], "setoutputsize() (cursor method)": [[2, "cursor.setoutputsize"]], "statusmessage (cursor attribute)": [[2, "cursor.statusmessage"]], "tzinfo_factory (cursor attribute)": [[2, "cursor.tzinfo_factory"]], "withhold (cursor attribute)": [[2, "cursor.withhold"]], "codes": [[3, "index-0"]], "error": [[3, "index-0"], [4, "index-0"], [11, "psycopg2.Error"]], "lookup() (in module psycopg2.errorcodes)": [[3, "psycopg2.errorcodes.lookup"]], "module": [[3, "module-psycopg2.errorcodes"], [4, "module-psycopg2.errors"], [5, "module-psycopg2.extensions"], [6, "module-psycopg2.extras"], [11, "module-psycopg2"], [13, "module-psycopg2.pool"], [14, "module-psycopg2.sql"], [16, "module-psycopg2.tz"]], "psycopg2.errorcodes": [[3, "module-psycopg2.errorcodes"]], "class": [[4, "index-0"]], "lookup() (in module psycopg2.errors)": [[4, "psycopg2.errors.lookup"]], "psycopg2.errors": [[4, "module-psycopg2.errors"]], "additional": [[5, "index-3"], [6, "index-7"]], "asis (class in psycopg2.extensions)": [[5, "psycopg2.extensions.AsIs"]], "binaryarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.BINARYARRAY"]], "boolean (in module psycopg2.extensions)": [[5, "psycopg2.extensions.BOOLEAN"]], "booleanarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.BOOLEANARRAY"]], "bytes (in module psycopg2.extensions)": [[5, "psycopg2.extensions.BYTES"]], "bytesarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.BYTESARRAY"]], "binary (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Binary"]], "boolean (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Boolean"]], "column (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Column"]], "connection status": [[5, "index-6"]], "connectioninfo (class in psycopg2.extensions)": [[5, "psycopg2.extensions.ConnectionInfo"]], "constants": [[5, "index-4"], [5, "index-5"], [5, "index-6"], [5, "index-7"]], "date (in module psycopg2.extensions)": [[5, "psycopg2.extensions.DATE"]], "datearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.DATEARRAY"]], "datetimearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.DATETIMEARRAY"]], "decimal (in module psycopg2.extensions)": [[5, "psycopg2.extensions.DECIMAL"]], "decimalarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.DECIMALARRAY"]], "datefrompy (class in psycopg2.extensions)": [[5, "psycopg2.extensions.DateFromPy"]], "diagnostics (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Diagnostics"]], "float (in module psycopg2.extensions)": [[5, "psycopg2.extensions.FLOAT"]], "floatarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.FLOATARRAY"]], "float (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Float"]], "integer (in module psycopg2.extensions)": [[5, "psycopg2.extensions.INTEGER"]], "integerarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.INTEGERARRAY"]], "interval (in module psycopg2.extensions)": [[5, "psycopg2.extensions.INTERVAL"]], "intervalarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.INTERVALARRAY"]], "isolation_level_autocommit (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT"]], "isolation_level_default (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_DEFAULT"]], "isolation_level_read_committed (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_READ_COMMITTED"]], "isolation_level_read_uncommitted (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_READ_UNCOMMITTED"]], "isolation_level_repeatable_read (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_REPEATABLE_READ"]], "isolation_level_serializable (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ISOLATION_LEVEL_SERIALIZABLE"]], "isqlquote (class in psycopg2.extensions)": [[5, "psycopg2.extensions.ISQLQuote"]], "intervalfrompy (class in psycopg2.extensions)": [[5, "psycopg2.extensions.IntervalFromPy"]], "longinteger (in module psycopg2.extensions)": [[5, "psycopg2.extensions.LONGINTEGER"]], "longintegerarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.LONGINTEGERARRAY"]], "mapping": [[5, "index-2"]], "notify (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Notify"]], "poll_error (in module psycopg2.extensions)": [[5, "psycopg2.extensions.POLL_ERROR"]], "poll_ok (in module psycopg2.extensions)": [[5, "psycopg2.extensions.POLL_OK"]], "poll_read (in module psycopg2.extensions)": [[5, "psycopg2.extensions.POLL_READ"]], "poll_write (in module psycopg2.extensions)": [[5, "psycopg2.extensions.POLL_WRITE"]], "pydate (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATE"]], "pydatearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATEARRAY"]], "pydatetime (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATETIME"]], "pydatetimearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATETIMEARRAY"]], "pydatetimetz (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATETIMETZ"]], "pydatetimetzarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYDATETIMETZARRAY"]], "pyinterval (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYINTERVAL"]], "pyintervalarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYINTERVALARRAY"]], "pytime (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYTIME"]], "pytimearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.PYTIMEARRAY"]], "poll status": [[5, "index-7"]], "querycancelederror": [[5, "psycopg2.extensions.QueryCanceledError"]], "quotedstring (class in psycopg2.extensions)": [[5, "psycopg2.extensions.QuotedString"]], "rowidarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.ROWIDARRAY"]], "sql_in (class in psycopg2.extensions)": [[5, "psycopg2.extensions.SQL_IN"]], "status_begin (in module psycopg2.extensions)": [[5, "psycopg2.extensions.STATUS_BEGIN"]], "status_in_transaction (in module psycopg2.extensions)": [[5, "psycopg2.extensions.STATUS_IN_TRANSACTION"]], "status_prepared (in module psycopg2.extensions)": [[5, "psycopg2.extensions.STATUS_PREPARED"]], "status_ready (in module psycopg2.extensions)": [[5, "psycopg2.extensions.STATUS_READY"]], "stringarray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.STRINGARRAY"]], "time (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TIME"]], "timearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TIMEARRAY"]], "transaction_status_active (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TRANSACTION_STATUS_ACTIVE"]], "transaction_status_idle (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TRANSACTION_STATUS_IDLE"]], "transaction_status_inerror (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TRANSACTION_STATUS_INERROR"]], "transaction_status_intrans (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TRANSACTION_STATUS_INTRANS"]], "transaction_status_unknown (in module psycopg2.extensions)": [[5, "psycopg2.extensions.TRANSACTION_STATUS_UNKNOWN"]], "timefrompy (class in psycopg2.extensions)": [[5, "psycopg2.extensions.TimeFromPy"]], "timestampfrompy (class in psycopg2.extensions)": [[5, "psycopg2.extensions.TimestampFromPy"]], "transaction status": [[5, "index-5"]], "transactionrollbackerror": [[5, "psycopg2.extensions.TransactionRollbackError"]], "unicode (in module psycopg2.extensions)": [[5, "psycopg2.extensions.UNICODE"]], "unicodearray (in module psycopg2.extensions)": [[5, "psycopg2.extensions.UNICODEARRAY"]], "xid (class in psycopg2.extensions)": [[5, "psycopg2.extensions.Xid"]], "_wrapped (psycopg2.extensions.isqlquote attribute)": [[5, "psycopg2.extensions.ISQLQuote._wrapped"]], "adapt() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.adapt"]], "adapters (in module psycopg2.extensions)": [[5, "psycopg2.extensions.adapters"]], "backend_pid (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.backend_pid"]], "bqual (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.bqual"]], "channel (psycopg2.extensions.notify attribute)": [[5, "psycopg2.extensions.Notify.channel"]], "close() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.close"]], "closed (psycopg2.extensions.lobject attribute)": [[5, "psycopg2.extensions.lobject.closed"]], "column_name (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.column_name"]], "connection (class in psycopg2.extensions)": [[5, "psycopg2.extensions.connection"]], "constraint_name (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.constraint_name"]], "context (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.context"]], "cursor (class in psycopg2.extensions)": [[5, "psycopg2.extensions.cursor"]], "database (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.database"]], "datatype_name (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.datatype_name"]], "dbname (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.dbname"]], "display_size (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.display_size"]], "dsn_parameters (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.dsn_parameters"]], "encodings (in module psycopg2.extensions)": [[5, "psycopg2.extensions.encodings"]], "encrypt_password() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.encrypt_password"]], "environment variable": [[5, "index-1"], [7, "index-0"], [9, "index-10"], [9, "index-12"], [9, "index-13"], [9, "index-14"], [9, "index-15"], [9, "index-16"], [9, "index-3"], [9, "index-4"], [9, "index-5"], [9, "index-6"], [9, "index-8"]], "error_message (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.error_message"]], "export() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.export"]], "format_id (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.format_id"]], "from_string() (psycopg2.extensions.xid static method)": [[5, "psycopg2.extensions.Xid.from_string"]], "get_wait_callback() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.get_wait_callback"]], "getquoted() (psycopg2.extensions.asis method)": [[5, "psycopg2.extensions.AsIs.getquoted"]], "getquoted() (psycopg2.extensions.binary method)": [[5, "psycopg2.extensions.Binary.getquoted"]], "getquoted() (psycopg2.extensions.isqlquote method)": [[5, "psycopg2.extensions.ISQLQuote.getquoted"]], "getquoted() (psycopg2.extensions.quotedstring method)": [[5, "psycopg2.extensions.QuotedString.getquoted"]], "gtrid (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.gtrid"]], "host (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.host"]], "internal_position (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.internal_position"]], "internal_query (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.internal_query"]], "internal_size (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.internal_size"]], "libpq_version() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.libpq_version"]], "lobject (class in psycopg2.extensions)": [[5, "psycopg2.extensions.lobject"]], "make_dsn() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.make_dsn"]], "message_detail (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.message_detail"]], "message_hint (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.message_hint"]], "message_primary (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.message_primary"]], "mode (psycopg2.extensions.lobject attribute)": [[5, "psycopg2.extensions.lobject.mode"]], "name (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.name"]], "needs_password (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.needs_password"]], "new_array_type() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.new_array_type"]], "new_type() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.new_type"]], "null_ok (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.null_ok"]], "oid (psycopg2.extensions.lobject attribute)": [[5, "psycopg2.extensions.lobject.oid"]], "options (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.options"]], "owner (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.owner"]], "parameter_status() (psycopg2.extensions.connectioninfo method)": [[5, "psycopg2.extensions.ConnectionInfo.parameter_status"]], "parse_dsn() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.parse_dsn"]], "password (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.password"]], "payload (psycopg2.extensions.notify attribute)": [[5, "psycopg2.extensions.Notify.payload"]], "pid (psycopg2.extensions.notify attribute)": [[5, "psycopg2.extensions.Notify.pid"]], "port (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.port"]], "precision (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.precision"]], "prepare() (psycopg2.extensions.isqlquote method)": [[5, "psycopg2.extensions.ISQLQuote.prepare"]], "prepared (psycopg2.extensions.xid attribute)": [[5, "psycopg2.extensions.Xid.prepared"]], "protocol_version (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.protocol_version"]], "psycopg2.extensions": [[5, "module-psycopg2.extensions"]], "quote_ident() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.quote_ident"]], "read() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.read"]], "register_adapter() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.register_adapter"]], "register_type() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.register_type"]], "scale (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.scale"]], "schema_name (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.schema_name"]], "seek() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.seek"]], "server_version (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.server_version"]], "set_wait_callback() (in module psycopg2.extensions)": [[5, "psycopg2.extensions.set_wait_callback"]], "severity (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.severity"]], "severity_nonlocalized (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.severity_nonlocalized"]], "socket (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.socket"]], "source_file (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.source_file"]], "source_function (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.source_function"]], "source_line (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.source_line"]], "sqlstate (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.sqlstate"]], "ssl_attribute() (psycopg2.extensions.connectioninfo method)": [[5, "psycopg2.extensions.ConnectionInfo.ssl_attribute"]], "ssl_attribute_names (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.ssl_attribute_names"]], "ssl_in_use (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.ssl_in_use"]], "standard_conforming_string": [[5, "index-1"]], "statement_position (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.statement_position"]], "status (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.status"]], "string_types (in module psycopg2.extensions)": [[5, "psycopg2.extensions.string_types"]], "table_column (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.table_column"]], "table_name (psycopg2.extensions.diagnostics attribute)": [[5, "psycopg2.extensions.Diagnostics.table_name"]], "table_oid (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.table_oid"]], "tell() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.tell"]], "transaction_status (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.transaction_status"]], "truncate() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.truncate"]], "type_code (psycopg2.extensions.column attribute)": [[5, "psycopg2.extensions.Column.type_code"]], "unlink() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.unlink"]], "used_password (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.used_password"]], "user (psycopg2.extensions.connectioninfo attribute)": [[5, "psycopg2.extensions.ConnectionInfo.user"]], "write() (psycopg2.extensions.lobject method)": [[5, "psycopg2.extensions.lobject.write"]], "cidr": [[6, "index-13"]], "composite types": [[6, "index-10"]], "compositecaster (class in psycopg2.extras)": [[6, "psycopg2.extras.CompositeCaster"]], "coroutine;": [[6, "index-14"]], "daterange (class in psycopg2.extras)": [[6, "psycopg2.extras.DateRange"]], "datetimerange (class in psycopg2.extras)": [[6, "psycopg2.extras.DateTimeRange"]], "datetimetzrange (class in psycopg2.extras)": [[6, "psycopg2.extras.DateTimeTZRange"]], "dictconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.DictConnection"]], "dictcursor (class in psycopg2.extras)": [[6, "psycopg2.extras.DictCursor"]], "dictrow (class in psycopg2.extras)": [[6, "psycopg2.extras.DictRow"]], "dictionary": [[6, "index-0"]], "inet": [[6, "index-13"]], "inet (class in psycopg2.extras)": [[6, "psycopg2.extras.Inet"]], "json": [[6, "index-8"]], "json (class in psycopg2.extras)": [[6, "psycopg2.extras.Json"]], "loggingconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.LoggingConnection"]], "loggingcursor (class in psycopg2.extras)": [[6, "psycopg2.extras.LoggingCursor"]], "logicalreplicationconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.LogicalReplicationConnection"]], "macaddr": [[6, "index-13"]], "message": [[6, "index-4"]], "mintimeloggingconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.MinTimeLoggingConnection"]], "mintimeloggingcursor (class in psycopg2.extras)": [[6, "psycopg2.extras.MinTimeLoggingCursor"]], "namedtupleconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.NamedTupleConnection"]], "namedtuplecursor (class in psycopg2.extras)": [[6, "psycopg2.extras.NamedTupleCursor"]], "numericrange (class in psycopg2.extras)": [[6, "psycopg2.extras.NumericRange"]], "physicalreplicationconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.PhysicalReplicationConnection"]], "replication_logical (in module psycopg2.extras)": [[6, "psycopg2.extras.REPLICATION_LOGICAL"]], "replication_physical (in module psycopg2.extras)": [[6, "psycopg2.extras.REPLICATION_PHYSICAL"]], "range (class in psycopg2.extras)": [[6, "psycopg2.extras.Range"]], "rangecaster (class in psycopg2.extras)": [[6, "psycopg2.extras.RangeCaster"]], "realdictconnection (class in psycopg2.extras)": [[6, "psycopg2.extras.RealDictConnection"]], "realdictcursor (class in psycopg2.extras)": [[6, "psycopg2.extras.RealDictCursor"]], "realdictrow (class in psycopg2.extras)": [[6, "psycopg2.extras.RealDictRow"]], "replicationcursor (class in psycopg2.extras)": [[6, "psycopg2.extras.ReplicationCursor"]], "replicationmessage (class in psycopg2.extras)": [[6, "psycopg2.extras.ReplicationMessage"]], "stopreplication (class in psycopg2.extras)": [[6, "psycopg2.extras.StopReplication"]], "uuid": [[6, "index-12"]], "uuid_adapter (class in psycopg2.extras)": [[6, "psycopg2.extras.UUID_adapter"]], "adapter (psycopg2.extras.rangecaster attribute)": [[6, "psycopg2.extras.RangeCaster.adapter"]], "array_oid (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.array_oid"]], "array_typecaster (psycopg2.extras.rangecaster attribute)": [[6, "psycopg2.extras.RangeCaster.array_typecaster"]], "attnames (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.attnames"]], "atttypes (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.atttypes"]], "consume_stream() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.consume_stream"]], "create_replication_slot() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.create_replication_slot"]], "cursor (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.cursor"]], "data_size (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.data_size"]], "data_start (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.data_start"]], "dict": [[6, "index-9"]], "drop_replication_slot() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.drop_replication_slot"]], "dumps() (psycopg2.extras.json method)": [[6, "psycopg2.extras.Json.dumps"]], "execute_batch() (in module psycopg2.extras)": [[6, "psycopg2.extras.execute_batch"]], "execute_values() (in module psycopg2.extras)": [[6, "psycopg2.extras.execute_values"]], "feedback_timestamp (psycopg2.extras.replicationcursor attribute)": [[6, "psycopg2.extras.ReplicationCursor.feedback_timestamp"]], "fileno() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.fileno"]], "filter() (psycopg2.extras.loggingconnection method)": [[6, "psycopg2.extras.LoggingConnection.filter"]], "filter() (psycopg2.extras.mintimeloggingconnection method)": [[6, "psycopg2.extras.MinTimeLoggingConnection.filter"]], "hstore": [[6, "index-9"]], "initialize() (psycopg2.extras.loggingconnection method)": [[6, "psycopg2.extras.LoggingConnection.initialize"]], "initialize() (psycopg2.extras.mintimeloggingconnection method)": [[6, "psycopg2.extras.MinTimeLoggingConnection.initialize"]], "io_timestamp (psycopg2.extras.replicationcursor attribute)": [[6, "psycopg2.extras.ReplicationCursor.io_timestamp"]], "isempty (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.isempty"]], "lower (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.lower"]], "lower_inc (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.lower_inc"]], "lower_inf (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.lower_inf"]], "make() (psycopg2.extras.compositecaster method)": [[6, "psycopg2.extras.CompositeCaster.make"]], "name (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.name"]], "namedtuple": [[6, "index-1"], [6, "index-10"]], "oid (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.oid"]], "payload (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.payload"]], "psycopg2.extras": [[6, "module-psycopg2.extras"]], "range": [[6, "index-11"]], "range (psycopg2.extras.rangecaster attribute)": [[6, "psycopg2.extras.RangeCaster.range"]], "read_message() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.read_message"]], "register_composite() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_composite"]], "register_default_json() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_default_json"]], "register_default_jsonb() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_default_jsonb"]], "register_hstore() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_hstore"]], "register_inet() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_inet"]], "register_ipaddress() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_ipaddress"]], "register_json() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_json"]], "register_range() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_range"]], "register_uuid() (in module psycopg2.extras)": [[6, "psycopg2.extras.register_uuid"]], "schema (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.schema"]], "send_feedback() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.send_feedback"]], "send_time (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.send_time"]], "start_replication() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.start_replication"]], "start_replication_expert() (psycopg2.extras.replicationcursor method)": [[6, "psycopg2.extras.ReplicationCursor.start_replication_expert"]], "tuple": [[6, "index-10"], [17, "index-13"]], "type (psycopg2.extras.compositecaster attribute)": [[6, "psycopg2.extras.CompositeCaster.type"]], "typecaster (psycopg2.extras.rangecaster attribute)": [[6, "psycopg2.extras.RangeCaster.typecaster"]], "upper (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.upper"]], "upper_inc (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.upper_inc"]], "upper_inf (psycopg2.extras.range attribute)": [[6, "psycopg2.extras.Range.upper_inf"]], "wait_select() (in module psycopg2.extras)": [[6, "psycopg2.extras.wait_select"]], "wal_end (psycopg2.extras.replicationcursor attribute)": [[6, "psycopg2.extras.ReplicationCursor.wal_end"]], "wal_end (psycopg2.extras.replicationmessage attribute)": [[6, "psycopg2.extras.ReplicationMessage.wal_end"]], "python_egg_cache": [[7, "index-0"]], "archflags": [[9, "index-16"]], "install": [[9, "index-0"], [9, "index-1"]], "ld_library_path": [[9, "index-6"]], "path": [[9, "index-3"], [9, "index-4"], [9, "index-5"], [9, "index-8"]], "psycopg2_testdb": [[9, "index-12"]], "psycopg2_testdb_host": [[9, "index-13"]], "psycopg2_testdb_port": [[9, "index-14"]], "psycopg2_testdb_user": [[9, "index-15"]], "psycopg_debug": [[9, "index-10"], [9, "index-9"]], "prerequisites": [[9, "index-2"]], "wheel": [[9, "index-0"], [9, "index-1"], [9, "index-0"]], "debug": [[9, "index-9"]], "disable": [[9, "index-1"]], "disable wheel": [[9, "index-1"]], "from pypi": [[9, "index-0"]], "setup.cfg": [[9, "index-7"]], "setup.py": [[9, "index-7"]], "tests": [[9, "index-11"]], "license": [[10, "index-0"]], "binary (in module psycopg2)": [[11, "psycopg2.BINARY"]], "binary() (in module psycopg2)": [[11, "psycopg2.Binary"]], "connection string": [[11, "index-0"]], "datetime (in module psycopg2)": [[11, "psycopg2.DATETIME"]], "db api": [[11, "index-1"]], "dsn (database source name)": [[11, "index-0"]], "dataerror": [[11, "psycopg2.DataError"]], "databaseerror": [[11, "psycopg2.DatabaseError"]], "date() (in module psycopg2)": [[11, "psycopg2.Date"]], "datefromticks() (in module psycopg2)": [[11, "psycopg2.DateFromTicks"]], "host": [[11, "index-0"]], "integrityerror": [[11, "psycopg2.IntegrityError"]], "interfaceerror": [[11, "psycopg2.InterfaceError"]], "internalerror": [[11, "psycopg2.InternalError"]], "number (in module psycopg2)": [[11, "psycopg2.NUMBER"]], "notsupportederror": [[11, "psycopg2.NotSupportedError"]], "operationalerror": [[11, "psycopg2.OperationalError"]], "password": [[11, "index-0"]], "port": [[11, "index-0"]], "programmingerror": [[11, "psycopg2.ProgrammingError"]], "rowid (in module psycopg2)": [[11, "psycopg2.ROWID"]], "string (in module psycopg2)": [[11, "psycopg2.STRING"]], "time() (in module psycopg2)": [[11, "psycopg2.Time"]], "timefromticks() (in module psycopg2)": [[11, "psycopg2.TimeFromTicks"]], "timestamp() (in module psycopg2)": [[11, "psycopg2.Timestamp"]], "timestampfromticks() (in module psycopg2)": [[11, "psycopg2.TimestampFromTicks"]], "username": [[11, "index-0"]], "warning": [[11, "psycopg2.Warning"]], "__libpq_version__ (in module psycopg2)": [[11, "psycopg2.__libpq_version__"]], "apilevel (in module psycopg2)": [[11, "psycopg2.apilevel"]], "connect() (in module psycopg2)": [[11, "psycopg2.connect"]], "cursor (psycopg2.error attribute)": [[11, "psycopg2.Error.cursor"]], "diag (psycopg2.error attribute)": [[11, "psycopg2.Error.diag"]], "paramstyle (in module psycopg2)": [[11, "psycopg2.paramstyle"]], "pgcode (psycopg2.error attribute)": [[11, "psycopg2.Error.pgcode"]], "pgerror (psycopg2.error attribute)": [[11, "psycopg2.Error.pgerror"]], "psycopg2": [[11, "module-psycopg2"]], "threadsafety (in module psycopg2)": [[11, "psycopg2.threadsafety"]], "news": [[12, "index-0"]], "pep 599": [[12, "index-1"]], "pep 600": [[12, "index-2"]], "release notes": [[12, "index-0"]], "abstractconnectionpool (class in psycopg2.pool)": [[13, "psycopg2.pool.AbstractConnectionPool"]], "connection pooling": [[13, "index-1"]], "multithread": [[13, "index-1"], [17, "index-17"]], "pooling": [[13, "index-0"]], "simpleconnectionpool (class in psycopg2.pool)": [[13, "psycopg2.pool.SimpleConnectionPool"]], "threadedconnectionpool (class in psycopg2.pool)": [[13, "psycopg2.pool.ThreadedConnectionPool"]], "closeall() (psycopg2.pool.abstractconnectionpool method)": [[13, "psycopg2.pool.AbstractConnectionPool.closeall"]], "getconn() (psycopg2.pool.abstractconnectionpool method)": [[13, "psycopg2.pool.AbstractConnectionPool.getconn"]], "psycopg2.pool": [[13, "module-psycopg2.pool"]], "putconn() (psycopg2.pool.abstractconnectionpool method)": [[13, "psycopg2.pool.AbstractConnectionPool.putconn"]], "composable (class in psycopg2.sql)": [[14, "psycopg2.sql.Composable"]], "composed (class in psycopg2.sql)": [[14, "psycopg2.sql.Composed"]], "identifier (class in psycopg2.sql)": [[14, "psycopg2.sql.Identifier"]], "literal (class in psycopg2.sql)": [[14, "psycopg2.sql.Literal"]], "placeholder (class in psycopg2.sql)": [[14, "psycopg2.sql.Placeholder"]], "sql (class in psycopg2.sql)": [[14, "psycopg2.sql.SQL"]], "as_string() (psycopg2.sql.composable method)": [[14, "psycopg2.sql.Composable.as_string"]], "format() (psycopg2.sql.sql method)": [[14, "psycopg2.sql.SQL.format"]], "join() (psycopg2.sql.composed method)": [[14, "psycopg2.sql.Composed.join"]], "join() (psycopg2.sql.sql method)": [[14, "psycopg2.sql.SQL.join"]], "name (psycopg2.sql.placeholder attribute)": [[14, "psycopg2.sql.Placeholder.name"]], "psycopg2.sql": [[14, "module-psycopg2.sql"]], "seq (psycopg2.sql.composed attribute)": [[14, "psycopg2.sql.Composed.seq"]], "string (psycopg2.sql.sql attribute)": [[14, "psycopg2.sql.SQL.string"]], "strings (psycopg2.sql.identifier attribute)": [[14, "psycopg2.sql.Identifier.strings"]], "wrapped (psycopg2.sql.literal attribute)": [[14, "psycopg2.sql.Literal.wrapped"]], "fixedoffsettimezone (class in psycopg2.tz)": [[16, "psycopg2.tz.FixedOffsetTimezone"]], "localtimezone (class in psycopg2.tz)": [[16, "psycopg2.tz.LocalTimezone"]], "psycopg2.tz": [[16, "module-psycopg2.tz"]], "array": [[17, "index-12"]], "begin": [[17, "index-14"]], "binary string": [[17, "index-8"]], "boolean": [[17, "index-4"]], "buffer": [[17, "index-8"]], "copy": [[17, "index-18"]], "declare": [[17, "index-16"]], "date objects": [[17, "index-11"], [17, "index-9"]], "date/time objects": [[17, "index-9"]], "decimal": [[17, "index-5"]], "fetch": [[17, "index-16"]], "float": [[17, "index-5"]], "in operator": [[17, "index-13"]], "infinite": [[17, "index-11"]], "integer": [[17, "index-5"]], "interval objects": [[17, "index-9"]], "large objects": [[17, "index-19"]], "lists": [[17, "index-12"]], "move": [[17, "index-16"]], "multiprocess": [[17, "index-17"]], "null": [[17, "index-4"]], "named": [[17, "index-16"]], "none": [[17, "index-4"]], "query": [[17, "index-1"]], "read only": [[17, "index-14"]], "sql injection": [[17, "index-2"]], "security": [[17, "index-2"]], "server side": [[17, "index-16"]], "strings": [[17, "index-6"]], "thread safety": [[17, "index-17"]], "time zones": [[17, "index-10"]], "time objects": [[17, "index-9"]], "unicode": [[17, "index-6"], [17, "index-7"]], "usage": [[17, "index-0"]], "bytea": [[17, "index-8"]], "bytearray": [[17, "index-8"]], "bytes": [[17, "index-8"]], "memoryview": [[17, "index-8"]], "numbers": [[17, "index-5"]], "with statement": [[17, "index-15"]]}})