~ubuntu-branches/ubuntu/trusty/postgresql-8.4/trusty

« back to all changes in this revision

Viewing changes to src/backend/commands/prepare.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 * Copyright (c) 2002-2009, PostgreSQL Global Development Group
11
11
 *
12
12
 * IDENTIFICATION
13
 
 *        $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.96 2009/01/02 20:42:00 tgl Exp $
 
13
 *        $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.97 2009/06/11 14:48:56 momjian Exp $
14
14
 *
15
15
 *-------------------------------------------------------------------------
16
16
 */
350
350
                if (pstate->p_hasWindowFuncs)
351
351
                        ereport(ERROR,
352
352
                                        (errcode(ERRCODE_WINDOWING_ERROR),
353
 
                          errmsg("cannot use window function in EXECUTE parameter")));
 
353
                                 errmsg("cannot use window function in EXECUTE parameter")));
354
354
 
355
355
                given_type_id = exprType(expr);
356
356