aac2e6ede4
monitoring tools and commands. Each user has their own favorite features which will make day-to-day work with PostgreSQL easier and more productive for them. Among the most popular enhancements are: * Parallel Database Restore, speeding up recovery from backup up to 8 times * Per-Column Permissions, allowing more granular control of sensitive data * Per-database Collation Support, making PostgreSQL more useful in multi-lingual environments * In-place Upgrades through pg_migrator (beta), enabling upgrades from 8.3 to 8.4 without extensive downtime * New Query Monitoring Tools, giving administrators more insight into query activity * Greatly Reduced VACUUM Overhead through the Visibility Map * New Monitoring Tools for current queries, query load and deadlocks Version 8.4 also makes data analysis easier through the advanced ANSI SQL2003 features of windowing functions, common table expressions and recursive queries. Enhancements to stored procedures, such as default parameters and variadic parameters, make database server programming simpler and more compact. Of course, there are also performance improvements included in this version.
31 lines
1.6 KiB
Text
31 lines
1.6 KiB
Text
$NetBSD: patch-af,v 1.1.1.1 2009/07/29 06:26:19 adam Exp $
|
|
|
|
--- src/timezone/localtime.c.orig 2009-06-11 16:49:15.000000000 +0200
|
|
+++ src/timezone/localtime.c
|
|
@@ -80,20 +80,20 @@ static pg_time_t detzcode64(const char *
|
|
static int differ_by_repeat(pg_time_t t1, pg_time_t t0);
|
|
static const char *getzname(const char *strp);
|
|
static const char *getqzname(const char *strp, int delim);
|
|
-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 struct pg_tm *gmtsub(const pg_time_t *timep, long offset,
|
|
+static struct pg_tm *gmtsub(const pg_time_t *timep, const long offset,
|
|
struct pg_tm * tmp);
|
|
-static struct pg_tm *localsub(const pg_time_t *timep, long offset,
|
|
+static struct pg_tm *localsub(const pg_time_t *timep, const long offset,
|
|
struct pg_tm * tmp, const pg_tz *tz);
|
|
static int increment_overflow(int *number, int delta);
|
|
-static pg_time_t transtime(pg_time_t janfirst, int year,
|
|
- const struct rule * rulep, long offset);
|
|
+static pg_time_t transtime(pg_time_t janfirst, const int year,
|
|
+ const struct rule * rulep, const long offset);
|
|
static int typesequiv(const struct state * sp, int a, int b);
|
|
-static struct pg_tm *timesub(const pg_time_t *timep, long offset,
|
|
+static struct pg_tm *timesub(const pg_time_t *timep, const long offset,
|
|
const struct state * sp, struct pg_tm * tmp);
|
|
|
|
/* GMT timezone */
|