Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Batch INSERT failing with error 22P02





On Fri, 21 Sep 2007, Kris Jurka wrote:

So the fix is probably to check that we aren't setting type information from stale results, but this is a pretty complicated area, so I'd like to study it a little more.


OK, I've committed a fix for 8.1, 8.2, and 8.3-dev to the CVS repository. It simply checks that the describe results match the currently parsed query before applying them. There is still an optimization to be made here, in that we don't need to describe at all if the Query has all the needed type informtion already, but I'll leave that for later.

Kris Jurka



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group