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

pgsql: Issue explicit error messages for attempts to use "shell"

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Issue explicit error messages for attempts to use "shell"
Date: 2008-04-22 01:34:34
Message-ID: 20080422013434.2A0A17559CC@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Issue explicit error messages for attempts to use "shell" operators in
ordinary expressions.  This probably doesn't catch every single case
where you might get "cache lookup failed for function 0" for use of a
shell operator, but it will catch most.  Per bug #4120 from Pedro Gimeno.

This patch incidentally folds make_op_expr() into its sole remaining
caller --- the alternative was to give it yet more arguments, which
didn't seem an improvement.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_oper.c (r1.101 -> r1.102)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_oper.c?r1=1.101&r2=1.102)

pgsql-committers by date

Next:From: User GleuDate: 2008-04-22 08:58:51
Subject: pgsnap - pgsnap: Add "functions" report.
Previous:From: Tom LaneDate: 2008-04-21 20:54:24
Subject: pgsql: Fix convert_IN_to_join to properly handle the case where the

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