diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-10-09 17:24:05 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-10-09 17:24:05 +0000 |
commit | 2532c54d82b4925fd882a2bf119a7cc01b804d48 (patch) | |
tree | ad5f209495866b53baf85d3c388462434fa471e1 /src/include/miscadmin.h | |
parent | b15531033e8bcff1e0a436d6bd18b5a09e477a20 (diff) | |
download | postgresql-2532c54d82b4925fd882a2bf119a7cc01b804d48.tar.gz postgresql-2532c54d82b4925fd882a2bf119a7cc01b804d48.zip |
Improve translatability of error messages for external modules by tweaking
the ereport macro. Included in this commit are enough files for starting
plpgsql, plpython, plperl and pltcl translations.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 3d1511e58a5..98e28e0d10b 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.202 2008/04/23 13:44:59 mha Exp $ + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.203 2008/10/09 17:24:05 alvherre Exp $ * * NOTES * some of the information in this file should be moved to other files. @@ -329,6 +329,7 @@ extern void RecordSharedMemoryInLockFile(unsigned long id1, extern void ValidatePgVersion(const char *path); extern void process_shared_preload_libraries(void); extern void process_local_preload_libraries(void); +extern void set_text_domain(const char *domain); /* in access/transam/xlog.c */ extern bool BackupInProgress(void); |