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

« back to all changes in this revision

Viewing changes to src/backend/utils/init/miscinit.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:
8
8
 *
9
9
 *
10
10
 * IDENTIFICATION
11
 
 *        $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.174 2009/04/08 09:50:48 heikki Exp $
 
11
 *        $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.175 2009/06/11 14:49:05 momjian Exp $
12
12
 *
13
13
 *-------------------------------------------------------------------------
14
14
 */
363
363
 * ever throw any kind of error.  This is because they are used by
364
364
 * StartTransaction and AbortTransaction to save/restore the settings,
365
365
 * and during the first transaction within a backend, the value to be saved
366
 
 * and perhaps restored is indeed invalid.  We have to be able to get
 
366
 * and perhaps restored is indeed invalid.      We have to be able to get
367
367
 * through AbortTransaction without asserting in case InitPostgres fails.
368
368
 */
369
369
void
1170
1170
 
1171
1171
        /*
1172
1172
         * Choose notice level: avoid repeat messages when re-loading a library
1173
 
         * that was preloaded into the postmaster.  (Only possible in EXEC_BACKEND
 
1173
         * that was preloaded into the postmaster.      (Only possible in EXEC_BACKEND
1174
1174
         * configurations)
1175
1175
         */
1176
1176
#ifdef EXEC_BACKEND
1238
1238
#ifdef ENABLE_NLS
1239
1239
        if (my_exec_path[0] != '\0')
1240
1240
        {
1241
 
                char    locale_path[MAXPGPATH];
 
1241
                char            locale_path[MAXPGPATH];
1242
1242
 
1243
1243
                get_locale_path(my_exec_path, locale_path);
1244
1244
                bindtextdomain(domain, locale_path);