Error map

08P01 ERROR: bind message supplies 2 parameters, but prepared statement requires 1

PostgreSQL · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

08P01 — ERROR: bind message supplies 2 parameters, but prepared statement requires 1 (PostgreSQL)08P01pg_dump version mismatch — pg_dump: error: aborting because of server version mismatch (PostgreSQL)pg_dump version mis…IRQL_NOT_LESS_OR_EQUAL — Blue Screen: IRQL_NOT_LESS_OR_EQUAL (Stop code 0x0000000A) (Windows)IRQL_NOT_LESS_OR_EQ…prepared statement exists — ERROR: prepared statement "s1" already exists (PgBouncer transaction mode) (PostgreSQL)prepared statement …42P10 — ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification (PostgreSQL)42P10pg_restore text dump — pg_restore: error: input file appears to be a text format dump. Please use psql. (PostgreSQL)pg_restore text dump1093 — MySQL ERROR 1093 (HY000): You can't specify target table 'x' for update in FROM clause (MySQL)1093currval not defined — ERROR: currval of sequence "x" is not yet defined in this session (PostgreSQL)currval not definedNonUniqueResultException — IncorrectResultSizeDataAccessException: query did not return a unique result: 2 (Java)NonUniqueResultExce…1175 — MySQL ERROR 1175 (HY000): You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column (MySQL)11751241 — MySQL ERROR 1241 (21000): Operand should contain 1 column(s) (MySQL)124125P02 — ERROR: current transaction is aborted, commands ignored until end of transaction block (PostgreSQL)25P0255006 — ERROR: database "x" is being accessed by other users — There is 1 other session using the database. (PostgreSQL)55006nodemon crashed — [nodemon] app crashed - waiting for file changes before starting... (Node.js)nodemon crashednpx executable — npm ERR! could not determine executable to run (npm)npx executable57014 — ERROR: canceling statement due to statement timeout (PostgreSQL)57014CRITICAL_PROCESS_DIED — Blue Screen: CRITICAL_PROCESS_DIED (Stop code 0x000000EF) (Windows)CRITICAL_PROCESS_DI…MEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENT42P18 — ERROR: could not determine data type of parameter $1 (PostgreSQL)42P1842703 — PostgreSQL: ERROR: column "x" does not exist (PostgreSQL)42703HikariCP timeout — HikariPool-1 - Connection is not available, request timed out after 30000ms (Java)HikariCP timeout42701 — ERROR: column "x" of relation "y" already exists (PostgreSQL)4270123505 — PostgreSQL: ERROR: duplicate key value violates unique constraint (PostgreSQL)2350523503 — ERROR: insert or update on table "x" violates foreign key constraint "fk" — Key (user_id)=(5) is not present in table "users" (PostgreSQL)2350323503 parent — ERROR: update or delete on table "users" violates foreign key constraint on table "orders" — Key (id)=(5) is still referenced (PostgreSQL)23503 parent2BP01 — ERROR: cannot drop table x because other objects depend on it (PostgreSQL)2BP01react-scripts not found — 'react-scripts' is not recognized as an internal or external command / react-scripts: command not found (React)react-scripts not f…Subquery returns more than 1 row — Subquery returns more than 1 row (MySQL 1242) / more than one row returned by a subquery used as an expression (SQL)Subquery returns mo…42804 — ERROR: column "x" is of type integer but expression is of type text — HINT: You will need to rewrite or cast the expression. (PostgreSQL)4280442883 operator — ERROR: operator does not exist: integer = text (PostgreSQL)42883 operatorLazyInitializationException — org.hibernate.LazyInitializationException: could not initialize proxy - no Session (Java)LazyInitializationE…TransientObjectException — org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing (Java)TransientObjectExce…Hibernate ConstraintViolationException — org.hibernate.exception.ConstraintViolationException: could not execute statement (Java)Hibernate Constrain…Deadlock — Deadlock found when trying to get lock; try restarting transaction (SQL)DeadlockLock wait timeout — Lock wait timeout exceeded; try restarting transaction (MySQL 1205) (SQL)Lock wait timeout1213 — MySQL ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction (MySQL)1213port 5432 in use — LOG: could not bind IPv4 address "0.0.0.0": Address already in use — Is another postmaster already running on port 5432? (PostgreSQL)port 5432 in use

Directly related (12)

pg_dump version mismatchPostgreSQL

pg_dump: error: aborting because of server version mismatch

Your pg_dump client is older than the server you’re dumping.

IRQL_NOT_LESS_OR_EQUALWindows

Blue Screen: IRQL_NOT_LESS_OR_EQUAL (Stop code 0x0000000A)

A driver accessed memory at an interrupt level where that’s not allowed — almost always a faulty or incompatible driver, sometime…

prepared statement existsPostgreSQL

ERROR: prepared statement "s1" already exists (PgBouncer transaction mode)

Named prepared statements collided — typically because PgBouncer in transaction pooling mode hands connections between clients.

42P10PostgreSQL

ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification

INSERT … ON CONFLICT (cols) names columns that don’t have a matching unique index/constraint.

pg_restore text dumpPostgreSQL

pg_restore: error: input file appears to be a text format dump. Please use psql.

