question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don't know how to parse column type: 28

See original GitHub issue
error: Uncaught Error: Don't know how to parse column type: 28

28 is the transaction identifier (xid), which is a “32-bit quantity”, according to the docs, so I think it can be safely decoded as an int4. The same goes for 29, the command identifier (cid).

Obviously, this is related to #99.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
uki00acommented, Sep 21, 2020

Hi, I’ve made a list of mappings based on the node-pg-types’s source and decode.ts. If there are any mistakes, please let me know!

Unimplemented mappings

oid type name TS type
600 point { x: number, y: number }
718 circle { x: number, y: number, radius: number }
1000 _bool boolean[]
1001 _bytea Buffer
1028 oid[] number[]
1016 _int8 string[]
1017 point[] { x: number, y: number }[]
1021 _float4 number[]
1022 _float8 number[]
1231 _numeric string[]
1008 _regproc string[]
1115 timestamp without time zone[] Date[]
1182 _date Date[]
1185 timestamp with time zone[] Date[]
1186 interval See https://github.com/bendrucker/postgres-interval/blob/master/index.d.ts
1187 _interval See https://github.com/bendrucker/postgres-interval/blob/master/index.d.ts
199 json[] object[]
3807 jsonb[] object[]
3907 numrange[] string[]
791 money[] string[]
1183 time[] string[]
1270 timetz[] string[]
* unimplemented types other than the above string
1reaction
Soremwarcommented, Oct 5, 2020

199 and 3807 addressed on #179

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Don't know how to parse column type: 1015 · Issue #168
Hello guys recently i am tried to fetch some row from my postgresql table, await this.pgClient.connect(); const text = `SELECT * FROM public ......
Read more >
pandas.to_numeric - find out which string it was unable to parse
Applying pandas.to_numeric to a dataframe column which contains strings that represent numbers (and possibly other unparsable strings) ...
Read more >
10 Tricks for Converting Numbers and Strings to Datetime in ...
This article will discuss how to convert numbers and strings to a datetime type. More specifically, you will learn how to use the...
Read more >
Working with Data in the Tidyverse - RPubs
Parsed with column specification: cols( series = col_double(), ... Column type frequency: character 4 Date 2 numeric 4 ...
Read more >
SQL Server Data Type Conversion Methods and performance ...
To perform the explicit data conversion, SQL Server provides us with three main conversion functions; CAST, CONVERT and PARSE. The main concern ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found