@malloydata/db-postgres 0.0.32-dev230427172247 → 0.0.32-dev230428002803
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/postgres_connection.js +18 -18
- package/package.json +2 -2
|
@@ -61,29 +61,29 @@ const pg_query_stream_1 = __importDefault(require("pg-query-stream"));
|
|
|
61
61
|
const crypto_1 = require("crypto");
|
|
62
62
|
const postgresToMalloyTypes = {
|
|
63
63
|
'character varying': 'string',
|
|
64
|
-
name: 'string',
|
|
65
|
-
text: 'string',
|
|
66
|
-
date: 'date',
|
|
67
|
-
integer: 'number',
|
|
68
|
-
bigint: 'number',
|
|
64
|
+
'name': 'string',
|
|
65
|
+
'text': 'string',
|
|
66
|
+
'date': 'date',
|
|
67
|
+
'integer': 'number',
|
|
68
|
+
'bigint': 'number',
|
|
69
69
|
'double precision': 'number',
|
|
70
70
|
'timestamp without time zone': 'timestamp',
|
|
71
|
-
oid: 'string',
|
|
72
|
-
boolean: 'boolean',
|
|
71
|
+
'oid': 'string',
|
|
72
|
+
'boolean': 'boolean',
|
|
73
73
|
// ARRAY: "string",
|
|
74
74
|
'timestamp with time zone': 'timestamp',
|
|
75
|
-
timestamp: 'timestamp',
|
|
75
|
+
'timestamp': 'timestamp',
|
|
76
76
|
'"char"': 'string',
|
|
77
|
-
character: 'string',
|
|
78
|
-
smallint: 'number',
|
|
79
|
-
xid: 'string',
|
|
80
|
-
real: 'number',
|
|
81
|
-
interval: 'string',
|
|
82
|
-
inet: 'string',
|
|
83
|
-
regtype: 'string',
|
|
84
|
-
numeric: 'number',
|
|
85
|
-
bytea: 'string',
|
|
86
|
-
pg_ndistinct: 'number',
|
|
77
|
+
'character': 'string',
|
|
78
|
+
'smallint': 'number',
|
|
79
|
+
'xid': 'string',
|
|
80
|
+
'real': 'number',
|
|
81
|
+
'interval': 'string',
|
|
82
|
+
'inet': 'string',
|
|
83
|
+
'regtype': 'string',
|
|
84
|
+
'numeric': 'number',
|
|
85
|
+
'bytea': 'string',
|
|
86
|
+
'pg_ndistinct': 'number',
|
|
87
87
|
};
|
|
88
88
|
const DEFAULT_PAGE_SIZE = 1000;
|
|
89
89
|
const SCHEMA_PAGE_SIZE = 1000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-postgres",
|
|
3
|
-
"version": "0.0.32-
|
|
3
|
+
"version": "0.0.32-dev230428002803",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"prepublishOnly": "npm run build"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@malloydata/malloy": "^0.0.32-
|
|
22
|
+
"@malloydata/malloy": "^0.0.32-dev230428002803",
|
|
23
23
|
"@types/pg": "^8.6.1",
|
|
24
24
|
"pg": "^8.7.1",
|
|
25
25
|
"pg-query-stream": "4.2.3"
|