Ticket #34 (assigned defect)

Opened 3 years ago

Last modified 2 months ago

Pipelines, variables, and prepared statements

Reported by: jtv Assigned to: jtv (accepted)
Priority: high Milestone: 3.1
Component: other Version:
Severity: major Keywords:
Cc:

Description

When a pipeline is operating on a transaction, it won't be possible to issue queries on the fly underneath the libpqxx API. This will break some existing features that may issue queries at unexpected moments:

  • Getting/setting of variables.
  • Execution of prepared statements.
  • Anything else..?

Perhaps the simplest solution would be to drain any existing pipeline first. Still, that may create new complications.

Another approach is to insert a new layer into internal command execution that goes through an existing pipeline if needed. Even things like transaction bracketing could be layered on top of that (so perhaps subtransactions could be made to work inside pipelines!) and perhaps this layer could be instructed to allocate a temporary pipeline if none is active.

Attachments

Change History

02/13/06 23:01:06 changed by jtv

  • status changed from new to assigned.

03/04/06 07:59:57 changed by jtv

  • milestone changed from 2.6.4 to 2.6.5.

03/06/06 12:32:18 changed by jtv

  • milestone changed from 2.6.5 to 3.0.

11/02/08 01:39:04 changed by jtv

  • milestone changed from 3.0 to 3.1.

Add/Change #34 (Pipelines, variables, and prepared statements)




Change Properties
Action