brianc / node-pg-types

Type parsing for node-postgres
268 stars 55 forks source link

Register parser for type time[] #32

Closed Americas closed 8 years ago

Americas commented 9 years ago

Hi, I was having trouble with parsing time arrays and found that the problem is easily solvable by adding a small line of code to lib/textParsers.js. In the init function, just add:

  register(1183, parseStringArray); // time[]

I would do a pull request, but it seems so much trouble for such a simple change.

bendrucker commented 9 years ago

Please send a pull request! It would be really appreciated.