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

« back to all changes in this revision

Viewing changes to src/pl/plpgsql/src/scan.l

  • 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:
9
9
 *
10
10
 *
11
11
 * IDENTIFICATION
12
 
 *        $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.69 2009/04/19 21:50:09 tgl Exp $
 
12
 *        $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.70 2009/06/10 22:34:11 petere Exp $
13
13
 *
14
14
 *-------------------------------------------------------------------------
15
15
 */
441
441
        {
442
442
                ereport(ERROR,
443
443
                                (errcode(ERRCODE_SYNTAX_ERROR),
444
 
                                 /* translator: %s is typically "syntax error" */
 
444
                                 /* translator: %s is typically the translation of "syntax error" */
445
445
                                 errmsg("%s at end of input", _(message)),
446
446
                                 internalerrposition(cursorpos),
447
447
                                 internalerrquery(scanstr)));
450
450
        {
451
451
                ereport(ERROR,
452
452
                                (errcode(ERRCODE_SYNTAX_ERROR),
453
 
                                 /* translator: first %s is typically "syntax error" */
 
453
                                 /* translator: first %s is typically the translation of "syntax error" */
454
454
                                 errmsg("%s at or near \"%s\"", _(message), loc),
455
455
                                 internalerrposition(cursorpos),
456
456
                                 internalerrquery(scanstr)));