pgtype icon indicating copy to clipboard operation
pgtype copied to clipboard

Add support for all native data types

Open lovromazgon opened this issue 3 years ago • 1 comments

I noticed the library is missing support for some native types, here's a list with the corresponding OID:

  • xml (OID: 142)
  • macaddr8 (OID: 774)
  • money (OID: 790)
  • timetz (OID: 1266)
  • pg_lsn (OID: 3220)
  • tsvector (OID: 3614) (Related: https://github.com/jackc/pgtype/issues/126)
  • tsquery (OID: 3615) (Related: https://github.com/jackc/pgtype/issues/126)
  • pg_snapshot (OID: 5038)

Would be nice if these would be supported to cover all native types.

lovromazgon avatar Mar 19 '22 17:03 lovromazgon

Additionally, I noticed some array types are missing:

  • _char (OID: 1002 -- this is the array type for QChar aka "char")
  • _name (OID: 1003)
  • _timetz (OID: 1270)

rafiss avatar May 07 '22 03:05 rafiss