pkgsrc/databases/postgresql83/patches/patch-af
adam ccf532ab0c PostgreSQL 8.3
With significant new functionality and performance enhancements, this
release represents a major leap forward for PostgreSQL. This was made
possible by a growing community that has dramatically accelerated the
pace of development. This release adds the following major features:

  * Full text search is integrated into the core database system
  * Support for the SQL/XML standard, including new operators and an
    XML data type
  * Enumerated data types (ENUM)
  * Arrays of composite types
  * Universally Unique Identifier (UUID) data type
  * Add control over whether NULLs sort first or last
  * Updatable cursors
  * Server configuration parameters can now be set on a per-function
    basis
  * User-defined types can now have type modifiers
  * Automatically re-plan cached queries when table definitions change
    or statistics are updated
  * Numerous improvements in logging and statistics collection
  * Support Security Service Provider Interface (SSPI) for
    authentication on Windows
  * Support multiple concurrent autovacuum processes, and other
    autovacuum improvements
  * Allow the whole PostgreSQL distribution to be compiled with
    Microsoft Visual C++
2008-03-04 12:41:36 +00:00

28 lines
1.5 KiB
Text

$NetBSD: patch-af,v 1.1.1.1 2008/03/04 12:41:37 adam Exp $
--- src/timezone/localtime.c.orig 2007-11-15 22:14:46.000000000 +0100
+++ src/timezone/localtime.c
@@ -78,17 +78,17 @@ struct rule
static long detzcode(const char *codep);
static const char *getzname(const char *strp);
-static const char *getnum(const char *strp, int *nump, int min, int max);
+static const char *getnum(const char *strp, int *nump, const int min, const int max);
static const char *getsecs(const char *strp, long *secsp);
static const char *getoffset(const char *strp, long *offsetp);
static const char *getrule(const char *strp, struct rule * rulep);
static void gmtload(struct state * sp);
-static void gmtsub(const pg_time_t *timep, long offset, struct pg_tm * tmp);
-static void localsub(const pg_time_t *timep, long offset, struct pg_tm * tmp, const pg_tz *tz);
-static void timesub(const pg_time_t *timep, long offset,
+static void gmtsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp);
+static void localsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp, const pg_tz *tz);
+static void timesub(const pg_time_t *timep, const long offset,
const struct state * sp, struct pg_tm * tmp);
-static pg_time_t transtime(pg_time_t janfirst, int year,
- const struct rule * rulep, long offset);
+static pg_time_t transtime(const pg_time_t janfirst, const int year,
+ const struct rule * rulep, const long offset);
/* GMT timezone */
static struct state gmtmem;