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

pgsql: COPY: Add an assertion

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: COPY: Add an assertion
Date: 2012-03-14 20:51:40
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
COPY: Add an assertion

This is for tools such as Coverity that don't know that the grammar
enforces that the case of not having a relation (but instead a query)
cannot happen in the FROM case.



Modified Files
src/backend/commands/copy.c |    2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2012-03-14 21:05:28
Subject: pgsql: Improve EncodeDateTime and EncodeTimeOnly APIs
Previous:From: Tom LaneDate: 2012-03-13 19:26:56
Subject: pgsql: Patch some corner-case bugs in pl/python.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group