← All tasks
javascriptbrianc/node-postgres #1936Not a task: already works

Missing builtins / old pg-types reference

envgap__brianc__node-postgres-1936

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
e4578d2c7bca60cfb02ec004daa22c8ff810140e
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

brianc/node-postgres #1936 · read the original issue
According to [this](https://github.com/brianc/node-pg-types), we have access to `types.builtins` from the `pg` driver, in the following manner:



```js

const types = require('pg').types;

const someType = types.builtins.TIMESTAMPTZ;

```

In reality, however, `pg.types` does not have property `builtins`, because `pg-types` implemented it with version `2.1.0`, but we include it as `~` instead of `^` like everything else.



And so there is discrepancy between the official documentation and reality.

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]