Я запускаю цей запит зі свого локального pgAdmin, який віддалено підключається до нашого сервера розробників:
select * from users order by random() limit 1;
він висить 17 секунд і показує
Total query runtime: 148 ms.
1 row retrieved.
він також висить на будь-якій операції: навіть клацання правою кнопкою миші на столі.
Після цього я підключаюсь через RDP і запускаю там той самий запит у тій же версії pgAdmin, яка відразу ж відображає результати query time: 32 ms
.
Потім я знову запускаю запит з мого локального pgAdmin:
Total query runtime: 337 ms.
1 row retrieved.
У мене на сервер пінг 130 мс. Швидкість з'єднання повинна бути більш ніж достатньою, оскільки я можу завантажувати файли через FTP там досить швидко.
Цей же запит під час запуску з моїм локальним psql закінчується за кілька секунд із включеним часом з'єднання.
Цей же запит у моєму локальному pgAdmin із моєю локальною копією db також закінчується негайно.
Версія pgAdmin становить 1.20.0. Перевірили також на останній 1,22 - все одно.
Що я можу зробити, щоб пришвидшити pgAdmin?
Зверніть увагу, що psql працює нормально, я не бачу однакових затримок там.
pgAdmin журнал на 17 секунд запуску запиту:
2016-02-06 16:18:03 INFO : queueing : select * from users order by random() limit 1;
2016-02-06 16:18:03 QUERY : Thread executing query (1:server): select * from users order by random() limit 1;
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:03 QUERY : Query result: integer
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:03 QUERY : Query result: 23
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:03 QUERY : Query result: character varying(255)
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:03 QUERY : Query result: 1043
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:03 QUERY : Query result: character varying(255)
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:03 QUERY : Query result: 1043
2016-02-06 16:18:03 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:04 QUERY : Query result: integer
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:04 QUERY : Query result: 23
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:04 QUERY : Query result: integer
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:04 QUERY : Query result: 23
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:04 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:04 QUERY : Query result: 1114
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT format_type(oid,0) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:04 QUERY : Query result: timestamp(0) without time zone
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:04 QUERY : Query result: 1114
2016-02-06 16:18:04 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:05 QUERY : Query result: integer
2016-02-06 16:18:05 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:06 QUERY : Query result: 23
2016-02-06 16:18:06 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:06 QUERY : Query result: integer
2016-02-06 16:18:06 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:06 QUERY : Query result: 23
2016-02-06 16:18:06 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:07 QUERY : Query result: integer
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:07 QUERY : Query result: 23
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:07 QUERY : Query result: boolean
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:07 QUERY : Query result: 16
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 20
2016-02-06 16:18:07 QUERY : Query result: bigint
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=20
2016-02-06 16:18:07 QUERY : Query result: 20
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:07 QUERY : Query result: character varying(255)
2016-02-06 16:18:07 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:08 QUERY : Query result: 1043
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:08 QUERY : Query result: character varying(255)
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:08 QUERY : Query result: 1043
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:08 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:08 QUERY : Query result: 1114
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:08 QUERY : Query result: integer
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:08 QUERY : Query result: 23
2016-02-06 16:18:08 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:09 QUERY : Query result: integer
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:09 QUERY : Query result: 23
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:09 QUERY : Query result: boolean
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:09 QUERY : Query result: 16
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:09 QUERY : Query result: integer
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:09 QUERY : Query result: 23
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:09 QUERY : Query result: integer
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:09 QUERY : Query result: 23
2016-02-06 16:18:09 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:10 QUERY : Query result: boolean
2016-02-06 16:18:10 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:10 QUERY : Query result: 16
2016-02-06 16:18:10 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:10 QUERY : Query result: character varying(255)
2016-02-06 16:18:10 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:10 QUERY : Query result: 1043
2016-02-06 16:18:11 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:11 QUERY : Query result: character varying(255)
2016-02-06 16:18:11 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:11 QUERY : Query result: 1043
2016-02-06 16:18:11 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:11 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:11 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:12 QUERY : Query result: 1114
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:12 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:12 QUERY : Query result: 1114
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:12 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:12 QUERY : Query result: 1114
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:12 QUERY : Query result: boolean
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:12 QUERY : Query result: 16
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:12 QUERY : Query result: integer
2016-02-06 16:18:12 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:13 QUERY : Query result: 23
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:13 QUERY : Query result: integer
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:13 QUERY : Query result: 23
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:13 QUERY : Query result: boolean
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:13 QUERY : Query result: 16
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:13 QUERY : Query result: integer
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:13 QUERY : Query result: 23
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:13 QUERY : Query result: integer
2016-02-06 16:18:13 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:14 QUERY : Query result: 23
2016-02-06 16:18:14 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:14 QUERY : Query result: boolean
2016-02-06 16:18:14 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:14 QUERY : Query result: 16
2016-02-06 16:18:14 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:14 QUERY : Query result: integer
2016-02-06 16:18:14 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:14 QUERY : Query result: 23
2016-02-06 16:18:14 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:15 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:15 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:15 QUERY : Query result: 1114
2016-02-06 16:18:15 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:15 QUERY : Query result: integer
2016-02-06 16:18:15 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:16 QUERY : Query result: 23
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:16 QUERY : Query result: integer
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:16 QUERY : Query result: 23
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:16 QUERY : Query result: integer
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:16 QUERY : Query result: 23
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:16 QUERY : Query result: integer
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:16 QUERY : Query result: 23
2016-02-06 16:18:16 QUERY : Scalar query (server): SELECT format_type(oid,259) as typname FROM pg_type WHERE oid = 1043
2016-02-06 16:18:17 QUERY : Query result: character varying(255)
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1043
2016-02-06 16:18:17 QUERY : Query result: 1043
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:17 QUERY : Query result: integer
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:17 QUERY : Query result: 23
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:17 QUERY : Query result: boolean
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:17 QUERY : Query result: 16
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:17 QUERY : Query result: integer
2016-02-06 16:18:17 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:18 QUERY : Query result: 23
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:18 QUERY : Query result: integer
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:18 QUERY : Query result: 23
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:18 QUERY : Query result: integer
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:18 QUERY : Query result: 23
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:18 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:18 QUERY : Query result: 1114
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 23
2016-02-06 16:18:18 QUERY : Query result: integer
2016-02-06 16:18:18 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=23
2016-02-06 16:18:19 QUERY : Query result: 23
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:19 QUERY : Query result: boolean
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:19 QUERY : Query result: 16
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:19 QUERY : Query result: boolean
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:19 QUERY : Query result: 16
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:19 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:19 QUERY : Query result: 1114
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 20
2016-02-06 16:18:19 QUERY : Query result: bigint
2016-02-06 16:18:19 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=20
2016-02-06 16:18:20 QUERY : Query result: 20
2016-02-06 16:18:20 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 16
2016-02-06 16:18:20 QUERY : Query result: boolean
2016-02-06 16:18:20 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=16
2016-02-06 16:18:20 QUERY : Query result: 16
2016-02-06 16:18:20 QUERY : Scalar query (server): SELECT format_type(oid,-1) as typname FROM pg_type WHERE oid = 1114
2016-02-06 16:18:20 QUERY : Query result: timestamp without time zone
2016-02-06 16:18:20 QUERY : Scalar query (server): SELECT CASE WHEN typbasetype=0 THEN oid else typbasetype END AS basetype
FROM pg_type WHERE oid=1114
2016-02-06 16:18:20 QUERY : Query result: 1114