~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/backend/utils/adt/tsquery.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:
7
7
 *
8
8
 *
9
9
 * IDENTIFICATION
10
 
 *        $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.19 2009/01/01 17:23:50 momjian Exp $
 
10
 *        $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.20 2009/06/11 14:49:04 momjian Exp $
11
11
 *
12
12
 *-------------------------------------------------------------------------
13
13
 */
56
56
#define WAITSINGLEOPERAND 4
57
57
 
58
58
/*
59
 
 * subroutine to parse the modifiers (weight and prefix flag currently) 
 
59
 * subroutine to parse the modifiers (weight and prefix flag currently)
60
60
 * part, like ':1AB' of a query.
61
61
 */
62
62
static char *
642
642
                {
643
643
                        *(in->cur) = ':';
644
644
                        in->cur++;
645
 
                        if ( curpol->prefix )
 
645
                        if (curpol->prefix)
646
646
                        {
647
647
                                *(in->cur) = '*';
648
648
                                in->cur++;