A plain .sql dump was given to pg_restore, which only reads custom/directory/tar formats.

1093MySQL

MySQL ERROR 1093 (HY000): You can't specify target table 'x' for update in FROM clause

An UPDATE/DELETE uses a subquery that reads from the same table, which MySQL doesn’t allow directly.

currval not definedPostgreSQL

ERROR: currval of sequence "x" is not yet defined in this session

currval() was called before nextval() in the same session.

NonUniqueResultExceptionJava

IncorrectResultSizeDataAccessException: query did not return a unique result: 2

A query expected one row but found several.

1175MySQL

MySQL ERROR 1175 (HY000): You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column

MySQL Workbench’s safe updates mode blocked an UPDATE/DELETE without a key-based WHERE.

1241MySQL

MySQL ERROR 1241 (21000): Operand should contain 1 column(s)

A subquery or expression returned several columns where only one is expected.

25P02PostgreSQL

ERROR: current transaction is aborted, commands ignored until end of transaction block

An earlier statement in the same transaction failed; PostgreSQL rejects everything until you ROLLBACK.

55006PostgreSQL

ERROR: database "x" is being accessed by other users — There is 1 other session using the database.

DROP/RENAME DATABASE can’t run while other sessions are connected.

Two steps away (24)

nodemon crashedNode.js

[nodemon] app crashed - waiting for file changes before starting...

Your app threw an error on startup; nodemon is waiting for a file change to retry.

npx executablenpm

npm ERR! could not determine executable to run

npx couldn’t find a binary to run for that package.

57014PostgreSQL

ERROR: canceling statement due to statement timeout

A query ran longer than statement_timeout and PostgreSQL cancelled it.

CRITICAL_PROCESS_DIEDWindows

Blue Screen: CRITICAL_PROCESS_DIED (Stop code 0x000000EF)

A process Windows can’t run without (csrss, wininit, smss…) stopped unexpectedly, so the system halted.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

42P18PostgreSQL

ERROR: could not determine data type of parameter $1

PostgreSQL can’t infer a parameter’s type from context (e.g. $1 IS NULL or SELECT $1).

42703PostgreSQL

PostgreSQL: ERROR: column "x" does not exist

PostgreSQL can’t find the column — a missing migration, a case-sensitive quoted name, or a string literal written in double quote…

HikariCP timeoutJava

HikariPool-1 - Connection is not available, request timed out after 30000ms

The connection pool was exhausted — all connections were busy for 30 seconds.

42701PostgreSQL

ERROR: column "x" of relation "y" already exists

ALTER TABLE ADD COLUMN for a column that’s already there.

23505PostgreSQL

PostgreSQL: ERROR: duplicate key value violates unique constraint

An INSERT/UPDATE would create a duplicate in a UNIQUE or PRIMARY KEY column — or the id sequence is behind the existing data.

23503PostgreSQL

ERROR: insert or update on table "x" violates foreign key constraint "fk" — Key (user_id)=(5) is not present in table "users"

The row references a parent row that doesn’t exist.

23503 parentPostgreSQL

ERROR: update or delete on table "users" violates foreign key constraint on table "orders" — Key (id)=(5) is still referenced

You tried to delete a row that other rows still reference.

2BP01PostgreSQL

ERROR: cannot drop table x because other objects depend on it

Views, foreign keys or other objects depend on what you’re dropping.

react-scripts not foundReact

'react-scripts' is not recognized as an internal or external command / react-scripts: command not found

node_modules is missing or broken, so the react-scripts binary isn’t available.

Subquery returns more than 1 rowSQL

Subquery returns more than 1 row (MySQL 1242) / more than one row returned by a subquery used as an expression

A subquery used where a single value is expected (`= (SELECT …)`) returned several rows.

42804PostgreSQL

ERROR: column "x" is of type integer but expression is of type text — HINT: You will need to rewrite or cast the expression.

An INSERT/UPDATE supplies a value of a different type than the column, and PostgreSQL won’t cast implicitly.

42883 operatorPostgreSQL

ERROR: operator does not exist: integer = text

A comparison or operation mixes types PostgreSQL won’t implicitly convert.

LazyInitializationExceptionJava

org.hibernate.LazyInitializationException: could not initialize proxy - no Session

A lazy-loaded association was accessed after the Hibernate session/transaction closed.

TransientObjectExceptionJava

org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing

An entity references another entity that hasn’t been saved yet, and no cascade is configured.

Hibernate ConstraintViolationExceptionJava

org.hibernate.exception.ConstraintViolationException: could not execute statement

The database rejected an insert/update because of a constraint (unique, foreign key, not null).

DeadlockSQL

Deadlock found when trying to get lock; try restarting transaction

Two transactions waited on each other’s locks; the database killed one so the other could continue.

Lock wait timeoutSQL

Lock wait timeout exceeded; try restarting transaction (MySQL 1205)

A query waited too long for a row lock held by another transaction and gave up.

1213MySQL

MySQL ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction

MySQL detected a deadlock between two transactions and rolled one back.

port 5432 in usePostgreSQL

LOG: could not bind IPv4 address "0.0.0.0": Address already in use — Is another postmaster already running on port 5432?

Another process (often a second PostgreSQL install or a container) already listens on 5432.