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: E1S7vAa-0007tu-Ah@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6f018c6dda201818251d8ead03866289b6b7e1c8

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

Browse pgsql-committers by date

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