Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- opensrf@jasontest:~/erecords/ebrary$ loaderecords --source 'Ebook Central' ebc_a
- n_1.mrc
- Starting ebc_an_1.mrc at Thu, 27 Oct 2022 14:45:52 -0400.
- WARNING: Key (record_type, record, state_data)=(biblio, 3272808, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272808 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3238454, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3238454 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272325, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272325 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273307, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273307 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273316, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273316 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273314, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273314 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273336, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273336 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273309, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273309 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3366883, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3366883 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3366885, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3366885 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3366939, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3366939 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3275435, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3275435 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3273273, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3273273 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272026, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272026 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272025, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272025 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3271791, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3271791 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272736, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272736 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272549, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272549 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3272553, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3272553 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3302398, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3302398 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3257841, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3257841 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3257858, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3257858 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3257847, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3257847 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3257849, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3257849 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3257864, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3257864 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3710691, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3710691 for ingest failed, attempting
- direct ingest
- WARNING: Key (record_type, record, state_data)=(biblio, 3588082, ) already exis
- ts.\nSQL statement "WITH existing_queue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- q.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- JOIN action.ingest_queue q ON (qe.queue = q.id)
- WHERE qe.record = record_id
- AND q.end_time IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), existing_nonqueue_entry_cte AS (
- SELECT queue_id AS queue,
- rtype AS record_type,
- record_id AS record,
- qe.id AS override_by,
- ingest_action AS action,
- qe.run_at AS run_at,
- old_state_data AS state_data
- FROM action.ingest_queue_entry qe
- WHERE qe.record = record_id
- AND qe.queue IS NULL
- AND qe.record_type = rtype
- AND qe.state_data = old_state_data
- AND qe.ingest_time IS NULL
- AND qe.fail_time IS NULL
- AND qe.override_by IS NULL
- ), new_entry_cte AS (
- SELECT * FROM existing_queue_entry_cte
- UNION ALL
- SELECT * FROM existing_nonqueue_entry_cte
- UNION ALL
- SELECT queue_id, rtype, record_id, NULL, ingest_action, COALESCE(when_to
- _run,NOW()), old_state_data
- ), insert_entry_cte AS (
- INSERT INTO action.ingest_queue_entry
- (queue, record_type, record, override_by, action, run_at, state_data
- )
- SELECT queue, record_type, record, override_by, action, run_at, state_
- data FROM new_entry_cte
- ORDER BY 4 NULLS LAST, 6
- LIMIT 1
- RETURNING *
- ) SELECT * FROM insert_entry_cte"
- PL/pgSQL function action.enqueue_ingest_entry(bigint,text,timestamp with time zo
- ne,integer,text,text) line 20 at SQL statement
- SQL statement "SELECT action.enqueue_ingest_entry( NEW.id, TG_TABLE_SCHEMA, NOW(
- ), ingest_queue, new_action, old_state_data)"
- PL/pgSQL function indexing_ingest_or_delete() line 72 at SQL statement
- WARNING: Enqueuing of biblio.record_entry 3588082 for ingest failed, attempting
- direct ingest
- Closing ebc_an_1.mrc at Fri, 28 Oct 2022 07:21:57 -0400.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement