diff -Nru postgresql-8.4-8.4.17/configure postgresql-8.4-8.4.20/configure --- postgresql-8.4-8.4.17/configure 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/configure 2014-02-17 19:44:07.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for PostgreSQL 8.4.17. +# Generated by GNU Autoconf 2.61 for PostgreSQL 8.4.20. # # Report bugs to . # @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='PostgreSQL' PACKAGE_TARNAME='postgresql' -PACKAGE_VERSION='8.4.17' -PACKAGE_STRING='PostgreSQL 8.4.17' +PACKAGE_VERSION='8.4.20' +PACKAGE_STRING='PostgreSQL 8.4.20' PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org' ac_unique_file="src/backend/access/common/heaptuple.c" @@ -1289,7 +1289,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures PostgreSQL 8.4.17 to adapt to many kinds of systems. +\`configure' configures PostgreSQL 8.4.20 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1354,7 +1354,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of PostgreSQL 8.4.17:";; + short | recursive ) echo "Configuration of PostgreSQL 8.4.20:";; esac cat <<\_ACEOF @@ -1499,7 +1499,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -PostgreSQL configure 8.4.17 +PostgreSQL configure 8.4.20 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1515,7 +1515,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by PostgreSQL $as_me 8.4.17, which was +It was created by PostgreSQL $as_me 8.4.20, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -4106,6 +4106,57 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # Disable loop optimizations that get confused by variable-length struct + # declarations in gcc 4.8+ + { echo "$as_me:$LINENO: checking if $CC supports -fno-aggressive-loop-optimizations" >&5 +echo $ECHO_N "checking if $CC supports -fno-aggressive-loop-optimizations... $ECHO_C" >&6; } +pgac_save_CFLAGS=$CFLAGS +CFLAGS="$pgac_save_CFLAGS -fno-aggressive-loop-optimizations" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="$pgac_save_CFLAGS" + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + elif test "$ICC" = yes; then # Intel's compiler has a bug/misoptimization in checking for # division by NAN (NaN == 0), -mp1 fixes it, so add it to the CFLAGS. @@ -27926,7 +27977,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by PostgreSQL $as_me 8.4.17, which was +This file was extended by PostgreSQL $as_me 8.4.20, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -27983,7 +28034,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -PostgreSQL config.status 8.4.17 +PostgreSQL config.status 8.4.20 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -Nru postgresql-8.4-8.4.17/configure.in postgresql-8.4-8.4.20/configure.in --- postgresql-8.4-8.4.17/configure.in 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/configure.in 2014-02-17 19:44:07.000000000 +0000 @@ -17,7 +17,7 @@ dnl m4_pattern_forbid(^PGAC_)dnl to catch undefined macros -AC_INIT([PostgreSQL], [8.4.17], [pgsql-bugs@postgresql.org]) +AC_INIT([PostgreSQL], [8.4.20], [pgsql-bugs@postgresql.org]) m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.61], [], [m4_fatal([Autoconf version 2.61 is required. Untested combinations of 'autoconf' and PostgreSQL versions are not @@ -435,6 +435,9 @@ PGAC_PROG_CC_CFLAGS_OPT([-fwrapv]) # Disable FP optimizations that cause various errors on gcc 4.5+ or maybe 4.6+ PGAC_PROG_CC_CFLAGS_OPT([-fexcess-precision=standard]) + # Disable loop optimizations that get confused by variable-length struct + # declarations in gcc 4.8+ + PGAC_PROG_CC_CFLAGS_OPT([-fno-aggressive-loop-optimizations]) elif test "$ICC" = yes; then # Intel's compiler has a bug/misoptimization in checking for # division by NAN (NaN == 0), -mp1 fixes it, so add it to the CFLAGS. diff -Nru postgresql-8.4-8.4.17/contrib/chkpass/chkpass.c postgresql-8.4-8.4.20/contrib/chkpass/chkpass.c --- postgresql-8.4-8.4.17/contrib/chkpass/chkpass.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/chkpass/chkpass.c 2014-02-17 19:44:07.000000000 +0000 @@ -70,6 +70,7 @@ char *str = PG_GETARG_CSTRING(0); chkpass *result; char mysalt[4]; + char *crypt_output; static char salt_chars[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; @@ -92,7 +93,15 @@ mysalt[1] = salt_chars[random() & 0x3f]; mysalt[2] = 0; /* technically the terminator is not necessary * but I like to play safe */ - strcpy(result->password, crypt(str, mysalt)); + + crypt_output = crypt(str, mysalt); + if (crypt_output == NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_PARAMETER_VALUE), + errmsg("crypt() failed"))); + + strlcpy(result->password, crypt_output, sizeof(result->password)); + PG_RETURN_POINTER(result); } @@ -141,9 +150,16 @@ chkpass *a1 = (chkpass *) PG_GETARG_POINTER(0); text *a2 = PG_GETARG_TEXT_PP(1); char str[9]; + char *crypt_output; text_to_cstring_buffer(a2, str, sizeof(str)); - PG_RETURN_BOOL(strcmp(a1->password, crypt(str, a1->password)) == 0); + crypt_output = crypt(str, a1->password); + if (crypt_output == NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_PARAMETER_VALUE), + errmsg("crypt() failed"))); + + PG_RETURN_BOOL(strcmp(a1->password, crypt_output) == 0); } PG_FUNCTION_INFO_V1(chkpass_ne); @@ -153,7 +169,14 @@ chkpass *a1 = (chkpass *) PG_GETARG_POINTER(0); text *a2 = PG_GETARG_TEXT_PP(1); char str[9]; + char *crypt_output; text_to_cstring_buffer(a2, str, sizeof(str)); - PG_RETURN_BOOL(strcmp(a1->password, crypt(str, a1->password)) != 0); + crypt_output = crypt(str, a1->password); + if (crypt_output == NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_PARAMETER_VALUE), + errmsg("crypt() failed"))); + + PG_RETURN_BOOL(strcmp(a1->password, crypt_output) != 0); } diff -Nru postgresql-8.4-8.4.17/contrib/cube/cube.c postgresql-8.4-8.4.20/contrib/cube/cube.c --- postgresql-8.4-8.4.17/contrib/cube/cube.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/cube/cube.c 2014-02-17 19:44:07.000000000 +0000 @@ -27,8 +27,8 @@ #define ARRPTR(x) ( (double *) ARR_DATA_PTR(x) ) #define ARRNELEMS(x) ArrayGetNItems( ARR_NDIM(x), ARR_DIMS(x)) -extern int cube_yyparse(); -extern void cube_yyerror(const char *message); +extern int cube_yyparse(NDBOX **result); +extern void cube_yyerror(NDBOX **result, const char *message); extern void cube_scanner_init(const char *str); extern void cube_scanner_finish(void); @@ -159,12 +159,12 @@ cube_in(PG_FUNCTION_ARGS) { char *str = PG_GETARG_CSTRING(0); - void *result; + NDBOX *result; cube_scanner_init(str); if (cube_yyparse(&result) != 0) - cube_yyerror("bogus input"); + cube_yyerror(&result, "bogus input"); cube_scanner_finish(); diff -Nru postgresql-8.4-8.4.17/contrib/cube/cubeparse.c postgresql-8.4-8.4.20/contrib/cube/cubeparse.c --- postgresql-8.4-8.4.17/contrib/cube/cubeparse.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/cube/cubeparse.c 2014-02-17 20:07:40.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,15 +73,14 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 1 "cubeparse.y" +/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */ + /* NdBox = [(lowerleft),(upperright)] */ /* [(xLL(1)...xLL(N)),(xUR(1)...xUR(n))] */ -/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */ - -#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ #define YYSTYPE char * #define YYDEBUG 1 @@ -107,8 +104,8 @@ static char *scanbuf; static int scanbuflen; -void cube_yyerror(const char *message); -int cube_yyparse(void *result); +extern int cube_yyparse(NDBOX **result); +extern void cube_yyerror(NDBOX **result, const char *message); static int delim_count(char *s, char delim); static NDBOX * write_box(unsigned int dim, char *str1, char *str2); @@ -116,8 +113,8 @@ -/* Line 189 of yacc.c */ -#line 121 "cubeparse.c" +/* Line 268 of yacc.c */ +#line 118 "cubeparse.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -166,8 +163,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 171 "cubeparse.c" +/* Line 343 of yacc.c */ +#line 168 "cubeparse.c" #ifdef short # undef short @@ -217,7 +214,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -270,11 +267,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -297,24 +294,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -343,23 +340,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -379,6 +360,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 9 /* YYLAST -- Last index in YYTABLE. */ @@ -487,8 +488,8 @@ 0, 2, 5, 3, 1, 1, 3, 1, 3 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { @@ -519,8 +520,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 static const yytype_uint8 yytable[] = { @@ -528,6 +528,12 @@ 16, 15, 10, 11, 13, 7, 0, 17 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-4)) + +#define yytable_value_is_error(yytable_value) \ + YYID (0) + static const yytype_int8 yycheck[] = { 3, 3, 4, 4, 6, 5, 3, 10, 8, 0, @@ -554,9 +560,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -566,13 +581,12 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ else \ { \ - yyerror (YY_("syntax error: cannot back up")); \ + yyerror (result, YY_("syntax error: cannot back up")); \ YYERROR; \ } \ while (YYID (0)) @@ -608,19 +622,10 @@ #endif -/* YY_LOCATION_PRINT -- Print the location on the stream. - This macro was not mandated originally: define only if we know - we won't break user code: when these are the locations we know. */ +/* This macro is provided for backward compatibility. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL -# define YY_LOCATION_PRINT(File, Loc) \ - fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) -# else -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -# endif +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) #endif @@ -652,7 +657,7 @@ { \ YYFPRINTF (stderr, "%s ", Title); \ yy_symbol_print (stderr, \ - Type, Value); \ + Type, Value, result); \ YYFPRINTF (stderr, "\n"); \ } \ } while (YYID (0)) @@ -666,17 +671,19 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) #else static void -yy_symbol_value_print (yyoutput, yytype, yyvaluep) +yy_symbol_value_print (yyoutput, yytype, yyvaluep, result) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; + NDBOX **result; #endif { if (!yyvaluep) return; + YYUSE (result); # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); @@ -698,13 +705,14 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) #else static void -yy_symbol_print (yyoutput, yytype, yyvaluep) +yy_symbol_print (yyoutput, yytype, yyvaluep, result) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; + NDBOX **result; #endif { if (yytype < YYNTOKENS) @@ -712,7 +720,7 @@ else YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep); + yy_symbol_value_print (yyoutput, yytype, yyvaluep, result); YYFPRINTF (yyoutput, ")"); } @@ -755,12 +763,13 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +yy_reduce_print (YYSTYPE *yyvsp, int yyrule, NDBOX **result) #else static void -yy_reduce_print (yyvsp, yyrule) +yy_reduce_print (yyvsp, yyrule, result) YYSTYPE *yyvsp; int yyrule; + NDBOX **result; #endif { int yynrhs = yyr2[yyrule]; @@ -774,7 +783,7 @@ YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], &(yyvsp[(yyi + 1) - (yynrhs)]) - ); + , result); YYFPRINTF (stderr, "\n"); } } @@ -782,7 +791,7 @@ # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ - yy_reduce_print (yyvsp, Rule); \ + yy_reduce_print (yyvsp, Rule, result); \ } while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that @@ -812,7 +821,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -915,115 +923,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -1033,16 +1068,18 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, NDBOX **result) #else static void -yydestruct (yymsg, yytype, yyvaluep) +yydestruct (yymsg, yytype, yyvaluep, result) const char *yymsg; int yytype; YYSTYPE *yyvaluep; + NDBOX **result; #endif { YYUSE (yyvaluep); + YYUSE (result); if (!yymsg) yymsg = "Deleting"; @@ -1056,6 +1093,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -1065,7 +1103,7 @@ #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus -int yyparse (void); +int yyparse (NDBOX **result); #else int yyparse (); #endif @@ -1082,10 +1120,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -1101,16 +1138,14 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) int -yyparse (void) +yyparse (NDBOX **result) #else int -yyparse () - +yyparse (result) + NDBOX **result; #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1265,7 +1300,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -1296,8 +1331,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -1352,7 +1387,7 @@ { case 2: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 51 "cubeparse.y" { @@ -1376,14 +1411,14 @@ YYABORT; } - *((void **)result) = write_box( dim, (yyvsp[(2) - (5)]), (yyvsp[(4) - (5)]) ); + *result = write_box( dim, (yyvsp[(2) - (5)]), (yyvsp[(4) - (5)]) ); - ;} + } break; case 3: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 77 "cubeparse.y" { int dim; @@ -1407,13 +1442,13 @@ YYABORT; } - *((void **)result) = write_box( dim, (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]) ); - ;} + *result = write_box( dim, (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]) ); + } break; case 4: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 103 "cubeparse.y" { int dim; @@ -1428,13 +1463,13 @@ YYABORT; } - *((void **)result) = write_point_as_box((yyvsp[(1) - (1)]), dim); - ;} + *result = write_point_as_box((yyvsp[(1) - (1)]), dim); + } break; case 5: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 121 "cubeparse.y" { int dim; @@ -1448,47 +1483,58 @@ CUBE_MAX_DIM))); YYABORT; } - *((void **)result) = write_point_as_box((yyvsp[(1) - (1)]), dim); - ;} + *result = write_point_as_box((yyvsp[(1) - (1)]), dim); + } break; case 6: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 138 "cubeparse.y" { (yyval) = (yyvsp[(2) - (3)]); - ;} + } break; case 7: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 144 "cubeparse.y" { /* alloc enough space to be sure whole list will fit */ (yyval) = palloc(scanbuflen + 1); strcpy((yyval), (yyvsp[(1) - (1)])); - ;} + } break; case 8: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 150 "cubeparse.y" { (yyval) = (yyvsp[(1) - (3)]); strcat((yyval), ","); strcat((yyval), (yyvsp[(3) - (3)])); - ;} + } break; -/* Line 1455 of yacc.c */ -#line 1490 "cubeparse.c" +/* Line 1806 of yacc.c */ +#line 1525 "cubeparse.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -1516,44 +1562,47 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if ! YYERROR_VERBOSE - yyerror (YY_("syntax error")); + yyerror (result, YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (result, yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } @@ -1573,7 +1622,7 @@ else { yydestruct ("Error: discarding", - yytoken, &yylval); + yytoken, &yylval, result); yychar = YYEMPTY; } } @@ -1612,7 +1661,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -1629,7 +1678,7 @@ yydestruct ("Error: popping", - yystos[yystate], yyvsp); + yystos[yystate], yyvsp, result); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); @@ -1664,15 +1713,20 @@ | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: - yyerror (YY_("memory exhausted")); + yyerror (result, YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval, result); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -1680,7 +1734,7 @@ while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); + yystos[*yyssp], yyvsp, result); YYPOPSTACK (1); } #ifndef yyoverflow @@ -1697,7 +1751,7 @@ -/* Line 1675 of yacc.c */ +/* Line 2067 of yacc.c */ #line 157 "cubeparse.y" diff -Nru postgresql-8.4-8.4.17/contrib/cube/cubeparse.y postgresql-8.4-8.4.20/contrib/cube/cubeparse.y --- postgresql-8.4-8.4.17/contrib/cube/cubeparse.y 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/cube/cubeparse.y 2014-02-17 19:44:07.000000000 +0000 @@ -1,10 +1,9 @@ %{ +/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */ + /* NdBox = [(lowerleft),(upperright)] */ /* [(xLL(1)...xLL(N)),(xUR(1)...xUR(n))] */ -/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */ - -#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ #define YYSTYPE char * #define YYDEBUG 1 @@ -28,8 +27,8 @@ static char *scanbuf; static int scanbuflen; -void cube_yyerror(const char *message); -int cube_yyparse(void *result); +extern int cube_yyparse(NDBOX **result); +extern void cube_yyerror(NDBOX **result, const char *message); static int delim_count(char *s, char delim); static NDBOX * write_box(unsigned int dim, char *str1, char *str2); @@ -38,6 +37,7 @@ %} /* BISON Declarations */ +%parse-param {NDBOX **result} %expect 0 %name-prefix="cube_yy" @@ -70,7 +70,7 @@ YYABORT; } - *((void **)result) = write_box( dim, $2, $4 ); + *result = write_box( dim, $2, $4 ); } | @@ -96,7 +96,7 @@ YYABORT; } - *((void **)result) = write_box( dim, $1, $3 ); + *result = write_box( dim, $1, $3 ); } | @@ -113,7 +113,7 @@ YYABORT; } - *((void **)result) = write_point_as_box($1, dim); + *result = write_point_as_box($1, dim); } | @@ -130,7 +130,7 @@ CUBE_MAX_DIM))); YYABORT; } - *((void **)result) = write_point_as_box($1, dim); + *result = write_point_as_box($1, dim); } ; diff -Nru postgresql-8.4-8.4.17/contrib/cube/cubescan.c postgresql-8.4-8.4.20/contrib/cube/cubescan.c --- postgresql-8.4-8.4.17/contrib/cube/cubescan.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/cube/cubescan.c 2014-02-17 20:07:40.000000000 +0000 @@ -1795,7 +1795,7 @@ void -yyerror(const char *message) +yyerror(NDBOX **result, const char *message) { if (*cube_yytext == YY_END_OF_BUFFER_CHAR) { diff -Nru postgresql-8.4-8.4.17/contrib/cube/cubescan.l postgresql-8.4-8.4.20/contrib/cube/cubescan.l --- postgresql-8.4-8.4.17/contrib/cube/cubescan.l 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/cube/cubescan.l 2014-02-17 19:44:07.000000000 +0000 @@ -54,7 +54,7 @@ %% void -yyerror(const char *message) +yyerror(NDBOX **result, const char *message) { if (*yytext == YY_END_OF_BUFFER_CHAR) { diff -Nru postgresql-8.4-8.4.17/contrib/dblink/dblink.c postgresql-8.4-8.4.20/contrib/dblink/dblink.c --- postgresql-8.4-8.4.17/contrib/dblink/dblink.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/dblink/dblink.c 2014-02-17 19:44:07.000000000 +0000 @@ -191,7 +191,8 @@ errdetail("%s", msg))); \ } \ dblink_security_check(conn, rconn); \ - PQsetClientEncoding(conn, GetDatabaseEncodingName()); \ + if (PQclientEncoding(conn) != GetDatabaseEncoding()) \ + PQsetClientEncoding(conn, GetDatabaseEncodingName()); \ freeconn = true; \ } \ } while (0) @@ -270,8 +271,9 @@ /* check password actually used if not superuser */ dblink_security_check(conn, rconn); - /* attempt to set client encoding to match server encoding */ - PQsetClientEncoding(conn, GetDatabaseEncodingName()); + /* attempt to set client encoding to match server encoding, if needed */ + if (PQclientEncoding(conn) != GetDatabaseEncoding()) + PQsetClientEncoding(conn, GetDatabaseEncodingName()); if (connname) { diff -Nru postgresql-8.4-8.4.17/contrib/intarray/_int_bool.c postgresql-8.4-8.4.20/contrib/intarray/_int_bool.c --- postgresql-8.4-8.4.17/contrib/intarray/_int_bool.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/intarray/_int_bool.c 2014-02-17 19:44:07.000000000 +0000 @@ -416,6 +416,9 @@ static void findoprnd(ITEM *ptr, int4 *pos) { + /* since this function recurses, it could be driven to stack overflow. */ + check_stack_depth(); + #ifdef BS_DEBUG elog(DEBUG3, (ptr[*pos].type == OPR) ? "%d %c" : "%d %d", *pos, ptr[*pos].val); @@ -476,7 +479,13 @@ (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("empty query"))); + if (state.num > QUERYTYPEMAXITEMS) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("number of query items (%d) exceeds the maximum allowed (%d)", + state.num, (int) QUERYTYPEMAXITEMS))); commonlen = COMPUTESIZE(state.num); + query = (QUERYTYPE *) palloc(commonlen); SET_VARSIZE(query, commonlen); query->size = state.num; diff -Nru postgresql-8.4-8.4.17/contrib/intarray/_int.h postgresql-8.4-8.4.20/contrib/intarray/_int.h --- postgresql-8.4-8.4.17/contrib/intarray/_int.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/intarray/_int.h 2014-02-17 19:44:07.000000000 +0000 @@ -5,6 +5,7 @@ #define ___INT_H__ #include "utils/array.h" +#include "utils/memutils.h" /* number ranges for compression */ #define MAXNUMRANGE 100 @@ -142,6 +143,7 @@ #define HDRSIZEQT (VARHDRSZ + sizeof(int4)) #define COMPUTESIZE(size) ( HDRSIZEQT + size * sizeof(ITEM) ) +#define QUERYTYPEMAXITEMS ((MaxAllocSize - HDRSIZEQT) / sizeof(ITEM)) #define GETQUERY(x) (ITEM*)( (char*)(x)+HDRSIZEQT ) #define END 0 diff -Nru postgresql-8.4-8.4.17/contrib/isn/isn.c postgresql-8.4-8.4.20/contrib/isn/isn.c --- postgresql-8.4-8.4.17/contrib/isn/isn.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/isn/isn.c 2014-02-17 19:44:07.000000000 +0000 @@ -822,7 +822,7 @@ case ISMN: strncpy(buf, "9790", 4); /* this isn't for sure yet, for now * ISMN it's only 9790 */ - valid = (valid && ((rcheck = checkdig(buf + 3, 10)) == check || magic)); + valid = (valid && ((rcheck = checkdig(buf, 13)) == check || magic)); break; case ISBN: strncpy(buf, "978", 3); diff -Nru postgresql-8.4-8.4.17/contrib/lo/lo.c postgresql-8.4-8.4.20/contrib/lo/lo.c --- postgresql-8.4-8.4.17/contrib/lo/lo.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/lo/lo.c 2014-02-17 19:44:07.000000000 +0000 @@ -44,7 +44,12 @@ HeapTuple trigtuple; /* The original value of tuple */ if (!CALLED_AS_TRIGGER(fcinfo)) /* internal error */ - elog(ERROR, "not fired by trigger manager"); + elog(ERROR, "%s: not fired by trigger manager", + trigdata->tg_trigger->tgname); + + if (!TRIGGER_FIRED_FOR_ROW(trigdata->tg_event)) /* internal error */ + elog(ERROR, "%s: must be fired for row", + trigdata->tg_trigger->tgname); /* * Fetch some values from trigdata @@ -54,6 +59,10 @@ tupdesc = trigdata->tg_relation->rd_att; args = trigdata->tg_trigger->tgargs; + if (args == NULL) /* internal error */ + elog(ERROR, "%s: no column name provided in the trigger definition", + trigdata->tg_trigger->tgname); + /* tuple to return to Executor */ if (TRIGGER_FIRED_BY_UPDATE(trigdata->tg_event)) rettuple = newtuple; @@ -67,7 +76,8 @@ attnum = SPI_fnumber(tupdesc, args[0]); if (attnum <= 0) - elog(ERROR, "column \"%s\" does not exist", args[0]); + elog(ERROR, "%s: column \"%s\" does not exist", + trigdata->tg_trigger->tgname, args[0]); /* * Handle updates diff -Nru postgresql-8.4-8.4.17/contrib/ltree/ltree.h postgresql-8.4-8.4.20/contrib/ltree/ltree.h --- postgresql-8.4-8.4.17/contrib/ltree/ltree.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/ltree/ltree.h 2014-02-17 19:44:07.000000000 +0000 @@ -6,6 +6,7 @@ #include "postgres.h" #include "fmgr.h" #include "tsearch/ts_locale.h" +#include "utils/memutils.h" typedef struct { @@ -112,6 +113,8 @@ #define HDRSIZEQT MAXALIGN(VARHDRSZ + sizeof(int4)) #define COMPUTESIZE(size,lenofoperand) ( HDRSIZEQT + (size) * sizeof(ITEM) + (lenofoperand) ) +#define LTXTQUERY_TOO_BIG(size,lenofoperand) \ + ((size) > (MaxAllocSize - HDRSIZEQT - (lenofoperand)) / sizeof(ITEM)) #define GETQUERY(x) (ITEM*)( (char*)(x)+HDRSIZEQT ) #define GETOPERAND(x) ( (char*)GETQUERY(x) + ((ltxtquery*)x)->size * sizeof(ITEM) ) diff -Nru postgresql-8.4-8.4.17/contrib/ltree/ltree_io.c postgresql-8.4-8.4.20/contrib/ltree/ltree_io.c --- postgresql-8.4-8.4.17/contrib/ltree/ltree_io.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/ltree/ltree_io.c 2014-02-17 19:44:07.000000000 +0000 @@ -8,6 +8,7 @@ #include #include "ltree.h" +#include "utils/memutils.h" #include "crc32.h" PG_FUNCTION_INFO_V1(ltree_in); @@ -64,6 +65,11 @@ ptr += charlen; } + if (num + 1 > MaxAllocSize / sizeof(nodeitem)) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("number of levels (%d) exceeds the maximum allowed (%d)", + num + 1, (int) (MaxAllocSize / sizeof(nodeitem))))); list = lptr = (nodeitem *) palloc(sizeof(nodeitem) * (num + 1)); ptr = buf; while (*ptr) @@ -228,6 +234,11 @@ } num++; + if (num > MaxAllocSize / ITEMSIZE) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("number of levels (%d) exceeds the maximum allowed (%d)", + num, (int) (MaxAllocSize / ITEMSIZE)))); curqlevel = tmpql = (lquery_level *) palloc0(ITEMSIZE * num); ptr = buf; while (*ptr) diff -Nru postgresql-8.4-8.4.17/contrib/ltree/ltxtquery_io.c postgresql-8.4-8.4.20/contrib/ltree/ltxtquery_io.c --- postgresql-8.4-8.4.17/contrib/ltree/ltxtquery_io.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/ltree/ltxtquery_io.c 2014-02-17 19:44:07.000000000 +0000 @@ -9,6 +9,7 @@ #include "crc32.h" #include "ltree.h" +#include "miscadmin.h" PG_FUNCTION_INFO_V1(ltxtq_in); Datum ltxtq_in(PG_FUNCTION_ARGS); @@ -213,6 +214,9 @@ int4 lenstack = 0; uint16 flag = 0; + /* since this function recurses, it could be driven to stack overflow */ + check_stack_depth(); + while ((type = gettoken_query(state, &val, &lenval, &strval, &flag)) != END) { switch (type) @@ -277,6 +281,9 @@ static void findoprnd(ITEM *ptr, int4 *pos) { + /* since this function recurses, it could be driven to stack overflow. */ + check_stack_depth(); + if (ptr[*pos].type == VAL || ptr[*pos].type == VALTRUE) { ptr[*pos].left = 0; @@ -341,8 +348,12 @@ errmsg("syntax error"), errdetail("Empty query."))); - /* make finish struct */ + if (LTXTQUERY_TOO_BIG(state.num, state.sumlen)) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("ltxtquery is too large"))); commonlen = COMPUTESIZE(state.num, state.sumlen); + query = (ltxtquery *) palloc(commonlen); SET_VARSIZE(query, commonlen); query->size = state.num; diff -Nru postgresql-8.4-8.4.17/contrib/pgcrypto/expected/pgp-pubkey-decrypt.out postgresql-8.4-8.4.20/contrib/pgcrypto/expected/pgp-pubkey-decrypt.out --- postgresql-8.4-8.4.17/contrib/pgcrypto/expected/pgp-pubkey-decrypt.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/pgcrypto/expected/pgp-pubkey-decrypt.out 2014-02-17 19:44:07.000000000 +0000 @@ -417,6 +417,70 @@ =UKh3 -----END PGP PRIVATE KEY BLOCK----- '); +insert into keytbl (id, name, pubkey, seckey) +values (7, 'rsaenc2048-psw', ' +same key with password +', ' +-----BEGIN PGP PRIVATE KEY BLOCK----- +Version: GnuPG v1.4.11 (GNU/Linux) + +lQPEBELr2m0BCADOrnknlnXI0EzRExf/TgoHvK7Xx/E0keWqV3KrOyC3/tY2KOrj +UVxaAX5pkFX9wdQObGPIJm06u6D16CH6CildX/vxG7YgvvKzK8JGAbwrXAfk7OIW +czO2zRaZGDynoK3mAxHRBReyTKtNv8rDQhuZs6AOozJNARdbyUO/yqUnqNNygWuT +4htFDEuLPIJwAbMSD0BvFW6YQaPdxzaAZm3EWVNbwDzjgbBUdBiUUwRdZIFUhsjJ +dirFdy5+uuZru6y6CNC1OERkJ7P8EyoFiZckAIE5gshVZzNuyLOZjc5DhWBvLbX4 +NZElAnfiv+4nA6y8wQLSIbmHA3nqJaBklj85AAYp/gcDCNnoEKwFo86JYCE1J92R +HRQ7DoyAZpW1O0dTXL8Epk0sKsKDrCJOrIkDymsjfyBexADIeqOkioy/50wD2Mku +CVHKWO2duAiJN5t/FoRgpR1/Q11K6QdfqOG0HxwfIXLcPv7eSIso8kWorj+I01BP +Fn/atGEbIjdWaz/q2XHbu0Q3x6Et2gIsbLRVMhiYz1UG9uzGJ0TYCdBa2SFhs184 +52akMpD+XVdM0Sq9/Cx40Seo8hzERB96+GXnQ48q2OhlvcEXiFyD6M6wYCWbEV+6 +XQVMymbl22FPP/bD9ReQX2kjrkQlFAtmhr+0y8reMCbcxwLuQfA3173lSPo7jrbH +oLrGhkRpqd2bYCelqdy/XMmRFso0+7uytHfTFrUNfDWfmHVrygoVrNnarCbxMMI0 +I8Q+tKHMThWgf0rIOSh0+w38kOXFCEqEWF8YkAqCrMZIlJIed78rOCFgG4aHajZR +D8rpXdUOIr/WeUddK25Tu8IuNJb0kFf12IMgNh0nS+mzlqWiofS5kA0TeB8wBV6t +RotaeyDNSsMoowfN8cf1yHMTxli+K1Tasg003WVUoWgUc+EsJ5+KTNwaX5uGv0Cs +j6dg6/FVeVRL9UsyF+2kt7euX3mABuUtcVGx/ZKTq/MNGEh6/r3B5U37qt+FDRbw +ppKPc2AP+yBUWsQskyrxFgv4eSpcLEg+lgdz/zLyG4qW4lrFUoO790Cm/J6C7/WQ +Z+E8kcS8aINJkg1skahH31d59ZkbW9PVeJMFGzNb0Z2LowngNP/BMrJ0LT2CQyLs +UxbT16S/gwAyUpJnbhWYr3nDdlwtC0rVopVTPD7khPRppcsq1f8D70rdIxI4Ouuw +vbjNZ1EWRJ9f2Ywb++k/xgSXwJkGodUlrUr+3i8cv8mPx+fWvif9q7Y5Ex1wCRa8 +8FAj/o+hEbQlUlNBIDIwNDggRW5jIDxyc2EyMDQ4ZW5jQGV4YW1wbGUub3JnPokB +NAQTAQIAHgUCQuvabQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIXgAAKCRDImeqTRBlV +WRzJCACbRhx2fYjPGKta69M5dS+kr5UD/CQmsR2t9cB9zyqhratjPnKW9q13+4AG +P3aByT14IH1c5Mha8rJkNYD2wxmC8jrrcPiJIYoRG+W1sUATY/t8wBbNWF+r9h11 +m0lEpsmNVff/jU7SpNN6JQ3P7MHd5V85LlDoXIH6QYCLd0PjKU+jNvjiBe5VX0m9 +a1nacE3xoWc1vbM0DnqEuID78Qgkcrmm0ESeg1h+tRfHxSAyYNc/gPzm8eH6l+hj +gOvUc4Gd6LpBQSF8TcFfT2TZwJh7WVWDvNIP6FWAW7rzmHnX3wwXkGq4REWeVtk5 +yBPp6mOtWDiwaqLJYsoHWU11C8zYnQPEBELr2roBCADrgiWXZMzkQOntZa/NS56+ +CczLFQRQPl/8iJAW1eql/wOJ1UiwGSjT189WCKzE7vtazCIstdCFmwOs4DE6cz4S +UX4HjzjYHZwmMiuSrIefwuZ7cysMBsMXypQFyMSbqwh102xGvmLz3Z++rydx7Fzl +1RC/ny2+FN5dzYPO2DNtNi4dR2tjHktsxBWXAKCmxagAIwyxGouuEqDhYdFtwrA9 +Qy+M5n6fmGa1Dx07WWnbIud4uCilv8LPVKx5aJamDYWM3v7kS8n51MfTzeK/xoRM +2rsgzFdLJqPdbgd2nsD37fngqZnlp7tDxSVSuMckZoSKtq1QsNemtaQSYq7xjPst +AAYp/gcDCNnoEKwFo86JYAsxoD+wQ0zBi5RBM5EphXTpM1qKxmigsKOvBSaMmr0y +VjHtGY3poyV3t6VboOGCsFcaKm0tIdDL7vrxxwyYESETpF29b7QrYcoaLKMG7fsy +t9SUI3UV2H9uUquHgqHtsqz0jYOgm9tYnpesgQ/kOAWI/tej1ZJXUIWEmZMH/W6d +ATNvZ3ivwApfC0qF5G3oPgBSoIuQ/8I+pN/kmuyNAnJWNgagFhA/2VFBvh5XgztV +NW7G//KpR1scsn140SO/wpGBM3Kr4m8ztl9w9U6a7NlQZ2ub3/pIUTpSzyLBxJZ/ +RfuZI7ROdgDMKmEgCYrN2kfp0LIxnYL6ZJu3FDcS4V098lyf5rHvB3PAEdL6Zyhd +qYp3Sx68r0F4vzk5iAIWf6pG2YdfoP2Z48Pmq9xW8qD9iwFcoz9oAzDEMENn6dfq +6MzfoaXEoYp8cR/o+aeEaGUtYBHiaxQcJYx35B9IhsXXA49yRORK8qdwhSHxB3NQ +H3pUWkfw368f/A207hQVs9yYXlEvMZikxl58gldCd3BAPqHm/XzgknRRNQZBPPKJ +BMZebZ22Dm0qDuIqW4GXLB4sLf0+UXydVINIUOlzg+S4jrwx7eZqb6UkRXTIWVo5 +psTsD14wzWBRdUQHZOZD33+M8ugmewvLY/0Uix+2RorkmB7/jqoZvx/MehDwmCZd +VH8sb2wpZ55sj7gCXxvrfieQD/VeH54OwjjbtK56iYq56RVD0h1az8xDY2GZXeT7 +J0c3BGpuoca5xOFWr1SylAr/miEPxOBfnfk8oZQJvZrjSBGjsTbALep2vDJk8ROD +sdQCJuU1RHDrwKHlbUL0NbGRO2juJGsatdWnuVKsFbaFW2pHHkezKuwOcaAJv7Xt +8LRF17czAJ1uaLKwV8Paqx6UIv+089GbWZi7HIkBHwQYAQIACQUCQuvaugIbDAAK +CRDImeqTRBlVWS7XCACDVstKM+SHD6V0bkfO6ampHzj4krKjN0lonN5+7b7WKpgT +QHRYvPY8lUiIrjXGISQqEG9M5Bi5ea1aoBZem0P3U/lKheg0lYtA7dM3BqsA2EfG +RaDD9M5TFCqhy2VFR6Pk0MP7h5bkb2VxLUUQa4oNa1fT3q7zS875NvImO/HZ5UzW +T5d2Z5iwY6I2AOKYKt4kZhzXgbt5j2O3biDDXSfWwwAojWqbqVygepn047KVr7Al +2ug9hkY7tHz7U71HbZasroFgNPmP/UnAxmps4RKM28MRVPTI4cKUIdE3gIKFu3ou +EqEItQ13P+50i3QkALpz8d08tJbceeYzf6I2P4q6 +=QFm5 +-----END PGP PRIVATE KEY BLOCK----- +'); -- elg1024 / aes128 insert into encdata (id, data) values (1, ' -----BEGIN PGP MESSAGE----- @@ -537,6 +601,18 @@ select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=4 and encdata.id=1; ERROR: No encryption key found +-- rsa: password-protected secret key, wrong password +select pgp_pub_decrypt(dearmor(data), dearmor(seckey), '123') +from keytbl, encdata where keytbl.id=7 and encdata.id=4; +ERROR: Corrupt data +-- rsa: password-protected secret key, right password +select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'parool') +from keytbl, encdata where keytbl.id=7 and encdata.id=4; + pgp_pub_decrypt +----------------- + Secret message. +(1 row) + -- password-protected secret key, no password select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=5 and encdata.id=1; diff -Nru postgresql-8.4-8.4.17/contrib/pgcrypto/pgp-pubkey.c postgresql-8.4-8.4.20/contrib/pgcrypto/pgp-pubkey.c --- postgresql-8.4-8.4.17/contrib/pgcrypto/pgp-pubkey.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/pgcrypto/pgp-pubkey.c 2014-02-17 19:44:07.000000000 +0000 @@ -408,16 +408,16 @@ case PGP_PUB_RSA_SIGN: case PGP_PUB_RSA_ENCRYPT: case PGP_PUB_RSA_ENCRYPT_SIGN: - res = pgp_mpi_read(pkt, &pk->sec.rsa.d); + res = pgp_mpi_read(pf_key, &pk->sec.rsa.d); if (res < 0) break; - res = pgp_mpi_read(pkt, &pk->sec.rsa.p); + res = pgp_mpi_read(pf_key, &pk->sec.rsa.p); if (res < 0) break; - res = pgp_mpi_read(pkt, &pk->sec.rsa.q); + res = pgp_mpi_read(pf_key, &pk->sec.rsa.q); if (res < 0) break; - res = pgp_mpi_read(pkt, &pk->sec.rsa.u); + res = pgp_mpi_read(pf_key, &pk->sec.rsa.u); if (res < 0) break; break; diff -Nru postgresql-8.4-8.4.17/contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql postgresql-8.4-8.4.20/contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql --- postgresql-8.4-8.4.17/contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql 2014-02-17 19:44:07.000000000 +0000 @@ -426,6 +426,71 @@ -----END PGP PRIVATE KEY BLOCK----- '); +insert into keytbl (id, name, pubkey, seckey) +values (7, 'rsaenc2048-psw', ' +same key with password +', ' +-----BEGIN PGP PRIVATE KEY BLOCK----- +Version: GnuPG v1.4.11 (GNU/Linux) + +lQPEBELr2m0BCADOrnknlnXI0EzRExf/TgoHvK7Xx/E0keWqV3KrOyC3/tY2KOrj +UVxaAX5pkFX9wdQObGPIJm06u6D16CH6CildX/vxG7YgvvKzK8JGAbwrXAfk7OIW +czO2zRaZGDynoK3mAxHRBReyTKtNv8rDQhuZs6AOozJNARdbyUO/yqUnqNNygWuT +4htFDEuLPIJwAbMSD0BvFW6YQaPdxzaAZm3EWVNbwDzjgbBUdBiUUwRdZIFUhsjJ +dirFdy5+uuZru6y6CNC1OERkJ7P8EyoFiZckAIE5gshVZzNuyLOZjc5DhWBvLbX4 +NZElAnfiv+4nA6y8wQLSIbmHA3nqJaBklj85AAYp/gcDCNnoEKwFo86JYCE1J92R +HRQ7DoyAZpW1O0dTXL8Epk0sKsKDrCJOrIkDymsjfyBexADIeqOkioy/50wD2Mku +CVHKWO2duAiJN5t/FoRgpR1/Q11K6QdfqOG0HxwfIXLcPv7eSIso8kWorj+I01BP +Fn/atGEbIjdWaz/q2XHbu0Q3x6Et2gIsbLRVMhiYz1UG9uzGJ0TYCdBa2SFhs184 +52akMpD+XVdM0Sq9/Cx40Seo8hzERB96+GXnQ48q2OhlvcEXiFyD6M6wYCWbEV+6 +XQVMymbl22FPP/bD9ReQX2kjrkQlFAtmhr+0y8reMCbcxwLuQfA3173lSPo7jrbH +oLrGhkRpqd2bYCelqdy/XMmRFso0+7uytHfTFrUNfDWfmHVrygoVrNnarCbxMMI0 +I8Q+tKHMThWgf0rIOSh0+w38kOXFCEqEWF8YkAqCrMZIlJIed78rOCFgG4aHajZR +D8rpXdUOIr/WeUddK25Tu8IuNJb0kFf12IMgNh0nS+mzlqWiofS5kA0TeB8wBV6t +RotaeyDNSsMoowfN8cf1yHMTxli+K1Tasg003WVUoWgUc+EsJ5+KTNwaX5uGv0Cs +j6dg6/FVeVRL9UsyF+2kt7euX3mABuUtcVGx/ZKTq/MNGEh6/r3B5U37qt+FDRbw +ppKPc2AP+yBUWsQskyrxFgv4eSpcLEg+lgdz/zLyG4qW4lrFUoO790Cm/J6C7/WQ +Z+E8kcS8aINJkg1skahH31d59ZkbW9PVeJMFGzNb0Z2LowngNP/BMrJ0LT2CQyLs +UxbT16S/gwAyUpJnbhWYr3nDdlwtC0rVopVTPD7khPRppcsq1f8D70rdIxI4Ouuw +vbjNZ1EWRJ9f2Ywb++k/xgSXwJkGodUlrUr+3i8cv8mPx+fWvif9q7Y5Ex1wCRa8 +8FAj/o+hEbQlUlNBIDIwNDggRW5jIDxyc2EyMDQ4ZW5jQGV4YW1wbGUub3JnPokB +NAQTAQIAHgUCQuvabQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIXgAAKCRDImeqTRBlV +WRzJCACbRhx2fYjPGKta69M5dS+kr5UD/CQmsR2t9cB9zyqhratjPnKW9q13+4AG +P3aByT14IH1c5Mha8rJkNYD2wxmC8jrrcPiJIYoRG+W1sUATY/t8wBbNWF+r9h11 +m0lEpsmNVff/jU7SpNN6JQ3P7MHd5V85LlDoXIH6QYCLd0PjKU+jNvjiBe5VX0m9 +a1nacE3xoWc1vbM0DnqEuID78Qgkcrmm0ESeg1h+tRfHxSAyYNc/gPzm8eH6l+hj +gOvUc4Gd6LpBQSF8TcFfT2TZwJh7WVWDvNIP6FWAW7rzmHnX3wwXkGq4REWeVtk5 +yBPp6mOtWDiwaqLJYsoHWU11C8zYnQPEBELr2roBCADrgiWXZMzkQOntZa/NS56+ +CczLFQRQPl/8iJAW1eql/wOJ1UiwGSjT189WCKzE7vtazCIstdCFmwOs4DE6cz4S +UX4HjzjYHZwmMiuSrIefwuZ7cysMBsMXypQFyMSbqwh102xGvmLz3Z++rydx7Fzl +1RC/ny2+FN5dzYPO2DNtNi4dR2tjHktsxBWXAKCmxagAIwyxGouuEqDhYdFtwrA9 +Qy+M5n6fmGa1Dx07WWnbIud4uCilv8LPVKx5aJamDYWM3v7kS8n51MfTzeK/xoRM +2rsgzFdLJqPdbgd2nsD37fngqZnlp7tDxSVSuMckZoSKtq1QsNemtaQSYq7xjPst +AAYp/gcDCNnoEKwFo86JYAsxoD+wQ0zBi5RBM5EphXTpM1qKxmigsKOvBSaMmr0y +VjHtGY3poyV3t6VboOGCsFcaKm0tIdDL7vrxxwyYESETpF29b7QrYcoaLKMG7fsy +t9SUI3UV2H9uUquHgqHtsqz0jYOgm9tYnpesgQ/kOAWI/tej1ZJXUIWEmZMH/W6d +ATNvZ3ivwApfC0qF5G3oPgBSoIuQ/8I+pN/kmuyNAnJWNgagFhA/2VFBvh5XgztV +NW7G//KpR1scsn140SO/wpGBM3Kr4m8ztl9w9U6a7NlQZ2ub3/pIUTpSzyLBxJZ/ +RfuZI7ROdgDMKmEgCYrN2kfp0LIxnYL6ZJu3FDcS4V098lyf5rHvB3PAEdL6Zyhd +qYp3Sx68r0F4vzk5iAIWf6pG2YdfoP2Z48Pmq9xW8qD9iwFcoz9oAzDEMENn6dfq +6MzfoaXEoYp8cR/o+aeEaGUtYBHiaxQcJYx35B9IhsXXA49yRORK8qdwhSHxB3NQ +H3pUWkfw368f/A207hQVs9yYXlEvMZikxl58gldCd3BAPqHm/XzgknRRNQZBPPKJ +BMZebZ22Dm0qDuIqW4GXLB4sLf0+UXydVINIUOlzg+S4jrwx7eZqb6UkRXTIWVo5 +psTsD14wzWBRdUQHZOZD33+M8ugmewvLY/0Uix+2RorkmB7/jqoZvx/MehDwmCZd +VH8sb2wpZ55sj7gCXxvrfieQD/VeH54OwjjbtK56iYq56RVD0h1az8xDY2GZXeT7 +J0c3BGpuoca5xOFWr1SylAr/miEPxOBfnfk8oZQJvZrjSBGjsTbALep2vDJk8ROD +sdQCJuU1RHDrwKHlbUL0NbGRO2juJGsatdWnuVKsFbaFW2pHHkezKuwOcaAJv7Xt +8LRF17czAJ1uaLKwV8Paqx6UIv+089GbWZi7HIkBHwQYAQIACQUCQuvaugIbDAAK +CRDImeqTRBlVWS7XCACDVstKM+SHD6V0bkfO6ampHzj4krKjN0lonN5+7b7WKpgT +QHRYvPY8lUiIrjXGISQqEG9M5Bi5ea1aoBZem0P3U/lKheg0lYtA7dM3BqsA2EfG +RaDD9M5TFCqhy2VFR6Pk0MP7h5bkb2VxLUUQa4oNa1fT3q7zS875NvImO/HZ5UzW +T5d2Z5iwY6I2AOKYKt4kZhzXgbt5j2O3biDDXSfWwwAojWqbqVygepn047KVr7Al +2ug9hkY7tHz7U71HbZasroFgNPmP/UnAxmps4RKM28MRVPTI4cKUIdE3gIKFu3ou +EqEItQ13P+50i3QkALpz8d08tJbceeYzf6I2P4q6 +=QFm5 +-----END PGP PRIVATE KEY BLOCK----- +'); + -- elg1024 / aes128 insert into encdata (id, data) values (1, ' @@ -535,6 +600,14 @@ select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=4 and encdata.id=1; +-- rsa: password-protected secret key, wrong password +select pgp_pub_decrypt(dearmor(data), dearmor(seckey), '123') +from keytbl, encdata where keytbl.id=7 and encdata.id=4; + +-- rsa: password-protected secret key, right password +select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'parool') +from keytbl, encdata where keytbl.id=7 and encdata.id=4; + -- password-protected secret key, no password select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=5 and encdata.id=1; diff -Nru postgresql-8.4-8.4.17/contrib/pg_standby/pg_standby.c postgresql-8.4-8.4.20/contrib/pg_standby/pg_standby.c --- postgresql-8.4-8.4.17/contrib/pg_standby/pg_standby.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/pg_standby/pg_standby.c 2014-02-17 19:44:07.000000000 +0000 @@ -337,7 +337,7 @@ if (strcmp(restartWALFileName, nextWALFileName) > 0) return false; - strcpy(exclusiveCleanupFileName, restartWALFileName); + strlcpy(exclusiveCleanupFileName, restartWALFileName, sizeof(exclusiveCleanupFileName)); return true; } diff -Nru postgresql-8.4-8.4.17/contrib/pg_trgm/trgm_op.c postgresql-8.4-8.4.20/contrib/pg_trgm/trgm_op.c --- postgresql-8.4-8.4.17/contrib/pg_trgm/trgm_op.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/pg_trgm/trgm_op.c 2014-02-17 19:44:07.000000000 +0000 @@ -3,9 +3,10 @@ */ #include "trgm.h" #include -#include "utils/array.h" #include "catalog/pg_type.h" #include "tsearch/ts_locale.h" +#include "utils/array.h" +#include "utils/memutils.h" PG_MODULE_MAGIC; @@ -172,6 +173,18 @@ char *bword, *eword; + /* + * Guard against possible overflow in the palloc requests below. (We + * don't worry about the additive constants, since palloc can detect + * requests that are a little above MaxAllocSize --- we just need to + * prevent integer overflow in the multiplications.) + */ + if ((Size) (slen / 2) >= (MaxAllocSize / (sizeof(trgm) * 3)) || + (Size) slen >= (MaxAllocSize / pg_database_encoding_max_length())) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("out of memory"))); + trg = (TRGM *) palloc(TRGMHDRSIZE + sizeof(trgm) * (slen / 2 + 1) *3); trg->flag = ARRKEY; SET_VARSIZE(trg, TRGMHDRSIZE); @@ -181,7 +194,8 @@ tptr = GETARR(trg); - buf = palloc(sizeof(char) * (slen + 4)); + /* Allocate a buffer for case-folded, blank-padded words */ + buf = (char *) palloc(slen * pg_database_encoding_max_length() + 4); if (LPADDING > 0) { @@ -205,6 +219,7 @@ #ifdef IGNORECASE pfree(bword); #endif + buf[LPADDING + bytelen] = ' '; buf[LPADDING + bytelen + 1] = ' '; @@ -220,7 +235,10 @@ if ((len = tptr - GETARR(trg)) == 0) return trg; - if (len > 0) + /* + * Make trigrams unique. + */ + if (len > 1) { qsort((void *) GETARR(trg), len, sizeof(trgm), comp_trgm); len = unique_array(GETARR(trg), len); diff -Nru postgresql-8.4-8.4.17/contrib/seg/seg.c postgresql-8.4-8.4.20/contrib/seg/seg.c --- postgresql-8.4-8.4.17/contrib/seg/seg.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/seg/seg.c 2014-02-17 19:44:07.000000000 +0000 @@ -24,8 +24,8 @@ PG_MODULE_MAGIC; -extern int seg_yyparse(); -extern void seg_yyerror(const char *message); +extern int seg_yyparse(SEG *result); +extern void seg_yyerror(SEG *result, const char *message); extern void seg_scanner_init(const char *str); extern void seg_scanner_finish(void); @@ -117,7 +117,7 @@ seg_scanner_init(str); if (seg_yyparse(result) != 0) - seg_yyerror("bogus input"); + seg_yyerror(result, "bogus input"); seg_scanner_finish(); diff -Nru postgresql-8.4-8.4.17/contrib/seg/segparse.c postgresql-8.4-8.4.20/contrib/seg/segparse.c --- postgresql-8.4-8.4.17/contrib/seg/segparse.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/seg/segparse.c 2014-02-17 20:07:40.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,11 +73,11 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 1 "segparse.y" -#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ - +/* contrib/seg/segparse.y */ + #include "postgres.h" #include @@ -103,8 +101,8 @@ extern int significant_digits(char *str); /* defined in seg.c */ - void seg_yyerror(const char *message); - int seg_yyparse(void *result); + extern int seg_yyparse(SEG *result); + extern void seg_yyerror(SEG *result, const char *message); static float seg_atof(char *value); @@ -118,8 +116,8 @@ -/* Line 189 of yacc.c */ -#line 123 "segparse.c" +/* Line 268 of yacc.c */ +#line 121 "segparse.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -159,8 +157,8 @@ typedef union YYSTYPE { -/* Line 214 of yacc.c */ -#line 46 "segparse.y" +/* Line 293 of yacc.c */ +#line 47 "segparse.y" struct BND { float val; @@ -171,8 +169,8 @@ -/* Line 214 of yacc.c */ -#line 176 "segparse.c" +/* Line 293 of yacc.c */ +#line 174 "segparse.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -183,8 +181,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 188 "segparse.c" +/* Line 343 of yacc.c */ +#line 186 "segparse.c" #ifdef short # undef short @@ -234,7 +232,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -287,11 +285,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -314,24 +312,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -360,23 +358,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -396,6 +378,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 8 /* YYLAST -- Last index in YYTABLE. */ @@ -468,7 +470,7 @@ /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint8 yyrline[] = { - 0, 67, 67, 78, 95, 104, 113, 121, 130, 141 + 0, 68, 68, 79, 96, 105, 114, 122, 131, 142 }; #endif @@ -503,8 +505,8 @@ 0, 2, 3, 3, 2, 2, 1, 1, 2, 1 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { @@ -535,8 +537,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 static const yytype_uint8 yytable[] = { @@ -544,6 +545,12 @@ 9, 10, 12 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-3)) + +#define yytable_value_is_error(yytable_value) \ + YYID (0) + static const yytype_int8 yycheck[] = { 2, -1, 3, 4, 3, 6, 3, 9, 0, 6, @@ -570,9 +577,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -582,13 +598,12 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ else \ { \ - yyerror (YY_("syntax error: cannot back up")); \ + yyerror (result, YY_("syntax error: cannot back up")); \ YYERROR; \ } \ while (YYID (0)) @@ -624,19 +639,10 @@ #endif -/* YY_LOCATION_PRINT -- Print the location on the stream. - This macro was not mandated originally: define only if we know - we won't break user code: when these are the locations we know. */ +/* This macro is provided for backward compatibility. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL -# define YY_LOCATION_PRINT(File, Loc) \ - fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) -# else -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -# endif +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) #endif @@ -668,7 +674,7 @@ { \ YYFPRINTF (stderr, "%s ", Title); \ yy_symbol_print (stderr, \ - Type, Value); \ + Type, Value, result); \ YYFPRINTF (stderr, "\n"); \ } \ } while (YYID (0)) @@ -682,17 +688,19 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SEG *result) #else static void -yy_symbol_value_print (yyoutput, yytype, yyvaluep) +yy_symbol_value_print (yyoutput, yytype, yyvaluep, result) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; + SEG *result; #endif { if (!yyvaluep) return; + YYUSE (result); # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); @@ -714,13 +722,14 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SEG *result) #else static void -yy_symbol_print (yyoutput, yytype, yyvaluep) +yy_symbol_print (yyoutput, yytype, yyvaluep, result) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; + SEG *result; #endif { if (yytype < YYNTOKENS) @@ -728,7 +737,7 @@ else YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep); + yy_symbol_value_print (yyoutput, yytype, yyvaluep, result); YYFPRINTF (yyoutput, ")"); } @@ -771,12 +780,13 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +yy_reduce_print (YYSTYPE *yyvsp, int yyrule, SEG *result) #else static void -yy_reduce_print (yyvsp, yyrule) +yy_reduce_print (yyvsp, yyrule, result) YYSTYPE *yyvsp; int yyrule; + SEG *result; #endif { int yynrhs = yyr2[yyrule]; @@ -790,7 +800,7 @@ YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], &(yyvsp[(yyi + 1) - (yynrhs)]) - ); + , result); YYFPRINTF (stderr, "\n"); } } @@ -798,7 +808,7 @@ # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ - yy_reduce_print (yyvsp, Rule); \ + yy_reduce_print (yyvsp, Rule, result); \ } while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that @@ -828,7 +838,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -931,115 +940,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -1049,16 +1085,18 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void -yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, SEG *result) #else static void -yydestruct (yymsg, yytype, yyvaluep) +yydestruct (yymsg, yytype, yyvaluep, result) const char *yymsg; int yytype; YYSTYPE *yyvaluep; + SEG *result; #endif { YYUSE (yyvaluep); + YYUSE (result); if (!yymsg) yymsg = "Deleting"; @@ -1072,6 +1110,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -1081,7 +1120,7 @@ #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus -int yyparse (void); +int yyparse (SEG *result); #else int yyparse (); #endif @@ -1098,10 +1137,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -1117,16 +1155,14 @@ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) int -yyparse (void) +yyparse (SEG *result) #else int -yyparse () - +yyparse (result) + SEG *result; #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1281,7 +1317,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -1312,8 +1348,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -1368,85 +1404,85 @@ { case 2: -/* Line 1455 of yacc.c */ -#line 67 "segparse.y" +/* Line 1806 of yacc.c */ +#line 68 "segparse.y" { - ((SEG *)result)->lower = (yyvsp[(1) - (3)].bnd).val - (yyvsp[(3) - (3)].bnd).val; - ((SEG *)result)->upper = (yyvsp[(1) - (3)].bnd).val + (yyvsp[(3) - (3)].bnd).val; - sprintf(strbuf, "%g", ((SEG *)result)->lower); - ((SEG *)result)->l_sigd = Max(Min(6, significant_digits(strbuf)), Max((yyvsp[(1) - (3)].bnd).sigd, (yyvsp[(3) - (3)].bnd).sigd)); - sprintf(strbuf, "%g", ((SEG *)result)->upper); - ((SEG *)result)->u_sigd = Max(Min(6, significant_digits(strbuf)), Max((yyvsp[(1) - (3)].bnd).sigd, (yyvsp[(3) - (3)].bnd).sigd)); - ((SEG *)result)->l_ext = '\0'; - ((SEG *)result)->u_ext = '\0'; - ;} + result->lower = (yyvsp[(1) - (3)].bnd).val - (yyvsp[(3) - (3)].bnd).val; + result->upper = (yyvsp[(1) - (3)].bnd).val + (yyvsp[(3) - (3)].bnd).val; + sprintf(strbuf, "%g", result->lower); + result->l_sigd = Max(Min(6, significant_digits(strbuf)), Max((yyvsp[(1) - (3)].bnd).sigd, (yyvsp[(3) - (3)].bnd).sigd)); + sprintf(strbuf, "%g", result->upper); + result->u_sigd = Max(Min(6, significant_digits(strbuf)), Max((yyvsp[(1) - (3)].bnd).sigd, (yyvsp[(3) - (3)].bnd).sigd)); + result->l_ext = '\0'; + result->u_ext = '\0'; + } break; case 3: -/* Line 1455 of yacc.c */ -#line 78 "segparse.y" +/* Line 1806 of yacc.c */ +#line 79 "segparse.y" { - ((SEG *)result)->lower = (yyvsp[(1) - (3)].bnd).val; - ((SEG *)result)->upper = (yyvsp[(3) - (3)].bnd).val; - if ( ((SEG *)result)->lower > ((SEG *)result)->upper ) { + result->lower = (yyvsp[(1) - (3)].bnd).val; + result->upper = (yyvsp[(3) - (3)].bnd).val; + if ( result->lower > result->upper ) { ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("swapped boundaries: %g is greater than %g", - ((SEG *)result)->lower, ((SEG *)result)->upper))); + result->lower, result->upper))); YYERROR; } - ((SEG *)result)->l_sigd = (yyvsp[(1) - (3)].bnd).sigd; - ((SEG *)result)->u_sigd = (yyvsp[(3) - (3)].bnd).sigd; - ((SEG *)result)->l_ext = ( (yyvsp[(1) - (3)].bnd).ext ? (yyvsp[(1) - (3)].bnd).ext : '\0' ); - ((SEG *)result)->u_ext = ( (yyvsp[(3) - (3)].bnd).ext ? (yyvsp[(3) - (3)].bnd).ext : '\0' ); - ;} + result->l_sigd = (yyvsp[(1) - (3)].bnd).sigd; + result->u_sigd = (yyvsp[(3) - (3)].bnd).sigd; + result->l_ext = ( (yyvsp[(1) - (3)].bnd).ext ? (yyvsp[(1) - (3)].bnd).ext : '\0' ); + result->u_ext = ( (yyvsp[(3) - (3)].bnd).ext ? (yyvsp[(3) - (3)].bnd).ext : '\0' ); + } break; case 4: -/* Line 1455 of yacc.c */ -#line 95 "segparse.y" +/* Line 1806 of yacc.c */ +#line 96 "segparse.y" { - ((SEG *)result)->lower = (yyvsp[(1) - (2)].bnd).val; - ((SEG *)result)->upper = HUGE_VAL; - ((SEG *)result)->l_sigd = (yyvsp[(1) - (2)].bnd).sigd; - ((SEG *)result)->u_sigd = 0; - ((SEG *)result)->l_ext = ( (yyvsp[(1) - (2)].bnd).ext ? (yyvsp[(1) - (2)].bnd).ext : '\0' ); - ((SEG *)result)->u_ext = '-'; - ;} + result->lower = (yyvsp[(1) - (2)].bnd).val; + result->upper = HUGE_VAL; + result->l_sigd = (yyvsp[(1) - (2)].bnd).sigd; + result->u_sigd = 0; + result->l_ext = ( (yyvsp[(1) - (2)].bnd).ext ? (yyvsp[(1) - (2)].bnd).ext : '\0' ); + result->u_ext = '-'; + } break; case 5: -/* Line 1455 of yacc.c */ -#line 104 "segparse.y" +/* Line 1806 of yacc.c */ +#line 105 "segparse.y" { - ((SEG *)result)->lower = -HUGE_VAL; - ((SEG *)result)->upper = (yyvsp[(2) - (2)].bnd).val; - ((SEG *)result)->l_sigd = 0; - ((SEG *)result)->u_sigd = (yyvsp[(2) - (2)].bnd).sigd; - ((SEG *)result)->l_ext = '-'; - ((SEG *)result)->u_ext = ( (yyvsp[(2) - (2)].bnd).ext ? (yyvsp[(2) - (2)].bnd).ext : '\0' ); - ;} + result->lower = -HUGE_VAL; + result->upper = (yyvsp[(2) - (2)].bnd).val; + result->l_sigd = 0; + result->u_sigd = (yyvsp[(2) - (2)].bnd).sigd; + result->l_ext = '-'; + result->u_ext = ( (yyvsp[(2) - (2)].bnd).ext ? (yyvsp[(2) - (2)].bnd).ext : '\0' ); + } break; case 6: -/* Line 1455 of yacc.c */ -#line 113 "segparse.y" +/* Line 1806 of yacc.c */ +#line 114 "segparse.y" { - ((SEG *)result)->lower = ((SEG *)result)->upper = (yyvsp[(1) - (1)].bnd).val; - ((SEG *)result)->l_sigd = ((SEG *)result)->u_sigd = (yyvsp[(1) - (1)].bnd).sigd; - ((SEG *)result)->l_ext = ((SEG *)result)->u_ext = ( (yyvsp[(1) - (1)].bnd).ext ? (yyvsp[(1) - (1)].bnd).ext : '\0' ); - ;} + result->lower = result->upper = (yyvsp[(1) - (1)].bnd).val; + result->l_sigd = result->u_sigd = (yyvsp[(1) - (1)].bnd).sigd; + result->l_ext = result->u_ext = ( (yyvsp[(1) - (1)].bnd).ext ? (yyvsp[(1) - (1)].bnd).ext : '\0' ); + } break; case 7: -/* Line 1455 of yacc.c */ -#line 121 "segparse.y" +/* Line 1806 of yacc.c */ +#line 122 "segparse.y" { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[(1) - (1)].text)); @@ -1454,13 +1490,13 @@ (yyval.bnd).ext = '\0'; (yyval.bnd).sigd = significant_digits((yyvsp[(1) - (1)].text)); (yyval.bnd).val = val; - ;} + } break; case 8: -/* Line 1455 of yacc.c */ -#line 130 "segparse.y" +/* Line 1806 of yacc.c */ +#line 131 "segparse.y" { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[(2) - (2)].text)); @@ -1468,13 +1504,13 @@ (yyval.bnd).ext = (yyvsp[(1) - (2)].text)[0]; (yyval.bnd).sigd = significant_digits((yyvsp[(2) - (2)].text)); (yyval.bnd).val = val; - ;} + } break; case 9: -/* Line 1455 of yacc.c */ -#line 141 "segparse.y" +/* Line 1806 of yacc.c */ +#line 142 "segparse.y" { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[(1) - (1)].text)); @@ -1482,15 +1518,26 @@ (yyval.bnd).ext = '\0'; (yyval.bnd).sigd = significant_digits((yyvsp[(1) - (1)].text)); (yyval.bnd).val = val; - ;} + } break; -/* Line 1455 of yacc.c */ -#line 1492 "segparse.c" +/* Line 1806 of yacc.c */ +#line 1528 "segparse.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -1518,44 +1565,47 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if ! YYERROR_VERBOSE - yyerror (YY_("syntax error")); + yyerror (result, YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (result, yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } @@ -1575,7 +1625,7 @@ else { yydestruct ("Error: discarding", - yytoken, &yylval); + yytoken, &yylval, result); yychar = YYEMPTY; } } @@ -1614,7 +1664,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -1631,7 +1681,7 @@ yydestruct ("Error: popping", - yystos[yystate], yyvsp); + yystos[yystate], yyvsp, result); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); @@ -1666,15 +1716,20 @@ | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: - yyerror (YY_("memory exhausted")); + yyerror (result, YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval, result); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -1682,7 +1737,7 @@ while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); + yystos[*yyssp], yyvsp, result); YYPOPSTACK (1); } #ifndef yyoverflow @@ -1699,8 +1754,8 @@ -/* Line 1675 of yacc.c */ -#line 151 "segparse.y" +/* Line 2067 of yacc.c */ +#line 152 "segparse.y" diff -Nru postgresql-8.4-8.4.17/contrib/seg/segparse.y postgresql-8.4-8.4.20/contrib/seg/segparse.y --- postgresql-8.4-8.4.17/contrib/seg/segparse.y 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/seg/segparse.y 2014-02-17 19:44:07.000000000 +0000 @@ -1,6 +1,6 @@ %{ -#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ - +/* contrib/seg/segparse.y */ + #include "postgres.h" #include @@ -24,8 +24,8 @@ extern int significant_digits(char *str); /* defined in seg.c */ - void seg_yyerror(const char *message); - int seg_yyparse(void *result); + extern int seg_yyparse(SEG *result); + extern void seg_yyerror(SEG *result, const char *message); static float seg_atof(char *value); @@ -40,6 +40,7 @@ %} /* BISON Declarations */ +%parse-param {SEG *result} %expect 0 %name-prefix="seg_yy" @@ -65,55 +66,55 @@ range: boundary PLUMIN deviation { - ((SEG *)result)->lower = $1.val - $3.val; - ((SEG *)result)->upper = $1.val + $3.val; - sprintf(strbuf, "%g", ((SEG *)result)->lower); - ((SEG *)result)->l_sigd = Max(Min(6, significant_digits(strbuf)), Max($1.sigd, $3.sigd)); - sprintf(strbuf, "%g", ((SEG *)result)->upper); - ((SEG *)result)->u_sigd = Max(Min(6, significant_digits(strbuf)), Max($1.sigd, $3.sigd)); - ((SEG *)result)->l_ext = '\0'; - ((SEG *)result)->u_ext = '\0'; + result->lower = $1.val - $3.val; + result->upper = $1.val + $3.val; + sprintf(strbuf, "%g", result->lower); + result->l_sigd = Max(Min(6, significant_digits(strbuf)), Max($1.sigd, $3.sigd)); + sprintf(strbuf, "%g", result->upper); + result->u_sigd = Max(Min(6, significant_digits(strbuf)), Max($1.sigd, $3.sigd)); + result->l_ext = '\0'; + result->u_ext = '\0'; } | boundary RANGE boundary { - ((SEG *)result)->lower = $1.val; - ((SEG *)result)->upper = $3.val; - if ( ((SEG *)result)->lower > ((SEG *)result)->upper ) { + result->lower = $1.val; + result->upper = $3.val; + if ( result->lower > result->upper ) { ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("swapped boundaries: %g is greater than %g", - ((SEG *)result)->lower, ((SEG *)result)->upper))); + result->lower, result->upper))); YYERROR; } - ((SEG *)result)->l_sigd = $1.sigd; - ((SEG *)result)->u_sigd = $3.sigd; - ((SEG *)result)->l_ext = ( $1.ext ? $1.ext : '\0' ); - ((SEG *)result)->u_ext = ( $3.ext ? $3.ext : '\0' ); + result->l_sigd = $1.sigd; + result->u_sigd = $3.sigd; + result->l_ext = ( $1.ext ? $1.ext : '\0' ); + result->u_ext = ( $3.ext ? $3.ext : '\0' ); } | boundary RANGE { - ((SEG *)result)->lower = $1.val; - ((SEG *)result)->upper = HUGE_VAL; - ((SEG *)result)->l_sigd = $1.sigd; - ((SEG *)result)->u_sigd = 0; - ((SEG *)result)->l_ext = ( $1.ext ? $1.ext : '\0' ); - ((SEG *)result)->u_ext = '-'; + result->lower = $1.val; + result->upper = HUGE_VAL; + result->l_sigd = $1.sigd; + result->u_sigd = 0; + result->l_ext = ( $1.ext ? $1.ext : '\0' ); + result->u_ext = '-'; } | RANGE boundary { - ((SEG *)result)->lower = -HUGE_VAL; - ((SEG *)result)->upper = $2.val; - ((SEG *)result)->l_sigd = 0; - ((SEG *)result)->u_sigd = $2.sigd; - ((SEG *)result)->l_ext = '-'; - ((SEG *)result)->u_ext = ( $2.ext ? $2.ext : '\0' ); + result->lower = -HUGE_VAL; + result->upper = $2.val; + result->l_sigd = 0; + result->u_sigd = $2.sigd; + result->l_ext = '-'; + result->u_ext = ( $2.ext ? $2.ext : '\0' ); } | boundary { - ((SEG *)result)->lower = ((SEG *)result)->upper = $1.val; - ((SEG *)result)->l_sigd = ((SEG *)result)->u_sigd = $1.sigd; - ((SEG *)result)->l_ext = ((SEG *)result)->u_ext = ( $1.ext ? $1.ext : '\0' ); + result->lower = result->upper = $1.val; + result->l_sigd = result->u_sigd = $1.sigd; + result->l_ext = result->u_ext = ( $1.ext ? $1.ext : '\0' ); } ; diff -Nru postgresql-8.4-8.4.17/contrib/seg/segscan.c postgresql-8.4-8.4.20/contrib/seg/segscan.c --- postgresql-8.4-8.4.17/contrib/seg/segscan.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/seg/segscan.c 2014-02-17 20:07:40.000000000 +0000 @@ -1795,7 +1795,7 @@ void -yyerror(const char *message) +yyerror(SEG *result, const char *message) { if (*seg_yytext == YY_END_OF_BUFFER_CHAR) { diff -Nru postgresql-8.4-8.4.17/contrib/seg/segscan.l postgresql-8.4-8.4.20/contrib/seg/segscan.l --- postgresql-8.4-8.4.17/contrib/seg/segscan.l 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/contrib/seg/segscan.l 2014-02-17 19:44:07.000000000 +0000 @@ -53,7 +53,7 @@ %% void -yyerror(const char *message) +yyerror(SEG *result, const char *message) { if (*yytext == YY_END_OF_BUFFER_CHAR) { diff -Nru postgresql-8.4-8.4.17/COPYRIGHT postgresql-8.4-8.4.20/COPYRIGHT --- postgresql-8.4-8.4.17/COPYRIGHT 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/COPYRIGHT 2014-02-17 19:44:07.000000000 +0000 @@ -1,7 +1,7 @@ PostgreSQL Database Management System (formerly known as Postgres, then as Postgres95) -Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group +Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California diff -Nru postgresql-8.4-8.4.17/debian/changelog postgresql-8.4-8.4.20/debian/changelog --- postgresql-8.4-8.4.17/debian/changelog 2014-02-21 14:01:26.000000000 +0000 +++ postgresql-8.4-8.4.20/debian/changelog 2014-02-21 14:01:28.000000000 +0000 @@ -1,3 +1,101 @@ +postgresql-8.4 (8.4.20-0ubuntu010.04) lucid-security; urgency=medium + + * New upstream security/bugfix release. (LP: #1282677) + - Shore up GRANT ... WITH ADMIN OPTION restrictions. + Granting a role without ADMIN OPTION is supposed to prevent the grantee + from adding or removing members from the granted role, but this + restriction was easily bypassed by doing SET ROLE first. The security + impact is mostly that a role member can revoke the access of others, + contrary to the wishes of his grantor. Unapproved role member additions + are a lesser concern, since an uncooperative role member could provide + most of his rights to others anyway by creating views or SECURITY + DEFINER functions. (CVE-2014-0060) + - Prevent privilege escalation via manual calls to PL validator functions. + The primary role of PL validator functions is to be called implicitly + during CREATE FUNCTION, but they are also normal SQL functions that a + user can call explicitly. Calling a validator on a function actually + written in some other language was not checked for and could be + exploited for privilege-escalation purposes. The fix involves adding a + call to a privilege-checking function in each validator function. + Non-core procedural languages will also need to make this change to + their own validator functions, if any. (CVE-2014-0061) + - Avoid multiple name lookups during table and index DDL. + If the name lookups come to different conclusions due to concurrent + activity, we might perform some parts of the DDL on a different table + than other parts. At least in the case of CREATE INDEX, this can be used + to cause the permissions checks to be performed against a different + table than the index creation, allowing for a privilege escalation + attack. (CVE-2014-0062) + - Prevent buffer overrun with long datetime strings. + The MAXDATELEN constant was too small for the longest possible value of + type interval, allowing a buffer overrun in interval_out(). Although the + datetime input functions were more careful about avoiding buffer + overrun, the limit was short enough to cause them to reject some valid + inputs, such as input containing a very long timezone name. The ecpg + library contained these vulnerabilities along with some of its own. + (CVE-2014-0063) + - Prevent buffer overrun due to integer overflow in size calculations. + Several functions, mostly type input functions, calculated an allocation + size without checking for overflow. If overflow did occur, a too-small + buffer would be allocated and then written past. (CVE-2014-0064) + - Prevent overruns of fixed-size buffers. + Use strlcpy() and related functions to provide a clear guarantee that + fixed-size buffers are not overrun. Unlike the preceding items, it is + unclear whether these cases really represent live issues, since in most + cases there appear to be previous constraints on the size of the input + string. Nonetheless it seems prudent to silence all Coverity warnings of + this type. (CVE-2014-0065) + - Avoid crashing if crypt() returns NULL. + There are relatively few scenarios in which crypt() could return NULL, + but contrib/chkpass would crash if it did. One practical case in which + this could be an issue is if libc is configured to refuse to execute + unapproved hashing algorithms (e.g., "FIPS mode"). (CVE-2014-0066) + - Document risks of make check in the regression testing instructions + Since the temporary server started by make check uses "trust" + authentication, another user on the same machine could connect to it as + database superuser, and then potentially exploit the privileges of the + operating-system user who started the tests. A future release will + probably incorporate changes in the testing procedure to prevent this + risk, but some public discussion is needed first. So for the moment, + just warn people against using make check when there are untrusted users + on the same machine. (CVE-2014-0067) + * The upstream tarballs no longer contain a plain HISTORY file, but point to + the html documentation. Add 70-history.patch to note the location of these + files in our changelog.gz file. + + -- Martin Pitt Thu, 20 Feb 2014 14:10:35 -0800 + +postgresql-8.4 (8.4.19-0ubuntu010.04) lucid-proposed; urgency=low + + * New upstream bug fix release (LP: #1257211) + - Fix "VACUUM"'s tests to see whether it can update relfrozenxid. + In some cases "VACUUM" (either manual or autovacuum) could + incorrectly advance a table's relfrozenxid value, allowing tuples + to escape freezing, causing those rows to become invisible once + 2^31 transactions have elapsed. The probability of data loss is + fairly low since multiple incorrect advancements would need to + happen before actual loss occurs, but it's not zero. Users + upgrading from release 8.4.8 or earlier are not affected, but all + later versions contain the bug. + The issue can be ameliorated by, after upgrading, vacuuming all + tables in all databases while having vacuum_freeze_table_age set to + zero. This will fix any latent corruption but will not be able to + fix all pre-existing data errors. However, an installation can be + presumed safe after performing this vacuuming if it has executed + fewer than 2^31 update transactions in its lifetime (check this + with SELECT txid_current() < 2^31). + - See HISTORY/changelog.gz for details about bug fixes. + + -- Martin Pitt Tue, 03 Dec 2013 11:02:52 +0100 + +postgresql-8.4 (8.4.18-0ubuntu10.04) lucid-proposed; urgency=low + + * New upstream bug fix release (LP: #1237248). No security issues or + critical issues this time; see HISTORY/changelog.gz for details about bug + fixes. + + -- Martin Pitt Wed, 09 Oct 2013 10:28:08 +0200 + postgresql-8.4 (8.4.17-0ubuntu10.04) lucid-security; urgency=low * New upstream security/bug fix release: (LP: #1163184) diff -Nru postgresql-8.4-8.4.17/debian/patches/70-history.patch postgresql-8.4-8.4.20/debian/patches/70-history.patch --- postgresql-8.4-8.4.17/debian/patches/70-history.patch 1970-01-01 00:00:00.000000000 +0000 +++ postgresql-8.4-8.4.20/debian/patches/70-history.patch 2014-02-21 14:01:28.000000000 +0000 @@ -0,0 +1,10 @@ +diff -Nur -x '*.orig' -x '*~' postgresql-8.4-8.4.20/HISTORY postgresql-8.4-8.4.20.new/HISTORY +--- postgresql-8.4-8.4.20/HISTORY 2014-02-17 11:44:07.000000000 -0800 ++++ postgresql-8.4-8.4.20.new/HISTORY 2014-02-20 13:51:20.997046028 -0800 +@@ -4,3 +4,6 @@ + Distribution file sets include release notes for their version and preceding + versions. Unpack the file doc/postgres.tar.gz, then visit the contained + file release.html in an HTML browser. ++ ++On Debian systems, the release notes are contained in the postgresql-doc-* ++packages, located in /usr/share/doc/postgresql-doc-*/html/release.html. diff -Nru postgresql-8.4-8.4.17/doc/bug.template postgresql-8.4-8.4.20/doc/bug.template --- postgresql-8.4-8.4.17/doc/bug.template 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/bug.template 2014-02-17 19:44:07.000000000 +0000 @@ -27,7 +27,7 @@ Operating System (example: Linux 2.4.18) : - PostgreSQL version (example: PostgreSQL 8.4.17): PostgreSQL 8.4.17 + PostgreSQL version (example: PostgreSQL 8.4.20): PostgreSQL 8.4.20 Compiler used (example: gcc 3.3.5) : Binary files /tmp/p6VTC0KksD/postgresql-8.4-8.4.17/doc/man.tar.gz and /tmp/j2cjRON4d1/postgresql-8.4-8.4.20/doc/man.tar.gz differ Binary files /tmp/p6VTC0KksD/postgresql-8.4-8.4.17/doc/postgres.tar.gz and /tmp/j2cjRON4d1/postgresql-8.4-8.4.20/doc/postgres.tar.gz differ diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/catalogs.sgml postgresql-8.4-8.4.20/doc/src/sgml/catalogs.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/catalogs.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/catalogs.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -3897,7 +3897,7 @@ ev_attr int2 - The column this rule is for (currently, always zero to + The column this rule is for (currently, always -1 to indicate the whole table) diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/charset.sgml postgresql-8.4-8.4.20/doc/src/sgml/charset.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/charset.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/charset.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -1212,17 +1212,6 @@ - - - - - An extensive collection of documents about character sets, encodings, - and code pages. - - - - - diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/config.sgml postgresql-8.4-8.4.20/doc/src/sgml/config.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/config.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/config.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -3967,9 +3967,11 @@ This parameter is normally on. When set to off, it disables validation of the function body string during . Disabling validation is - occasionally useful to avoid problems such as forward references - when restoring function definitions from a dump. + endterm="sql-createfunction-title">. Disabling validation avoids side + effects of the validation process and avoids false positives due + to problems such as forward references. Set this parameter + to off before loading functions on behalf of other + users; pg_dump does so automatically. @@ -4285,6 +4287,7 @@ partially-significant digits; this is especially useful for dumping float data that needs to be restored exactly. Or it can be set negative to suppress unwanted digits. + See also . diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/datatype.sgml postgresql-8.4-8.4.20/doc/src/sgml/datatype.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/datatype.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/datatype.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -663,6 +663,17 @@ from zero will cause an underflow error. + + + The setting controls the + number of extra significant digits included when a floating point + value is converted to text for output. With the default value of + 0, the output is the same on every platform + supported by PostgreSQL. Increasing it will produce output that + more accurately represents the stored value, but may be unportable. + + + not a number double precision diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/docguide.sgml postgresql-8.4-8.4.20/doc/src/sgml/docguide.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/docguide.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/docguide.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -925,26 +925,19 @@ Plain Text Files - Several files are distributed as plain text, for reading during - the installation process. The INSTALL file + The installation instructions are also distributed as plain text, + in case they are needed in a situation where better reading tools + are not available. The INSTALL file corresponds to , with some minor changes to account for the different context. To recreate the file, change to the directory doc/src/sgml - and enter gmake INSTALL. This will create - a file INSTALL.html that can be saved as text - with Netscape Navigator and put into - the place of the existing file. - Netscape seems to offer the best - quality for HTML to text conversions (over - lynx and - w3m). + and enter gmake INSTALL. - The file HISTORY can be created similarly, - using the command gmake HISTORY. For the - file src/test/regress/README the command is - gmake regress_README. + In the past, the release notes and regression testing instructions + were also distributed as plain text, but this practice has been + discontinued. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/external-projects.sgml postgresql-8.4-8.4.20/doc/src/sgml/external-projects.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/external-projects.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/external-projects.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -120,7 +120,7 @@ psycopg Python DB API 2.0-compliant - http://www.initd.org/ + diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/func.sgml postgresql-8.4-8.4.20/doc/src/sgml/func.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/func.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/func.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -2553,7 +2553,7 @@ - ut8_to_euc_jis_2004 + utf8_to_euc_jis_2004 UTF8 EUC_JIS_2004 @@ -2565,7 +2565,7 @@ - ut8_to_shift_jis_2004 + utf8_to_shift_jis_2004 UTF8 SHIFT_JIS_2004 @@ -7973,7 +7973,6 @@ trigger function for automatic tsvector column update CREATE TRIGGER ... tsvector_update_trigger_column(tsvcol, configcol, title, body) - @@ -8787,12 +8786,11 @@ - This section describes PostgreSQL's - functions for operating on sequence objects. - Sequence objects (also called sequence generators or just - sequences) are special single-row tables created with sequence + objects, also called sequence generators or just sequences. + Sequence objects are special single-row tables created with . - A sequence object is usually used to generate unique identifiers + Sequence objects are commonly used to generate unique identifiers for rows of a table. The sequence functions, listed in , provide simple, multiuser-safe methods for obtaining successive sequence values from sequence @@ -9137,6 +9135,16 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END; + + + + As described in , functions and + operators marked IMMUTABLE can be evaluated when + the query is planned rather than when it is executed. This means + that constant parts of a subexpression that is not evaluated during + query execution might still be evaluated during query planning. + + diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/generate_history.pl postgresql-8.4-8.4.20/doc/src/sgml/generate_history.pl --- postgresql-8.4-8.4.17/doc/src/sgml/generate_history.pl 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/generate_history.pl 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ -#! /usr/bin/perl -w - -# generate_history.pl -- flatten release notes for use as HISTORY file -# -# Usage: generate_history.pl srcdir release.sgml >output.sgml -# -# The main point of this script is to strip out references, which -# generally point into the rest of the documentation and so can't be used -# in a standalone build of the release notes. To make sure this is done -# everywhere, we have to fold in the sub-files of the release notes. -# -# $PostgreSQL: pgsql/doc/src/sgml/generate_history.pl,v 1.1 2009/05/02 20:17:19 tgl Exp $ - -use strict; - -my($srcdir) = shift; -defined($srcdir) || die "$0: missing required argument: srcdir\n"; -my($infile) = shift; -defined($infile) || die "$0: missing required argument: inputfile\n"; - -# Emit DOCTYPE header so that the output is a self-contained SGML document -print "\n"; - -process_file($infile); - -exit 0; - -sub process_file { - my($filename) = @_; - - local *FILE; # need a local filehandle so we can recurse - - my($f) = $srcdir . '/' . $filename; - open(FILE, $f) || die "could not read $f: $!\n"; - - while () { - # Recursively expand sub-files of the release notes - if (m/^&(release-.*);$/) { - process_file($1 . ".sgml"); - next; - } - - # Remove tags, which might span multiple lines - while (m/]*>//) { - next; - } - # incomplete tag, so slurp another line - $_ .= ; - } - - # Remove too - s|||g; - - print; - } - close(FILE); -} diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/.gitignore postgresql-8.4-8.4.20/doc/src/sgml/.gitignore --- postgresql-8.4-8.4.17/doc/src/sgml/.gitignore 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/.gitignore 2014-02-17 19:44:07.000000000 +0000 @@ -2,9 +2,7 @@ *.html *.[1-9] # Other popular build targets -/HISTORY /INSTALL -/regress_README /postgres-US.pdf /postgres-A4.pdf # GENERATED_SGML @@ -16,6 +14,7 @@ /HTML.index.start # Assorted byproducts from building the above /postgres.xml +/INSTALL.html /postgres-US.aux /postgres-US.log /postgres-US.out diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/keywords.sgml postgresql-8.4-8.4.20/doc/src/sgml/keywords.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/keywords.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/keywords.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -82,7 +82,7 @@ <acronym>SQL</acronym> Key Words - + Key Word diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/legal.sgml postgresql-8.4-8.4.20/doc/src/sgml/legal.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/legal.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/legal.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -1,7 +1,7 @@ - 1996-2013 + 1996-2014 The PostgreSQL Global Development Group @@ -9,7 +9,7 @@ Legal Notice - PostgreSQL is Copyright © 1996-2013 + PostgreSQL is Copyright © 1996-2014 by the PostgreSQL Global Development Group and is distributed under the terms of the license of the University of California below. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/lobj.sgml postgresql-8.4-8.4.20/doc/src/sgml/lobj.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/lobj.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/lobj.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -441,6 +441,15 @@ The client-side functions can be used by any PostgreSQL user. + + + The functionality of lo_read and + lo_write is also available via server-side calls, + but the names of the server-side functions differ from the client side + interfaces in that they do not contain underscores. You must call + these functions as loread and lowrite. + + diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/maintenance.sgml postgresql-8.4-8.4.20/doc/src/sgml/maintenance.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/maintenance.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/maintenance.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -356,7 +356,7 @@ PostgreSQL distinguishes a special XID FrozenXID. This XID is always considered older than every normal XID. Normal XIDs are - compared using modulo-231 arithmetic. This means + compared using modulo-232 arithmetic. This means that for every normal XID, there are two billion XIDs that are older and two billion that are newer; another way to say it is that the normal XID space is circular with no @@ -489,7 +489,12 @@ examine this information is to execute queries such as: -SELECT relname, age(relfrozenxid) FROM pg_class WHERE relkind = 'r'; +SELECT c.oid::regclass as table_name, + greatest(age(c.relfrozenxid),age(t.relfrozenxid)) as age +FROM pg_class c +LEFT JOIN pg_class t ON c.reltoastrelid = t.oid +WHERE c.relkind = 'r'; + SELECT datname, age(datfrozenxid) FROM pg_database; diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/Makefile postgresql-8.4-8.4.20/doc/src/sgml/Makefile --- postgresql-8.4-8.4.17/doc/src/sgml/Makefile 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/Makefile 2014-02-17 19:44:07.000000000 +0000 @@ -205,25 +205,12 @@ JADE.text = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -i output-text -t sgml LYNX = lynx -INSTALL HISTORY regress_README: % : %.html +INSTALL: % : %.html $(PERL) -p -e 's/$@ INSTALL.html: standalone-install.sgml installation.sgml version.sgml $(JADE.text) -V nochunks standalone-install.sgml installation.sgml >$@ -HISTORY.html: generate_history.pl $(wildcard $(srcdir)/release*.sgml) - $(PERL) $< "$(srcdir)" release.sgml >tempfile_HISTORY.sgml - $(JADE.text) -V nochunks tempfile_HISTORY.sgml >$@ - rm tempfile_HISTORY.sgml - -regress_README.html: regress.sgml - ( echo ''; \ - echo ' ]>'; \ - cat $< ) >tempfile_regress_README.sgml - $(JADE.text) -V nochunks tempfile_regress_README.sgml >$@ - rm tempfile_regress_README.sgml - ## ## XSLT processing @@ -310,7 +297,7 @@ # index rm -f HTML.index HTML.index.start $(GENERATED_SGML) # text - rm -f INSTALL HISTORY regress_README + rm -f INSTALL # XSLT rm -f postgres.xml htmlhelp.hhp toc.hhc index.hhk *.fo # Texinfo diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/ref/create_function.sgml postgresql-8.4-8.4.20/doc/src/sgml/ref/create_function.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/ref/create_function.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/ref/create_function.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -119,7 +119,7 @@ - The name of an argument. Some languages (currently only PL/pgSQL) let + The name of an argument. Some languages (including PL/pgSQL, but currently not SQL) let you use the name in the function body. For other languages the name of an input argument is just extra documentation. But the name of an output argument is significant, since it defines the column @@ -484,12 +484,13 @@ The full SQL type syntax is allowed for - input arguments and return value. However, some details of the - type specification (e.g., the precision field for - type numeric) are the responsibility of the - underlying function implementation and are silently swallowed - (i.e., not recognized or - enforced) by the CREATE FUNCTION command. + declaring a function's arguments and return value. However, + parenthesized type modifiers (e.g., the precision field for + type numeric) are discarded by CREATE FUNCTION. + Thus for example + CREATE FUNCTION foo (varchar(10)) ... + is exactly the same as + CREATE FUNCTION foo (varchar) .... diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/ref/grant.sgml postgresql-8.4-8.4.20/doc/src/sgml/ref/grant.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/ref/grant.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/ref/grant.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -361,11 +361,13 @@ If WITH ADMIN OPTION is specified, the member can in turn grant membership in the role to others, and revoke membership - in the role as well. Without the admin option, ordinary users cannot do - that. However, - database superusers can grant or revoke membership in any role to anyone. - Roles having CREATEROLE privilege can grant or revoke - membership in any role that is not a superuser. + in the role as well. Without the admin option, ordinary users cannot + do that. A role is not considered to hold WITH ADMIN + OPTION on itself, but it may grant or revoke membership in + itself from a database session where the session user matches the + role. Database superusers can grant or revoke membership in any role + to anyone. Roles having CREATEROLE privilege can grant + or revoke membership in any role that is not a superuser. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/ref/psql-ref.sgml postgresql-8.4-8.4.20/doc/src/sgml/ref/psql-ref.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/ref/psql-ref.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/ref/psql-ref.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -88,8 +88,8 @@ or a single backslash command. Thus you cannot mix SQL and psql meta-commands with this option. To achieve that, you could - pipe the string into psql, like - this: echo '\x \\ SELECT * FROM foo;' | psql. + pipe the string into psql, for example: + echo '\x \\ SELECT * FROM foo;' | psql. (\\ is the separator meta-command.) @@ -98,7 +98,21 @@ BEGIN/COMMIT commands included in the string to divide it into multiple transactions. This is different from the behavior when the same string is fed to - psql's standard input. + psql's standard input. Also, only + the result of the last SQL command is returned. + + + Because of these legacy behaviors, putting more than one command in + the string often has unexpected results. It's + better to feed multiple commands to psql's + standard input, either using echo as + illustrated above, or via a shell here-document, for example: + +psql <<EOF +\x +SELECT * FROM foo; +EOF + diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/ref/select.sgml postgresql-8.4-8.4.20/doc/src/sgml/ref/select.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/ref/select.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/ref/select.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -573,8 +573,8 @@ WINDOW window_name AS ( window_definition ) [, ...] where window_name is - a name that can be referenced from subsequent window definitions or - OVER clauses, and + a name that can be referenced from OVER clauses or + subsequent window definitions, and window_definition is [ existing_window_name ] diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/regress.sgml postgresql-8.4-8.4.20/doc/src/sgml/regress.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/regress.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/regress.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -58,25 +58,31 @@ failure represents a serious problem. + - Because this test method runs a temporary server, it will not work - when you are the root user (since the server will not start as root). - If you already did the build as root, you do not have to start all - over. Instead, make the regression test directory writable by - some other user, log in as that user, and restart the tests. - For example: - -root# chmod -R a+w src/test/regress -root# su - joeuser -joeuser$ cd top-level build directory -joeuser$ gmake check - - (The only possible security risk here is that other - users might be able to alter the regression test results behind - your back. Use common sense when managing user permissions.) + This test method starts a temporary server, which is configured to accept + any connection originating on the local machine. Any local user can gain + database superuser privileges when connecting to this server, and could + in principle exploit all privileges of the operating-system user running + the tests. Therefore, it is not recommended that you use gmake + check on machines shared with untrusted users. Instead, run the tests + after completing the installation, as described in the next section. + + + + On Unix-like machines, this danger can be avoided if the temporary + server's socket file is made inaccessible to other users, for example + by running the tests in a protected chroot. On Windows, the temporary + server opens a locally-accessible TCP socket, so filesystem protections + cannot help. + + - Alternatively, run the tests after installation. + Because this test method runs a temporary server, it will not work + if you did the build as the root user, since the server will not start as + root. Recommended procedure is not to do the build as root, or else to + perform testing after completing the installation. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-7.4.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-7.4.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-7.4.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-7.4.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -5,7 +5,7 @@ Release 7.4.30 - Release date + Release Date 2010-10-04 @@ -27,7 +27,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.26, - see the release notes for 7.4.26. + see . @@ -139,7 +139,7 @@ Release 7.4.29 - Release date + Release Date 2010-05-17 @@ -161,7 +161,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.26, - see the release notes for 7.4.26. + see . @@ -283,7 +283,7 @@ Release 7.4.28 - Release date + Release Date 2010-03-15 @@ -305,7 +305,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.26, - see the release notes for 7.4.26. + see . @@ -402,7 +402,7 @@ Release 7.4.27 - Release date + Release Date 2009-12-14 @@ -418,7 +418,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.26, - see the release notes for 7.4.26. + see . @@ -465,7 +465,7 @@ - This fix prevents a PANIC if a VACUUM FULL is cancelled + This fix prevents a PANIC if a VACUUM FULL is canceled after it's already committed its tuple movements, as well as transient errors if a plain VACUUM is interrupted after having truncated the table. @@ -522,7 +522,7 @@ Release 7.4.26 - Release date + Release Date 2009-09-09 @@ -540,7 +540,7 @@ However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 7.4.26. Also, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -652,7 +652,7 @@ Release 7.4.25 - Release date + Release Date 2009-03-16 @@ -668,7 +668,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -732,7 +732,7 @@ Release 7.4.24 - Release date + Release Date 2009-02-02 @@ -748,7 +748,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -818,7 +818,7 @@ Release 7.4.23 - Release date + Release Date 2008-11-03 @@ -834,7 +834,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -902,7 +902,7 @@ Release 7.4.22 - Release date + Release Date 2008-09-22 @@ -918,7 +918,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -978,7 +978,7 @@ Release 7.4.21 - Release date + Release Date 2008-06-12 @@ -994,7 +994,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -1032,7 +1032,7 @@ Release 7.4.20 - Release date + Release Date never released @@ -1048,7 +1048,7 @@ A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, - see the release notes for 7.4.11. + see . @@ -1149,7 +1149,7 @@ - An explictly casted constant would be shown incorrectly. This could + An explicitly casted constant would be shown incorrectly. This could for example lead to corruption of a view definition during dump and reload. @@ -1177,7 +1177,7 @@ Release 7.4.19 - Release date + Release Date 2008-01-07 @@ -1193,8 +1193,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1331,7 +1331,7 @@ Release 7.4.18 - Release date + Release Date 2007-09-17 @@ -1346,8 +1346,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1407,7 +1407,7 @@ Release 7.4.17 - Release date + Release Date 2007-04-23 @@ -1423,8 +1423,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1478,7 +1478,7 @@ Release 7.4.16 - Release date + Release Date 2007-02-05 @@ -1494,8 +1494,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1549,7 +1549,7 @@ Release 7.4.15 - Release date + Release Date 2007-01-08 @@ -1564,8 +1564,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1638,7 +1638,7 @@ Release 7.4.14 - Release date + Release Date 2006-10-16 @@ -1653,8 +1653,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1685,7 +1685,7 @@ Release 7.4.13 - Release date + Release Date 2006-05-23 @@ -1701,8 +1701,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1792,7 +1792,7 @@ Release 7.4.12 - Release date + Release Date 2006-02-14 @@ -1807,8 +1807,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.11, see the release - notes for 7.4.11. + if you are upgrading from a version earlier than 7.4.11, + see . @@ -1855,7 +1855,7 @@ Release 7.4.11 - Release date + Release Date 2006-01-09 @@ -1870,8 +1870,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.8, see the release - notes for 7.4.8. + if you are upgrading from a version earlier than 7.4.8, + see . Also, you might need to REINDEX indexes on textual columns after updating, if you are affected by the locale or plperl issues described below. @@ -1922,7 +1922,7 @@ Release 7.4.10 - Release date + Release Date 2005-12-12 @@ -1937,8 +1937,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.8, see the release - notes for 7.4.8. + if you are upgrading from a version earlier than 7.4.8, + see . @@ -1975,7 +1975,7 @@ Release 7.4.9 - Release date + Release Date 2005-10-04 @@ -1990,8 +1990,8 @@ A dump/restore is not required for those running 7.4.X. However, - if you are upgrading from a version earlier than 7.4.8, see the release - notes for 7.4.8. + if you are upgrading from a version earlier than 7.4.8, + see . @@ -2044,7 +2044,7 @@ Release 7.4.8 - Release date + Release Date 2005-05-09 @@ -2228,7 +2228,7 @@ Release 7.4.7 - Release date + Release Date 2005-01-31 @@ -2288,7 +2288,7 @@ Release 7.4.6 - Release date + Release Date 2004-10-22 @@ -2360,7 +2360,7 @@ Release 7.4.5 - Release date + Release Date 2004-08-18 @@ -2398,7 +2398,7 @@ Release 7.4.4 - Release date + Release Date 2004-08-16 @@ -2450,7 +2450,7 @@ Release 7.4.3 - Release date + Release Date 2004-06-14 @@ -2508,7 +2508,7 @@ Release 7.4.2 - Release date + Release Date 2004-03-08 @@ -2651,7 +2651,7 @@ Release 7.4.1 - Release date + Release Date 2003-12-22 @@ -2765,7 +2765,7 @@ Release 7.4 - Release date + Release Date 2003-11-17 @@ -4143,7 +4143,7 @@ - Fix date_trunc('quarter', ...) (Böjthe Zoltán) + Fix date_trunc('quarter', ...) (Böjthe Zoltán) Prior releases returned an incorrect value for this function call. @@ -4613,8 +4613,8 @@ Improve pgstattuple (Rod) Fix bug in metaphone() in fuzzystrmatch Improve adddepend (Rod) - Update spi/timetravel (Böjthe Zoltán) - Fix dbase + Update spi/timetravel (Böjthe Zoltán) + Fix dbase Remove array module because features now included by default (Joe) diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-8.0.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-8.0.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-8.0.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-8.0.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -5,7 +5,7 @@ Release 8.0.26 - Release date + Release Date 2010-10-04 @@ -27,7 +27,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.22, - see the release notes for 8.0.22. + see . @@ -209,7 +209,7 @@ Release 8.0.25 - Release date + Release Date 2010-05-17 @@ -231,7 +231,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.22, - see the release notes for 8.0.22. + see . @@ -369,7 +369,7 @@ Release 8.0.24 - Release date + Release Date 2010-03-15 @@ -391,7 +391,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.22, - see the release notes for 8.0.22. + see . @@ -546,7 +546,7 @@ Release 8.0.23 - Release date + Release Date 2009-12-14 @@ -562,7 +562,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.22, - see the release notes for 8.0.22. + see . @@ -609,7 +609,7 @@ - This fix prevents a PANIC if a VACUUM FULL is cancelled + This fix prevents a PANIC if a VACUUM FULL is canceled after it's already committed its tuple movements, as well as transient errors if a plain VACUUM is interrupted after having truncated the table. @@ -701,7 +701,7 @@ Release 8.0.22 - Release date + Release Date 2009-09-09 @@ -719,7 +719,7 @@ However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 8.0.22. Also, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -865,7 +865,7 @@ Release 8.0.21 - Release date + Release Date 2009-03-16 @@ -881,7 +881,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -945,7 +945,7 @@ Release 8.0.20 - Release date + Release Date 2009-02-02 @@ -961,7 +961,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -1031,7 +1031,7 @@ Release 8.0.19 - Release date + Release Date 2008-11-03 @@ -1047,7 +1047,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -1142,7 +1142,7 @@ Release 8.0.18 - Release date + Release Date 2008-09-22 @@ -1158,7 +1158,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -1276,7 +1276,7 @@ Release 8.0.17 - Release date + Release Date 2008-06-12 @@ -1292,7 +1292,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -1330,7 +1330,7 @@ Release 8.0.16 - Release date + Release Date never released @@ -1346,7 +1346,7 @@ A dump/restore is not required for those running 8.0.X. However, if you are upgrading from a version earlier than 8.0.6, - see the release notes for 8.0.6. + see . @@ -1539,7 +1539,7 @@ - An explictly casted constant would be shown incorrectly. This could + An explicitly casted constant would be shown incorrectly. This could for example lead to corruption of a view definition during dump and reload. @@ -1567,7 +1567,7 @@ Release 8.0.15 - Release date + Release Date 2008-01-07 @@ -1592,8 +1592,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -1783,7 +1783,7 @@ Release 8.0.14 - Release date + Release Date 2007-09-17 @@ -1798,8 +1798,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -1891,7 +1891,7 @@ Release 8.0.13 - Release date + Release Date 2007-04-23 @@ -1907,8 +1907,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -1968,7 +1968,7 @@ Release 8.0.12 - Release date + Release Date 2007-02-07 @@ -1983,8 +1983,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2010,7 +2010,7 @@ Release 8.0.11 - Release date + Release Date 2007-02-05 @@ -2026,8 +2026,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2081,7 +2081,7 @@ Release 8.0.10 - Release date + Release Date 2007-01-08 @@ -2096,8 +2096,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2200,7 +2200,7 @@ Release 8.0.9 - Release date + Release Date 2006-10-16 @@ -2215,8 +2215,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2256,7 +2256,7 @@ Release 8.0.8 - Release date + Release Date 2006-05-23 @@ -2272,8 +2272,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2370,7 +2370,7 @@ Release 8.0.7 - Release date + Release Date 2006-02-14 @@ -2385,8 +2385,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.6, see the release - notes for 8.0.6. + if you are upgrading from a version earlier than 8.0.6, + see . @@ -2469,7 +2469,7 @@ Release 8.0.6 - Release date + Release Date 2006-01-09 @@ -2484,8 +2484,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.3, see the release - notes for 8.0.3. + if you are upgrading from a version earlier than 8.0.3, + see . Also, you might need to REINDEX indexes on textual columns after updating, if you are affected by the locale or plperl issues described below. @@ -2554,7 +2554,7 @@ Release 8.0.5 - Release date + Release Date 2005-12-12 @@ -2569,8 +2569,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.3, see the release - notes for 8.0.3. + if you are upgrading from a version earlier than 8.0.3, + see . @@ -2636,7 +2636,7 @@ Release 8.0.4 - Release date + Release Date 2005-10-04 @@ -2651,8 +2651,8 @@ A dump/restore is not required for those running 8.0.X. However, - if you are upgrading from a version earlier than 8.0.3, see the release - notes for 8.0.3. + if you are upgrading from a version earlier than 8.0.3, + see . @@ -2733,7 +2733,7 @@ Release 8.0.3 - Release date + Release Date 2005-05-09 @@ -2853,7 +2853,7 @@ Release 8.0.2 - Release date + Release Date 2005-04-07 @@ -3010,7 +3010,7 @@ Release 8.0.1 - Release date + Release Date 2005-01-31 @@ -3079,7 +3079,7 @@ Release 8.0 - Release date + Release Date 2005-01-19 diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-8.1.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-8.1.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-8.1.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-8.1.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -5,7 +5,7 @@ Release 8.1.23 - Release date + Release Date 2010-12-16 @@ -27,7 +27,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.18, - see the release notes for 8.1.18. + see . @@ -224,7 +224,7 @@ Release 8.1.22 - Release date + Release Date 2010-10-04 @@ -246,7 +246,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.18, - see the release notes for 8.1.18. + see . @@ -442,7 +442,7 @@ Release 8.1.21 - Release date + Release Date 2010-05-17 @@ -458,7 +458,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.18, - see the release notes for 8.1.18. + see . @@ -596,7 +596,7 @@ Release 8.1.20 - Release date + Release Date 2010-03-15 @@ -612,7 +612,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.18, - see the release notes for 8.1.18. + see . @@ -786,7 +786,7 @@ Release 8.1.19 - Release date + Release Date 2009-12-14 @@ -802,7 +802,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.18, - see the release notes for 8.1.18. + see . @@ -849,7 +849,7 @@ - This fix prevents a PANIC if a VACUUM FULL is cancelled + This fix prevents a PANIC if a VACUUM FULL is canceled after it's already committed its tuple movements, as well as transient errors if a plain VACUUM is interrupted after having truncated the table. @@ -967,7 +967,7 @@ Release 8.1.18 - Release date + Release Date 2009-09-09 @@ -985,7 +985,7 @@ However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 8.1.18. Also, if you are upgrading from a version earlier than 8.1.15, - see the release notes for 8.1.15. + see . @@ -1131,7 +1131,7 @@ Release 8.1.17 - Release date + Release Date 2009-03-16 @@ -1147,7 +1147,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.15, - see the release notes for 8.1.15. + see . @@ -1254,7 +1254,7 @@ Release 8.1.16 - Release date + Release Date 2009-02-02 @@ -1270,7 +1270,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.15, - see the release notes for 8.1.15. + see . @@ -1374,7 +1374,7 @@ Release 8.1.15 - Release date + Release Date 2008-11-03 @@ -1390,7 +1390,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. Also, if you were running a previous + see . Also, if you were running a previous 8.1.X release, it is recommended to REINDEX all GiST indexes after the upgrade. @@ -1526,7 +1526,7 @@ Release 8.1.14 - Release date + Release Date 2008-09-22 @@ -1542,7 +1542,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -1702,7 +1702,7 @@ Release 8.1.13 - Release date + Release Date 2008-06-12 @@ -1718,7 +1718,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -1769,7 +1769,7 @@ Release 8.1.12 - Release date + Release Date never released @@ -1785,7 +1785,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -1991,7 +1991,7 @@ - An explictly casted constant would be shown incorrectly. This could + An explicitly casted constant would be shown incorrectly. This could for example lead to corruption of a view definition during dump and reload. @@ -2019,7 +2019,7 @@ Release 8.1.11 - Release date + Release Date 2008-01-07 @@ -2045,7 +2045,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2271,7 +2271,7 @@ Release 8.1.10 - Release date + Release Date 2007-09-17 @@ -2287,7 +2287,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2392,7 +2392,7 @@ Release 8.1.9 - Release date + Release Date 2007-04-23 @@ -2409,7 +2409,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2483,7 +2483,7 @@ Release 8.1.8 - Release date + Release Date 2007-02-07 @@ -2499,7 +2499,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2525,7 +2525,7 @@ Release 8.1.7 - Release date + Release Date 2007-02-05 @@ -2542,7 +2542,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2627,7 +2627,7 @@ Release 8.1.6 - Release date + Release Date 2007-01-08 @@ -2643,7 +2643,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2777,7 +2777,7 @@ Release 8.1.5 - Release date + Release Date 2006-10-16 @@ -2793,7 +2793,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -2854,7 +2854,7 @@ Release 8.1.4 - Release date + Release Date 2006-05-23 @@ -2871,7 +2871,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -3008,7 +3008,7 @@ Release 8.1.3 - Release date + Release Date 2006-02-14 @@ -3025,7 +3025,7 @@ A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, - see the release notes for 8.1.2. + see . @@ -3130,7 +3130,7 @@ Release 8.1.2 - Release date + Release Date 2006-01-09 @@ -3233,7 +3233,7 @@ Release 8.1.1 - Release date + Release Date 2005-12-12 @@ -3325,7 +3325,7 @@ Release 8.1 - Release date + Release Date 2005-11-08 @@ -4203,7 +4203,7 @@ While the statement_timeout configuration parameter allows a query taking more than a certain amount of - time to be cancelled, the NOWAIT option allows a + time to be canceled, the NOWAIT option allows a query to be canceled as soon as a SELECT ... FOR UPDATE/SHARE command cannot immediately acquire a row lock. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-8.2.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-8.2.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-8.2.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-8.2.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -37,7 +37,7 @@ Also, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -255,7 +255,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -556,7 +556,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -688,7 +688,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -820,7 +820,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -1064,7 +1064,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -1350,7 +1350,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -1551,7 +1551,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -1822,7 +1822,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.14, - see the release notes for 8.2.14. + see . @@ -2068,7 +2068,7 @@ However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 8.2.14. Also, if you are upgrading from a version earlier than 8.2.11, - see the release notes for 8.2.11. + see . @@ -2296,7 +2296,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.11, - see the release notes for 8.2.11. + see . @@ -2462,7 +2462,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.11, - see the release notes for 8.2.11. + see . @@ -2641,7 +2641,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.7, - see the release notes for 8.2.7. Also, if you were running a previous + see . Also, if you were running a previous 8.2.X release, it is recommended to REINDEX all GiST indexes after the upgrade. @@ -2825,7 +2825,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.7, - see the release notes for 8.2.7. + see . @@ -3057,7 +3057,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.7, - see the release notes for 8.2.7. + see . @@ -3124,7 +3124,7 @@ A dump/restore is not required for those running 8.2.X. However, if you are upgrading from a version earlier than 8.2.7, - see the release notes for 8.2.7. + see . @@ -3544,7 +3544,7 @@ - An explictly casted constant would be shown incorrectly. This could + An explicitly casted constant would be shown incorrectly. This could for example lead to corruption of a view definition during dump and reload. diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-8.3.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-8.3.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-8.3.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-8.3.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -30,7 +30,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -199,7 +199,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -495,7 +495,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -605,7 +605,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -822,7 +822,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -1051,7 +1051,7 @@ However, if you are upgrading from a version earlier than 8.3.17, - see the release notes for 8.3.17. + see . @@ -1346,7 +1346,7 @@ Also, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -1603,7 +1603,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -1974,7 +1974,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -2137,7 +2137,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -2269,7 +2269,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -2547,7 +2547,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -2910,7 +2910,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -3139,7 +3139,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -3466,7 +3466,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.8, - see the release notes for 8.3.8. + see . @@ -3801,7 +3801,7 @@ However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 8.3.8. Also, if you are upgrading from a version earlier than 8.3.5, - see the release notes for 8.3.5. + see . @@ -4089,7 +4089,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.5, - see the release notes for 8.3.5. + see . @@ -4312,7 +4312,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.5, - see the release notes for 8.3.5. + see . @@ -4606,7 +4606,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.1, - see the release notes for 8.3.1. Also, if you were running a previous + see . Also, if you were running a previous 8.3.X release, it is recommended to REINDEX all GiST indexes after the upgrade. @@ -4861,7 +4861,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.1, - see the release notes for 8.3.1. + see . @@ -5215,7 +5215,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.1, - see the release notes for 8.3.1. + see . @@ -5282,7 +5282,7 @@ A dump/restore is not required for those running 8.3.X. However, if you are upgrading from a version earlier than 8.3.1, - see the release notes for 8.3.1. + see . diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-8.4.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-8.4.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-8.4.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-8.4.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -1,6 +1,866 @@ + + Release 8.4.20 + + + Release Date + 2014-02-20 + + + + This release contains a variety of fixes from 8.4.19. + For information about new features in the 8.4 major release, see + . + + + + The PostgreSQL community will stop releasing updates + for the 8.4.X release series in July 2014. + Users are encouraged to update to a newer release branch soon. + + + + Migration to Version 8.4.20 + + + A dump/restore is not required for those running 8.4.X. + + + + However, if you are upgrading from a version earlier than 8.4.19, + see . + + + + + + Changes + + + + + + Shore up GRANT ... WITH ADMIN OPTION restrictions + (Noah Misch) + + + + Granting a role without ADMIN OPTION is supposed to + prevent the grantee from adding or removing members from the granted + role, but this restriction was easily bypassed by doing SET + ROLE first. The security impact is mostly that a role member can + revoke the access of others, contrary to the wishes of his grantor. + Unapproved role member additions are a lesser concern, since an + uncooperative role member could provide most of his rights to others + anyway by creating views or SECURITY DEFINER functions. + (CVE-2014-0060) + + + + + + Prevent privilege escalation via manual calls to PL validator + functions (Andres Freund) + + + + The primary role of PL validator functions is to be called implicitly + during CREATE FUNCTION, but they are also normal SQL + functions that a user can call explicitly. Calling a validator on + a function actually written in some other language was not checked + for and could be exploited for privilege-escalation purposes. + The fix involves adding a call to a privilege-checking function in + each validator function. Non-core procedural languages will also + need to make this change to their own validator functions, if any. + (CVE-2014-0061) + + + + + + Avoid multiple name lookups during table and index DDL + (Robert Haas, Andres Freund) + + + + If the name lookups come to different conclusions due to concurrent + activity, we might perform some parts of the DDL on a different table + than other parts. At least in the case of CREATE INDEX, + this can be used to cause the permissions checks to be performed + against a different table than the index creation, allowing for a + privilege escalation attack. + (CVE-2014-0062) + + + + + + Prevent buffer overrun with long datetime strings (Noah Misch) + + + + The MAXDATELEN constant was too small for the longest + possible value of type interval, allowing a buffer overrun + in interval_out(). Although the datetime input + functions were more careful about avoiding buffer overrun, the limit + was short enough to cause them to reject some valid inputs, such as + input containing a very long timezone name. The ecpg + library contained these vulnerabilities along with some of its own. + (CVE-2014-0063) + + + + + + Prevent buffer overrun due to integer overflow in size calculations + (Noah Misch, Heikki Linnakangas) + + + + Several functions, mostly type input functions, calculated an + allocation size without checking for overflow. If overflow did + occur, a too-small buffer would be allocated and then written past. + (CVE-2014-0064) + + + + + + Prevent overruns of fixed-size buffers + (Peter Eisentraut, Jozef Mlich) + + + + Use strlcpy() and related functions to provide a clear + guarantee that fixed-size buffers are not overrun. Unlike the + preceding items, it is unclear whether these cases really represent + live issues, since in most cases there appear to be previous + constraints on the size of the input string. Nonetheless it seems + prudent to silence all Coverity warnings of this type. + (CVE-2014-0065) + + + + + + Avoid crashing if crypt() returns NULL (Honza Horak, + Bruce Momjian) + + + + There are relatively few scenarios in which crypt() + could return NULL, but contrib/chkpass would crash + if it did. One practical case in which this could be an issue is + if libc is configured to refuse to execute unapproved + hashing algorithms (e.g., FIPS mode). + (CVE-2014-0066) + + + + + + Document risks of make check in the regression testing + instructions (Noah Misch, Tom Lane) + + + + Since the temporary server started by make check + uses trust authentication, another user on the same machine + could connect to it as database superuser, and then potentially + exploit the privileges of the operating-system user who started the + tests. A future release will probably incorporate changes in the + testing procedure to prevent this risk, but some public discussion is + needed first. So for the moment, just warn people against using + make check when there are untrusted users on the + same machine. + (CVE-2014-0067) + + + + + + Fix possible mis-replay of WAL records when some segments of a + relation aren't full size (Greg Stark, Tom Lane) + + + + The WAL update could be applied to the wrong page, potentially many + pages past where it should have been. Aside from corrupting data, + this error has been observed to result in significant bloat + of standby servers compared to their masters, due to updates being + applied far beyond where the end-of-file should have been. This + failure mode does not appear to be a significant risk during crash + recovery, only when initially synchronizing a standby created from a + base backup taken from a quickly-changing master. + + + + + + Ensure that insertions into non-leaf GIN index pages write a full-page + WAL record when appropriate (Heikki Linnakangas) + + + + The previous coding risked index corruption in the event of a + partial-page write during a system crash. + + + + + + Fix race conditions during server process exit (Robert Haas) + + + + Ensure that signal handlers don't attempt to use the + process's MyProc pointer after it's no longer valid. + + + + + + Fix unsafe references to errno within error reporting + logic (Christian Kruse) + + + + This would typically lead to odd behaviors such as missing or + inappropriate HINT fields. + + + + + + Fix possible crashes from using ereport() too early + during server startup (Tom Lane) + + + + The principal case we've seen in the field is a crash if the server + is started in a directory it doesn't have permission to read. + + + + + + Clear retry flags properly in OpenSSL socket write + function (Alexander Kukushkin) + + + + This omission could result in a server lockup after unexpected loss + of an SSL-encrypted connection. + + + + + + Fix length checking for Unicode identifiers (U&"..." + syntax) containing escapes (Tom Lane) + + + + A spurious truncation warning would be printed for such identifiers + if the escaped form of the identifier was too long, but the + identifier actually didn't need truncation after de-escaping. + + + + + + Fix possible crash due to invalid plan for nested sub-selects, such + as WHERE (... x IN (SELECT ...) ...) IN (SELECT ...) + (Tom Lane) + + + + + + Ensure that ANALYZE creates statistics for a table column + even when all the values in it are too wide (Tom Lane) + + + + ANALYZE intentionally omits very wide values from its + histogram and most-common-values calculations, but it neglected to do + something sane in the case that all the sampled entries are too wide. + + + + + + In ALTER TABLE ... SET TABLESPACE, allow the database's + default tablespace to be used without a permissions check + (Stephen Frost) + + + + CREATE TABLE has always allowed such usage, + but ALTER TABLE didn't get the memo. + + + + + + Fix cannot accept a set error when some arms of + a CASE return a set and others don't (Tom Lane) + + + + + + Fix checks for all-zero client addresses in pgstat functions (Kevin + Grittner) + + + + + + Fix possible misclassification of multibyte characters by the text + search parser (Tom Lane) + + + + Non-ASCII characters could be misclassified when using C locale with + a multibyte encoding. On Cygwin, non-C locales could fail as well. + + + + + + Fix possible misbehavior in plainto_tsquery() + (Heikki Linnakangas) + + + + Use memmove() not memcpy() for copying + overlapping memory regions. There have been no field reports of + this actually causing trouble, but it's certainly risky. + + + + + + Accept SHIFT_JIS as an encoding name for locale checking + purposes (Tatsuo Ishii) + + + + + + Fix misbehavior of PQhost() on Windows (Fujii Masao) + + + + It should return localhost if no host has been specified. + + + + + + Improve error handling in libpq and psql + for failures during COPY TO STDOUT/FROM STDIN (Tom Lane) + + + + In particular this fixes an infinite loop that could occur in 9.2 and + up if the server connection was lost during COPY FROM + STDIN. Variants of that scenario might be possible in older + versions, or with other client applications. + + + + + + Fix misaligned descriptors in ecpg (MauMau) + + + + + + In ecpg, handle lack of a hostname in the connection + parameters properly (Michael Meskes) + + + + + + Fix performance regression in contrib/dblink connection + startup (Joe Conway) + + + + Avoid an unnecessary round trip when client and server encodings match. + + + + + + In contrib/isn, fix incorrect calculation of the check + digit for ISMN values (Fabien Coelho) + + + + + + Ensure client-code-only installation procedure works as documented + (Peter Eisentraut) + + + + + + In Mingw and Cygwin builds, install the libpq DLL + in the bin directory (Andrew Dunstan) + + + + This duplicates what the MSVC build has long done. It should fix + problems with programs like psql failing to start + because they can't find the DLL. + + + + + + Don't generate plain-text HISTORY + and src/test/regress/README files anymore (Tom Lane) + + + + These text files duplicated the main HTML and PDF documentation + formats. The trouble involved in maintaining them greatly outweighs + the likely audience for plain-text format. Distribution tarballs + will still contain files by these names, but they'll just be stubs + directing the reader to consult the main documentation. + The plain-text INSTALL file will still be maintained, as + there is arguably a use-case for that. + + + + + + Update time zone data files to tzdata release 2013i + for DST law changes in Jordan and historical changes in Cuba. + + + + In addition, the zones Asia/Riyadh87, + Asia/Riyadh88, and Asia/Riyadh89 have been + removed, as they are no longer maintained by IANA, and never + represented actual civil timekeeping practice. + + + + + + + + + + Release 8.4.19 + + + Release Date + 2013-12-05 + + + + This release contains a variety of fixes from 8.4.18. + For information about new features in the 8.4 major release, see + . + + + + Migration to Version 8.4.19 + + + A dump/restore is not required for those running 8.4.X. + + + + However, this release corrects a potential data corruption + issue. See the first changelog entry below to find out whether + your installation has been affected and what steps you can take if so. + + + + Also, if you are upgrading from a version earlier than 8.4.17, + see . + + + + + + Changes + + + + + + Fix VACUUM's tests to see whether it can + update relfrozenxid (Andres Freund) + + + + In some cases VACUUM (either manual or autovacuum) could + incorrectly advance a table's relfrozenxid value, + allowing tuples to escape freezing, causing those rows to become + invisible once 2^31 transactions have elapsed. The probability of + data loss is fairly low since multiple incorrect advancements would + need to happen before actual loss occurs, but it's not zero. Users + upgrading from release 8.4.8 or earlier are not affected, but all later + versions contain the bug. + + + + The issue can be ameliorated by, after upgrading, vacuuming all tables + in all databases while having vacuum_freeze_table_age + set to zero. This will fix any latent corruption but will not be able + to fix all pre-existing data errors. However, an installation can be + presumed safe after performing this vacuuming if it has executed fewer + than 2^31 update transactions in its lifetime (check this with + SELECT txid_current() < 2^31). + + + + + + Fix race condition in GIN index posting tree page deletion (Heikki + Linnakangas) + + + + This could lead to transient wrong answers or query failures. + + + + + + Avoid flattening a subquery whose SELECT list contains a + volatile function wrapped inside a sub-SELECT (Tom Lane) + + + + This avoids unexpected results due to extra evaluations of the + volatile function. + + + + + + Fix planner's processing of non-simple-variable subquery outputs + nested within outer joins (Tom Lane) + + + + This error could lead to incorrect plans for queries involving + multiple levels of subqueries within JOIN syntax. + + + + + + Fix premature deletion of temporary files (Andres Freund) + + + + + + Fix possible read past end of memory in rule printing (Peter Eisentraut) + + + + + + Fix array slicing of int2vector and oidvector values + (Tom Lane) + + + + Expressions of this kind are now implicitly promoted to + regular int2 or oid arrays. + + + + + + Fix incorrect behaviors when using a SQL-standard, simple GMT offset + timezone (Tom Lane) + + + + In some cases, the system would use the simple GMT offset value when + it should have used the regular timezone setting that had prevailed + before the simple offset was selected. This change also causes + the timeofday function to honor the simple GMT offset + zone. + + + + + + Prevent possible misbehavior when logging translations of Windows + error codes (Tom Lane) + + + + + + Properly quote generated command lines in pg_ctl + (Naoya Anzai and Tom Lane) + + + + This fix applies only to Windows. + + + + + + Fix pg_dumpall to work when a source database + sets default_transaction_read_only + via ALTER DATABASE SET (Kevin Grittner) + + + + Previously, the generated script would fail during restore. + + + + + + Fix ecpg's processing of lists of variables + declared varchar (Zoltán Böszörményi) + + + + + + Make contrib/lo defend against incorrect trigger definitions + (Marc Cousin) + + + + + + Update time zone data files to tzdata release 2013h + for DST law changes in Argentina, Brazil, Jordan, Libya, + Liechtenstein, Morocco, and Palestine. Also, new timezone + abbreviations WIB, WIT, WITA for Indonesia. + + + + + + + + + + Release 8.4.18 + + + Release Date + 2013-10-10 + + + + This release contains a variety of fixes from 8.4.17. + For information about new features in the 8.4 major release, see + . + + + + Migration to Version 8.4.18 + + + A dump/restore is not required for those running 8.4.X. + + + + However, if you are upgrading from a version earlier than 8.4.17, + see . + + + + + + Changes + + + + + + Prevent corruption of multi-byte characters when attempting to + case-fold identifiers (Andrew Dunstan) + + + + PostgreSQL case-folds non-ASCII characters only + when using a single-byte server encoding. + + + + + + Fix memory leak caused by lo_open() failure + (Heikki Linnakangas) + + + + + + Fix memory overcommit bug when work_mem is using more + than 24GB of memory (Stephen Frost) + + + + + + Fix deadlock bug in libpq when using SSL (Stephen Frost) + + + + + + Properly compute row estimates for boolean columns containing many NULL + values (Andrew Gierth) + + + + Previously tests like col IS NOT TRUE and col IS + NOT FALSE did not properly factor in NULL values when estimating + plan costs. + + + + + + Prevent pushing down WHERE clauses into unsafe + UNION/INTERSECT subqueries (Tom Lane) + + + + Subqueries of a UNION or INTERSECT that + contain set-returning functions or volatile functions in their + SELECT lists could be improperly optimized, leading to + run-time errors or incorrect query results. + + + + + + Fix rare case of failed to locate grouping columns + planner failure (Tom Lane) + + + + + + Improve view dumping code's handling of dropped columns in referenced + tables (Tom Lane) + + + + + + Fix possible deadlock during concurrent CREATE INDEX + CONCURRENTLY operations (Tom Lane) + + + + + + Fix regexp_matches() handling of zero-length matches + (Jeevan Chalke) + + + + Previously, zero-length matches like '^' could return too many matches. + + + + + + Fix crash for overly-complex regular expressions (Heikki Linnakangas) + + + + + + Fix regular expression match failures for back references combined with + non-greedy quantifiers (Jeevan Chalke) + + + + + + Prevent CREATE FUNCTION from checking SET + variables unless function body checking is enabled (Tom Lane) + + + + + + Fix pgp_pub_decrypt() so it works for secret keys with + passwords (Marko Kreen) + + + + + + Remove rare inaccurate warning during vacuum of index-less tables + (Heikki Linnakangas) + + + + + + Avoid possible failure when performing transaction control commands (e.g + ROLLBACK) in prepared queries (Tom Lane) + + + + + + Ensure that floating-point data input accepts standard spellings + of infinity on all platforms (Tom Lane) + + + + The C99 standard says that allowable spellings are inf, + +inf, -inf, infinity, + +infinity, and -infinity. Make sure we + recognize these even if the platform's strtod function + doesn't. + + + + + + Expand ability to compare rows to records and arrays (Rafal Rzepecki, + Tom Lane) + + + + + + Update time zone data files to tzdata release 2013d + for DST law changes in Israel, Morocco, Palestine, and Paraguay. + Also, historical zone data corrections for Macquarie Island. + + + + + + + + Release 8.4.17 @@ -31,7 +891,7 @@ Also, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -253,7 +1113,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -463,7 +1323,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -765,7 +1625,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -881,7 +1741,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -1115,7 +1975,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -1400,7 +2260,7 @@ However, if you are upgrading from a version earlier than 8.4.10, - see the release notes for 8.4.10. + see . @@ -1769,7 +2629,7 @@ Also, if you are upgrading from a version earlier than 8.4.8, - see the release notes for 8.4.8. + see . @@ -2077,7 +2937,7 @@ However, if you are upgrading from a version earlier than 8.4.8, - see the release notes for 8.4.8. + see . @@ -2613,7 +3473,7 @@ Also, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . @@ -2847,7 +3707,7 @@ A dump/restore is not required for those running 8.4.X. However, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . @@ -2979,7 +3839,7 @@ A dump/restore is not required for those running 8.4.X. However, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . @@ -3290,7 +4150,7 @@ A dump/restore is not required for those running 8.4.X. However, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . @@ -3812,7 +4672,7 @@ A dump/restore is not required for those running 8.4.X. However, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . @@ -4103,7 +4963,7 @@ A dump/restore is not required for those running 8.4.X. However, if you are upgrading from a version earlier than 8.4.2, - see the release notes for 8.4.2. + see . diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release-old.sgml postgresql-8.4-8.4.20/doc/src/sgml/release-old.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release-old.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release-old.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -1,11 +1,11 @@ - + Release 7.3.21 - Release date + Release Date 2008-01-07 @@ -25,8 +25,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -117,7 +117,7 @@ Release 7.3.20 - Release date + Release Date 2007-09-17 @@ -130,8 +130,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -178,7 +178,7 @@ Release 7.3.19 - Release date + Release Date 2007-04-23 @@ -192,8 +192,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -234,7 +234,7 @@ Release 7.3.18 - Release date + Release Date 2007-02-05 @@ -248,8 +248,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -296,7 +296,7 @@ Release 7.3.17 - Release date + Release Date 2007-01-08 @@ -309,8 +309,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -352,7 +352,7 @@ Release 7.3.16 - Release date + Release Date 2006-10-16 @@ -365,8 +365,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -394,7 +394,7 @@ Release 7.3.15 - Release date + Release Date 2006-05-23 @@ -408,8 +408,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -486,7 +486,7 @@ Release 7.3.14 - Release date + Release Date 2006-02-14 @@ -499,8 +499,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.13, see the release - notes for 7.3.13. + if you are upgrading from a version earlier than 7.3.13, + see . @@ -543,7 +543,7 @@ Release 7.3.13 - Release date + Release Date 2006-01-09 @@ -556,8 +556,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.10, see the release - notes for 7.3.10. + if you are upgrading from a version earlier than 7.3.10, + see . Also, you might need to REINDEX indexes on textual columns after updating, if you are affected by the locale or plperl issues described below. @@ -605,7 +605,7 @@ Release 7.3.12 - Release date + Release Date 2005-12-12 @@ -618,8 +618,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.10, see the release - notes for 7.3.10. + if you are upgrading from a version earlier than 7.3.10, + see . @@ -652,7 +652,7 @@ Release 7.3.11 - Release date + Release Date 2005-10-04 @@ -665,8 +665,8 @@ A dump/restore is not required for those running 7.3.X. However, - if you are upgrading from a version earlier than 7.3.10, see the release - notes for 7.3.10. + if you are upgrading from a version earlier than 7.3.10, + see . @@ -692,7 +692,7 @@ enabled Various memory leakage fixes Various portability improvements -Fix PL/PgSQL to handle var := var correctly when +Fix PL/pgSQL to handle var := var correctly when the variable is of pass-by-reference type @@ -703,7 +703,7 @@ Release 7.3.10 - Release date + Release Date 2005-05-09 @@ -829,7 +829,7 @@ Release 7.3.9 - Release date + Release Date 2005-01-31 @@ -885,7 +885,7 @@ Release 7.3.8 - Release date + Release Date 2004-10-22 @@ -935,7 +935,7 @@ Release 7.3.7 - Release date + Release Date 2004-08-16 @@ -975,7 +975,7 @@ Release 7.3.6 - Release date + Release Date 2004-03-02 @@ -1040,7 +1040,7 @@ Release 7.3.5 - Release date + Release Date 2003-12-03 @@ -1091,7 +1091,7 @@ Release 7.3.4 - Release date + Release Date 2003-07-24 @@ -1131,7 +1131,7 @@ Release 7.3.3 - Release date + Release Date 2003-05-22 @@ -1241,7 +1241,7 @@ Release 7.3.2 - Release date + Release Date 2003-02-04 @@ -1302,7 +1302,7 @@ Release 7.3.1 - Release date + Release Date 2002-12-18 @@ -1352,7 +1352,7 @@ Release 7.3 - Release date + Release Date 2002-11-27 @@ -1988,7 +1988,7 @@ Release 7.2.8 - Release date + Release Date 2005-05-09 @@ -2039,7 +2039,7 @@ Release 7.2.7 - Release date + Release Date 2005-01-31 @@ -2087,7 +2087,7 @@ Release 7.2.6 - Release date + Release Date 2004-10-22 @@ -2138,7 +2138,7 @@ Release 7.2.5 - Release date + Release Date 2004-08-16 @@ -2181,7 +2181,7 @@ Release 7.2.4 - Release date + Release Date 2003-01-30 @@ -2220,7 +2220,7 @@ Release 7.2.3 - Release date + Release Date 2002-10-01 @@ -2257,7 +2257,7 @@ Release 7.2.2 - Release date + Release Date 2002-08-23 @@ -2300,7 +2300,7 @@ Release 7.2.1 - Release date + Release Date 2002-03-21 @@ -2346,7 +2346,7 @@ Release 7.2 - Release date + Release Date 2002-02-04 @@ -2902,7 +2902,7 @@ Release 7.1.3 - Release date + Release Date 2001-08-15 @@ -2919,7 +2919,7 @@ Changes - + Remove unused WAL segments of large transactions (Tom) Multiaction rule fix (Tom) PL/pgSQL memory allocation fix (Jan) @@ -2930,7 +2930,7 @@ BeOS fix Disable COPY TO/FROM a view (Tom) Cygwin build (Jason Tishler) - + @@ -2940,7 +2940,7 @@ Release 7.1.2 - Release date + Release Date 2001-05-11 @@ -2962,13 +2962,13 @@ Changes - + Fix PL/pgSQL SELECTs when returning no rows Fix for psql backslash core dump Referential integrity privilege fix Optimizer fixes pg_dump cleanups - + @@ -2978,7 +2978,7 @@ Release 7.1.1 - Release date + Release Date 2001-05-05 @@ -3000,7 +3000,7 @@ Changes - + Fix for numeric MODULO operator (Tom) pg_dump fixes (Philip) pg_dump can dump 7.0 databases (Philip) @@ -3015,7 +3015,7 @@ ODBC fixes (Hiroshi) EXTRACT can now take string argument (Thomas) Python fixes (Darcy) - + @@ -3025,7 +3025,7 @@ Release 7.1 - Release date + Release Date 2001-04-13 @@ -3127,7 +3127,7 @@ Changes - + Bug Fixes --------- Many multibyte/Unicode/locale fixes (Tatsuo and others) @@ -3299,7 +3299,7 @@ Add proofreader's changes to docs (Addison-Wesley, Bruce) New Alpha spinlock code (Adriaan Joubert, Compaq) UnixWare port overhaul (Peter E) -New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler) +New Darwin/Mac OS X port (Peter Bierman, Bruce Hartzler) New FreeBSD Alpha port (Alfred) Overhaul shared memory segments (Tom) Add IBM S/390 support (Neale Ferguson) @@ -3313,7 +3313,7 @@ New --template option to createdb New contrib/pg_control utility (Oliver) New FreeBSD tools ipc_check, start-scripts/freebsd - + @@ -3323,7 +3323,7 @@ Release 7.0.3 - Release date + Release Date 2000-11-11 @@ -3345,7 +3345,7 @@ Changes - + Jdbc fixes (Peter) Large object fix (Tom) Fix lean in COPY WITH OIDS leak (Tom) @@ -3385,7 +3385,7 @@ Fix for inserting/copying longer multibyte strings into char() data types (Tatsuo) Fix for crash of backend, on abort (Tom) - + @@ -3395,7 +3395,7 @@ Release 7.0.2 - Release date + Release Date 2000-06-05 @@ -3417,9 +3417,9 @@ Changes - + Added documentation to tarball. - + @@ -3429,7 +3429,7 @@ Release 7.0.1 - Release date + Release Date 2000-06-01 @@ -3450,7 +3450,7 @@ Changes - + Fix many CLUSTER failures (Tom) Allow ALTER TABLE RENAME works on indexes (Tom) Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce) @@ -3475,7 +3475,7 @@ Fix problem with quoted indexes that are too long (Tom) JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu) ecpg changes (Michael) - + @@ -3484,7 +3484,7 @@ Release 7.0 - Release date + Release Date 2000-05-08 @@ -3626,7 +3626,7 @@ Changes - + Bug Fixes --------- Prevent function calls exceeding maximum number of arguments (Tom) @@ -3944,7 +3944,7 @@ NetBSD fixes (Johnny C. Lam lamj@stat.cmu.edu) Fixes for Alpha compiles New multibyte encodings - + @@ -3953,7 +3953,7 @@ Release 6.5.3 - Release date + Release Date 1999-10-13 @@ -3975,11 +3975,11 @@ Changes - + Updated version of pgaccess 0.98 NT-specific patch Fix dumping rules on inherited tables - + @@ -3989,7 +3989,7 @@ Release 6.5.2 - Release date + Release Date 1999-09-15 @@ -4012,7 +4012,7 @@ Changes - + subselect+CASE fixes(Tom) Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik) Fixes for CASE in WHERE join clauses(Tom) @@ -4037,7 +4037,7 @@ when reach end of pattern before end of text(Tom) Repair incorrect cleanup of heap memory allocation during transaction abort(Tom) Updated version of pgaccess 0.98 - + @@ -4046,7 +4046,7 @@ Release 6.5.1 - Release date + Release Date 1999-07-15 @@ -4068,7 +4068,7 @@ Changes - + Add NT README file Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha Remove QUERY_LIMIT, use SELECT...LIMIT @@ -4092,7 +4092,7 @@ Fixed glitches affecting GROUP BY in subselects(Tom) Fix some compiler warnings (Tomoaki Nishiyama) Add Win1250 (Czech) support (Pavel Behal) - + @@ -4101,7 +4101,7 @@ Release 6.5 - Release date + Release Date 1999-06-09 @@ -4329,7 +4329,7 @@ Changes - + Bug Fixes --------- Fix text<->float8 and text<->float4 conversion functions(Thomas) @@ -4491,7 +4491,7 @@ Better support for HP-UX 11 and UnixWare Improve file handling to be more uniform, prevent file descriptor leak(Tom) New install commands for plpgsql(Jan) - + @@ -4501,7 +4501,7 @@ Release 6.4.2 - Release date + Release Date 1998-12-20 @@ -4536,7 +4536,7 @@ Release 6.4.1 - Release date + Release Date 1998-12-18 @@ -4600,7 +4600,7 @@ Release 6.4 - Release date + Release Date 1998-10-30 @@ -4695,7 +4695,7 @@ Changes - + Bug Fixes --------- Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan) @@ -4897,7 +4897,7 @@ Release 6.3.2 - Release date + Release Date 1998-04-07 @@ -4939,7 +4939,7 @@ Changes - + Configure detection improvements for tcl/tk(Brook Milligan, Alvin) Manual page improvements(Bruce) BETWEEN and LIKE fix(Thomas) @@ -4958,7 +4958,7 @@ Remove DISTDIR(Bruce) Makefile dependency cleanup(Jeroen van Vianen) ASSERT fixes(Bruce) - + @@ -4967,7 +4967,7 @@ Release 6.3.1 - Release date + Release Date 1998-03-23 @@ -5016,7 +5016,7 @@ Changes - + ecpg cleanup/fixes, now version 1.1(Michael Meskes) pg_user cleanup(Bruce) large object fix for pg_dump and tclsh (alvin) @@ -5044,7 +5044,7 @@ Fix for text arrays containing quotes(Doug Gibson) Solaris compile fix(Albert Chin-A-Young) Better identify tcl and tk libs and includes(Bruce) - + @@ -5053,7 +5053,7 @@ Release 6.3 - Release date + Release Date 1998-03-01 @@ -5191,7 +5191,7 @@ Changes - + Bug Fixes --------- Fix binary cursors broken by MOVE implementation(Vadim) @@ -5365,7 +5365,7 @@ Release 6.2.1 - Release date + Release Date 1997-10-17 @@ -5413,8 +5413,8 @@ from psql to update the existing system table: - update pg_aggregate set aggfinalfn = 'cash_div_flt8' - where aggname = 'avg' and aggbasetype = 790; +update pg_aggregate set aggfinalfn = 'cash_div_flt8' + where aggname = 'avg' and aggbasetype = 790; @@ -5426,7 +5426,7 @@ Changes - + Allow TIME and TYPE column names(Thomas) Allow larger range of true/false as boolean values(Thomas) Support output of "now" and "current"(Thomas) @@ -5438,7 +5438,7 @@ Fix for specifying a column twice in ORDER/GROUP BY(Vadim) Documented new libpq function to return affected rows, PQcmdTuples(Bruce) Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan) - + @@ -5447,7 +5447,7 @@ Release 6.2 - Release date + Release Date 1997-10-02 @@ -5482,7 +5482,7 @@ Changes - + Bug Fixes --------- Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce) @@ -5600,7 +5600,7 @@ Release 6.1.1 - Release date + Release Date 1997-07-22 @@ -5618,7 +5618,7 @@ Changes - + fix for SET with options (Thomas) allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce) new psql \connect option allows changing usernames without changing databases @@ -5636,7 +5636,7 @@ Fix for Solaris assembler and include files(Yoshihiko Ichikawa) allow underscores in usernames(Bruce) pg_dumpall now returns proper status, portability fix(Bruce) - + @@ -5645,7 +5645,7 @@ Release 6.1 - Release date + Release Date 1997-06-08 @@ -5713,7 +5713,7 @@ Changes - + Bug Fixes --------- packet length checking in library routines @@ -5817,7 +5817,7 @@ Release 6.0 - Release date + Release Date 1997-01-29 @@ -5848,7 +5848,7 @@ Changes - + Bug Fixes --------- ALTER TABLE bug - running postgres process needs to re-read table definition @@ -5961,7 +5961,7 @@ Release 1.09 - Release date + Release Date 1996-11-04 @@ -5976,7 +5976,7 @@ Release 1.02 - Release date + Release Date 1996-08-01 @@ -6017,7 +6017,7 @@ 1.01 or 1.02 database is named testdb and you have cut the commands from the end of this file and saved them in addfunc.sql: - % psql testdb -f addfunc.sql +% psql testdb -f addfunc.sql Those upgrading 1.02 databases will get a warning when executing the @@ -6040,7 +6040,7 @@ than NULL. See the copy manual page for full details. - sed 's/^\.$/\\./g' <in_file >out_file +sed 's/^\.$/\\./g' <in_file >out_file @@ -6125,7 +6125,7 @@ Release 1.01 - Release date + Release Date 1996-02-23 @@ -6169,7 +6169,7 @@ If you do not want host-based authentication, you can comment out the line: - HBA = 1 +HBA = 1 in src/Makefile.global @@ -6218,7 +6218,7 @@ If your 1.0 database is name testdb: - % psql testdb -f 1.0_to_1.01.sql +% psql testdb -f 1.0_to_1.01.sql and then execute the following commands (cut and paste from here): @@ -6317,7 +6317,7 @@ Release 1.0 - Release date + Release Date 1995-09-05 @@ -6374,7 +6374,7 @@ <productname>Postgres95</productname> Release 0.03 - Release date + Release Date 1995-07-21 @@ -6496,7 +6496,7 @@ <productname>Postgres95</productname> Release 0.02 - Release date + Release Date 1995-05-25 @@ -6547,7 +6547,7 @@ <productname>Postgres95</productname> Release 0.01 - Release date + Release Date 1995-05-01 @@ -6563,11 +6563,11 @@ These timing results are from running the regression test with the commands - + % cd src/test/regress % make all % time make runtest - + Timing under Linux 2.0.27 seems to have a roughly 5% variation from run @@ -6587,20 +6587,20 @@ Timing with fsync() disabled: - - Time System - 02:00 Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486 - 04:38 Sparc Ultra 1 143MHz, 64MB, Solaris 2.6 - + +Time System +02:00 Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486 +04:38 Sparc Ultra 1 143MHz, 64MB, Solaris 2.6 + Timing with fsync() enabled: - - Time System - 04:21 Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486 - + +Time System +04:21 Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486 + For the Linux system above, using UW-SCSI disks rather than (older) IDE disks leads to a 50% improvement in speed on the regression test. @@ -6616,10 +6616,10 @@ In general, however, 6.4 should be slightly faster than the previous release (thanks, Bruce!). - - Time System - 02:26 Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486 - + +Time System +02:26 Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486 + diff -Nru postgresql-8.4-8.4.17/doc/src/sgml/release.sgml postgresql-8.4-8.4.20/doc/src/sgml/release.sgml --- postgresql-8.4-8.4.17/doc/src/sgml/release.sgml 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/doc/src/sgml/release.sgml 2014-02-17 19:44:07.000000000 +0000 @@ -26,9 +26,7 @@ wrap long lines -For new features, add links to the documentation sections. Use -not just so that generate_history.pl can remove it, so HISTORY.html -can be created without links to the main documentation. +For new features, add links to the documentation sections. --> @@ -63,7 +61,6 @@ -function_name (expression , expression ... ) OVER ( window_definition ) function_name (expression , expression ... ) OVER window_name -function_name ( * ) OVER ( window_definition ) +function_name (expression , expression ... ) OVER ( window_definition ) function_name ( * ) OVER window_name +function_name ( * ) OVER ( window_definition ) where window_definition has the syntax @@ -1624,15 +1624,15 @@ names or numbers. window_name is a reference to a named window specification defined in the query's WINDOW clause. - Named window specifications are usually referenced with just - OVER window_name, but it is - also possible to write a window name inside the parentheses and then - optionally supply an ordering clause and/or frame clause (the referenced - window must lack these clauses, if they are supplied here). - This latter syntax follows the same rules as modifying an existing - window name within the WINDOW clause; see the + Alternatively, a full window_definition can + be given within parentheses, using the same syntax as for defining a + named window in the WINDOW clause; see the reference - page for details. + page for details. It's worth + pointing out that OVER wname is not exactly equivalent to + OVER (wname); the latter implies copying and modifying the + window definition, and will be rejected if the referenced window + specification includes a frame clause. diff -Nru postgresql-8.4-8.4.17/GNUmakefile.in postgresql-8.4-8.4.20/GNUmakefile.in --- postgresql-8.4-8.4.17/GNUmakefile.in 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/GNUmakefile.in 2014-02-17 19:44:07.000000000 +0000 @@ -129,10 +129,8 @@ fi || exit; \ done $(MAKE) -C $(distdir) distprep - $(MAKE) -C $(distdir)/doc/src/sgml/ HISTORY INSTALL regress_README - cp $(distdir)/doc/src/sgml/HISTORY $(distdir)/ + $(MAKE) -C $(distdir)/doc/src/sgml/ INSTALL cp $(distdir)/doc/src/sgml/INSTALL $(distdir)/ - cp $(distdir)/doc/src/sgml/regress_README $(distdir)/src/test/regress/README $(MAKE) -C $(distdir) distclean rm -f $(distdir)/README.git diff -Nru postgresql-8.4-8.4.17/HISTORY postgresql-8.4-8.4.20/HISTORY --- postgresql-8.4-8.4.17/HISTORY 2013-04-01 18:44:47.000000000 +0000 +++ postgresql-8.4-8.4.20/HISTORY 2014-02-17 19:44:07.000000000 +0000 @@ -1,20300 +1,6 @@ - Release Notes +Release notes for all versions of PostgreSQL can be found on-line at +http://www.postgresql.org/docs/current/static/release.html - The release notes contain the significant changes in each PostgreSQL - release, with major features and migration issues listed at the top. - The release notes do not contain changes that affect only a few users - or changes that are internal and therefore not user-visible. For - example, the optimizer is improved in almost every release, but the - improvements are usually observed by users as simply faster queries. - - A complete list of changes for each release can be obtained by viewing - the Git logs for each release. The pgsql-committers email list records - all source code changes as well. There is also a web interface that - shows changes to specific files. - - The name appearing next to each item represents the major developer for - that item. Of course all changes involve community discussion and patch - review, so each item is truly a community effort. - __________________________________________________________________ - - Release 8.4.17 - - Release Date: 2013-04-04 - - This release contains a variety of fixes from 8.4.16. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.17 - - A dump/restore is not required for those running 8.4.X. - - However, this release corrects several errors in management of GiST - indexes. After installing this update, it is advisable to "REINDEX" any - GiST indexes that meet one or more of the conditions described below. - - Also, if you are upgrading from a version earlier than 8.4.10, see the - release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Reset OpenSSL randomness state in each postmaster child process - (Marko Kreen) - This avoids a scenario wherein random numbers generated by - "contrib/pgcrypto" functions might be relatively easy for another - database user to guess. The risk is only significant when the - postmaster is configured with ssl = on but most connections don't - use SSL encryption. (CVE-2013-1900) - * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's - not appropriate to do so (Alexander Korotkov) - The core geometric types perform comparisons using "fuzzy" - equality, but gist_box_same must do exact comparisons, else GiST - indexes using it might become inconsistent. After installing this - update, users should "REINDEX" any GiST indexes on box, polygon, - circle, or point columns, since all of these use gist_box_same. - * Fix erroneous range-union and penalty logic in GiST indexes that - use "contrib/btree_gist" for variable-width data types, that is - text, bytea, bit, and numeric columns (Tom Lane) - These errors could result in inconsistent indexes in which some - keys that are present would not be found by searches, and also in - useless index bloat. Users are advised to "REINDEX" such indexes - after installing this update. - * Fix bugs in GiST page splitting code for multi-column indexes (Tom - Lane) - These errors could result in inconsistent indexes in which some - keys that are present would not be found by searches, and also in - indexes that are unnecessarily inefficient to search. Users are - advised to "REINDEX" multi-column GiST indexes after installing - this update. - * Fix infinite-loop risk in regular expression compilation (Tom Lane, - Don Porter) - * Fix potential null-pointer dereference in regular expression - compilation (Tom Lane) - * Fix to_char() to use ASCII-only case-folding rules where - appropriate (Tom Lane) - This fixes misbehavior of some template patterns that should be - locale-independent, but mishandled "I" and "i" in Turkish locales. - * Fix unwanted rejection of timestamp 1999-12-31 24:00:00 (Tom Lane) - * Remove useless "picksplit doesn't support secondary split" log - messages (Josh Hansen, Tom Lane) - This message seems to have been added in expectation of code that - was never written, and probably never will be, since GiST's default - handling of secondary splits is actually pretty good. So stop - nagging end users about it. - * Fix possible failure to send a session's last few transaction - commit/abort counts to the statistics collector (Tom Lane) - * Eliminate memory leaks in PL/Perl's spi_prepare() function (Alex - Hunsaker, Tom Lane) - * Fix pg_dumpall to handle database names containing "=" correctly - (Heikki Linnakangas) - * Avoid crash in pg_dump when an incorrect connection string is given - (Heikki Linnakangas) - * Ignore invalid indexes in pg_dump (Michael Paquier) - Dumping invalid indexes can cause problems at restore time, for - example if the reason the index creation failed was because it - tried to enforce a uniqueness condition not satisfied by the - table's data. Also, if the index creation is in fact still in - progress, it seems reasonable to consider it to be an uncommitted - DDL change, which pg_dump wouldn't be expected to dump anyway. - * Fix "contrib/pg_trgm"'s similarity() function to return zero for - trigram-less strings (Tom Lane) - Previously it returned NaN due to internal division by zero. - * Update time zone data files to tzdata release 2013b for DST law - changes in Chile, Haiti, Morocco, Paraguay, and some Russian areas. - Also, historical zone data corrections for numerous places. - Also, update the time zone abbreviation files for recent changes in - Russia and elsewhere: CHOT, GET, IRKT, KGT, KRAT, MAGT, MAWT, MSK, - NOVT, OMST, TKT, VLAT, WST, YAKT, YEKT now follow their current - meanings, and VOLT (Europe/Volgograd) and MIST - (Antarctica/Macquarie) are added to the default abbreviations list. - __________________________________________________________________ - - Release 8.4.16 - - Release Date: 2013-02-07 - - This release contains a variety of fixes from 8.4.15. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.16 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Prevent execution of enum_recv from SQL (Tom Lane) - The function was misdeclared, allowing a simple SQL command to - crash the server. In principle an attacker might be able to use it - to examine the contents of server memory. Our thanks to Sumit Soni - (via Secunia SVCRP) for reporting this issue. (CVE-2013-0255) - * Update minimum recovery point when truncating a relation file - (Heikki Linnakangas) - Once data has been discarded, it's no longer safe to stop recovery - at an earlier point in the timeline. - * Fix SQL grammar to allow subscripting or field selection from a - sub-SELECT result (Tom Lane) - * Protect against race conditions when scanning pg_tablespace - (Stephen Frost, Tom Lane) - "CREATE DATABASE" and "DROP DATABASE" could misbehave if there were - concurrent updates of pg_tablespace entries. - * Prevent "DROP OWNED" from trying to drop whole databases or - tablespaces (Álvaro Herrera) - For safety, ownership of these objects must be reassigned, not - dropped. - * Fix error in vacuum_freeze_table_age implementation (Andres Freund) - In installations that have existed for more than - vacuum_freeze_min_age transactions, this mistake prevented - autovacuum from using partial-table scans, so that a full-table - scan would always happen instead. - * Prevent misbehavior when a RowExpr or XmlExpr is parse-analyzed - twice (Andres Freund, Tom Lane) - This mistake could be user-visible in contexts such as CREATE TABLE - LIKE INCLUDING INDEXES. - * Improve defenses against integer overflow in hashtable sizing - calculations (Jeff Davis) - * Reject out-of-range dates in to_date() (Hitoshi Harada) - * Ensure that non-ASCII prompt strings are translated to the correct - code page on Windows (Alexander Law, Noah Misch) - This bug affected psql and some other client programs. - * Fix possible crash in psql's "\?" command when not connected to a - database (Meng Qingzhong) - * Fix one-byte buffer overrun in libpq's PQprintTuples (Xi Wang) - This ancient function is not used anywhere by PostgreSQL itself, - but it might still be used by some client code. - * Make ecpglib use translated messages properly (Chen Huajun) - * Properly install ecpg_compat and pgtypes libraries on MSVC (Jiang - Guiqing) - * Rearrange configure's tests for supplied functions so it is not - fooled by bogus exports from libedit/libreadline (Christoph Berg) - * Ensure Windows build number increases over time (Magnus Hagander) - * Make pgxs build executables with the right .exe suffix when - cross-compiling for Windows (Zoltan Boszormenyi) - * Add new timezone abbreviation FET (Tom Lane) - This is now used in some eastern-European time zones. - __________________________________________________________________ - - Release 8.4.15 - - Release Date: 2012-12-06 - - This release contains a variety of fixes from 8.4.14. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.15 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Fix multiple bugs associated with "CREATE INDEX CONCURRENTLY" - (Andres Freund, Tom Lane) - Fix "CREATE INDEX CONCURRENTLY" to use in-place updates when - changing the state of an index's pg_index row. This prevents race - conditions that could cause concurrent sessions to miss updating - the target index, thus resulting in corrupt concurrently-created - indexes. - Also, fix various other operations to ensure that they ignore - invalid indexes resulting from a failed "CREATE INDEX CONCURRENTLY" - command. The most important of these is "VACUUM", because an - auto-vacuum could easily be launched on the table before corrective - action can be taken to fix or remove the invalid index. - * Avoid corruption of internal hash tables when out of memory - (Hitoshi Harada) - * Fix planning of non-strict equivalence clauses above outer joins - (Tom Lane) - The planner could derive incorrect constraints from a clause - equating a non-strict construct to something else, for example - WHERE COALESCE(foo, 0) = 0 when foo is coming from the nullable - side of an outer join. - * Improve planner's ability to prove exclusion constraints from - equivalence classes (Tom Lane) - * Fix partial-row matching in hashed subplans to handle cross-type - cases correctly (Tom Lane) - This affects multicolumn NOT IN subplans, such as WHERE (a, b) NOT - IN (SELECT x, y FROM ...) when for instance b and y are int4 and - int8 respectively. This mistake led to wrong answers or crashes - depending on the specific datatypes involved. - * Acquire buffer lock when re-fetching the old tuple for an AFTER ROW - UPDATE/DELETE trigger (Andres Freund) - In very unusual circumstances, this oversight could result in - passing incorrect data to the precheck logic for a foreign-key - enforcement trigger. That could result in a crash, or in an - incorrect decision about whether to fire the trigger. - * Fix "ALTER COLUMN TYPE" to handle inherited check constraints - properly (Pavan Deolasee) - This worked correctly in pre-8.4 releases, and now works correctly - in 8.4 and later. - * Fix "REASSIGN OWNED" to handle grants on tablespaces (Álvaro - Herrera) - * Ignore incorrect pg_attribute entries for system columns for views - (Tom Lane) - Views do not have any system columns. However, we forgot to remove - such entries when converting a table to a view. That's fixed - properly for 9.3 and later, but in previous branches we need to - defend against existing mis-converted views. - * Fix rule printing to dump INSERT INTO table DEFAULT VALUES - correctly (Tom Lane) - * Guard against stack overflow when there are too many - UNION/INTERSECT/EXCEPT clauses in a query (Tom Lane) - * Prevent platform-dependent failures when dividing the minimum - possible integer value by -1 (Xi Wang, Tom Lane) - * Fix possible access past end of string in date parsing (Hitoshi - Harada) - * Produce an understandable error message if the length of the path - name for a Unix-domain socket exceeds the platform-specific limit - (Tom Lane, Andrew Dunstan) - Formerly, this would result in something quite unhelpful, such as - "Non-recoverable failure in name resolution". - * Fix memory leaks when sending composite column values to the client - (Tom Lane) - * Make pg_ctl more robust about reading the "postmaster.pid" file - (Heikki Linnakangas) - Fix race conditions and possible file descriptor leakage. - * Fix possible crash in psql if incorrectly-encoded data is presented - and the client_encoding setting is a client-only encoding, such as - SJIS (Jiang Guiqing) - * Fix bugs in the "restore.sql" script emitted by pg_dump in tar - output format (Tom Lane) - The script would fail outright on tables whose names include - upper-case characters. Also, make the script capable of restoring - data in "--inserts" mode as well as the regular COPY mode. - * Fix pg_restore to accept POSIX-conformant tar files (Brian Weaver, - Tom Lane) - The original coding of pg_dump's tar output mode produced files - that are not fully conformant with the POSIX standard. This has - been corrected for version 9.3. This patch updates previous - branches so that they will accept both the incorrect and the - corrected formats, in hopes of avoiding compatibility problems when - 9.3 comes out. - * Fix pg_resetxlog to locate "postmaster.pid" correctly when given a - relative path to the data directory (Tom Lane) - This mistake could lead to pg_resetxlog not noticing that there is - an active postmaster using the data directory. - * Fix libpq's lo_import() and lo_export() functions to report file - I/O errors properly (Tom Lane) - * Fix ecpg's processing of nested structure pointer variables - (Muhammad Usama) - * Make "contrib/pageinspect"'s btree page inspection functions take - buffer locks while examining pages (Tom Lane) - * Fix pgxs support for building loadable modules on AIX (Tom Lane) - Building modules outside the original source tree didn't work on - AIX. - * Update time zone data files to tzdata release 2012j for DST law - changes in Cuba, Israel, Jordan, Libya, Palestine, Western Samoa, - and portions of Brazil. - __________________________________________________________________ - - Release 8.4.14 - - Release Date: 2012-09-24 - - This release contains a variety of fixes from 8.4.13. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.14 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Fix planner's assignment of executor parameters, and fix executor's - rescan logic for CTE plan nodes (Tom Lane) - These errors could result in wrong answers from queries that scan - the same WITH subquery multiple times. - * Improve page-splitting decisions in GiST indexes (Alexander - Korotkov, Robert Haas, Tom Lane) - Multi-column GiST indexes might suffer unexpected bloat due to this - error. - * Fix cascading privilege revoke to stop if privileges are still held - (Tom Lane) - If we revoke a grant option from some role "X", but "X" still holds - that option via a grant from someone else, we should not - recursively revoke the corresponding privilege from role(s) "Y" - that "X" had granted it to. - * Fix handling of SIGFPE when PL/Perl is in use (Andres Freund) - Perl resets the process's SIGFPE handler to SIG_IGN, which could - result in crashes later on. Restore the normal Postgres signal - handler after initializing PL/Perl. - * Prevent PL/Perl from crashing if a recursive PL/Perl function is - redefined while being executed (Tom Lane) - * Work around possible misoptimization in PL/Perl (Tom Lane) - Some Linux distributions contain an incorrect version of - "pthread.h" that results in incorrect compiled code in PL/Perl, - leading to crashes if a PL/Perl function calls another one that - throws an error. - * Update time zone data files to tzdata release 2012f for DST law - changes in Fiji - __________________________________________________________________ - - Release 8.4.13 - - Release Date: 2012-08-17 - - This release contains a variety of fixes from 8.4.12. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.13 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Prevent access to external files/URLs via XML entity references - (Noah Misch, Tom Lane) - xml_parse() would attempt to fetch external files or URLs as needed - to resolve DTD and entity references in an XML value, thus allowing - unprivileged database users to attempt to fetch data with the - privileges of the database server. While the external data wouldn't - get returned directly to the user, portions of it could be exposed - in error messages if the data didn't parse as valid XML; and in any - case the mere ability to check existence of a file might be useful - to an attacker. (CVE-2012-3489) - * Prevent access to external files/URLs via "contrib/xml2"'s - xslt_process() (Peter Eisentraut) - libxslt offers the ability to read and write both files and URLs - through stylesheet commands, thus allowing unprivileged database - users to both read and write data with the privileges of the - database server. Disable that through proper use of libxslt's - security options. (CVE-2012-3488) - Also, remove xslt_process()'s ability to fetch documents and - stylesheets from external files/URLs. While this was a documented - "feature", it was long regarded as a bad idea. The fix for - CVE-2012-3489 broke that capability, and rather than expend effort - on trying to fix it, we're just going to summarily remove it. - * Prevent too-early recycling of btree index pages (Noah Misch) - When we allowed read-only transactions to skip assigning XIDs, we - introduced the possibility that a deleted btree page could be - recycled while a read-only transaction was still in flight to it. - This would result in incorrect index search results. The - probability of such an error occurring in the field seems very low - because of the timing requirements, but nonetheless it should be - fixed. - * Fix crash-safety bug with newly-created-or-reset sequences (Tom - Lane) - If "ALTER SEQUENCE" was executed on a freshly created or reset - sequence, and then precisely one nextval() call was made on it, and - then the server crashed, WAL replay would restore the sequence to a - state in which it appeared that no nextval() had been done, thus - allowing the first sequence value to be returned again by the next - nextval() call. In particular this could manifest for serial - columns, since creation of a serial column's sequence includes an - "ALTER SEQUENCE OWNED BY" step. - * Ensure the "backup_label" file is fsync'd after pg_start_backup() - (Dave Kerr) - * Back-patch 9.1 improvement to compress the fsync request queue - (Robert Haas) - This improves performance during checkpoints. The 9.1 change has - now seen enough field testing to seem safe to back-patch. - * Only allow autovacuum to be auto-canceled by a directly blocked - process (Tom Lane) - The original coding could allow inconsistent behavior in some - cases; in particular, an autovacuum could get canceled after less - than deadlock_timeout grace period. - * Improve logging of autovacuum cancels (Robert Haas) - * Fix log collector so that log_truncate_on_rotation works during the - very first log rotation after server start (Tom Lane) - * Fix WITH attached to a nested set operation - (UNION/INTERSECT/EXCEPT) (Tom Lane) - * Ensure that a whole-row reference to a subquery doesn't include any - extra GROUP BY or ORDER BY columns (Tom Lane) - * Disallow copying whole-row references in CHECK constraints and - index definitions during "CREATE TABLE" (Tom Lane) - This situation can arise in "CREATE TABLE" with LIKE or INHERITS. - The copied whole-row variable was incorrectly labeled with the row - type of the original table not the new one. Rejecting the case - seems reasonable for LIKE, since the row types might well diverge - later. For INHERITS we should ideally allow it, with an implicit - coercion to the parent table's row type; but that will require more - work than seems safe to back-patch. - * Fix memory leak in ARRAY(SELECT ...) subqueries (Heikki - Linnakangas, Tom Lane) - * Fix extraction of common prefixes from regular expressions (Tom - Lane) - The code could get confused by quantified parenthesized - subexpressions, such as ^(foo)?bar. This would lead to incorrect - index optimization of searches for such patterns. - * Fix bugs with parsing signed "hh":"mm" and "hh":"mm":"ss" fields in - interval constants (Amit Kapila, Tom Lane) - * Report errors properly in "contrib/xml2"'s xslt_process() (Tom - Lane) - * Update time zone data files to tzdata release 2012e for DST law - changes in Morocco and Tokelau - __________________________________________________________________ - - Release 8.4.12 - - Release Date: 2012-06-04 - - This release contains a variety of fixes from 8.4.11. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.12 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Fix incorrect password transformation in "contrib/pgcrypto"'s DES - crypt() function (Solar Designer) - If a password string contained the byte value 0x80, the remainder - of the password was ignored, causing the password to be much weaker - than it appeared. With this fix, the rest of the string is properly - included in the DES hash. Any stored password values that are - affected by this bug will thus no longer match, so the stored - values may need to be updated. (CVE-2012-2143) - * Ignore SECURITY DEFINER and SET attributes for a procedural - language's call handler (Tom Lane) - Applying such attributes to a call handler could crash the server. - (CVE-2012-2655) - * Allow numeric timezone offsets in timestamp input to be up to 16 - hours away from UTC (Tom Lane) - Some historical time zones have offsets larger than 15 hours, the - previous limit. This could result in dumped data values being - rejected during reload. - * Fix timestamp conversion to cope when the given time is exactly the - last DST transition time for the current timezone (Tom Lane) - This oversight has been there a long time, but was not noticed - previously because most DST-using zones are presumed to have an - indefinite sequence of future DST transitions. - * Fix text to name and char to name casts to perform string - truncation correctly in multibyte encodings (Karl Schnaitter) - * Fix memory copying bug in to_tsquery() (Heikki Linnakangas) - * Fix planner's handling of outer PlaceHolderVars within subqueries - (Tom Lane) - This bug concerns sub-SELECTs that reference variables coming from - the nullable side of an outer join of the surrounding query. In - 9.1, queries affected by this bug would fail with "ERROR: - Upper-level PlaceHolderVar found where not expected". But in 9.0 - and 8.4, you'd silently get possibly-wrong answers, since the value - transmitted into the subquery wouldn't go to null when it should. - * Fix slow session startup when pg_attribute is very large (Tom Lane) - If pg_attribute exceeds one-fourth of shared_buffers, cache - rebuilding code that is sometimes needed during session start would - trigger the synchronized-scan logic, causing it to take many times - longer than normal. The problem was particularly acute if many new - sessions were starting at once. - * Ensure sequential scans check for query cancel reasonably often - (Merlin Moncure) - A scan encountering many consecutive pages that contain no live - tuples would not respond to interrupts meanwhile. - * Ensure the Windows implementation of PGSemaphoreLock() clears - ImmediateInterruptOK before returning (Tom Lane) - This oversight meant that a query-cancel interrupt received later - in the same query could be accepted at an unsafe time, with - unpredictable but not good consequences. - * Show whole-row variables safely when printing views or rules (Abbas - Butt, Tom Lane) - Corner cases involving ambiguous names (that is, the name could be - either a table or column name of the query) were printed in an - ambiguous way, risking that the view or rule would be interpreted - differently after dump and reload. Avoid the ambiguous case by - attaching a no-op cast. - * Fix "COPY FROM" to properly handle null marker strings that - correspond to invalid encoding (Tom Lane) - A null marker string such as E'\\0' should work, and did work in - the past, but the case got broken in 8.4. - * Ensure autovacuum worker processes perform stack depth checking - properly (Heikki Linnakangas) - Previously, infinite recursion in a function invoked by - auto-"ANALYZE" could crash worker processes. - * Fix logging collector to not lose log coherency under high load - (Andrew Dunstan) - The collector previously could fail to reassemble large messages if - it got too busy. - * Fix logging collector to ensure it will restart file rotation after - receiving SIGHUP (Tom Lane) - * Fix WAL replay logic for GIN indexes to not fail if the index was - subsequently dropped (Tom Lane) - * Fix memory leak in PL/pgSQL's "RETURN NEXT" command (Joe Conway) - * Fix PL/pgSQL's "GET DIAGNOSTICS" command when the target is the - function's first variable (Tom Lane) - * Fix potential access off the end of memory in psql's expanded - display ("\x") mode (Peter Eisentraut) - * Fix several performance problems in pg_dump when the database - contains many objects (Jeff Janes, Tom Lane) - pg_dump could get very slow if the database contained many schemas, - or if many objects are in dependency loops, or if there are many - owned sequences. - * Fix "contrib/dblink"'s dblink_exec() to not leak temporary database - connections upon error (Tom Lane) - * Fix "contrib/dblink" to report the correct connection name in error - messages (Kyotaro Horiguchi) - * Update time zone data files to tzdata release 2012c for DST law - changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, - Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also - historical corrections for Canada. - __________________________________________________________________ - - Release 8.4.11 - - Release Date: 2012-02-27 - - This release contains a variety of fixes from 8.4.10. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.11 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.10, see - the release notes for 8.4.10. - __________________________________________________________________ - -Changes - - * Require execute permission on the trigger function for "CREATE - TRIGGER" (Robert Haas) - This missing check could allow another user to execute a trigger - function with forged input data, by installing it on a table he - owns. This is only of significance for trigger functions marked - SECURITY DEFINER, since otherwise trigger functions run as the - table owner anyway. (CVE-2012-0866) - * Remove arbitrary limitation on length of common name in SSL - certificates (Heikki Linnakangas) - Both libpq and the server truncated the common name extracted from - an SSL certificate at 32 bytes. Normally this would cause nothing - worse than an unexpected verification failure, but there are some - rather-implausible scenarios in which it might allow one - certificate holder to impersonate another. The victim would have to - have a common name exactly 32 bytes long, and the attacker would - have to persuade a trusted CA to issue a certificate in which the - common name has that string as a prefix. Impersonating a server - would also require some additional exploit to redirect client - connections. (CVE-2012-0867) - * Convert newlines to spaces in names written in pg_dump comments - (Robert Haas) - pg_dump was incautious about sanitizing object names that are - emitted within SQL comments in its output script. A name containing - a newline would at least render the script syntactically incorrect. - Maliciously crafted object names could present a SQL injection risk - when the script is reloaded. (CVE-2012-0868) - * Fix btree index corruption from insertions concurrent with - vacuuming (Tom Lane) - An index page split caused by an insertion could sometimes cause a - concurrently-running "VACUUM" to miss removing index entries that - it should remove. After the corresponding table rows are removed, - the dangling index entries would cause errors (such as "could not - read block N in file ...") or worse, silently wrong query results - after unrelated rows are re-inserted at the now-free table - locations. This bug has been present since release 8.2, but occurs - so infrequently that it was not diagnosed until now. If you have - reason to suspect that it has happened in your database, reindexing - the affected index will fix things. - * Update per-column permissions, not only per-table permissions, when - changing table owner (Tom Lane) - Failure to do this meant that any previously granted column - permissions were still shown as having been granted by the old - owner. This meant that neither the new owner nor a superuser could - revoke the now-untraceable-to-table-owner permissions. - * Allow non-existent values for some settings in "ALTER USER/DATABASE - SET" (Heikki Linnakangas) - Allow default_text_search_config, default_tablespace, and - temp_tablespaces to be set to names that are not known. This is - because they might be known in another database where the setting - is intended to be used, or for the tablespace cases because the - tablespace might not be created yet. The same issue was previously - recognized for search_path, and these settings now act like that - one. - * Avoid crashing when we have problems deleting table files - post-commit (Tom Lane) - Dropping a table should lead to deleting the underlying disk files - only after the transaction commits. In event of failure then (for - instance, because of wrong file permissions) the code is supposed - to just emit a warning message and go on, since it's too late to - abort the transaction. This logic got broken as of release 8.4, - causing such situations to result in a PANIC and an unrestartable - database. - * Track the OID counter correctly during WAL replay, even when it - wraps around (Tom Lane) - Previously the OID counter would remain stuck at a high value until - the system exited replay mode. The practical consequences of that - are usually nil, but there are scenarios wherein a standby server - that's been promoted to master might take a long time to advance - the OID counter to a reasonable value once values are needed. - * Fix regular expression back-references with * attached (Tom Lane) - Rather than enforcing an exact string match, the code would - effectively accept any string that satisfies the pattern - sub-expression referenced by the back-reference symbol. - A similar problem still afflicts back-references that are embedded - in a larger quantified expression, rather than being the immediate - subject of the quantifier. This will be addressed in a future - PostgreSQL release. - * Fix recently-introduced memory leak in processing of inet/cidr - values (Heikki Linnakangas) - A patch in the December 2011 releases of PostgreSQL caused memory - leakage in these operations, which could be significant in - scenarios such as building a btree index on such a column. - * Fix dangling pointer after "CREATE TABLE AS"/"SELECT INTO" in a - SQL-language function (Tom Lane) - In most cases this only led to an assertion failure in - assert-enabled builds, but worse consequences seem possible. - * Avoid double close of file handle in syslogger on Windows (MauMau) - Ordinarily this error was invisible, but it would cause an - exception when running on a debug version of Windows. - * Fix I/O-conversion-related memory leaks in plpgsql (Andres Freund, - Jan Urbanski, Tom Lane) - Certain operations would leak memory until the end of the current - function. - * Improve pg_dump's handling of inherited table columns (Tom Lane) - pg_dump mishandled situations where a child column has a different - default expression than its parent column. If the default is - textually identical to the parent's default, but not actually the - same (for instance, because of schema search path differences) it - would not be recognized as different, so that after dump and - restore the child would be allowed to inherit the parent's default. - Child columns that are NOT NULL where their parent is not could - also be restored subtly incorrectly. - * Fix pg_restore's direct-to-database mode for INSERT-style table - data (Tom Lane) - Direct-to-database restores from archive files made with - "--inserts" or "--column-inserts" options fail when using - pg_restore from a release dated September or December 2011, as a - result of an oversight in a fix for another problem. The archive - file itself is not at fault, and text-mode output is okay. - * Allow AT option in ecpg DEALLOCATE statements (Michael Meskes) - The infrastructure to support this has been there for awhile, but - through an oversight there was still an error check rejecting the - case. - * Fix error in "contrib/intarray"'s int[] & int[] operator (Guillaume - Lelarge) - If the smallest integer the two input arrays have in common is 1, - and there are smaller values in either array, then 1 would be - incorrectly omitted from the result. - * Fix error detection in "contrib/pgcrypto"'s encrypt_iv() and - decrypt_iv() (Marko Kreen) - These functions failed to report certain types of invalid-input - errors, and would instead return random garbage values for - incorrect input. - * Fix one-byte buffer overrun in "contrib/test_parser" (Paul Guyot) - The code would try to read one more byte than it should, which - would crash in corner cases. Since "contrib/test_parser" is only - example code, this is not a security issue in itself, but bad - example code is still bad. - * Use __sync_lock_test_and_set() for spinlocks on ARM, if available - (Martin Pitt) - This function replaces our previous use of the SWPB instruction, - which is deprecated and not available on ARMv6 and later. Reports - suggest that the old code doesn't fail in an obvious way on recent - ARM boards, but simply doesn't interlock concurrent accesses, - leading to bizarre failures in multiprocess operation. - * Use "-fexcess-precision=standard" option when building with gcc - versions that accept it (Andrew Dunstan) - This prevents assorted scenarios wherein recent versions of gcc - will produce creative results. - * Allow use of threaded Python on FreeBSD (Chris Rees) - Our configure script previously believed that this combination - wouldn't work; but FreeBSD fixed the problem, so remove that error - check. - __________________________________________________________________ - - Release 8.4.10 - - Release Date: 2011-12-05 - - This release contains a variety of fixes from 8.4.9. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.10 - - A dump/restore is not required for those running 8.4.X. - - However, a longstanding error was discovered in the definition of the - information_schema.referential_constraints view. If you rely on correct - results from that view, you should replace its definition as explained - in the first changelog item below. - - Also, if you are upgrading from a version earlier than 8.4.8, see the - release notes for 8.4.8. - __________________________________________________________________ - -Changes - - * Fix bugs in information_schema.referential_constraints view (Tom - Lane) - This view was being insufficiently careful about matching the - foreign-key constraint to the depended-on primary or unique key - constraint. That could result in failure to show a foreign key - constraint at all, or showing it multiple times, or claiming that - it depends on a different constraint than the one it really does. - Since the view definition is installed by initdb, merely upgrading - will not fix the problem. If you need to fix this in an existing - installation, you can (as a superuser) drop the information_schema - schema then re-create it by sourcing - "SHAREDIR/information_schema.sql". (Run pg_config --sharedir if - you're uncertain where "SHAREDIR" is.) This must be repeated in - each database to be fixed. - * Fix incorrect replay of WAL records for GIN index updates (Tom - Lane) - This could result in transiently failing to find index entries - after a crash, or on a hot-standby server. The problem would be - repaired by the next "VACUUM" of the index, however. - * Fix TOAST-related data corruption during CREATE TABLE dest AS - SELECT * FROM src or INSERT INTO dest SELECT * FROM src (Tom Lane) - If a table has been modified by "ALTER TABLE ADD COLUMN", attempts - to copy its data verbatim to another table could produce corrupt - results in certain corner cases. The problem can only manifest in - this precise form in 8.4 and later, but we patched earlier versions - as well in case there are other code paths that could trigger the - same bug. - * Fix race condition during toast table access from stale syscache - entries (Tom Lane) - The typical symptom was transient errors like "missing chunk number - 0 for toast value NNNNN in pg_toast_2619", where the cited toast - table would always belong to a system catalog. - * Track dependencies of functions on items used in parameter default - expressions (Tom Lane) - Previously, a referenced object could be dropped without having - dropped or modified the function, leading to misbehavior when the - function was used. Note that merely installing this update will not - fix the missing dependency entries; to do that, you'd need to - "CREATE OR REPLACE" each such function afterwards. If you have - functions whose defaults depend on non-built-in objects, doing so - is recommended. - * Allow inlining of set-returning SQL functions with multiple OUT - parameters (Tom Lane) - * Make DatumGetInetP() unpack inet datums that have a 1-byte header, - and add a new macro, DatumGetInetPP(), that does not (Heikki - Linnakangas) - This change affects no core code, but might prevent crashes in - add-on code that expects DatumGetInetP() to produce an unpacked - datum as per usual convention. - * Improve locale support in money type's input and output (Tom Lane) - Aside from not supporting all standard lc_monetary formatting - options, the input and output functions were inconsistent, meaning - there were locales in which dumped money values could not be - re-read. - * Don't let transform_null_equals affect CASE foo WHEN NULL ... - constructs (Heikki Linnakangas) - transform_null_equals is only supposed to affect foo = NULL - expressions written directly by the user, not equality checks - generated internally by this form of CASE. - * Change foreign-key trigger creation order to better support - self-referential foreign keys (Tom Lane) - For a cascading foreign key that references its own table, a row - update will fire both the ON UPDATE trigger and the CHECK trigger - as one event. The ON UPDATE trigger must execute first, else the - CHECK will check a non-final state of the row and possibly throw an - inappropriate error. However, the firing order of these triggers is - determined by their names, which generally sort in creation order - since the triggers have auto-generated names following the - convention "RI_ConstraintTrigger_NNNN". A proper fix would require - modifying that convention, which we will do in 9.2, but it seems - risky to change it in existing releases. So this patch just changes - the creation order of the triggers. Users encountering this type of - error should drop and re-create the foreign key constraint to get - its triggers into the right order. - * Avoid floating-point underflow while tracking buffer allocation - rate (Greg Matthews) - While harmless in itself, on certain platforms this would result in - annoying kernel log messages. - * Preserve configuration file name and line number values when - starting child processes under Windows (Tom Lane) - Formerly, these would not be displayed correctly in the pg_settings - view. - * Preserve blank lines within commands in psql's command history - (Robert Haas) - The former behavior could cause problems if an empty line was - removed from within a string literal, for example. - * Fix pg_dump to dump user-defined casts between auto-generated - types, such as table rowtypes (Tom Lane) - * Use the preferred version of xsubpp to build PL/Perl, not - necessarily the operating system's main copy (David Wheeler and - Alex Hunsaker) - * Fix incorrect coding in "contrib/dict_int" and "contrib/dict_xsyn" - (Tom Lane) - Some functions incorrectly assumed that memory returned by palloc() - is guaranteed zeroed. - * Honor query cancel interrupts promptly in pgstatindex() (Robert - Haas) - * Ensure VPATH builds properly install all server header files (Peter - Eisentraut) - * Shorten file names reported in verbose error messages (Peter - Eisentraut) - Regular builds have always reported just the name of the C file - containing the error message call, but VPATH builds formerly - reported an absolute path name. - * Fix interpretation of Windows timezone names for Central America - (Tom Lane) - Map "Central America Standard Time" to CST6, not CST6CDT, because - DST is generally not observed anywhere in Central America. - * Update time zone data files to tzdata release 2011n for DST law - changes in Brazil, Cuba, Fiji, Palestine, Russia, and Samoa; also - historical corrections for Alaska and British East Africa. - __________________________________________________________________ - - Release 8.4.9 - - Release Date: 2011-09-26 - - This release contains a variety of fixes from 8.4.8. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.9 - - A dump/restore is not required for those running 8.4.X. - - However, if you are upgrading from a version earlier than 8.4.8, see - the release notes for 8.4.8. - __________________________________________________________________ - -Changes - - * Fix bugs in indexing of in-doubt HOT-updated tuples (Tom Lane) - These bugs could result in index corruption after reindexing a - system catalog. They are not believed to affect user indexes. - * Fix multiple bugs in GiST index page split processing (Heikki - Linnakangas) - The probability of occurrence was low, but these could lead to - index corruption. - * Fix possible buffer overrun in tsvector_concat() (Tom Lane) - The function could underestimate the amount of memory needed for - its result, leading to server crashes. - * Fix crash in xml_recv when processing a "standalone" parameter (Tom - Lane) - * Make pg_options_to_table return NULL for an option with no value - (Tom Lane) - Previously such cases would result in a server crash. - * Avoid possibly accessing off the end of memory in "ANALYZE" and in - SJIS-2004 encoding conversion (Noah Misch) - This fixes some very-low-probability server crash scenarios. - * Prevent intermittent hang in interactions of startup process with - bgwriter process (Simon Riggs) - This affected recovery in non-hot-standby cases. - * Fix race condition in relcache init file invalidation (Tom Lane) - There was a window wherein a new backend process could read a stale - init file but miss the inval messages that would tell it the data - is stale. The result would be bizarre failures in catalog accesses, - typically "could not read block 0 in file ..." later during - startup. - * Fix memory leak at end of a GiST index scan (Tom Lane) - Commands that perform many separate GiST index scans, such as - verification of a new GiST-based exclusion constraint on a table - already containing many rows, could transiently require large - amounts of memory due to this leak. - * Fix incorrect memory accounting (leading to possible memory bloat) - in tuplestores supporting holdable cursors and plpgsql's RETURN - NEXT command (Tom Lane) - * Fix performance problem when constructing a large, lossy bitmap - (Tom Lane) - * Fix join selectivity estimation for unique columns (Tom Lane) - This fixes an erroneous planner heuristic that could lead to poor - estimates of the result size of a join. - * Fix nested PlaceHolderVar expressions that appear only in - sub-select target lists (Tom Lane) - This mistake could result in outputs of an outer join incorrectly - appearing as NULL. - * Allow nested EXISTS queries to be optimized properly (Tom Lane) - * Fix array- and path-creating functions to ensure padding bytes are - zeroes (Tom Lane) - This avoids some situations where the planner will think that - semantically-equal constants are not equal, resulting in poor - optimization. - * Fix "EXPLAIN" to handle gating Result nodes within inner-indexscan - subplans (Tom Lane) - The usual symptom of this oversight was "bogus varno" errors. - * Work around gcc 4.6.0 bug that breaks WAL replay (Tom Lane) - This could lead to loss of committed transactions after a server - crash. - * Fix dump bug for VALUES in a view (Tom Lane) - * Disallow SELECT FOR UPDATE/SHARE on sequences (Tom Lane) - This operation doesn't work as expected and can lead to failures. - * Fix "VACUUM" so that it always updates pg_class.reltuples/relpages - (Tom Lane) - This fixes some scenarios where autovacuum could make increasingly - poor decisions about when to vacuum tables. - * Defend against integer overflow when computing size of a hash table - (Tom Lane) - * Fix cases where "CLUSTER" might attempt to access already-removed - TOAST data (Tom Lane) - * Fix portability bugs in use of credentials control messages for - "peer" authentication (Tom Lane) - * Fix SSPI login when multiple roundtrips are required (Ahmed - Shinwari, Magnus Hagander) - The typical symptom of this problem was "The function requested is - not supported" errors during SSPI login. - * Throw an error if "pg_hba.conf" contains hostssl but SSL is - disabled (Tom Lane) - This was concluded to be more user-friendly than the previous - behavior of silently ignoring such lines. - * Fix typo in pg_srand48 seed initialization (Andres Freund) - This led to failure to use all bits of the provided seed. This - function is not used on most platforms (only those without - srandom), and the potential security exposure from a - less-random-than-expected seed seems minimal in any case. - * Avoid integer overflow when the sum of LIMIT and OFFSET values - exceeds 2^63 (Heikki Linnakangas) - * Add overflow checks to int4 and int8 versions of generate_series() - (Robert Haas) - * Fix trailing-zero removal in to_char() (Marti Raudsepp) - In a format with FM and no digit positions after the decimal point, - zeroes to the left of the decimal point could be removed - incorrectly. - * Fix pg_size_pretty() to avoid overflow for inputs close to 2^63 - (Tom Lane) - * Weaken plpgsql's check for typmod matching in record values (Tom - Lane) - An overly enthusiastic check could lead to discarding length - modifiers that should have been kept. - * Correctly handle quotes in locale names during initdb (Heikki - Linnakangas) - The case can arise with some Windows locales, such as "People's - Republic of China". - * Fix pg_upgrade to preserve toast tables' relfrozenxids during an - upgrade from 8.3 (Bruce Momjian) - Failure to do this could lead to "pg_clog" files being removed too - soon after the upgrade. - * In pg_ctl, support silent mode for service registrations on Windows - (MauMau) - * Fix psql's counting of script file line numbers during COPY from a - different file (Tom Lane) - * Fix pg_restore's direct-to-database mode for - standard_conforming_strings (Tom Lane) - pg_restore could emit incorrect commands when restoring directly to - a database server from an archive file that had been made with - standard_conforming_strings set to on. - * Be more user-friendly about unsupported cases for parallel - pg_restore (Tom Lane) - This change ensures that such cases are detected and reported - before any restore actions have been taken. - * Fix write-past-buffer-end and memory leak in libpq's LDAP service - lookup code (Albe Laurenz) - * In libpq, avoid failures when using nonblocking I/O and an SSL - connection (Martin Pihlak, Tom Lane) - * Improve libpq's handling of failures during connection startup (Tom - Lane) - In particular, the response to a server report of fork() failure - during SSL connection startup is now saner. - * Improve libpq's error reporting for SSL failures (Tom Lane) - * Fix PQsetvalue() to avoid possible crash when adding a new tuple to - a PGresult originally obtained from a server query (Andrew Chernow) - * Make ecpglib write double values with 15 digits precision (Akira - Kurosawa) - * In ecpglib, be sure LC_NUMERIC setting is restored after an error - (Michael Meskes) - * Apply upstream fix for blowfish signed-character bug - (CVE-2011-2483) (Tom Lane) - "contrib/pg_crypto"'s blowfish encryption code could give wrong - results on platforms where char is signed (which is most), leading - to encrypted passwords being weaker than they should be. - * Fix memory leak in "contrib/seg" (Heikki Linnakangas) - * Fix pgstatindex() to give consistent results for empty indexes (Tom - Lane) - * Allow building with perl 5.14 (Alex Hunsaker) - * Update configure script's method for probing existence of system - functions (Tom Lane) - The version of autoconf we used in 8.3 and 8.2 could be fooled by - compilers that perform link-time optimization. - * Fix assorted issues with build and install file paths containing - spaces (Tom Lane) - * Update time zone data files to tzdata release 2011i for DST law - changes in Canada, Egypt, Russia, Samoa, and South Sudan. - __________________________________________________________________ - - Release 8.4.8 - - Release Date: 2011-04-18 - - This release contains a variety of fixes from 8.4.7. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.8 - - A dump/restore is not required for those running 8.4.X. - - However, if your installation was upgraded from a previous major - release by running pg_upgrade, you should take action to prevent - possible data loss due to a now-fixed bug in pg_upgrade. The - recommended solution is to run "VACUUM FREEZE" on all TOAST tables. - More information is available at - http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix. - - Also, if you are upgrading from a version earlier than 8.4.2, see the - release notes for 8.4.2. - __________________________________________________________________ - -Changes - - * Fix pg_upgrade's handling of TOAST tables (Bruce Momjian) - The pg_class.relfrozenxid value for TOAST tables was not correctly - copied into the new installation during pg_upgrade. This could - later result in pg_clog files being discarded while they were still - needed to validate tuples in the TOAST tables, leading to "could - not access status of transaction" failures. - This error poses a significant risk of data loss for installations - that have been upgraded with pg_upgrade. This patch corrects the - problem for future uses of pg_upgrade, but does not in itself cure - the issue in installations that have been processed with a buggy - version of pg_upgrade. - * Suppress incorrect "PD_ALL_VISIBLE flag was incorrectly set" - warning (Heikki Linnakangas) - "VACUUM" would sometimes issue this warning in cases that are - actually valid. - * Disallow including a composite type in itself (Tom Lane) - This prevents scenarios wherein the server could recurse infinitely - while processing the composite type. While there are some possible - uses for such a structure, they don't seem compelling enough to - justify the effort required to make sure it always works safely. - * Avoid potential deadlock during catalog cache initialization - (Nikhil Sontakke) - In some cases the cache loading code would acquire share lock on a - system index before locking the index's catalog. This could - deadlock against processes trying to acquire exclusive locks in the - other, more standard order. - * Fix dangling-pointer problem in BEFORE ROW UPDATE trigger handling - when there was a concurrent update to the target tuple (Tom Lane) - This bug has been observed to result in intermittent "cannot - extract system attribute from virtual tuple" failures while trying - to do UPDATE RETURNING ctid. There is a very small probability of - more serious errors, such as generating incorrect index entries for - the updated tuple. - * Disallow "DROP TABLE" when there are pending deferred trigger - events for the table (Tom Lane) - Formerly the "DROP" would go through, leading to "could not open - relation with OID nnn" errors when the triggers were eventually - fired. - * Prevent crash triggered by constant-false WHERE conditions during - GEQO optimization (Tom Lane) - * Improve planner's handling of semi-join and anti-join cases (Tom - Lane) - * Fix selectivity estimation for text search to account for NULLs - (Jesper Krogh) - * Improve PL/pgSQL's ability to handle row types with dropped columns - (Pavel Stehule) - This is a back-patch of fixes previously made in 9.0. - * Fix PL/Python memory leak involving array slices (Daniel Popowich) - * Fix pg_restore to cope with long lines (over 1KB) in TOC files (Tom - Lane) - * Put in more safeguards against crashing due to division-by-zero - with overly enthusiastic compiler optimization (Aurelien Jarno) - * Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane) - There was a hard-wired assumption that this system function was not - available on MIPS hardware on these systems. Use a compile-time - test instead, since more recent versions have it. - * Fix compilation failures on HP-UX (Heikki Linnakangas) - * Fix version-incompatibility problem with libintl on Windows - (Hiroshi Inoue) - * Fix usage of xcopy in Windows build scripts to work correctly under - Windows 7 (Andrew Dunstan) - This affects the build scripts only, not installation or usage. - * Fix path separator used by pg_regress on Cygwin (Andrew Dunstan) - * Update time zone data files to tzdata release 2011f for DST law - changes in Chile, Cuba, Falkland Islands, Morocco, Samoa, and - Turkey; also historical corrections for South Australia, Alaska, - and Hawaii. - __________________________________________________________________ - - Release 8.4.7 - - Release Date: 2011-01-31 - - This release contains a variety of fixes from 8.4.6. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.7 - - A dump/restore is not required for those running 8.4.X. However, if you - are upgrading from a version earlier than 8.4.2, see the release notes - for 8.4.2. - __________________________________________________________________ - -Changes - - * Avoid failures when "EXPLAIN" tries to display a simple-form CASE - expression (Tom Lane) - If the CASE's test expression was a constant, the planner could - simplify the CASE into a form that confused the expression-display - code, resulting in "unexpected CASE WHEN clause" errors. - * Fix assignment to an array slice that is before the existing range - of subscripts (Tom Lane) - If there was a gap between the newly added subscripts and the first - pre-existing subscript, the code miscalculated how many entries - needed to be copied from the old array's null bitmap, potentially - leading to data corruption or crash. - * Avoid unexpected conversion overflow in planner for very distant - date values (Tom Lane) - The date type supports a wider range of dates than can be - represented by the timestamp types, but the planner assumed it - could always convert a date to timestamp with impunity. - * Fix pg_restore's text output for large objects (BLOBs) when - standard_conforming_strings is on (Tom Lane) - Although restoring directly to a database worked correctly, string - escaping was incorrect if pg_restore was asked for SQL text output - and standard_conforming_strings had been enabled in the source - database. - * Fix erroneous parsing of tsquery values containing ... & - !(subexpression) | ... (Tom Lane) - Queries containing this combination of operators were not executed - correctly. The same error existed in "contrib/intarray"'s query_int - type and "contrib/ltree"'s ltxtquery type. - * Fix buffer overrun in "contrib/intarray"'s input function for the - query_int type (Apple) - This bug is a security risk since the function's return address - could be overwritten. Thanks to Apple Inc's security team for - reporting this issue and supplying the fix. (CVE-2010-4015) - * Fix bug in "contrib/seg"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a seg column. If you have - such an index, consider "REINDEX"ing it after installing this - update. (This is identical to the bug that was fixed in - "contrib/cube" in the previous update.) - __________________________________________________________________ - - Release 8.4.6 - - Release Date: 2010-12-16 - - This release contains a variety of fixes from 8.4.5. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.6 - - A dump/restore is not required for those running 8.4.X. However, if you - are upgrading from a version earlier than 8.4.2, see the release notes - for 8.4.2. - __________________________________________________________________ - -Changes - - * Force the default wal_sync_method to be fdatasync on Linux (Tom - Lane, Marti Raudsepp) - The default on Linux has actually been fdatasync for many years, - but recent kernel changes caused PostgreSQL to choose open_datasync - instead. This choice did not result in any performance improvement, - and caused outright failures on certain filesystems, notably ext4 - with the data=journal mount option. - * Fix assorted bugs in WAL replay logic for GIN indexes (Tom Lane) - This could result in "bad buffer id: 0" failures or corruption of - index contents during replication. - * Fix recovery from base backup when the starting checkpoint WAL - record is not in the same WAL segment as its redo point (Jeff - Davis) - * Fix persistent slowdown of autovacuum workers when multiple workers - remain active for a long time (Tom Lane) - The effective vacuum_cost_limit for an autovacuum worker could drop - to nearly zero if it processed enough tables, causing it to run - extremely slowly. - * Add support for detecting register-stack overrun on IA64 (Tom Lane) - The IA64 architecture has two hardware stacks. Full prevention of - stack-overrun failures requires checking both. - * Add a check for stack overflow in copyObject() (Tom Lane) - Certain code paths could crash due to stack overflow given a - sufficiently complex query. - * Fix detection of page splits in temporary GiST indexes (Heikki - Linnakangas) - It is possible to have a "concurrent" page split in a temporary - index, if for example there is an open cursor scanning the index - when an insertion is done. GiST failed to detect this case and - hence could deliver wrong results when execution of the cursor - continued. - * Fix error checking during early connection processing (Tom Lane) - The check for too many child processes was skipped in some cases, - possibly leading to postmaster crash when attempting to add the new - child process to fixed-size arrays. - * Improve efficiency of window functions (Tom Lane) - Certain cases where a large number of tuples needed to be read in - advance, but work_mem was large enough to allow them all to be held - in memory, were unexpectedly slow. percent_rank(), cume_dist() and - ntile() in particular were subject to this problem. - * Avoid memory leakage while "ANALYZE"'ing complex index expressions - (Tom Lane) - * Ensure an index that uses a whole-row Var still depends on its - table (Tom Lane) - An index declared like create index i on t (foo(t.*)) would not - automatically get dropped when its table was dropped. - * Do not "inline" a SQL function with multiple OUT parameters (Tom - Lane) - This avoids a possible crash due to loss of information about the - expected result rowtype. - * Behave correctly if ORDER BY, LIMIT, FOR UPDATE, or WITH is - attached to the VALUES part of INSERT ... VALUES (Tom Lane) - * Fix constant-folding of COALESCE() expressions (Tom Lane) - The planner would sometimes attempt to evaluate sub-expressions - that in fact could never be reached, possibly leading to unexpected - errors. - * Fix postmaster crash when connection acceptance (accept() or one of - the calls made immediately after it) fails, and the postmaster was - compiled with GSSAPI support (Alexander Chernikov) - * Fix missed unlink of temporary files when log_temp_files is active - (Tom Lane) - If an error occurred while attempting to emit the log message, the - unlink was not done, resulting in accumulation of temp files. - * Add print functionality for InhRelation nodes (Tom Lane) - This avoids a failure when debug_print_parse is enabled and certain - types of query are executed. - * Fix incorrect calculation of distance from a point to a horizontal - line segment (Tom Lane) - This bug affected several different geometric distance-measurement - operators. - * Fix incorrect calculation of transaction status in ecpg (Itagaki - Takahiro) - * Fix PL/pgSQL's handling of "simple" expressions to not fail in - recursion or error-recovery cases (Tom Lane) - * Fix PL/Python's handling of set-returning functions (Jan Urbanski) - Attempts to call SPI functions within the iterator generating a set - result would fail. - * Fix bug in "contrib/cube"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a cube column. If you have - such an index, consider "REINDEX"ing it after installing this - update. - * Don't emit "identifier will be truncated" notices in - "contrib/dblink" except when creating new connections (Itagaki - Takahiro) - * Fix potential coredump on missing public key in "contrib/pgcrypto" - (Marti Raudsepp) - * Fix memory leak in "contrib/xml2"'s XPath query functions (Tom - Lane) - * Update time zone data files to tzdata release 2010o for DST law - changes in Fiji and Samoa; also historical corrections for Hong - Kong. - __________________________________________________________________ - - Release 8.4.5 - - Release Date: 2010-10-04 - - This release contains a variety of fixes from 8.4.4. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.5 - - A dump/restore is not required for those running 8.4.X. However, if you - are upgrading from a version earlier than 8.4.2, see the release notes - for 8.4.2. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Treat exit code 128 (ERROR_WAIT_NO_CHILDREN) as non-fatal on - Windows (Magnus Hagander) - Under high load, Windows processes will sometimes fail at startup - with this error code. Formerly the postmaster treated this as a - panic condition and restarted the whole database, but that seems to - be an overreaction. - * Fix incorrect placement of placeholder evaluation (Tom Lane) - This bug could result in query outputs being non-null when they - should be null, in cases where the inner side of an outer join is a - sub-select with non-strict expressions in its output list. - * Fix possible duplicate scans of UNION ALL member relations (Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Fix mishandling of whole-row Vars that reference a view or - sub-select and appear within a nested sub-select (Tom Lane) - * Fix mishandling of cross-type IN comparisons (Tom Lane) - This could result in failures if the planner tried to implement an - IN join with a sort-then-unique-then-plain-join plan. - * Fix computation of "ANALYZE" statistics for tsvector columns (Jan - Urbanski) - The original coding could produce incorrect statistics, leading to - poor plan choices later. - * Improve planner's estimate of memory used by array_agg(), - string_agg(), and similar aggregate functions (Hitoshi Harada) - The previous drastic underestimate could lead to out-of-memory - failures due to inappropriate choice of a hash-aggregation plan. - * Fix failure to mark cached plans as transient (Tom Lane) - If a plan is prepared while "CREATE INDEX CONCURRENTLY" is in - progress for one of the referenced tables, it is supposed to be - re-planned once the index is ready for use. This was not happening - reliably. - * Reduce PANIC to ERROR in some occasionally-reported btree failure - cases, and provide additional detail in the resulting error - messages (Tom Lane) - This should improve the system's robustness with corrupted indexes. - * Fix incorrect search logic for partial-match queries with GIN - indexes (Tom Lane) - Cases involving AND/OR combination of several GIN index conditions - didn't always give the right answer, and were sometimes much slower - than necessary. - * Prevent show_session_authorization() from crashing within - autovacuum processes (Tom Lane) - * Defend against functions returning setof record where not all the - returned rows are actually of the same rowtype (Tom Lane) - * Fix possible corruption of pending trigger event lists during - subtransaction rollback (Tom Lane) - This could lead to a crash or incorrect firing of triggers. - * Fix possible failure when hashing a pass-by-reference function - result (Tao Ma, Tom Lane) - * Improve merge join's handling of NULLs in the join columns (Tom - Lane) - A merge join can now stop entirely upon reaching the first NULL, if - the sort order is such that NULLs sort high. - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Avoid recursion while assigning XIDs to heavily-nested - subtransactions (Andres Freund, Robert Haas) - The original coding could result in a crash if there was limited - stack space. - * Avoid holding open old WAL segments in the walwriter process - (Magnus Hagander, Heikki Linnakangas) - The previous coding would prevent removal of no-longer-needed - segments. - * Fix log_line_prefix's %i escape, which could produce junk early in - backend startup (Tom Lane) - * Prevent misinterpretation of partially-specified relation options - for TOAST tables (Itagaki Takahiro) - In particular, fillfactor would be read as zero if any other - reloption had been set for the table, leading to serious bloat. - * Fix inheritance count tracking in "ALTER TABLE ... ADD CONSTRAINT" - (Robert Haas) - * Fix possible data corruption in "ALTER TABLE ... SET TABLESPACE" - when archiving is enabled (Jeff Davis) - * Allow "CREATE DATABASE" and "ALTER DATABASE ... SET TABLESPACE" to - be interrupted by query-cancel (Guillaume Lelarge) - * Improve "CREATE INDEX"'s checking of whether proposed index - expressions are immutable (Tom Lane) - * Fix "REASSIGN OWNED" to handle operator classes and families (Asko - Tiidumaa) - * Fix possible core dump when comparing two empty tsquery values (Tom - Lane) - * Fix LIKE's handling of patterns containing % followed by _ (Tom - Lane) - We've fixed this before, but there were still some - incorrectly-handled cases. - * Re-allow input of Julian dates prior to 0001-01-01 AD (Tom Lane) - Input such as 'J100000'::date worked before 8.4, but was - unintentionally broken by added error-checking. - * Fix PL/pgSQL to throw an error, not crash, if a cursor is closed - within a FOR loop that is iterating over that cursor (Heikki - Linnakangas) - * In PL/Python, defend against null pointer results from - PyCObject_AsVoidPtr and PyCObject_FromVoidPtr (Peter Eisentraut) - * In libpq, fix full SSL certificate verification for the case where - both host and hostaddr are specified (Tom Lane) - * Make psql recognize "DISCARD ALL" as a command that should not be - encased in a transaction block in autocommit-off mode (Itagaki - Takahiro) - * Fix some issues in pg_dump's handling of SQL/MED objects (Tom Lane) - Notably, pg_dump would always fail if run by a non-superuser, which - was not intended. - * Improve pg_dump and pg_restore's handling of non-seekable archive - files (Tom Lane, Robert Haas) - This is important for proper functioning of parallel restore. - * Improve parallel pg_restore's ability to cope with selective - restore (-L option) (Tom Lane) - The original code tended to fail if the -L file commanded a - non-default restore ordering. - * Fix ecpg to process data from RETURNING clauses correctly (Michael - Meskes) - * Fix some memory leaks in ecpg (Zoltan Boszormenyi) - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Fix "contrib/dblink" to handle connection names longer than 62 - bytes correctly (Itagaki Takahiro) - * Add hstore(text, text) function to "contrib/hstore" (Robert Haas) - This function is the recommended substitute for the now-deprecated - => operator. It was back-patched so that future-proofed code can be - used with older server versions. Note that the patch will be - effective only after "contrib/hstore" is installed or reinstalled - in a particular database. Users might prefer to execute the "CREATE - FUNCTION" command by hand, instead. - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - * Update time zone data files to tzdata release 2010l for DST law - changes in Egypt and Palestine; also historical corrections for - Finland. - This change also adds new names for two Micronesian timezones: - Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred - abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred - over Pacific/Ponape. - * Make Windows' "N. Central Asia Standard Time" timezone map to - Asia/Novosibirsk, not Asia/Almaty (Magnus Hagander) - Microsoft changed the DST behavior of this zone in the timezone - update from KB976098. Asia/Novosibirsk is a better match to its new - behavior. - __________________________________________________________________ - - Release 8.4.4 - - Release Date: 2010-05-17 - - This release contains a variety of fixes from 8.4.3. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.4 - - A dump/restore is not required for those running 8.4.X. However, if you - are upgrading from a version earlier than 8.4.2, see the release notes - for 8.4.2. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Fix data corruption during WAL replay of ALTER ... SET TABLESPACE - (Tom) - When archive_mode is on, ALTER ... SET TABLESPACE generates a WAL - record whose replay logic was incorrect. It could write the data to - the wrong place, leading to possibly-unrecoverable data corruption. - Data corruption would be observed on standby slaves, and could - occur on the master as well if a database crash and recovery - occurred after committing the ALTER and before the next checkpoint. - * Fix possible crash if a cache reset message is received during - rebuild of a relcache entry (Heikki) - This error was introduced in 8.4.3 while fixing a related failure. - * Apply per-function GUC settings while running the language - validator for the function (Itagaki Takahiro) - This avoids failures if the function's code is invalid without the - setting; an example is that SQL functions may not parse if the - search_path is not correct. - * Do constraint exclusion for inherited "UPDATE" and "DELETE" target - tables when constraint_exclusion = partition (Tom) - Due to an oversight, this setting previously only caused constraint - exclusion to be checked in "SELECT" commands. - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Fix erroneous handling of %r parameter in recovery_end_command - (Heikki) - The value always came out zero. - * Ensure the archiver process responds to changes in archive_command - as soon as possible (Tom) - * Fix pl/pgsql's CASE statement to not fail when the case expression - is a query that returns no rows (Tom) - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Handle empty-string connect parameters properly in ecpg (Michael) - * Prevent infinite recursion in psql when expanding a variable that - refers to itself (Tom) - * Fix psql's \copy to not add spaces around a dot within \copy - (select ...) (Tom) - Addition of spaces around the decimal point in a numeric literal - would result in a syntax error. - * Avoid formatting failure in psql when running in a locale context - that doesn't match the client_encoding (Tom) - * Fix unnecessary "GIN indexes do not support whole-index scans" - errors for unsatisfiable queries using "contrib/intarray" operators - (Tom) - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - * Avoid possible crashes in syslogger process on Windows (Heikki) - * Deal more robustly with incomplete time zone information in the - Windows registry (Magnus) - * Update the set of known Windows time zone names (Magnus) - * Update time zone data files to tzdata release 2010j for DST law - changes in Argentina, Australian Antarctic, Bangladesh, Mexico, - Morocco, Pakistan, Palestine, Russia, Syria, Tunisia; also - historical corrections for Taiwan. - Also, add PKST (Pakistan Summer Time) to the default set of - timezone abbreviations. - __________________________________________________________________ - - Release 8.4.3 - - Release Date: 2010-03-15 - - This release contains a variety of fixes from 8.4.2. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.3 - - A dump/restore is not required for those running 8.4.X. However, if you - are upgrading from a version earlier than 8.4.2, see the release notes - for 8.4.2. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Fix possible deadlock during backend startup (Tom) - * Fix possible crashes due to not handling errors during relcache - reload cleanly (Tom) - * Fix possible crash due to use of dangling pointer to a cached plan - (Tatsuo) - * Fix possible crash due to overenthusiastic invalidation of cached - plan for "ROLLBACK" (Tom) - * Fix possible crashes when trying to recover from a failure in - subtransaction start (Tom) - * Fix server memory leak associated with use of savepoints and a - client encoding different from server's encoding (Tom) - * Fix incorrect WAL data emitted during end-of-recovery cleanup of a - GIST index page split (Yoichi Hirai) - This would result in index corruption, or even more likely an error - during WAL replay, if we were unlucky enough to crash during - end-of-recovery cleanup after having completed an incomplete GIST - insertion. - * Fix bug in WAL redo cleanup method for GIN indexes (Heikki) - * Fix incorrect comparison of scan key in GIN index search (Teodor) - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix integer-to-bit-string conversions to handle the first - fractional byte correctly when the output bit width is wider than - the given integer by something other than a multiple of 8 bits - (Tom) - * Fix some cases of pathologically slow regular expression matching - (Tom) - * Fix bug occurring when trying to inline a SQL function that returns - a set of a composite type that contains dropped columns (Tom) - * Fix bug with trying to update a field of an element of a - composite-type array column (Tom) - * Avoid failure when "EXPLAIN" has to print a FieldStore or - assignment ArrayRef expression (Tom) - These cases can arise now that "EXPLAIN VERBOSE" tries to print - plan node target lists. - * Avoid an unnecessary coercion failure in some cases where an - undecorated literal string appears in a subquery within - "UNION"/"INTERSECT"/"EXCEPT" (Tom) - This fixes a regression for some cases that worked before 8.4. - * Avoid undesirable rowtype compatibility check failures in some - cases where a whole-row Var has a rowtype that contains dropped - columns (Tom) - * Fix the STOP WAL LOCATION entry in backup history files to report - the next WAL segment's name when the end location is exactly at a - segment boundary (Itagaki Takahiro) - * Always pass the catalog ID to an option validator function - specified in "CREATE FOREIGN DATA WRAPPER" (Martin Pihlak) - * Fix some more cases of temporary-file leakage (Heikki) - This corrects a problem introduced in the previous minor release. - One case that failed is when a plpgsql function returning set is - called within another function's exception handler. - * Add support for doing FULL JOIN ON FALSE (Tom) - This prevents a regression from pre-8.4 releases for some queries - that can now be simplified to a constant-false join condition. - * Improve constraint exclusion processing of boolean-variable cases, - in particular make it possible to exclude a partition that has a - "bool_column = false" constraint (Tom) - * Prevent treating an INOUT cast as representing binary compatibility - (Heikki) - * Include column name in the message when warning about inability to - grant or revoke column-level privileges (Stephen Frost) - This is more useful than before and helps to prevent confusion when - a "REVOKE" generates multiple messages, which formerly appeared to - be duplicates. - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Fix possible infinite loop if SSL_read or SSL_write fails without - setting errno (Tom) - This is reportedly possible with some Windows versions of openssl. - * Disallow GSSAPI authentication on local connections, since it - requires a hostname to function correctly (Magnus) - * Protect ecpg against applications freeing strings unexpectedly - (Michael) - * Make ecpg report the proper SQLSTATE if the connection disappears - (Michael) - * Fix translation of cell contents in psql \d output (Heikki) - * Fix psql's numericlocale option to not format strings it shouldn't - in latex and troff output formats (Heikki) - * Fix a small per-query memory leak in psql (Tom) - * Make psql return the correct exit status (3) when ON_ERROR_STOP and - --single-transaction are both specified and an error occurs during - the implied "COMMIT" (Bruce) - * Fix pg_dump's output of permissions for foreign servers (Heikki) - * Fix possible crash in parallel pg_restore due to out-of-range - dependency IDs (Tom) - * Fix plpgsql failure in one case where a composite column is set to - NULL (Tom) - * Fix possible failure when calling PL/Perl functions from PL/PerlU - or vice versa (Tim Bunce) - * Add volatile markings in PL/Python to avoid possible - compiler-specific misbehavior (Zdenek Kotala) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent ExecutorEnd from being run on portals created within a - failed transaction or subtransaction (Tom) - This is known to cause issues when using "contrib/auto_explain". - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - * Allow zero-dimensional arrays in "contrib/ltree" operations (Tom) - This case was formerly rejected as an error, but it's more - convenient to treat it the same as a zero-element array. In - particular this avoids unnecessary failures when an ltree operation - is applied to the result of ARRAY(SELECT ...) and the sub-select - returns no rows. - * Fix assorted crashes in "contrib/xml2" caused by sloppy memory - management (Tom) - * Make building of "contrib/xml2" more robust on Windows (Andrew) - * Fix race condition in Windows signal handling (Radu Ilie) - One known symptom of this bug is that rows in pg_listener could be - dropped under heavy load. - * Make the configure script report failure if the C compiler does not - provide a working 64-bit integer datatype (Tom) - This case has been broken for some time, and no longer seems worth - supporting, so just reject it at configure time instead. - * Update time zone data files to tzdata release 2010e for DST law - changes in Bangladesh, Chile, Fiji, Mexico, Paraguay, Samoa. - __________________________________________________________________ - - Release 8.4.2 - - Release Date: 2009-12-14 - - This release contains a variety of fixes from 8.4.1. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.2 - - A dump/restore is not required for those running 8.4.X. However, if you - have any hash indexes, you should "REINDEX" them after updating to - 8.4.2, to repair possible damage. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix hash index corruption (Tom) - The 8.4 change that made hash indexes keep entries sorted by hash - value failed to update the bucket splitting and compaction routines - to preserve the ordering. So application of either of those - operations could lead to permanent corruption of an index, in the - sense that searches might fail to find entries that are present. To - deal with this, it is recommended to REINDEX any hash indexes you - may have after installing this update. - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Avoid crash on empty thesaurus dictionary (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is canceled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix crash if a DROP is attempted on an internally-dependent object - (Tom) - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Ensure that shared tuple-level locks held by prepared transactions - are not ignored (Heikki) - * Fix premature drop of temporary files used for a cursor that is - accessed within a subtransaction (Heikki) - * Fix memory leak in syslogger process when rotating to a new CSV - logfile (Tom) - * Fix memory leak in postmaster when re-parsing "pg_hba.conf" (Tom) - * Fix Windows permission-downgrade logic (Jesse Morris) - This fixes some cases where the database failed to start on - Windows, often with misleading error messages such as "could not - locate matching postgres executable". - * Make FOR UPDATE/SHARE in the primary query not propagate into WITH - queries (Tom) - For example, in -WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE - the FOR UPDATE will now affect bar but not foo. This is more useful - and consistent than the original 8.4 behavior, which tried to - propagate FOR UPDATE into the WITH query but always failed due to - assorted implementation restrictions. It also follows the design - rule that WITH queries are executed as if independent of the main - query. - * Fix bug with a WITH RECURSIVE query immediately inside another one - (Tom) - * Fix concurrency bug in hash indexes (Tom) - Concurrent insertions could cause index scans to transiently report - wrong results. - * Fix incorrect logic for GiST index page splits, when the split - depends on a non-first column of the index (Paul Ramsey) - * Fix wrong search results for a multi-column GIN index with - fastupdate enabled (Teodor) - * Fix bugs in WAL entry creation for GIN indexes (Tom) - These bugs were masked when full_page_writes was on, but with it - off a WAL replay failure was certain if a crash occurred before the - next checkpoint. - * Don't error out if recycling or removing an old WAL file fails at - the end of checkpoint (Heikki) - It's better to treat the problem as non-fatal and allow the - checkpoint to complete. Future checkpoints will retry the removal. - Such problems are not expected in normal operation, but have been - seen to be caused by misdesigned Windows anti-virus and backup - software. - * Ensure WAL files aren't repeatedly archived on Windows (Heikki) - This is another symptom that could happen if some other process - interfered with deletion of a no-longer-needed file. - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Raise the maximum authentication token (Kerberos ticket) size in - GSSAPI and SSPI authentication methods (Ian Turner) - While the old 2000-byte limit was more than enough for Unix - Kerberos implementations, tickets issued by Windows Domain - Controllers can be much larger. - * Ensure that domain constraints are enforced in constructs like - ARRAY[...]::domain, where the domain is over an array type (Heikki) - * Fix foreign-key logic for some cases involving composite-type - columns as foreign keys (Tom) - * Ensure that a cursor's snapshot is not modified after it is created - (Alvaro) - This could lead to a cursor delivering wrong results if later - operations in the same transaction modify the data the cursor is - supposed to return. - * Fix CREATE TABLE to properly merge default expressions coming from - different inheritance parent tables (Tom) - This used to work but was broken in 8.4. - * Re-enable collection of access statistics for sequences (Akira - Kurosawa) - This used to work but was broken in 8.3. - * Fix processing of ownership dependencies during CREATE OR REPLACE - FUNCTION (Tom) - * Fix incorrect handling of WHERE "x"="x" conditions (Tom) - In some cases these could get ignored as redundant, but they aren't - -- they're equivalent to "x" IS NOT NULL. - * Fix incorrect plan construction when using hash aggregation to - implement DISTINCT for textually identical volatile expressions - (Tom) - * Fix Assert failure for a volatile SELECT DISTINCT ON expression - (Tom) - * Fix ts_stat() to not fail on an empty tsvector value (Tom) - * Make text search parser accept underscores in XML attributes - (Peter) - * Fix encoding handling in xml binary input (Heikki) - If the XML header doesn't specify an encoding, we now assume UTF-8 - by default; the previous handling was inconsistent. - * Fix bug with calling plperl from plperlu or vice versa (Tom) - An error exit from the inner function could result in crashes due - to failure to re-select the correct Perl interpreter for the outer - function. - * Fix session-lifespan memory leak when a PL/Perl function is - redefined (Tom) - * Ensure that Perl arrays are properly converted to PostgreSQL arrays - when returned by a set-returning PL/Perl function (Andrew Dunstan, - Abhijit Menon-Sen) - This worked correctly already for non-set-returning functions. - * Fix rare crash in exception processing in PL/Python (Peter) - * Fix ecpg problem with comments in DECLARE CURSOR statements - (Michael) - * Fix ecpg to not treat recently-added keywords as reserved words - (Tom) - This affected the keywords CALLED, CATALOG, DEFINER, ENUM, - FOLLOWING, INVOKER, OPTIONS, PARTITION, PRECEDING, RANGE, SECURITY, - SERVER, UNBOUNDED, and WRAPPER. - * Re-allow regular expression special characters in psql's \df - function name parameter (Tom) - * In "contrib/fuzzystrmatch", correct the calculation of levenshtein - distances with non-default costs (Marcin Mank) - * In "contrib/pg_standby", disable triggering failover with a signal - on Windows (Fujii Masao) - This never did anything useful, because Windows doesn't have - Unix-style signals, but recent changes made it actually crash. - * Put FREEZE and VERBOSE options in the right order in the VACUUM - command that "contrib/vacuumdb" produces (Heikki) - * Fix possible leak of connections when "contrib/dblink" encounters - an error (Tatsuhito Kasahara) - * Ensure psql's flex module is compiled with the correct system - header definitions (Tom) - This fixes build failures on platforms where --enable-largefile - causes incompatible changes in the generated code. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - * Update the timezone abbreviation files to match current reality - (Joachim Wieland) - This includes adding IDT to the default timezone abbreviation set. - * Update time zone data files to tzdata release 2009s for DST law - changes in Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, - Pakistan, Palestine, Samoa, Syria; also historical corrections for - Hong Kong. - __________________________________________________________________ - - Release 8.4.1 - - Release Date: 2009-09-09 - - This release contains a variety of fixes from 8.4. For information - about new features in the 8.4 major release, see the Section called - Release 8.4. - __________________________________________________________________ - -Migration to Version 8.4.1 - - A dump/restore is not required for those running 8.4.X. - __________________________________________________________________ - -Changes - - * Fix WAL page header initialization at the end of archive recovery - (Heikki) - This could lead to failure to process the WAL in a subsequent - archive recovery. - * Fix "cannot make new WAL entries during recovery" error (Tom) - * Fix problem that could make expired rows visible after a crash - (Tom) - This bug involved a page status bit potentially not being set - correctly after a server crash. - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Make "LOAD" of an already-loaded loadable module into a no-op (Tom) - Formerly, "LOAD" would attempt to unload and re-load the module, - but this is unsafe and not all that useful. - * Make window function PARTITION BY and ORDER BY items always be - interpreted as simple expressions (Tom) - In 8.4.0 these lists were parsed following the rules used for - top-level GROUP BY and ORDER BY lists. But this was not correct per - the SQL standard, and it led to possible circularity. - * Fix several errors in planning of semi-joins (Tom) - These led to wrong query results in some cases where IN or EXISTS - was used together with another join. - * Fix handling of whole-row references to subqueries that are within - an outer join (Tom) - An example is SELECT COUNT(ss.*) FROM ... LEFT JOIN (SELECT ...) ss - ON .... Here, ss.* would be treated as ROW(NULL,NULL,...) for - null-extended join rows, which is not the same as a simple NULL. - Now it is treated as a simple NULL. - * Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) - This bug led to the often-reported "could not reattach to shared - memory" error message. - * Fix locale handling with plperl (Heikki) - This bug could cause the server's locale setting to change when a - plperl function is called, leading to data corruption. - * Fix handling of reloptions to ensure setting one option doesn't - force default values for others (Itagaki Takahiro) - * Ensure that a "fast shutdown" request will forcibly terminate open - sessions, even if a "smart shutdown" was already in progress (Fujii - Masao) - * Avoid memory leak for array_agg() in GROUP BY queries (Tom) - * Treat to_char(..., 'TH') as an uppercase ordinal suffix with - 'HH'/'HH12' (Heikki) - It was previously handled as 'th' (lowercase). - * Include the fractional part in the result of EXTRACT(second) and - EXTRACT(milliseconds) for time and time with time zone inputs (Tom) - This has always worked for floating-point datetime configurations, - but was broken in the integer datetime code. - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Improve performance when processing toasted values in index scans - (Tom) - This is particularly useful for PostGIS. - * Fix a typo that disabled commit_delay (Jeff Janes) - * Output early-startup messages to "postmaster.log" if the server is - started in silent mode (Tom) - Previously such error messages were discarded, leading to - difficulty in debugging. - * Remove translated FAQs (Peter) - They are now on the wiki. The main FAQ was moved to the wiki some - time ago. - * Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is - empty (Jeff Davis) - * Fix several errors in pg_dump's --binary-upgrade mode (Bruce, Tom) - pg_dump --binary-upgrade is used by pg_migrator. - * Fix "contrib/xml2"'s xslt_process() to properly handle the maximum - number of parameters (twenty) (Tom) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - * Work around gcc bug that causes "floating-point exception" instead - of "division by zero" on some platforms (Tom) - * Update time zone data files to tzdata release 2009l for DST law - changes in Bangladesh, Egypt, Mauritius. - __________________________________________________________________ - - Release 8.4 - - Release Date: 2009-07-01 - __________________________________________________________________ - -Overview - - After many years of development, PostgreSQL has become feature-complete - in many areas. This release shows a targeted approach to adding - features (e.g., authentication, monitoring, space reuse), and adds - capabilities defined in the later SQL standards. The major areas of - enhancement are: - - * Windowing Functions - * Common Table Expressions and Recursive Queries - * Default and variadic parameters for functions - * Parallel Restore - * Column Permissions - * Per-database locale settings - * Improved hash indexes - * Improved join performance for EXISTS and NOT EXISTS queries - * Easier-to-use Warm Standby - * Automatic sizing of the Free Space Map - * Visibility Map (greatly reduces vacuum overhead for slowly-changing - tables) - * Version-aware psql (backslash commands work against older servers) - * Support SSL certificates for user authentication - * Per-function runtime statistics - * Easy editing of functions in psql - * New contrib modules: pg_stat_statements, auto_explain, citext, - btree_gin - - The above items are explained in more detail in the sections below. - __________________________________________________________________ - -Migration to Version 8.4 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - __________________________________________________________________ - -General - - * Use 64-bit integer datetimes by default (Neil Conway) - Previously this was selected by configure's - "--enable-integer-datetimes" option. To retain the old behavior, - build with "--disable-integer-datetimes". - * Remove ipcclean utility command (Bruce) - The utility only worked on a few platforms. Users should use their - operating system tools instead. - __________________________________________________________________ - -Server Settings - - * Change default setting for log_min_messages to warning (previously - it was notice) to reduce log file volume (Tom) - * Change default setting for max_prepared_transactions to zero - (previously it was 5) (Tom) - * Make debug_print_parse, debug_print_rewritten, and debug_print_plan - output appear at LOG message level, not DEBUG1 as formerly (Tom) - * Make debug_pretty_print default to on (Tom) - * Remove explain_pretty_print parameter (no longer needed) (Tom) - * Make log_temp_files settable by superusers only, like other logging - options (Simon Riggs) - * Remove automatic appending of the epoch timestamp when no % escapes - are present in log_filename (Robert Haas) - This change was made because some users wanted a fixed log - filename, for use with an external log rotation tool. - * Remove log_restartpoints from "recovery.conf"; instead use - log_checkpoints (Simon) - * Remove krb_realm and krb_server_hostname; these are now set in - "pg_hba.conf" instead (Magnus) - * There are also significant changes in "pg_hba.conf", as described - below. - __________________________________________________________________ - -Queries - - * Change "TRUNCATE" and "LOCK" to apply to child tables of the - specified table(s) (Peter) - These commands now accept an ONLY option that prevents processing - child tables; this option must be used if the old behavior is - needed. - * "SELECT DISTINCT" and UNION/INTERSECT/EXCEPT no longer always - produce sorted output (Tom) - Previously, these types of queries always removed duplicate rows by - means of Sort/Unique processing (i.e., sort then remove adjacent - duplicates). Now they can be implemented by hashing, which will not - produce sorted output. If an application relied on the output being - in sorted order, the recommended fix is to add an ORDER BY clause. - As a short-term workaround, the previous behavior can be restored - by disabling enable_hashagg, but that is a very - performance-expensive fix. SELECT DISTINCT ON never uses hashing, - however, so its behavior is unchanged. - * Force child tables to inherit CHECK constraints from parents (Alex - Hunsaker, Nikhil Sontakke, Tom) - Formerly it was possible to drop such a constraint from a child - table, allowing rows that violate the constraint to be visible when - scanning the parent table. This was deemed inconsistent, as well as - contrary to SQL standard. - * Disallow negative LIMIT or OFFSET values, rather than treating them - as zero (Simon) - * Disallow "LOCK TABLE" outside a transaction block (Tom) - Such an operation is useless because the lock would be released - immediately. - * Sequences now contain an additional start_value column (Zoltan - Boszormenyi) - This supports "ALTER SEQUENCE ... RESTART". - __________________________________________________________________ - -Functions and Operators - - * Make numeric zero raised to a fractional power return 0, rather - than throwing an error, and make numeric zero raised to the zero - power return 1, rather than error (Bruce) - This matches the longstanding float8 behavior. - * Allow unary minus of floating-point values to produce minus zero - (Tom) - The changed behavior is more IEEE-standard compliant. - * Throw an error if an escape character is the last character in a - LIKE pattern (i.e., it has nothing to escape) (Tom) - Previously, such an escape character was silently ignored, thus - possibly masking application logic errors. - * Remove ~=~ and ~<>~ operators formerly used for LIKE index - comparisons (Tom) - Pattern indexes now use the regular equality operator. - * xpath() now passes its arguments to libxml without any changes - (Andrew) - This means that the XML argument must be a well-formed XML - document. The previous coding attempted to allow XML fragments, but - it did not work well. - * Make xmlelement() format attribute values just like content values - (Peter) - Previously, attribute values were formatted according to the normal - SQL output behavior, which is sometimes at odds with XML rules. - * Rewrite memory management for libxml-using functions (Tom) - This change should avoid some compatibility problems with use of - libxml in PL/Perl and other add-on code. - * Adopt a faster algorithm for hash functions (Kenneth Marshall, - based on work of Bob Jenkins) - Many of the built-in hash functions now deliver different results - on little-endian and big-endian platforms. - __________________________________________________________________ - -Temporal Functions and Operators - - * DateStyle no longer controls interval output formatting; instead - there is a new variable IntervalStyle (Ron Mayer) - * Improve consistency of handling of fractional seconds in timestamp - and interval output (Ron Mayer) - This may result in displaying a different number of fractional - digits than before, or rounding instead of truncating. - * Make to_char()'s localized month/day names depend on LC_TIME, not - LC_MESSAGES (Euler Taveira de Oliveira) - * Cause to_date() and to_timestamp() to more consistently report - errors for invalid input (Brendan Jurd) - Previous versions would often ignore or silently misread input that - did not match the format string. Such cases will now result in an - error. - * Fix to_timestamp() to not require upper/lower case matching for - meridian (AM/PM) and era (BC/AD) format designations (Brendan Jurd) - For example, input value ad now matches the format string AD. - __________________________________________________________________ - -Changes - - Below you will find a detailed account of the changes between - PostgreSQL 8.4 and the previous major release. - __________________________________________________________________ - -Performance - - * Improve optimizer statistics calculations (Jan Urbanski, Tom) - In particular, estimates for full-text-search operators are greatly - improved. - * Allow "SELECT DISTINCT" and UNION/INTERSECT/EXCEPT to use hashing - (Tom) - This means that these types of queries no longer automatically - produce sorted output. - * Create explicit concepts of semi-joins and anti-joins (Tom) - This work formalizes our previous ad-hoc treatment of IN (SELECT - ...) clauses, and extends it to EXISTS and NOT EXISTS clauses. It - should result in significantly better planning of EXISTS and NOT - EXISTS queries. In general, logically equivalent IN and EXISTS - clauses should now have similar performance, whereas previously IN - often won. - * Improve optimization of sub-selects beneath outer joins (Tom) - Formerly, a sub-select or view could not be optimized very well if - it appeared within the nullable side of an outer join and contained - non-strict expressions (for instance, constants) in its result - list. - * Improve the performance of text_position() and related functions by - using Boyer-Moore-Horspool searching (David Rowley) - This is particularly helpful for long search patterns. - * Reduce I/O load of writing the statistics collection file by - writing the file only when requested (Martin Pihlak) - * Improve performance for bulk inserts (Robert Haas, Simon) - * Increase the default value of default_statistics_target from 10 to - 100 (Greg Sabino Mullane, Tom) - The maximum value was also increased from 1000 to 10000. - * Perform constraint_exclusion checking by default in queries - involving inheritance or UNION ALL (Tom) - A new constraint_exclusion setting, partition, was added to specify - this behavior. - * Allow I/O read-ahead for bitmap index scans (Greg Stark) - The amount of read-ahead is controlled by effective_io_concurrency. - This feature is available only if the kernel has posix_fadvise() - support. - * Inline simple set-returning SQL functions in FROM clauses (Richard - Rowell) - * Improve performance of multi-batch hash joins by providing a - special case for join key values that are especially common in the - outer relation (Bryce Cutt, Ramon Lawrence) - * Reduce volume of temporary data in multi-batch hash joins by - suppressing "physical tlist" optimization (Michael Henderson, Ramon - Lawrence) - * Avoid waiting for idle-in-transaction sessions during "CREATE INDEX - CONCURRENTLY" (Simon) - * Improve performance of shared cache invalidation (Tom) - __________________________________________________________________ - -Server - -Settings - - * Convert many "postgresql.conf" settings to enumerated values so - that pg_settings can display the valid values (Magnus) - * Add cursor_tuple_fraction parameter to control the fraction of a - cursor's rows that the planner assumes will be fetched (Robert - Hell) - * Allow underscores in the names of custom variable classes in - "postgresql.conf" (Tom) - __________________________________________________________________ - -Authentication and security - - * Remove support for the (insecure) crypt authentication method - (Magnus) - This effectively obsoletes pre-PostgreSQL 7.2 client libraries, as - there is no longer any non-plaintext password method that they can - use. - * Support regular expressions in "pg_ident.conf" (Magnus) - * Allow Kerberos/GSSAPI parameters to be changed without restarting - the postmaster (Magnus) - * Support SSL certificate chains in server certificate file (Andrew - Gierth) - Including the full certificate chain makes the client able to - verify the certificate without having all intermediate CA - certificates present in the local store, which is often the case - for commercial CAs. - * Report appropriate error message for combination of MD5 - authentication and db_user_namespace enabled (Bruce) - __________________________________________________________________ - -pg_hba.conf - - * Change all authentication options to use name=value syntax (Magnus) - This makes incompatible changes to the ldap, pam and ident - authentication methods. All "pg_hba.conf" entries with these - methods need to be rewritten using the new format. - * Remove the ident sameuser option, instead making that behavior the - default if no usermap is specified (Magnus) - * Allow a usermap parameter for all external authentication methods - (Magnus) - Previously a usermap was only supported for ident authentication. - * Add clientcert option to control requesting of a client certificate - (Magnus) - Previously this was controlled by the presence of a root - certificate file in the server's data directory. - * Add cert authentication method to allow *user* authentication via - SSL certificates (Magnus) - Previously SSL certificates could only verify that the client had - access to a certificate, not authenticate a user. - * Allow krb5, gssapi and sspi realm and krb5 host settings to be - specified in "pg_hba.conf" (Magnus) - These override the settings in "postgresql.conf". - * Add include_realm parameter for krb5, gssapi, and sspi methods - (Magnus) - This allows identical usernames from different realms to be - authenticated as different database users using usermaps. - * Parse "pg_hba.conf" fully when it is loaded, so that errors are - reported immediately (Magnus) - Previously, most errors in the file wouldn't be detected until - clients tried to connect, so an erroneous file could render the - system unusable. With the new behavior, if an error is detected - during reload then the bad file is rejected and the postmaster - continues to use its old copy. - * Show all parsing errors in "pg_hba.conf" instead of aborting after - the first one (Selena Deckelmann) - * Support ident authentication over Unix-domain sockets on Solaris - (Garick Hamlin) - __________________________________________________________________ - -Continuous Archiving - - * Provide an option to pg_start_backup() to force its implied - checkpoint to finish as quickly as possible (Tom) - The default behavior avoids excess I/O consumption, but that is - pointless if no concurrent query activity is going on. - * Make pg_stop_backup() wait for modified WAL files to be archived - (Simon) - This guarantees that the backup is valid at the time - pg_stop_backup() completes. - * When archiving is enabled, rotate the last WAL segment at shutdown - so that all transactions can be archived immediately (Guillaume - Smet, Heikki) - * Delay "smart" shutdown while a continuous archiving base backup is - in progress (Laurenz Albe) - * Cancel a continuous archiving base backup if "fast" shutdown is - requested (Laurenz Albe) - * Allow "recovery.conf" boolean variables to take the same range of - string values as "postgresql.conf" boolean variables (Bruce) - __________________________________________________________________ - -Monitoring - - * Add pg_conf_load_time() to report when the PostgreSQL configuration - files were last loaded (George Gensure) - * Add pg_terminate_backend() to safely terminate a backend (the - SIGTERM signal works also) (Tom, Bruce) - While it's always been possible to SIGTERM a single backend, this - was previously considered unsupported; and testing of the case - found some bugs that are now fixed. - * Add ability to track user-defined functions' call counts and - runtimes (Martin Pihlak) - Function statistics appear in a new system view, - pg_stat_user_functions. Tracking is controlled by the new parameter - track_functions. - * Allow specification of the maximum query string size in - pg_stat_activity via new track_activity_query_size parameter - (Thomas Lee) - * Increase the maximum line length sent to syslog, in hopes of - improving performance (Tom) - * Add read-only configuration variables segment_size, wal_block_size, - and wal_segment_size (Bernd Helmle) - * When reporting a deadlock, report the text of all queries involved - in the deadlock to the server log (Itagaki Takahiro) - * Add pg_stat_get_activity(pid) function to return information about - a specific process id (Magnus) - * Allow the location of the server's statistics file to be specified - via stats_temp_directory (Magnus) - This allows the statistics file to be placed in a RAM-resident - directory to reduce I/O requirements. On startup/shutdown, the file - is copied to its traditional location ($PGDATA/global/) so it is - preserved across restarts. - __________________________________________________________________ - -Queries - - * Add support for WINDOW functions (Hitoshi Harada) - * Add support for WITH clauses (CTEs), including WITH RECURSIVE - (Yoshiyuki Asaba, Tatsuo Ishii, Tom) - * Add "TABLE" command (Peter) - TABLE tablename is a SQL standard short-hand for SELECT * FROM - tablename. - * Allow AS to be optional when specifying a "SELECT" (or RETURNING) - column output label (Hiroshi Saito) - This works so long as the column label is not any PostgreSQL - keyword; otherwise AS is still needed. - * Support set-returning functions in "SELECT" result lists even for - functions that return their result via a tuplestore (Tom) - In particular, this means that functions written in PL/pgSQL and - other PL languages can now be called this way. - * Support set-returning functions in the output of aggregation and - grouping queries (Tom) - * Allow "SELECT FOR UPDATE"/SHARE to work on inheritance trees (Tom) - * Add infrastructure for SQL/MED (Martin Pihlak, Peter) - There are no remote or external SQL/MED capabilities yet, but this - change provides a standardized and future-proof system for managing - connection information for modules like "dblink" and "plproxy". - * Invalidate cached plans when referenced schemas, functions, - operators, or operator classes are modified (Martin Pihlak, Tom) - This improves the system's ability to respond to on-the-fly DDL - changes. - * Allow comparison of composite types and allow arrays of anonymous - composite types (Tom) - This allows constructs such as row(1, 1.1) = any (array[row(7, - 7.7), row(1, 1.0)]). This is particularly useful in recursive - queries. - * Add support for Unicode string literal and identifier - specifications using code points, e.g. U&'d\0061t\+000061' (Peter) - * Reject \000 in string literals and "COPY" data (Tom) - Previously, this was accepted but had the effect of terminating the - string contents. - * Improve the parser's ability to report error locations (Tom) - An error location is now reported for many semantic errors, such as - mismatched datatypes, that previously could not be localized. - __________________________________________________________________ - -TRUNCATE - - * Support statement-level ON TRUNCATE triggers (Simon) - * Add RESTART/CONTINUE IDENTITY options for "TRUNCATE TABLE" (Zoltan - Boszormenyi) - The start value of a sequence can be changed by "ALTER SEQUENCE - START WITH". - * Allow "TRUNCATE tab1, tab1" to succeed (Bruce) - * Add a separate "TRUNCATE" permission (Robert Haas) - __________________________________________________________________ - -EXPLAIN - - * Make "EXPLAIN VERBOSE" show the output columns of each plan node - (Tom) - Previously "EXPLAIN VERBOSE" output an internal representation of - the query plan. (That behavior is now available via - debug_print_plan.) - * Make "EXPLAIN" identify subplans and initplans with individual - labels (Tom) - * Make "EXPLAIN" honor debug_print_plan (Tom) - * Allow "EXPLAIN" on "CREATE TABLE AS" (Peter) - __________________________________________________________________ - -LIMIT/OFFSET - - * Allow sub-selects in LIMIT and OFFSET (Tom) - * Add SQL-standard syntax for LIMIT/OFFSET capabilities (Peter) - To wit, OFFSET num {ROW|ROWS} FETCH {FIRST|NEXT} [num] {ROW|ROWS} - ONLY. - __________________________________________________________________ - -Object Manipulation - - * Add support for column-level privileges (Stephen Frost, KaiGai - Kohei) - * Refactor multi-object "DROP" operations to reduce the need for - CASCADE (Alex Hunsaker) - For example, if table B has a dependency on table A, the command - DROP TABLE A, B no longer requires the CASCADE option. - * Fix various problems with concurrent "DROP" commands by ensuring - that locks are taken before we begin to drop dependencies of an - object (Tom) - * Improve reporting of dependencies during "DROP" commands (Tom) - * Add WITH [NO] DATA clause to "CREATE TABLE AS", per the SQL - standard (Peter, Tom) - * Add support for user-defined I/O conversion casts (Heikki) - * Allow "CREATE AGGREGATE" to use an internal transition datatype - (Tom) - * Add LIKE clause to "CREATE TYPE" (Tom) - This simplifies creation of data types that use the same internal - representation as an existing type. - * Allow specification of the type category and "preferred" status for - user-defined base types (Tom) - This allows more control over the coercion behavior of user-defined - types. - * Allow "CREATE OR REPLACE VIEW" to add columns to the end of a view - (Robert Haas) - __________________________________________________________________ - -ALTER - - * Add "ALTER TYPE RENAME" (Petr Jelinek) - * Add "ALTER SEQUENCE ... RESTART" (with no parameter) to reset a - sequence to its initial value (Zoltan Boszormenyi) - * Modify the "ALTER TABLE" syntax to allow all reasonable - combinations for tables, indexes, sequences, and views (Tom) - This change allows the following new syntaxes: - + "ALTER SEQUENCE OWNER TO" - + "ALTER VIEW ALTER COLUMN SET/DROP DEFAULT" - + "ALTER VIEW OWNER TO" - + "ALTER VIEW SET SCHEMA" - There is no actual new functionality here, but formerly you had to - say "ALTER TABLE" to do these things, which was confusing. - * Add support for the syntax "ALTER TABLE ... ALTER COLUMN ... SET - DATA TYPE" (Peter) - This is SQL-standard syntax for functionality that was already - supported. - * Make "ALTER TABLE SET WITHOUT OIDS" rewrite the table to physically - remove OID values (Tom) - Also, add "ALTER TABLE SET WITH OIDS" to rewrite the table to add - OIDs. - __________________________________________________________________ - -Database Manipulation - - * Improve reporting of "CREATE"/"DROP"/"RENAME DATABASE" failure when - uncommitted prepared transactions are the cause (Tom) - * Make LC_COLLATE and LC_CTYPE into per-database settings (Radek - Strnad, Heikki) - This makes collation similar to encoding, which was always - configurable per database. - * Improve checks that the database encoding, collation (LC_COLLATE), - and character classes (LC_CTYPE) match (Heikki, Tom) - Note in particular that a new database's encoding and locale - settings can be changed only when copying from template0. This - prevents possibly copying data that doesn't match the settings. - * Add "ALTER DATABASE SET TABLESPACE" to move a database to a new - tablespace (Guillaume Lelarge, Bernd Helmle) - __________________________________________________________________ - -Utility Operations - - * Add a VERBOSE option to the "CLUSTER" command and clusterdb (Jim - Cox) - * Decrease memory requirements for recording pending trigger events - (Tom) - __________________________________________________________________ - -Indexes - - * Dramatically improve the speed of building and accessing hash - indexes (Tom Raney, Shreya Bhargava) - This allows hash indexes to be sometimes faster than btree indexes. - However, hash indexes are still not crash-safe. - * Make hash indexes store only the hash code, not the full value of - the indexed column (Xiao Meng) - This greatly reduces the size of hash indexes for long indexed - values, improving performance. - * Implement fast update option for GIN indexes (Teodor, Oleg) - This option greatly improves update speed at a small penalty in - search speed. - * xxx_pattern_ops indexes can now be used for simple equality - comparisons, not only for LIKE (Tom) - __________________________________________________________________ - -Full Text Indexes - - * Remove the requirement to use @@@ when doing GIN weighted lookups - on full text indexes (Tom, Teodor) - The normal @@ text search operator can be used instead. - * Add an optimizer selectivity function for @@ text search operations - (Jan Urbanski) - * Allow prefix matching in full text searches (Teodor Sigaev, Oleg - Bartunov) - * Support multi-column GIN indexes (Teodor Sigaev) - * Improve support for Nepali language and Devanagari alphabet - (Teodor) - __________________________________________________________________ - -VACUUM - - * Track free space in separate per-relation "fork" files (Heikki) - Free space discovered by "VACUUM" is now recorded in "*_fsm" files, - rather than in a fixed-sized shared memory area. The max_fsm_pages - and max_fsm_relations settings have been removed, greatly - simplifying administration of free space management. - * Add a visibility map to track pages that do not require vacuuming - (Heikki) - This allows "VACUUM" to avoid scanning all of a table when only a - portion of the table needs vacuuming. The visibility map is stored - in per-relation "fork" files. - * Add vacuum_freeze_table_age parameter to control when "VACUUM" - should ignore the visibility map and do a full table scan to freeze - tuples (Heikki) - * Track transaction snapshots more carefully (Alvaro) - This improves "VACUUM"'s ability to reclaim space in the presence - of long-running transactions. - * Add ability to specify per-relation autovacuum and TOAST parameters - in "CREATE TABLE" (Alvaro, Euler Taveira de Oliveira) - Autovacuum options used to be stored in a system table. - * Add --freeze option to vacuumdb (Bruce) - __________________________________________________________________ - -Data Types - - * Add a CaseSensitive option for text search synonym dictionaries - (Simon) - * Improve the precision of NUMERIC division (Tom) - * Add basic arithmetic operators for int2 with int8 (Tom) - This eliminates the need for explicit casting in some situations. - * Allow UUID input to accept an optional hyphen after every fourth - digit (Robert Haas) - * Allow on/off as input for the boolean data type (Itagaki Takahiro) - * Allow spaces around NaN in the input string for type numeric (Sam - Mason) - __________________________________________________________________ - -Temporal Data Types - - * Reject year 0 BC and years 000 and 0000 (Tom) - Previously these were interpreted as 1 BC. (Note: years 0 and 00 - are still assumed to be the year 2000.) - * Include SGT (Singapore time) in the default list of known time zone - abbreviations (Tom) - * Support infinity and -infinity as values of type date (Tom) - * Make parsing of interval literals more standard-compliant (Tom, Ron - Mayer) - For example, INTERVAL '1' YEAR now does what it's supposed to. - * Allow interval fractional-seconds precision to be specified after - the second keyword, for SQL standard compliance (Tom) - Formerly the precision had to be specified after the keyword - interval. (For backwards compatibility, this syntax is still - supported, though deprecated.) Data type definitions will now be - output using the standard format. - * Support the IS0 8601 interval syntax (Ron Mayer, Kevin Grittner) - For example, INTERVAL 'P1Y2M3DT4H5M6.7S' is now supported. - * Add IntervalStyle parameter which controls how interval values are - output (Ron Mayer) - Valid values are: postgres, postgres_verbose, sql_standard, - iso_8601. This setting also controls the handling of negative - interval input when only some fields have positive/negative - designations. - * Improve consistency of handling of fractional seconds in timestamp - and interval output (Ron Mayer) - __________________________________________________________________ - -Arrays - - * Improve the handling of casts applied to ARRAY[] constructs, such - as ARRAY[...]::integer[] (Brendan Jurd) - Formerly PostgreSQL attempted to determine a data type for the - ARRAY[] construct without reference to the ensuing cast. This could - fail unnecessarily in many cases, in particular when the ARRAY[] - construct was empty or contained only ambiguous entries such as - NULL. Now the cast is consulted to determine the type that the - array elements must be. - * Make SQL-syntax ARRAY dimensions optional to match the SQL standard - (Peter) - * Add array_ndims() to return the number of dimensions of an array - (Robert Haas) - * Add array_length() to return the length of an array for a specified - dimension (Jim Nasby, Robert Haas, Peter Eisentraut) - * Add aggregate function array_agg(), which returns all aggregated - values as a single array (Robert Haas, Jeff Davis, Peter) - * Add unnest(), which converts an array to individual row values - (Tom) - This is the opposite of array_agg(). - * Add array_fill() to create arrays initialized with a value (Pavel - Stehule) - * Add generate_subscripts() to simplify generating the range of an - array's subscripts (Pavel Stehule) - __________________________________________________________________ - -Wide-Value Storage (TOAST) - - * Consider TOAST compression on values as short as 32 bytes - (previously 256 bytes) (Greg Stark) - * Require 25% minimum space savings before using TOAST compression - (previously 20% for small values and any-savings-at-all for large - values) (Greg) - * Improve TOAST heuristics for rows that have a mix of large and - small toastable fields, so that we prefer to push large values out - of line and don't compress small values unnecessarily (Greg, Tom) - __________________________________________________________________ - -Functions - - * Document that setseed() allows values from -1 to 1 (not just 0 to - 1), and enforce the valid range (Kris Jurka) - * Add server-side function lo_import(filename, oid) (Tatsuo) - * Add quote_nullable(), which behaves like quote_literal() but - returns the string NULL for a null argument (Brendan Jurd) - * Improve full text search headline() function to allow extracting - several fragments of text (Sushant Sinha) - * Add suppress_redundant_updates_trigger() trigger function to avoid - overhead for non-data-changing updates (Andrew) - * Add div(numeric, numeric) to perform numeric division without - rounding (Tom) - * Add timestamp and timestamptz versions of generate_series() - (Hitoshi Harada) - __________________________________________________________________ - -Object Information Functions - - * Implement current_query() for use by functions that need to know - the currently running query (Tomas Doran) - * Add pg_get_keywords() to return a list of the parser keywords (Dave - Page) - * Add pg_get_functiondef() to see a function's definition (Abhijit - Menon-Sen) - * Allow the second argument of pg_get_expr() to be zero when - deparsing an expression that does not contain variables (Tom) - * Modify pg_relation_size() to use regclass (Heikki) - pg_relation_size(data_type_name) no longer works. - * Add boot_val and reset_val columns to pg_settings output (Greg - Smith) - * Add source file name and line number columns to pg_settings output - for variables set in a configuration file (Magnus, Alvaro) - For security reasons, these columns are only visible to superusers. - * Add support for CURRENT_CATALOG, CURRENT_SCHEMA, SET CATALOG, SET - SCHEMA (Peter) - These provide SQL-standard syntax for existing features. - * Add pg_typeof() which returns the data type of any value (Brendan - Jurd) - * Make version() return information about whether the server is a 32- - or 64-bit binary (Bruce) - * Fix the behavior of information schema columns is_insertable_into - and is_updatable to be consistent (Peter) - * Improve the behavior of information schema datetime_precision - columns (Peter) - These columns now show zero for date columns, and 6 (the default - precision) for time, timestamp, and interval without a declared - precision, rather than showing null as formerly. - * Convert remaining builtin set-returning functions to use OUT - parameters (Jaime Casanova) - This makes it possible to call these functions without specifying a - column list: pg_show_all_settings(), pg_lock_status(), - pg_prepared_xact(), pg_prepared_statement(), pg_cursor() - * Make pg_*_is_visible() and has_*_privilege() functions return NULL - for invalid OIDs, rather than reporting an error (Tom) - * Extend has_*_privilege() functions to allow inquiring about the OR - of multiple privileges in one call (Stephen Frost, Tom) - * Add has_column_privilege() and has_any_column_privilege() functions - (Stephen Frost, Tom) - __________________________________________________________________ - -Function Creation - - * Support variadic functions (functions with a variable number of - arguments) (Pavel Stehule) - Only trailing arguments can be optional, and they all must be of - the same data type. - * Support default values for function arguments (Pavel Stehule) - * Add "CREATE FUNCTION ... RETURNS TABLE" clause (Pavel Stehule) - * Allow SQL-language functions to return the output of an - "INSERT"/"UPDATE"/"DELETE" RETURNING clause (Tom) - __________________________________________________________________ - -PL/pgSQL Server-Side Language - - * Support EXECUTE USING for easier insertion of data values into a - dynamic query string (Pavel Stehule) - * Allow looping over the results of a cursor using a FOR loop (Pavel - Stehule) - * Support RETURN QUERY EXECUTE (Pavel Stehule) - * Improve the RAISE command (Pavel Stehule) - + Support DETAIL and HINT fields - + Support specification of the SQLSTATE error code - + Support an exception name parameter - + Allow RAISE without parameters in an exception block to - re-throw the current error - * Allow specification of SQLSTATE codes in EXCEPTION lists (Pavel - Stehule) - This is useful for handling custom SQLSTATE codes. - * Support the CASE statement (Pavel Stehule) - * Make "RETURN QUERY" set the special FOUND and "GET DIAGNOSTICS" - ROW_COUNT variables (Pavel Stehule) - * Make "FETCH" and "MOVE" set the "GET DIAGNOSTICS" ROW_COUNT - variable (Andrew Gierth) - * Make "EXIT" without a label always exit the innermost loop (Tom) - Formerly, if there were a BEGIN block more closely nested than any - loop, it would exit that block instead. The new behavior matches - Oracle(TM) and is also what was previously stated by our own - documentation. - * Make processing of string literals and nested block comments match - the main SQL parser's processing (Tom) - In particular, the format string in "RAISE" now works the same as - any other string literal, including being subject to - standard_conforming_strings. This change also fixes other cases in - which valid commands would fail when standard_conforming_strings is - on. - * Avoid memory leakage when the same function is called at varying - exception-block nesting depths (Tom) - __________________________________________________________________ - -Client Applications - - * Fix pg_ctl restart to preserve command-line arguments (Bruce) - * Add -w/--no-password option that prevents password prompting in all - utilities that have a -W/--password option (Peter) - * Remove "-q" (quiet) option of createdb, createuser, dropdb, - dropuser (Peter) - These options have had no effect since PostgreSQL 8.3. - __________________________________________________________________ - -psql - - * Remove verbose startup banner; now just suggest help (Joshua Drake) - * Make help show common backslash commands (Greg Sabino Mullane) - * Add \pset format wrapped mode to wrap output to the screen width, - or file/pipe output too if \pset columns is set (Bryce Nesbitt) - * Allow all supported spellings of boolean values in "\pset", rather - than just on and off (Bruce) - Formerly, any string other than "off" was silently taken to mean - true. psql will now complain about unrecognized spellings (but - still take them as true). - * Use the pager for wide output (Bruce) - * Require a space between a one-letter backslash command and its - first argument (Bernd Helmle) - This removes a historical source of ambiguity. - * Improve tab completion support for schema-qualified and quoted - identifiers (Greg Sabino Mullane) - * Add optional on/off argument for "\timing" (David Fetter) - * Display access control rights on multiple lines (Brendan Jurd, - Andreas Scherbaum) - * Make "\l" show database access privileges (Andrew Gilligan) - * Make "\l+" show database sizes, if permissions allow (Andrew - Gilligan) - * Add the "\ef" command to edit function definitions (Abhijit - Menon-Sen) - __________________________________________________________________ - -psql \d* commands - - * Make "\d*" commands that do not have a pattern argument show system - objects only if the S modifier is specified (Greg Sabino Mullane, - Bruce) - The former behavior was inconsistent across different variants of - "\d", and in most cases it provided no easy way to see just user - objects. - * Improve "\d*" commands to work with older PostgreSQL server - versions (back to 7.4), not only the current server version - (Guillaume Lelarge) - * Make "\d" show foreign-key constraints that reference the selected - table (Kenneth D'Souza) - * Make "\d" on a sequence show its column values (Euler Taveira de - Oliveira) - * Add column storage type and other relation options to the "\d+" - display (Gregory Stark, Euler Taveira de Oliveira) - * Show relation size in "\dt+" output (Dickson S. Guedes) - * Show the possible values of enum types in "\dT+" (David Fetter) - * Allow "\dC" to accept a wildcard pattern, which matches either - datatype involved in the cast (Tom) - * Add a function type column to "\df"'s output, and add options to - list only selected types of functions (David Fetter) - * Make "\df" not hide functions that take or return type cstring - (Tom) - Previously, such functions were hidden because most of them are - datatype I/O functions, which were deemed uninteresting. The new - policy about hiding system functions by default makes this wart - unnecessary. - __________________________________________________________________ - -pg_dump - - * Add a --no-tablespaces option to pg_dump/pg_dumpall/pg_restore so - that dumps can be restored to clusters that have non-matching - tablespace layouts (Gavin Roy) - * Remove "-d" and "-D" options from pg_dump and pg_dumpall (Tom) - These options were too frequently confused with the option to - select a database name in other PostgreSQL client applications. The - functionality is still available, but you must now spell out the - long option name "--inserts" or "--column-inserts". - * Remove "-i"/"--ignore-version" option from pg_dump and pg_dumpall - (Tom) - Use of this option does not throw an error, but it has no effect. - This option was removed because the version checks are necessary - for safety. - * Disable statement_timeout during dump and restore (Joshua Drake) - * Add pg_dump/pg_dumpall option "--lock-wait-timeout" (David Gould) - This allows dumps to fail if unable to acquire a shared lock within - the specified amount of time. - * Reorder pg_dump --data-only output to dump tables referenced by - foreign keys before the referencing tables (Tom) - This allows data loads when foreign keys are already present. If - circular references make a safe ordering impossible, a NOTICE is - issued. - * Allow pg_dump, pg_dumpall, and pg_restore to use a specified role - (Benedek László) - * Allow pg_restore to use multiple concurrent connections to do the - restore (Andrew) - The number of concurrent connections is controlled by the option - --jobs. This is supported only for custom-format archives. - __________________________________________________________________ - -Programming Tools - -libpq - - * Allow the OID to be specified when importing a large object, via - new function lo_import_with_oid() (Tatsuo) - * Add "events" support (Andrew Chernow, Merlin Moncure) - This adds the ability to register callbacks to manage private data - associated with PGconn and PGresult objects. - * Improve error handling to allow the return of multiple error - messages as multi-line error reports (Magnus) - * Make PQexecParams() and related functions return PGRES_EMPTY_QUERY - for an empty query (Tom) - They previously returned PGRES_COMMAND_OK. - * Document how to avoid the overhead of WSACleanup() on Windows - (Andrew Chernow) - * Do not rely on Kerberos tickets to determine the default database - username (Magnus) - Previously, a Kerberos-capable build of libpq would use the - principal name from any available Kerberos ticket as default - database username, even if the connection wasn't using Kerberos - authentication. This was deemed inconsistent and confusing. The - default username is now determined the same way with or without - Kerberos. Note however that the database username must still match - the ticket when Kerberos authentication is used. - __________________________________________________________________ - -libpq SSL (Secure Sockets Layer) support - - * Fix certificate validation for SSL connections (Magnus) - libpq now supports verifying both the certificate and the name of - the server when making SSL connections. If a root certificate is - not available to use for verification, SSL connections will fail. - The sslmode parameter is used to enable certificate verification - and set the level of checking. The default is still not to do any - verification, allowing connections to SSL-enabled servers without - requiring a root certificate on the client. - * Support wildcard server certificates (Magnus) - If a certificate CN starts with *, it will be treated as a wildcard - when matching the hostname, allowing the use of the same - certificate for multiple servers. - * Allow the file locations for client certificates to be specified - (Mark Woodward, Alvaro, Magnus) - * Add a PQinitOpenSSL function to allow greater control over - OpenSSL/libcrypto initialization (Andrew Chernow) - * Make libpq unregister its OpenSSL callbacks when no database - connections remain open (Bruce, Magnus, Russell Smith) - This is required for applications that unload the libpq library, - otherwise invalid OpenSSL callbacks will remain. - __________________________________________________________________ - -ecpg - - * Add localization support for messages (Euler Taveira de Oliveira) - * ecpg parser is now automatically generated from the server parser - (Michael) - Previously the ecpg parser was hand-maintained. - __________________________________________________________________ - -Server Programming Interface (SPI) - - * Add support for single-use plans with out-of-line parameters (Tom) - * Add new SPI_OK_REWRITTEN return code for SPI_execute() (Heikki) - This is used when a command is rewritten to another type of - command. - * Remove unnecessary inclusions from "executor/spi.h" (Tom) - SPI-using modules might need to add some #include lines if they - were depending on "spi.h" to include things for them. - __________________________________________________________________ - -Build Options - - * Update build system to use Autoconf 2.61 (Peter) - * Require GNU bison for source code builds (Peter) - This has effectively been required for several years, but now there - is no infrastructure claiming to support other parser tools. - * Add pg_config --htmldir option (Peter) - * Pass float4 by value inside the server (Zoltan Boszormenyi) - Add configure option --disable-float4-byval to use the old - behavior. External C functions that use old-style (version 0) call - convention and pass or return float4 values will be broken by this - change, so you may need the configure option if you have such - functions and don't want to update them. - * Pass float8, int8, and related datatypes by value inside the server - on 64-bit platforms (Zoltan Boszormenyi) - Add configure option --disable-float8-byval to use the old - behavior. As above, this change might break old-style external C - functions. - * Add configure options --with-segsize, --with-blocksize, - --with-wal-blocksize, --with-wal-segsize (Zdenek Kotala, Tom) - This simplifies build-time control over several constants that - previously could only be changed by editing "pg_config_manual.h". - * Allow threaded builds on Solaris 2.5 (Bruce) - * Use the system's getopt_long() on Solaris (Zdenek Kotala, Tom) - This makes option processing more consistent with what Solaris - users expect. - * Add support for the Sun Studio compiler on Linux (Julius Stroffek) - * Append the major version number to the backend gettext domain, and - the soname major version number to libraries' gettext domain - (Peter) - This simplifies parallel installations of multiple versions. - * Add support for code coverage testing with gcov (Michelle Caisse) - * Allow out-of-tree builds on Mingw and Cygwin (Richard Evans) - * Fix the use of Mingw as a cross-compiling source platform (Peter) - __________________________________________________________________ - -Source Code - - * Support 64-bit time zone data files (Heikki) - This adds support for daylight saving time (DST) calculations - beyond the year 2038. - * Deprecate use of platform's time_t data type (Tom) - Some platforms have migrated to 64-bit time_t, some have not, and - Windows can't make up its mind what it's doing. Define pg_time_t to - have the same meaning as time_t, but always be 64 bits (unless the - platform has no 64-bit integer type), and use that type in all - module APIs and on-disk data formats. - * Fix bug in handling of the time zone database when cross-compiling - (Richard Evans) - * Link backend object files in one step, rather than in stages - (Peter) - * Improve gettext support to allow better translation of plurals - (Peter) - * Add message translation support to the PL languages (Alvaro, Peter) - * Add more DTrace probes (Robert Lor) - * Enable DTrace support on Mac OS X Leopard and other non-Solaris - platforms (Robert Lor) - * Simplify and standardize conversions between C strings and text - datums, by providing common functions for the purpose (Brendan - Jurd, Tom) - * Clean up the "include/catalog/" header files so that frontend - programs can include them without including "postgres.h" (Zdenek - Kotala) - * Make name char-aligned, and suppress zero-padding of name entries - in indexes (Tom) - * Recover better if dynamically-loaded code executes exit() (Tom) - * Add a hook to let plug-ins monitor the executor (Itagaki Takahiro) - * Add a hook to allow the planner's statistics lookup behavior to be - overridden (Simon Riggs) - * Add shmem_startup_hook() for custom shared memory requirements - (Tom) - * Replace the index access method amgetmulti entry point with - amgetbitmap, and extend the API for amgettuple to support run-time - determination of operator lossiness (Heikki, Tom, Teodor) - The API for GIN and GiST opclass consistent functions has been - extended as well. - * Add support for partial-match searches in GIN indexes (Teodor - Sigaev, Oleg Bartunov) - * Replace pg_class column reltriggers with boolean relhastriggers - (Simon) - Also remove unused pg_class columns relukeys, relfkeys, and - relrefs. - * Add a relistemp column to pg_class to ease identification of - temporary tables (Tom) - * Move platform FAQs into the main documentation (Peter) - * Prevent parser input files from being built with any conflicts - (Peter) - * Add support for the KOI8U (Ukrainian) encoding (Peter) - * Add Japanese message translations (Japan PostgreSQL Users Group) - This used to be maintained as a separate project. - * Fix problem when setting LC_MESSAGES on MSVC-built systems (Hiroshi - Inoue, Hiroshi Saito, Magnus) - __________________________________________________________________ - -Contrib - - * Add "contrib/auto_explain" to automatically run "EXPLAIN" on - queries exceeding a specified duration (Itagaki Takahiro, Tom) - * Add "contrib/btree_gin" to allow GIN indexes to handle more - datatypes (Oleg, Teodor) - * Add "contrib/citext" to provide a case-insensitive, multibyte-aware - text data type (David Wheeler) - * Add "contrib/pg_stat_statements" for server-wide tracking of - statement execution statistics (Itagaki Takahiro) - * Add duration and query mode options to "contrib/pgbench" (Itagaki - Takahiro) - * Make "contrib/pgbench" use table names pgbench_accounts, - pgbench_branches, pgbench_history, and pgbench_tellers, rather than - just accounts, branches, history, and tellers (Tom) - This is to reduce the risk of accidentally destroying real data by - running pgbench. - * Fix "contrib/pgstattuple" to handle tables and indexes with over 2 - billion pages (Tatsuhito Kasahara) - * In "contrib/fuzzystrmatch", add a version of the Levenshtein - string-distance function that allows the user to specify the costs - of insertion, deletion, and substitution (Volkan Yazici) - * Make "contrib/ltree" support multibyte encodings (laser) - * Enable "contrib/dblink" to use connection information stored in the - SQL/MED catalogs (Joe Conway) - * Improve "contrib/dblink"'s reporting of errors from the remote - server (Joe Conway) - * Make "contrib/dblink" set client_encoding to match the local - database's encoding (Joe Conway) - This prevents encoding problems when communicating with a remote - database that uses a different encoding. - * Make sure "contrib/dblink" uses a password supplied by the user, - and not accidentally taken from the server's ".pgpass" file (Joe - Conway) - This is a minor security enhancement. - * Add fsm_page_contents() to "contrib/pageinspect" (Heikki) - * Modify get_raw_page() to support free space map ("*_fsm") files. - Also update "contrib/pg_freespacemap". - * Add support for multibyte encodings to "contrib/pg_trgm" (Teodor) - * Rewrite "contrib/intagg" to use new functions array_agg() and - unnest() (Tom) - * Make "contrib/pg_standby" recover all available WAL before failover - (Fujii Masao, Simon, Heikki) - To make this work safely, you now need to set the new - recovery_end_command option in "recovery.conf" to clean up the - trigger file after failover. pg_standby will no longer remove the - trigger file itself. - * "contrib/pg_standby"'s "-l" option is now a no-op, because it is - unsafe to use a symlink (Simon) - __________________________________________________________________ - - Release 8.3.23 - - Release Date: 2013-02-07 - - This release contains a variety of fixes from 8.3.22. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - - This is expected to be the last PostgreSQL release in the 8.3.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.3.23 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Prevent execution of enum_recv from SQL (Tom Lane) - The function was misdeclared, allowing a simple SQL command to - crash the server. In principle an attacker might be able to use it - to examine the contents of server memory. Our thanks to Sumit Soni - (via Secunia SVCRP) for reporting this issue. (CVE-2013-0255) - * Fix SQL grammar to allow subscripting or field selection from a - sub-SELECT result (Tom Lane) - * Protect against race conditions when scanning pg_tablespace - (Stephen Frost, Tom Lane) - "CREATE DATABASE" and "DROP DATABASE" could misbehave if there were - concurrent updates of pg_tablespace entries. - * Prevent "DROP OWNED" from trying to drop whole databases or - tablespaces (Álvaro Herrera) - For safety, ownership of these objects must be reassigned, not - dropped. - * Prevent misbehavior when a RowExpr or XmlExpr is parse-analyzed - twice (Andres Freund, Tom Lane) - This mistake could be user-visible in contexts such as CREATE TABLE - LIKE INCLUDING INDEXES. - * Improve defenses against integer overflow in hashtable sizing - calculations (Jeff Davis) - * Ensure that non-ASCII prompt strings are translated to the correct - code page on Windows (Alexander Law, Noah Misch) - This bug affected psql and some other client programs. - * Fix possible crash in psql's "\?" command when not connected to a - database (Meng Qingzhong) - * Fix one-byte buffer overrun in libpq's PQprintTuples (Xi Wang) - This ancient function is not used anywhere by PostgreSQL itself, - but it might still be used by some client code. - * Rearrange configure's tests for supplied functions so it is not - fooled by bogus exports from libedit/libreadline (Christoph Berg) - * Ensure Windows build number increases over time (Magnus Hagander) - * Make pgxs build executables with the right .exe suffix when - cross-compiling for Windows (Zoltan Boszormenyi) - * Add new timezone abbreviation FET (Tom Lane) - This is now used in some eastern-European time zones. - __________________________________________________________________ - - Release 8.3.22 - - Release Date: 2012-12-06 - - This release contains a variety of fixes from 8.3.21. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - - The PostgreSQL community will stop releasing updates for the 8.3.X - release series in February 2013. Users are encouraged to update to a - newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.3.22 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Fix multiple bugs associated with "CREATE INDEX CONCURRENTLY" - (Andres Freund, Tom Lane) - Fix "CREATE INDEX CONCURRENTLY" to use in-place updates when - changing the state of an index's pg_index row. This prevents race - conditions that could cause concurrent sessions to miss updating - the target index, thus resulting in corrupt concurrently-created - indexes. - Also, fix various other operations to ensure that they ignore - invalid indexes resulting from a failed "CREATE INDEX CONCURRENTLY" - command. The most important of these is "VACUUM", because an - auto-vacuum could easily be launched on the table before corrective - action can be taken to fix or remove the invalid index. - * Avoid corruption of internal hash tables when out of memory - (Hitoshi Harada) - * Fix planning of non-strict equivalence clauses above outer joins - (Tom Lane) - The planner could derive incorrect constraints from a clause - equating a non-strict construct to something else, for example - WHERE COALESCE(foo, 0) = 0 when foo is coming from the nullable - side of an outer join. - * Improve planner's ability to prove exclusion constraints from - equivalence classes (Tom Lane) - * Fix partial-row matching in hashed subplans to handle cross-type - cases correctly (Tom Lane) - This affects multicolumn NOT IN subplans, such as WHERE (a, b) NOT - IN (SELECT x, y FROM ...) when for instance b and y are int4 and - int8 respectively. This mistake led to wrong answers or crashes - depending on the specific datatypes involved. - * Acquire buffer lock when re-fetching the old tuple for an AFTER ROW - UPDATE/DELETE trigger (Andres Freund) - In very unusual circumstances, this oversight could result in - passing incorrect data to the precheck logic for a foreign-key - enforcement trigger. That could result in a crash, or in an - incorrect decision about whether to fire the trigger. - * Fix "REASSIGN OWNED" to handle grants on tablespaces (Álvaro - Herrera) - * Ignore incorrect pg_attribute entries for system columns for views - (Tom Lane) - Views do not have any system columns. However, we forgot to remove - such entries when converting a table to a view. That's fixed - properly for 9.3 and later, but in previous branches we need to - defend against existing mis-converted views. - * Fix rule printing to dump INSERT INTO table DEFAULT VALUES - correctly (Tom Lane) - * Guard against stack overflow when there are too many - UNION/INTERSECT/EXCEPT clauses in a query (Tom Lane) - * Prevent platform-dependent failures when dividing the minimum - possible integer value by -1 (Xi Wang, Tom Lane) - * Fix possible access past end of string in date parsing (Hitoshi - Harada) - * Produce an understandable error message if the length of the path - name for a Unix-domain socket exceeds the platform-specific limit - (Tom Lane, Andrew Dunstan) - Formerly, this would result in something quite unhelpful, such as - "Non-recoverable failure in name resolution". - * Fix memory leaks when sending composite column values to the client - (Tom Lane) - * Make pg_ctl more robust about reading the "postmaster.pid" file - (Heikki Linnakangas) - Fix race conditions and possible file descriptor leakage. - * Fix possible crash in psql if incorrectly-encoded data is presented - and the client_encoding setting is a client-only encoding, such as - SJIS (Jiang Guiqing) - * Fix bugs in the "restore.sql" script emitted by pg_dump in tar - output format (Tom Lane) - The script would fail outright on tables whose names include - upper-case characters. Also, make the script capable of restoring - data in "--inserts" mode as well as the regular COPY mode. - * Fix pg_restore to accept POSIX-conformant tar files (Brian Weaver, - Tom Lane) - The original coding of pg_dump's tar output mode produced files - that are not fully conformant with the POSIX standard. This has - been corrected for version 9.3. This patch updates previous - branches so that they will accept both the incorrect and the - corrected formats, in hopes of avoiding compatibility problems when - 9.3 comes out. - * Fix pg_resetxlog to locate "postmaster.pid" correctly when given a - relative path to the data directory (Tom Lane) - This mistake could lead to pg_resetxlog not noticing that there is - an active postmaster using the data directory. - * Fix libpq's lo_import() and lo_export() functions to report file - I/O errors properly (Tom Lane) - * Fix ecpg's processing of nested structure pointer variables - (Muhammad Usama) - * Make "contrib/pageinspect"'s btree page inspection functions take - buffer locks while examining pages (Tom Lane) - * Fix pgxs support for building loadable modules on AIX (Tom Lane) - Building modules outside the original source tree didn't work on - AIX. - * Update time zone data files to tzdata release 2012j for DST law - changes in Cuba, Israel, Jordan, Libya, Palestine, Western Samoa, - and portions of Brazil. - __________________________________________________________________ - - Release 8.3.21 - - Release Date: 2012-09-24 - - This release contains a variety of fixes from 8.3.20. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - - The PostgreSQL community will stop releasing updates for the 8.3.X - release series in February 2013. Users are encouraged to update to a - newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.3.21 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Improve page-splitting decisions in GiST indexes (Alexander - Korotkov, Robert Haas, Tom Lane) - Multi-column GiST indexes might suffer unexpected bloat due to this - error. - * Fix cascading privilege revoke to stop if privileges are still held - (Tom Lane) - If we revoke a grant option from some role "X", but "X" still holds - that option via a grant from someone else, we should not - recursively revoke the corresponding privilege from role(s) "Y" - that "X" had granted it to. - * Fix handling of SIGFPE when PL/Perl is in use (Andres Freund) - Perl resets the process's SIGFPE handler to SIG_IGN, which could - result in crashes later on. Restore the normal Postgres signal - handler after initializing PL/Perl. - * Prevent PL/Perl from crashing if a recursive PL/Perl function is - redefined while being executed (Tom Lane) - * Work around possible misoptimization in PL/Perl (Tom Lane) - Some Linux distributions contain an incorrect version of - "pthread.h" that results in incorrect compiled code in PL/Perl, - leading to crashes if a PL/Perl function calls another one that - throws an error. - * Update time zone data files to tzdata release 2012f for DST law - changes in Fiji - __________________________________________________________________ - - Release 8.3.20 - - Release Date: 2012-08-17 - - This release contains a variety of fixes from 8.3.19. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - - The PostgreSQL community will stop releasing updates for the 8.3.X - release series in February 2013. Users are encouraged to update to a - newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.3.20 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Prevent access to external files/URLs via XML entity references - (Noah Misch, Tom Lane) - xml_parse() would attempt to fetch external files or URLs as needed - to resolve DTD and entity references in an XML value, thus allowing - unprivileged database users to attempt to fetch data with the - privileges of the database server. While the external data wouldn't - get returned directly to the user, portions of it could be exposed - in error messages if the data didn't parse as valid XML; and in any - case the mere ability to check existence of a file might be useful - to an attacker. (CVE-2012-3489) - * Prevent access to external files/URLs via "contrib/xml2"'s - xslt_process() (Peter Eisentraut) - libxslt offers the ability to read and write both files and URLs - through stylesheet commands, thus allowing unprivileged database - users to both read and write data with the privileges of the - database server. Disable that through proper use of libxslt's - security options. (CVE-2012-3488) - Also, remove xslt_process()'s ability to fetch documents and - stylesheets from external files/URLs. While this was a documented - "feature", it was long regarded as a bad idea. The fix for - CVE-2012-3489 broke that capability, and rather than expend effort - on trying to fix it, we're just going to summarily remove it. - * Prevent too-early recycling of btree index pages (Noah Misch) - When we allowed read-only transactions to skip assigning XIDs, we - introduced the possibility that a deleted btree page could be - recycled while a read-only transaction was still in flight to it. - This would result in incorrect index search results. The - probability of such an error occurring in the field seems very low - because of the timing requirements, but nonetheless it should be - fixed. - * Fix crash-safety bug with newly-created-or-reset sequences (Tom - Lane) - If "ALTER SEQUENCE" was executed on a freshly created or reset - sequence, and then precisely one nextval() call was made on it, and - then the server crashed, WAL replay would restore the sequence to a - state in which it appeared that no nextval() had been done, thus - allowing the first sequence value to be returned again by the next - nextval() call. In particular this could manifest for serial - columns, since creation of a serial column's sequence includes an - "ALTER SEQUENCE OWNED BY" step. - * Ensure the "backup_label" file is fsync'd after pg_start_backup() - (Dave Kerr) - * Back-patch 9.1 improvement to compress the fsync request queue - (Robert Haas) - This improves performance during checkpoints. The 9.1 change has - now seen enough field testing to seem safe to back-patch. - * Only allow autovacuum to be auto-canceled by a directly blocked - process (Tom Lane) - The original coding could allow inconsistent behavior in some - cases; in particular, an autovacuum could get canceled after less - than deadlock_timeout grace period. - * Improve logging of autovacuum cancels (Robert Haas) - * Fix log collector so that log_truncate_on_rotation works during the - very first log rotation after server start (Tom Lane) - * Ensure that a whole-row reference to a subquery doesn't include any - extra GROUP BY or ORDER BY columns (Tom Lane) - * Disallow copying whole-row references in CHECK constraints and - index definitions during "CREATE TABLE" (Tom Lane) - This situation can arise in "CREATE TABLE" with LIKE or INHERITS. - The copied whole-row variable was incorrectly labeled with the row - type of the original table not the new one. Rejecting the case - seems reasonable for LIKE, since the row types might well diverge - later. For INHERITS we should ideally allow it, with an implicit - coercion to the parent table's row type; but that will require more - work than seems safe to back-patch. - * Fix memory leak in ARRAY(SELECT ...) subqueries (Heikki - Linnakangas, Tom Lane) - * Fix extraction of common prefixes from regular expressions (Tom - Lane) - The code could get confused by quantified parenthesized - subexpressions, such as ^(foo)?bar. This would lead to incorrect - index optimization of searches for such patterns. - * Report errors properly in "contrib/xml2"'s xslt_process() (Tom - Lane) - * Update time zone data files to tzdata release 2012e for DST law - changes in Morocco and Tokelau - __________________________________________________________________ - - Release 8.3.19 - - Release Date: 2012-06-04 - - This release contains a variety of fixes from 8.3.18. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.19 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Fix incorrect password transformation in "contrib/pgcrypto"'s DES - crypt() function (Solar Designer) - If a password string contained the byte value 0x80, the remainder - of the password was ignored, causing the password to be much weaker - than it appeared. With this fix, the rest of the string is properly - included in the DES hash. Any stored password values that are - affected by this bug will thus no longer match, so the stored - values may need to be updated. (CVE-2012-2143) - * Ignore SECURITY DEFINER and SET attributes for a procedural - language's call handler (Tom Lane) - Applying such attributes to a call handler could crash the server. - (CVE-2012-2655) - * Allow numeric timezone offsets in timestamp input to be up to 16 - hours away from UTC (Tom Lane) - Some historical time zones have offsets larger than 15 hours, the - previous limit. This could result in dumped data values being - rejected during reload. - * Fix timestamp conversion to cope when the given time is exactly the - last DST transition time for the current timezone (Tom Lane) - This oversight has been there a long time, but was not noticed - previously because most DST-using zones are presumed to have an - indefinite sequence of future DST transitions. - * Fix text to name and char to name casts to perform string - truncation correctly in multibyte encodings (Karl Schnaitter) - * Fix memory copying bug in to_tsquery() (Heikki Linnakangas) - * Fix slow session startup when pg_attribute is very large (Tom Lane) - If pg_attribute exceeds one-fourth of shared_buffers, cache - rebuilding code that is sometimes needed during session start would - trigger the synchronized-scan logic, causing it to take many times - longer than normal. The problem was particularly acute if many new - sessions were starting at once. - * Ensure sequential scans check for query cancel reasonably often - (Merlin Moncure) - A scan encountering many consecutive pages that contain no live - tuples would not respond to interrupts meanwhile. - * Ensure the Windows implementation of PGSemaphoreLock() clears - ImmediateInterruptOK before returning (Tom Lane) - This oversight meant that a query-cancel interrupt received later - in the same query could be accepted at an unsafe time, with - unpredictable but not good consequences. - * Show whole-row variables safely when printing views or rules (Abbas - Butt, Tom Lane) - Corner cases involving ambiguous names (that is, the name could be - either a table or column name of the query) were printed in an - ambiguous way, risking that the view or rule would be interpreted - differently after dump and reload. Avoid the ambiguous case by - attaching a no-op cast. - * Ensure autovacuum worker processes perform stack depth checking - properly (Heikki Linnakangas) - Previously, infinite recursion in a function invoked by - auto-"ANALYZE" could crash worker processes. - * Fix logging collector to not lose log coherency under high load - (Andrew Dunstan) - The collector previously could fail to reassemble large messages if - it got too busy. - * Fix logging collector to ensure it will restart file rotation after - receiving SIGHUP (Tom Lane) - * Fix PL/pgSQL's "GET DIAGNOSTICS" command when the target is the - function's first variable (Tom Lane) - * Fix several performance problems in pg_dump when the database - contains many objects (Jeff Janes, Tom Lane) - pg_dump could get very slow if the database contained many schemas, - or if many objects are in dependency loops, or if there are many - owned sequences. - * Fix "contrib/dblink"'s dblink_exec() to not leak temporary database - connections upon error (Tom Lane) - * Update time zone data files to tzdata release 2012c for DST law - changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, - Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also - historical corrections for Canada. - __________________________________________________________________ - - Release 8.3.18 - - Release Date: 2012-02-27 - - This release contains a variety of fixes from 8.3.17. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.18 - - A dump/restore is not required for those running 8.3.X. - - However, if you are upgrading from a version earlier than 8.3.17, see - the release notes for 8.3.17. - __________________________________________________________________ - -Changes - - * Require execute permission on the trigger function for "CREATE - TRIGGER" (Robert Haas) - This missing check could allow another user to execute a trigger - function with forged input data, by installing it on a table he - owns. This is only of significance for trigger functions marked - SECURITY DEFINER, since otherwise trigger functions run as the - table owner anyway. (CVE-2012-0866) - * Convert newlines to spaces in names written in pg_dump comments - (Robert Haas) - pg_dump was incautious about sanitizing object names that are - emitted within SQL comments in its output script. A name containing - a newline would at least render the script syntactically incorrect. - Maliciously crafted object names could present a SQL injection risk - when the script is reloaded. (CVE-2012-0868) - * Fix btree index corruption from insertions concurrent with - vacuuming (Tom Lane) - An index page split caused by an insertion could sometimes cause a - concurrently-running "VACUUM" to miss removing index entries that - it should remove. After the corresponding table rows are removed, - the dangling index entries would cause errors (such as "could not - read block N in file ...") or worse, silently wrong query results - after unrelated rows are re-inserted at the now-free table - locations. This bug has been present since release 8.2, but occurs - so infrequently that it was not diagnosed until now. If you have - reason to suspect that it has happened in your database, reindexing - the affected index will fix things. - * Allow non-existent values for some settings in "ALTER USER/DATABASE - SET" (Heikki Linnakangas) - Allow default_text_search_config, default_tablespace, and - temp_tablespaces to be set to names that are not known. This is - because they might be known in another database where the setting - is intended to be used, or for the tablespace cases because the - tablespace might not be created yet. The same issue was previously - recognized for search_path, and these settings now act like that - one. - * Track the OID counter correctly during WAL replay, even when it - wraps around (Tom Lane) - Previously the OID counter would remain stuck at a high value until - the system exited replay mode. The practical consequences of that - are usually nil, but there are scenarios wherein a standby server - that's been promoted to master might take a long time to advance - the OID counter to a reasonable value once values are needed. - * Fix regular expression back-references with * attached (Tom Lane) - Rather than enforcing an exact string match, the code would - effectively accept any string that satisfies the pattern - sub-expression referenced by the back-reference symbol. - A similar problem still afflicts back-references that are embedded - in a larger quantified expression, rather than being the immediate - subject of the quantifier. This will be addressed in a future - PostgreSQL release. - * Fix recently-introduced memory leak in processing of inet/cidr - values (Heikki Linnakangas) - A patch in the December 2011 releases of PostgreSQL caused memory - leakage in these operations, which could be significant in - scenarios such as building a btree index on such a column. - * Avoid double close of file handle in syslogger on Windows (MauMau) - Ordinarily this error was invisible, but it would cause an - exception when running on a debug version of Windows. - * Fix I/O-conversion-related memory leaks in plpgsql (Andres Freund, - Jan Urbanski, Tom Lane) - Certain operations would leak memory until the end of the current - function. - * Improve pg_dump's handling of inherited table columns (Tom Lane) - pg_dump mishandled situations where a child column has a different - default expression than its parent column. If the default is - textually identical to the parent's default, but not actually the - same (for instance, because of schema search path differences) it - would not be recognized as different, so that after dump and - restore the child would be allowed to inherit the parent's default. - Child columns that are NOT NULL where their parent is not could - also be restored subtly incorrectly. - * Fix pg_restore's direct-to-database mode for INSERT-style table - data (Tom Lane) - Direct-to-database restores from archive files made with - "--inserts" or "--column-inserts" options fail when using - pg_restore from a release dated September or December 2011, as a - result of an oversight in a fix for another problem. The archive - file itself is not at fault, and text-mode output is okay. - * Fix error in "contrib/intarray"'s int[] & int[] operator (Guillaume - Lelarge) - If the smallest integer the two input arrays have in common is 1, - and there are smaller values in either array, then 1 would be - incorrectly omitted from the result. - * Fix error detection in "contrib/pgcrypto"'s encrypt_iv() and - decrypt_iv() (Marko Kreen) - These functions failed to report certain types of invalid-input - errors, and would instead return random garbage values for - incorrect input. - * Fix one-byte buffer overrun in "contrib/test_parser" (Paul Guyot) - The code would try to read one more byte than it should, which - would crash in corner cases. Since "contrib/test_parser" is only - example code, this is not a security issue in itself, but bad - example code is still bad. - * Use __sync_lock_test_and_set() for spinlocks on ARM, if available - (Martin Pitt) - This function replaces our previous use of the SWPB instruction, - which is deprecated and not available on ARMv6 and later. Reports - suggest that the old code doesn't fail in an obvious way on recent - ARM boards, but simply doesn't interlock concurrent accesses, - leading to bizarre failures in multiprocess operation. - * Use "-fexcess-precision=standard" option when building with gcc - versions that accept it (Andrew Dunstan) - This prevents assorted scenarios wherein recent versions of gcc - will produce creative results. - * Allow use of threaded Python on FreeBSD (Chris Rees) - Our configure script previously believed that this combination - wouldn't work; but FreeBSD fixed the problem, so remove that error - check. - __________________________________________________________________ - - Release 8.3.17 - - Release Date: 2011-12-05 - - This release contains a variety of fixes from 8.3.16. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.17 - - A dump/restore is not required for those running 8.3.X. - - However, a longstanding error was discovered in the definition of the - information_schema.referential_constraints view. If you rely on correct - results from that view, you should replace its definition as explained - in the first changelog item below. - - Also, if you are upgrading from a version earlier than 8.3.8, see the - release notes for 8.3.8. - __________________________________________________________________ - -Changes - - * Fix bugs in information_schema.referential_constraints view (Tom - Lane) - This view was being insufficiently careful about matching the - foreign-key constraint to the depended-on primary or unique key - constraint. That could result in failure to show a foreign key - constraint at all, or showing it multiple times, or claiming that - it depends on a different constraint than the one it really does. - Since the view definition is installed by initdb, merely upgrading - will not fix the problem. If you need to fix this in an existing - installation, you can (as a superuser) drop the information_schema - schema then re-create it by sourcing - "SHAREDIR/information_schema.sql". (Run pg_config --sharedir if - you're uncertain where "SHAREDIR" is.) This must be repeated in - each database to be fixed. - * Fix TOAST-related data corruption during CREATE TABLE dest AS - SELECT * FROM src or INSERT INTO dest SELECT * FROM src (Tom Lane) - If a table has been modified by "ALTER TABLE ADD COLUMN", attempts - to copy its data verbatim to another table could produce corrupt - results in certain corner cases. The problem can only manifest in - this precise form in 8.4 and later, but we patched earlier versions - as well in case there are other code paths that could trigger the - same bug. - * Fix race condition during toast table access from stale syscache - entries (Tom Lane) - The typical symptom was transient errors like "missing chunk number - 0 for toast value NNNNN in pg_toast_2619", where the cited toast - table would always belong to a system catalog. - * Make DatumGetInetP() unpack inet datums that have a 1-byte header, - and add a new macro, DatumGetInetPP(), that does not (Heikki - Linnakangas) - This change affects no core code, but might prevent crashes in - add-on code that expects DatumGetInetP() to produce an unpacked - datum as per usual convention. - * Improve locale support in money type's input and output (Tom Lane) - Aside from not supporting all standard lc_monetary formatting - options, the input and output functions were inconsistent, meaning - there were locales in which dumped money values could not be - re-read. - * Don't let transform_null_equals affect CASE foo WHEN NULL ... - constructs (Heikki Linnakangas) - transform_null_equals is only supposed to affect foo = NULL - expressions written directly by the user, not equality checks - generated internally by this form of CASE. - * Change foreign-key trigger creation order to better support - self-referential foreign keys (Tom Lane) - For a cascading foreign key that references its own table, a row - update will fire both the ON UPDATE trigger and the CHECK trigger - as one event. The ON UPDATE trigger must execute first, else the - CHECK will check a non-final state of the row and possibly throw an - inappropriate error. However, the firing order of these triggers is - determined by their names, which generally sort in creation order - since the triggers have auto-generated names following the - convention "RI_ConstraintTrigger_NNNN". A proper fix would require - modifying that convention, which we will do in 9.2, but it seems - risky to change it in existing releases. So this patch just changes - the creation order of the triggers. Users encountering this type of - error should drop and re-create the foreign key constraint to get - its triggers into the right order. - * Avoid floating-point underflow while tracking buffer allocation - rate (Greg Matthews) - While harmless in itself, on certain platforms this would result in - annoying kernel log messages. - * Preserve blank lines within commands in psql's command history - (Robert Haas) - The former behavior could cause problems if an empty line was - removed from within a string literal, for example. - * Fix pg_dump to dump user-defined casts between auto-generated - types, such as table rowtypes (Tom Lane) - * Use the preferred version of xsubpp to build PL/Perl, not - necessarily the operating system's main copy (David Wheeler and - Alex Hunsaker) - * Fix incorrect coding in "contrib/dict_int" and "contrib/dict_xsyn" - (Tom Lane) - Some functions incorrectly assumed that memory returned by palloc() - is guaranteed zeroed. - * Honor query cancel interrupts promptly in pgstatindex() (Robert - Haas) - * Ensure VPATH builds properly install all server header files (Peter - Eisentraut) - * Shorten file names reported in verbose error messages (Peter - Eisentraut) - Regular builds have always reported just the name of the C file - containing the error message call, but VPATH builds formerly - reported an absolute path name. - * Fix interpretation of Windows timezone names for Central America - (Tom Lane) - Map "Central America Standard Time" to CST6, not CST6CDT, because - DST is generally not observed anywhere in Central America. - * Update time zone data files to tzdata release 2011n for DST law - changes in Brazil, Cuba, Fiji, Palestine, Russia, and Samoa; also - historical corrections for Alaska and British East Africa. - __________________________________________________________________ - - Release 8.3.16 - - Release Date: 2011-09-26 - - This release contains a variety of fixes from 8.3.15. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.16 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Fix bugs in indexing of in-doubt HOT-updated tuples (Tom Lane) - These bugs could result in index corruption after reindexing a - system catalog. They are not believed to affect user indexes. - * Fix multiple bugs in GiST index page split processing (Heikki - Linnakangas) - The probability of occurrence was low, but these could lead to - index corruption. - * Fix possible buffer overrun in tsvector_concat() (Tom Lane) - The function could underestimate the amount of memory needed for - its result, leading to server crashes. - * Fix crash in xml_recv when processing a "standalone" parameter (Tom - Lane) - * Avoid possibly accessing off the end of memory in "ANALYZE" and in - SJIS-2004 encoding conversion (Noah Misch) - This fixes some very-low-probability server crash scenarios. - * Fix race condition in relcache init file invalidation (Tom Lane) - There was a window wherein a new backend process could read a stale - init file but miss the inval messages that would tell it the data - is stale. The result would be bizarre failures in catalog accesses, - typically "could not read block 0 in file ..." later during - startup. - * Fix memory leak at end of a GiST index scan (Tom Lane) - Commands that perform many separate GiST index scans, such as - verification of a new GiST-based exclusion constraint on a table - already containing many rows, could transiently require large - amounts of memory due to this leak. - * Fix performance problem when constructing a large, lossy bitmap - (Tom Lane) - * Fix array- and path-creating functions to ensure padding bytes are - zeroes (Tom Lane) - This avoids some situations where the planner will think that - semantically-equal constants are not equal, resulting in poor - optimization. - * Work around gcc 4.6.0 bug that breaks WAL replay (Tom Lane) - This could lead to loss of committed transactions after a server - crash. - * Fix dump bug for VALUES in a view (Tom Lane) - * Disallow SELECT FOR UPDATE/SHARE on sequences (Tom Lane) - This operation doesn't work as expected and can lead to failures. - * Defend against integer overflow when computing size of a hash table - (Tom Lane) - * Fix cases where "CLUSTER" might attempt to access already-removed - TOAST data (Tom Lane) - * Fix portability bugs in use of credentials control messages for - "peer" authentication (Tom Lane) - * Fix SSPI login when multiple roundtrips are required (Ahmed - Shinwari, Magnus Hagander) - The typical symptom of this problem was "The function requested is - not supported" errors during SSPI login. - * Fix typo in pg_srand48 seed initialization (Andres Freund) - This led to failure to use all bits of the provided seed. This - function is not used on most platforms (only those without - srandom), and the potential security exposure from a - less-random-than-expected seed seems minimal in any case. - * Avoid integer overflow when the sum of LIMIT and OFFSET values - exceeds 2^63 (Heikki Linnakangas) - * Add overflow checks to int4 and int8 versions of generate_series() - (Robert Haas) - * Fix trailing-zero removal in to_char() (Marti Raudsepp) - In a format with FM and no digit positions after the decimal point, - zeroes to the left of the decimal point could be removed - incorrectly. - * Fix pg_size_pretty() to avoid overflow for inputs close to 2^63 - (Tom Lane) - * In pg_ctl, support silent mode for service registrations on Windows - (MauMau) - * Fix psql's counting of script file line numbers during COPY from a - different file (Tom Lane) - * Fix pg_restore's direct-to-database mode for - standard_conforming_strings (Tom Lane) - pg_restore could emit incorrect commands when restoring directly to - a database server from an archive file that had been made with - standard_conforming_strings set to on. - * Fix write-past-buffer-end and memory leak in libpq's LDAP service - lookup code (Albe Laurenz) - * In libpq, avoid failures when using nonblocking I/O and an SSL - connection (Martin Pihlak, Tom Lane) - * Improve libpq's handling of failures during connection startup (Tom - Lane) - In particular, the response to a server report of fork() failure - during SSL connection startup is now saner. - * Improve libpq's error reporting for SSL failures (Tom Lane) - * Make ecpglib write double values with 15 digits precision (Akira - Kurosawa) - * In ecpglib, be sure LC_NUMERIC setting is restored after an error - (Michael Meskes) - * Apply upstream fix for blowfish signed-character bug - (CVE-2011-2483) (Tom Lane) - "contrib/pg_crypto"'s blowfish encryption code could give wrong - results on platforms where char is signed (which is most), leading - to encrypted passwords being weaker than they should be. - * Fix memory leak in "contrib/seg" (Heikki Linnakangas) - * Fix pgstatindex() to give consistent results for empty indexes (Tom - Lane) - * Allow building with perl 5.14 (Alex Hunsaker) - * Update configure script's method for probing existence of system - functions (Tom Lane) - The version of autoconf we used in 8.3 and 8.2 could be fooled by - compilers that perform link-time optimization. - * Fix assorted issues with build and install file paths containing - spaces (Tom Lane) - * Update time zone data files to tzdata release 2011i for DST law - changes in Canada, Egypt, Russia, Samoa, and South Sudan. - __________________________________________________________________ - - Release 8.3.15 - - Release Date: 2011-04-18 - - This release contains a variety of fixes from 8.3.14. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.15 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Disallow including a composite type in itself (Tom Lane) - This prevents scenarios wherein the server could recurse infinitely - while processing the composite type. While there are some possible - uses for such a structure, they don't seem compelling enough to - justify the effort required to make sure it always works safely. - * Avoid potential deadlock during catalog cache initialization - (Nikhil Sontakke) - In some cases the cache loading code would acquire share lock on a - system index before locking the index's catalog. This could - deadlock against processes trying to acquire exclusive locks in the - other, more standard order. - * Fix dangling-pointer problem in BEFORE ROW UPDATE trigger handling - when there was a concurrent update to the target tuple (Tom Lane) - This bug has been observed to result in intermittent "cannot - extract system attribute from virtual tuple" failures while trying - to do UPDATE RETURNING ctid. There is a very small probability of - more serious errors, such as generating incorrect index entries for - the updated tuple. - * Disallow "DROP TABLE" when there are pending deferred trigger - events for the table (Tom Lane) - Formerly the "DROP" would go through, leading to "could not open - relation with OID nnn" errors when the triggers were eventually - fired. - * Fix PL/Python memory leak involving array slices (Daniel Popowich) - * Fix pg_restore to cope with long lines (over 1KB) in TOC files (Tom - Lane) - * Put in more safeguards against crashing due to division-by-zero - with overly enthusiastic compiler optimization (Aurelien Jarno) - * Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane) - There was a hard-wired assumption that this system function was not - available on MIPS hardware on these systems. Use a compile-time - test instead, since more recent versions have it. - * Fix compilation failures on HP-UX (Heikki Linnakangas) - * Fix version-incompatibility problem with libintl on Windows - (Hiroshi Inoue) - * Fix usage of xcopy in Windows build scripts to work correctly under - Windows 7 (Andrew Dunstan) - This affects the build scripts only, not installation or usage. - * Fix path separator used by pg_regress on Cygwin (Andrew Dunstan) - * Update time zone data files to tzdata release 2011f for DST law - changes in Chile, Cuba, Falkland Islands, Morocco, Samoa, and - Turkey; also historical corrections for South Australia, Alaska, - and Hawaii. - __________________________________________________________________ - - Release 8.3.14 - - Release Date: 2011-01-31 - - This release contains a variety of fixes from 8.3.13. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.14 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Avoid failures when "EXPLAIN" tries to display a simple-form CASE - expression (Tom Lane) - If the CASE's test expression was a constant, the planner could - simplify the CASE into a form that confused the expression-display - code, resulting in "unexpected CASE WHEN clause" errors. - * Fix assignment to an array slice that is before the existing range - of subscripts (Tom Lane) - If there was a gap between the newly added subscripts and the first - pre-existing subscript, the code miscalculated how many entries - needed to be copied from the old array's null bitmap, potentially - leading to data corruption or crash. - * Avoid unexpected conversion overflow in planner for very distant - date values (Tom Lane) - The date type supports a wider range of dates than can be - represented by the timestamp types, but the planner assumed it - could always convert a date to timestamp with impunity. - * Fix pg_restore's text output for large objects (BLOBs) when - standard_conforming_strings is on (Tom Lane) - Although restoring directly to a database worked correctly, string - escaping was incorrect if pg_restore was asked for SQL text output - and standard_conforming_strings had been enabled in the source - database. - * Fix erroneous parsing of tsquery values containing ... & - !(subexpression) | ... (Tom Lane) - Queries containing this combination of operators were not executed - correctly. The same error existed in "contrib/intarray"'s query_int - type and "contrib/ltree"'s ltxtquery type. - * Fix buffer overrun in "contrib/intarray"'s input function for the - query_int type (Apple) - This bug is a security risk since the function's return address - could be overwritten. Thanks to Apple Inc's security team for - reporting this issue and supplying the fix. (CVE-2010-4015) - * Fix bug in "contrib/seg"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a seg column. If you have - such an index, consider "REINDEX"ing it after installing this - update. (This is identical to the bug that was fixed in - "contrib/cube" in the previous update.) - __________________________________________________________________ - - Release 8.3.13 - - Release Date: 2010-12-16 - - This release contains a variety of fixes from 8.3.12. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.13 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Force the default wal_sync_method to be fdatasync on Linux (Tom - Lane, Marti Raudsepp) - The default on Linux has actually been fdatasync for many years, - but recent kernel changes caused PostgreSQL to choose open_datasync - instead. This choice did not result in any performance improvement, - and caused outright failures on certain filesystems, notably ext4 - with the data=journal mount option. - * Fix assorted bugs in WAL replay logic for GIN indexes (Tom Lane) - This could result in "bad buffer id: 0" failures or corruption of - index contents during replication. - * Fix recovery from base backup when the starting checkpoint WAL - record is not in the same WAL segment as its redo point (Jeff - Davis) - * Fix persistent slowdown of autovacuum workers when multiple workers - remain active for a long time (Tom Lane) - The effective vacuum_cost_limit for an autovacuum worker could drop - to nearly zero if it processed enough tables, causing it to run - extremely slowly. - * Add support for detecting register-stack overrun on IA64 (Tom Lane) - The IA64 architecture has two hardware stacks. Full prevention of - stack-overrun failures requires checking both. - * Add a check for stack overflow in copyObject() (Tom Lane) - Certain code paths could crash due to stack overflow given a - sufficiently complex query. - * Fix detection of page splits in temporary GiST indexes (Heikki - Linnakangas) - It is possible to have a "concurrent" page split in a temporary - index, if for example there is an open cursor scanning the index - when an insertion is done. GiST failed to detect this case and - hence could deliver wrong results when execution of the cursor - continued. - * Avoid memory leakage while "ANALYZE"'ing complex index expressions - (Tom Lane) - * Ensure an index that uses a whole-row Var still depends on its - table (Tom Lane) - An index declared like create index i on t (foo(t.*)) would not - automatically get dropped when its table was dropped. - * Do not "inline" a SQL function with multiple OUT parameters (Tom - Lane) - This avoids a possible crash due to loss of information about the - expected result rowtype. - * Behave correctly if ORDER BY, LIMIT, FOR UPDATE, or WITH is - attached to the VALUES part of INSERT ... VALUES (Tom Lane) - * Fix constant-folding of COALESCE() expressions (Tom Lane) - The planner would sometimes attempt to evaluate sub-expressions - that in fact could never be reached, possibly leading to unexpected - errors. - * Fix postmaster crash when connection acceptance (accept() or one of - the calls made immediately after it) fails, and the postmaster was - compiled with GSSAPI support (Alexander Chernikov) - * Fix missed unlink of temporary files when log_temp_files is active - (Tom Lane) - If an error occurred while attempting to emit the log message, the - unlink was not done, resulting in accumulation of temp files. - * Add print functionality for InhRelation nodes (Tom Lane) - This avoids a failure when debug_print_parse is enabled and certain - types of query are executed. - * Fix incorrect calculation of distance from a point to a horizontal - line segment (Tom Lane) - This bug affected several different geometric distance-measurement - operators. - * Fix PL/pgSQL's handling of "simple" expressions to not fail in - recursion or error-recovery cases (Tom Lane) - * Fix PL/Python's handling of set-returning functions (Jan Urbanski) - Attempts to call SPI functions within the iterator generating a set - result would fail. - * Fix bug in "contrib/cube"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a cube column. If you have - such an index, consider "REINDEX"ing it after installing this - update. - * Don't emit "identifier will be truncated" notices in - "contrib/dblink" except when creating new connections (Itagaki - Takahiro) - * Fix potential coredump on missing public key in "contrib/pgcrypto" - (Marti Raudsepp) - * Fix memory leak in "contrib/xml2"'s XPath query functions (Tom - Lane) - * Update time zone data files to tzdata release 2010o for DST law - changes in Fiji and Samoa; also historical corrections for Hong - Kong. - __________________________________________________________________ - - Release 8.3.12 - - Release Date: 2010-10-04 - - This release contains a variety of fixes from 8.3.11. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.12 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Treat exit code 128 (ERROR_WAIT_NO_CHILDREN) as non-fatal on - Windows (Magnus Hagander) - Under high load, Windows processes will sometimes fail at startup - with this error code. Formerly the postmaster treated this as a - panic condition and restarted the whole database, but that seems to - be an overreaction. - * Fix incorrect usage of non-strict OR joinclauses in Append - indexscans (Tom Lane) - This is a back-patch of an 8.4 fix that was missed in the 8.3 - branch. This corrects an error introduced in 8.3.8 that could cause - incorrect results for outer joins when the inner relation is an - inheritance tree or UNION ALL subquery. - * Fix possible duplicate scans of UNION ALL member relations (Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Fix failure to mark cached plans as transient (Tom Lane) - If a plan is prepared while "CREATE INDEX CONCURRENTLY" is in - progress for one of the referenced tables, it is supposed to be - re-planned once the index is ready for use. This was not happening - reliably. - * Reduce PANIC to ERROR in some occasionally-reported btree failure - cases, and provide additional detail in the resulting error - messages (Tom Lane) - This should improve the system's robustness with corrupted indexes. - * Prevent show_session_authorization() from crashing within - autovacuum processes (Tom Lane) - * Defend against functions returning setof record where not all the - returned rows are actually of the same rowtype (Tom Lane) - * Fix possible failure when hashing a pass-by-reference function - result (Tao Ma, Tom Lane) - * Improve merge join's handling of NULLs in the join columns (Tom - Lane) - A merge join can now stop entirely upon reaching the first NULL, if - the sort order is such that NULLs sort high. - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Avoid recursion while assigning XIDs to heavily-nested - subtransactions (Andres Freund, Robert Haas) - The original coding could result in a crash if there was limited - stack space. - * Avoid holding open old WAL segments in the walwriter process - (Magnus Hagander, Heikki Linnakangas) - The previous coding would prevent removal of no-longer-needed - segments. - * Fix log_line_prefix's %i escape, which could produce junk early in - backend startup (Tom Lane) - * Fix possible data corruption in "ALTER TABLE ... SET TABLESPACE" - when archiving is enabled (Jeff Davis) - * Allow "CREATE DATABASE" and "ALTER DATABASE ... SET TABLESPACE" to - be interrupted by query-cancel (Guillaume Lelarge) - * Fix "REASSIGN OWNED" to handle operator classes and families (Asko - Tiidumaa) - * Fix possible core dump when comparing two empty tsquery values (Tom - Lane) - * Fix LIKE's handling of patterns containing % followed by _ (Tom - Lane) - We've fixed this before, but there were still some - incorrectly-handled cases. - * In PL/Python, defend against null pointer results from - PyCObject_AsVoidPtr and PyCObject_FromVoidPtr (Peter Eisentraut) - * Make psql recognize "DISCARD ALL" as a command that should not be - encased in a transaction block in autocommit-off mode (Itagaki - Takahiro) - * Fix ecpg to process data from RETURNING clauses correctly (Michael - Meskes) - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Fix "contrib/dblink" to handle connection names longer than 62 - bytes correctly (Itagaki Takahiro) - * Add hstore(text, text) function to "contrib/hstore" (Robert Haas) - This function is the recommended substitute for the now-deprecated - => operator. It was back-patched so that future-proofed code can be - used with older server versions. Note that the patch will be - effective only after "contrib/hstore" is installed or reinstalled - in a particular database. Users might prefer to execute the "CREATE - FUNCTION" command by hand, instead. - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - * Update time zone data files to tzdata release 2010l for DST law - changes in Egypt and Palestine; also historical corrections for - Finland. - This change also adds new names for two Micronesian timezones: - Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred - abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred - over Pacific/Ponape. - * Make Windows' "N. Central Asia Standard Time" timezone map to - Asia/Novosibirsk, not Asia/Almaty (Magnus Hagander) - Microsoft changed the DST behavior of this zone in the timezone - update from KB976098. Asia/Novosibirsk is a better match to its new - behavior. - __________________________________________________________________ - - Release 8.3.11 - - Release Date: 2010-05-17 - - This release contains a variety of fixes from 8.3.10. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.11 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Fix possible crash if a cache reset message is received during - rebuild of a relcache entry (Heikki) - This error was introduced in 8.3.10 while fixing a related failure. - * Apply per-function GUC settings while running the language - validator for the function (Itagaki Takahiro) - This avoids failures if the function's code is invalid without the - setting; an example is that SQL functions may not parse if the - search_path is not correct. - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Ensure the archiver process responds to changes in archive_command - as soon as possible (Tom) - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Prevent infinite recursion in psql when expanding a variable that - refers to itself (Tom) - * Fix psql's \copy to not add spaces around a dot within \copy - (select ...) (Tom) - Addition of spaces around the decimal point in a numeric literal - would result in a syntax error. - * Fix unnecessary "GIN indexes do not support whole-index scans" - errors for unsatisfiable queries using "contrib/intarray" operators - (Tom) - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - * Avoid possible crashes in syslogger process on Windows (Heikki) - * Deal more robustly with incomplete time zone information in the - Windows registry (Magnus) - * Update the set of known Windows time zone names (Magnus) - * Update time zone data files to tzdata release 2010j for DST law - changes in Argentina, Australian Antarctic, Bangladesh, Mexico, - Morocco, Pakistan, Palestine, Russia, Syria, Tunisia; also - historical corrections for Taiwan. - Also, add PKST (Pakistan Summer Time) to the default set of - timezone abbreviations. - __________________________________________________________________ - - Release 8.3.10 - - Release Date: 2010-03-15 - - This release contains a variety of fixes from 8.3.9. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.10 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Fix possible deadlock during backend startup (Tom) - * Fix possible crashes due to not handling errors during relcache - reload cleanly (Tom) - * Fix possible crash due to use of dangling pointer to a cached plan - (Tatsuo) - * Fix possible crashes when trying to recover from a failure in - subtransaction start (Tom) - * Fix server memory leak associated with use of savepoints and a - client encoding different from server's encoding (Tom) - * Fix incorrect WAL data emitted during end-of-recovery cleanup of a - GIST index page split (Yoichi Hirai) - This would result in index corruption, or even more likely an error - during WAL replay, if we were unlucky enough to crash during - end-of-recovery cleanup after having completed an incomplete GIST - insertion. - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix integer-to-bit-string conversions to handle the first - fractional byte correctly when the output bit width is wider than - the given integer by something other than a multiple of 8 bits - (Tom) - * Fix some cases of pathologically slow regular expression matching - (Tom) - * Fix assorted crashes in xml processing caused by sloppy memory - management (Tom) - This is a back-patch of changes first applied in 8.4. The 8.3 code - was known buggy, but the new code was sufficiently different to not - want to back-patch it until it had gotten some field testing. - * Fix bug with trying to update a field of an element of a - composite-type array column (Tom) - * Fix the STOP WAL LOCATION entry in backup history files to report - the next WAL segment's name when the end location is exactly at a - segment boundary (Itagaki Takahiro) - * Fix some more cases of temporary-file leakage (Heikki) - This corrects a problem introduced in the previous minor release. - One case that failed is when a plpgsql function returning set is - called within another function's exception handler. - * Improve constraint exclusion processing of boolean-variable cases, - in particular make it possible to exclude a partition that has a - "bool_column = false" constraint (Tom) - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Fix possible infinite loop if SSL_read or SSL_write fails without - setting errno (Tom) - This is reportedly possible with some Windows versions of openssl. - * Disallow GSSAPI authentication on local connections, since it - requires a hostname to function correctly (Magnus) - * Make ecpg report the proper SQLSTATE if the connection disappears - (Michael) - * Fix psql's numericlocale option to not format strings it shouldn't - in latex and troff output formats (Heikki) - * Make psql return the correct exit status (3) when ON_ERROR_STOP and - --single-transaction are both specified and an error occurs during - the implied "COMMIT" (Bruce) - * Fix plpgsql failure in one case where a composite column is set to - NULL (Tom) - * Fix possible failure when calling PL/Perl functions from PL/PerlU - or vice versa (Tim Bunce) - * Add volatile markings in PL/Python to avoid possible - compiler-specific misbehavior (Zdenek Kotala) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - * Allow zero-dimensional arrays in "contrib/ltree" operations (Tom) - This case was formerly rejected as an error, but it's more - convenient to treat it the same as a zero-element array. In - particular this avoids unnecessary failures when an ltree operation - is applied to the result of ARRAY(SELECT ...) and the sub-select - returns no rows. - * Fix assorted crashes in "contrib/xml2" caused by sloppy memory - management (Tom) - * Make building of "contrib/xml2" more robust on Windows (Andrew) - * Fix race condition in Windows signal handling (Radu Ilie) - One known symptom of this bug is that rows in pg_listener could be - dropped under heavy load. - * Update time zone data files to tzdata release 2010e for DST law - changes in Bangladesh, Chile, Fiji, Mexico, Paraguay, Samoa. - __________________________________________________________________ - - Release 8.3.9 - - Release Date: 2009-12-14 - - This release contains a variety of fixes from 8.3.8. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.9 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.8, see the release notes - for 8.3.8. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Avoid crash on empty thesaurus dictionary (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is canceled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Ensure that shared tuple-level locks held by prepared transactions - are not ignored (Heikki) - * Fix premature drop of temporary files used for a cursor that is - accessed within a subtransaction (Heikki) - * Fix memory leak in syslogger process when rotating to a new CSV - logfile (Tom) - * Fix Windows permission-downgrade logic (Jesse Morris) - This fixes some cases where the database failed to start on - Windows, often with misleading error messages such as "could not - locate matching postgres executable". - * Fix incorrect logic for GiST index page splits, when the split - depends on a non-first column of the index (Paul Ramsey) - * Don't error out if recycling or removing an old WAL file fails at - the end of checkpoint (Heikki) - It's better to treat the problem as non-fatal and allow the - checkpoint to complete. Future checkpoints will retry the removal. - Such problems are not expected in normal operation, but have been - seen to be caused by misdesigned Windows anti-virus and backup - software. - * Ensure WAL files aren't repeatedly archived on Windows (Heikki) - This is another symptom that could happen if some other process - interfered with deletion of a no-longer-needed file. - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Raise the maximum authentication token (Kerberos ticket) size in - GSSAPI and SSPI authentication methods (Ian Turner) - While the old 2000-byte limit was more than enough for Unix - Kerberos implementations, tickets issued by Windows Domain - Controllers can be much larger. - * Re-enable collection of access statistics for sequences (Akira - Kurosawa) - This used to work but was broken in 8.3. - * Fix processing of ownership dependencies during CREATE OR REPLACE - FUNCTION (Tom) - * Fix incorrect handling of WHERE "x"="x" conditions (Tom) - In some cases these could get ignored as redundant, but they aren't - -- they're equivalent to "x" IS NOT NULL. - * Make text search parser accept underscores in XML attributes - (Peter) - * Fix encoding handling in xml binary input (Heikki) - If the XML header doesn't specify an encoding, we now assume UTF-8 - by default; the previous handling was inconsistent. - * Fix bug with calling plperl from plperlu or vice versa (Tom) - An error exit from the inner function could result in crashes due - to failure to re-select the correct Perl interpreter for the outer - function. - * Fix session-lifespan memory leak when a PL/Perl function is - redefined (Tom) - * Ensure that Perl arrays are properly converted to PostgreSQL arrays - when returned by a set-returning PL/Perl function (Andrew Dunstan, - Abhijit Menon-Sen) - This worked correctly already for non-set-returning functions. - * Fix rare crash in exception processing in PL/Python (Peter) - * In "contrib/pg_standby", disable triggering failover with a signal - on Windows (Fujii Masao) - This never did anything useful, because Windows doesn't have - Unix-style signals, but recent changes made it actually crash. - * Ensure psql's flex module is compiled with the correct system - header definitions (Tom) - This fixes build failures on platforms where --enable-largefile - causes incompatible changes in the generated code. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - * Update the timezone abbreviation files to match current reality - (Joachim Wieland) - This includes adding IDT and SGT to the default timezone - abbreviation set. - * Update time zone data files to tzdata release 2009s for DST law - changes in Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, - Pakistan, Palestine, Samoa, Syria; also historical corrections for - Hong Kong. - __________________________________________________________________ - - Release 8.3.8 - - Release Date: 2009-09-09 - - This release contains a variety of fixes from 8.3.7. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.8 - - A dump/restore is not required for those running 8.3.X. However, if you - have any hash indexes on interval columns, you must "REINDEX" them - after updating to 8.3.8. Also, if you are upgrading from a version - earlier than 8.3.5, see the release notes for 8.3.5. - __________________________________________________________________ - -Changes - - * Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus) - This bug led to the often-reported "could not reattach to shared - memory" error message. - * Force WAL segment switch during pg_start_backup() (Heikki) - This avoids corner cases that could render a base backup unusable. - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Make "LOAD" of an already-loaded loadable module into a no-op (Tom) - Formerly, "LOAD" would attempt to unload and re-load the module, - but this is unsafe and not all that useful. - * Disallow empty passwords during LDAP authentication (Magnus) - * Fix handling of sub-SELECTs appearing in the arguments of an - outer-level aggregate function (Tom) - * Fix bugs associated with fetching a whole-row value from the output - of a Sort or Materialize plan node (Tom) - * Prevent synchronize_seqscans from changing the results of - scrollable and WITH HOLD cursors (Tom) - * Revert planner change that disabled partial-index and constraint - exclusion optimizations when there were more than 100 clauses in an - AND or OR list (Tom) - * Fix hash calculation for data type interval (Tom) - This corrects wrong results for hash joins on interval values. It - also changes the contents of hash indexes on interval columns. If - you have any such indexes, you must "REINDEX" them after updating. - * Treat to_char(..., 'TH') as an uppercase ordinal suffix with - 'HH'/'HH12' (Heikki) - It was previously handled as 'th' (lowercase). - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Fix calculation of distance between a point and a line segment - (Tom) - This led to incorrect results from a number of geometric operators. - * Fix money data type to work in locales where currency amounts have - no fractional digits, e.g. Japan (Itagaki Takahiro) - * Fix LIKE for case where pattern contains %_ (Tom) - * Properly round datetime input like - 00:12:57.9999999999999999999999999999 (Tom) - * Fix memory leaks in XML operations (Tom) - * Fix poor choice of page split point in GiST R-tree operator classes - (Teodor) - * Ensure that a "fast shutdown" request will forcibly terminate open - sessions, even if a "smart shutdown" was already in progress (Fujii - Masao) - * Avoid performance degradation in bulk inserts into GIN indexes when - the input values are (nearly) in sorted order (Tom) - * Correctly enforce NOT NULL domain constraints in some contexts in - PL/pgSQL (Tom) - * Fix portability issues in plperl initialization (Andrew Dunstan) - * Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is - empty (Jeff Davis) - * Improve pg_dump's efficiency when there are many large objects - (Tamas Vincze) - * Use SIGUSR1, not SIGQUIT, as the failover signal for pg_standby - (Heikki) - * Make pg_standby's maxretries option behave as documented (Fujii - Masao) - * Make "contrib/hstore" throw an error when a key or value is too - long to fit in its data structure, rather than silently truncating - it (Andrew Gierth) - * Fix "contrib/xml2"'s xslt_process() to properly handle the maximum - number of parameters (twenty) (Tom) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - * Update time zone data files to tzdata release 2009l for DST law - changes in Bangladesh, Egypt, Jordan, Pakistan, Argentina/San_Luis, - Cuba, Jordan (historical correction only), Mauritius, Morocco, - Palestine, Syria, Tunisia. - __________________________________________________________________ - - Release 8.3.7 - - Release Date: 2009-03-16 - - This release contains a variety of fixes from 8.3.6. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.7 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.5, see the release notes - for 8.3.5. - __________________________________________________________________ - -Changes - - * Prevent error recursion crashes when encoding conversion fails - (Tom) - This change extends fixes made in the last two minor releases for - related failure scenarios. The previous fixes were narrowly - tailored for the original problem reports, but we have now - recognized that *any* error thrown by an encoding conversion - function could potentially lead to infinite recursion while trying - to report the error. The solution therefore is to disable - translation and encoding conversion and report the plain-ASCII form - of any error message, if we find we have gotten into a recursive - error reporting situation. (CVE-2009-0922) - * Disallow "CREATE CONVERSION" with the wrong encodings for the - specified conversion function (Heikki) - This prevents one possible scenario for encoding conversion - failure. The previous change is a backstop to guard against other - kinds of failures in the same area. - * Fix xpath() to not modify the path expression unless necessary, and - to make a saner attempt at it when necessary (Andrew) - The SQL standard suggests that xpath should work on data that is a - document fragment, but libxml doesn't support that, and indeed it's - not clear that this is sensible according to the XPath standard. - xpath attempted to work around this mismatch by modifying both the - data and the path expression, but the modification was buggy and - could cause valid searches to fail. Now, xpath checks whether the - data is in fact a well-formed document, and if so invokes libxml - with no change to the data or path expression. Otherwise, a - different modification method that is somewhat less likely to fail - is used. - - Note: The new modification method is still not 100% satisfactory, - and it seems likely that no real solution is possible. This patch - should therefore be viewed as a band-aid to keep from breaking - existing applications unnecessarily. It is likely that PostgreSQL - 8.4 will simply reject use of xpath on data that is not a - well-formed document. - * Fix core dump when to_char() is given format codes that are - inappropriate for the type of the data argument (Tom) - * Fix possible failure in text search when C locale is used with a - multi-byte encoding (Teodor) - Crashes were possible on platforms where wchar_t is narrower than - int; Windows in particular. - * Fix extreme inefficiency in text search parser's handling of an - email-like string containing multiple @ characters (Heikki) - * Fix planner problem with sub-"SELECT" in the output list of a - larger subquery (Tom) - The known symptom of this bug is a "failed to locate grouping - columns" error that is dependent on the datatype involved; but - there could be other issues as well. - * Fix decompilation of CASE WHEN with an implicit coercion (Tom) - This mistake could lead to Assert failures in an Assert-enabled - build, or an "unexpected CASE WHEN clause" error message in other - cases, when trying to examine or dump a view. - * Fix possible misassignment of the owner of a TOAST table's rowtype - (Tom) - If "CLUSTER" or a rewriting variant of "ALTER TABLE" were executed - by someone other than the table owner, the pg_type entry for the - table's TOAST table would end up marked as owned by that someone. - This caused no immediate problems, since the permissions on the - TOAST rowtype aren't examined by any ordinary database operation. - However, it could lead to unexpected failures if one later tried to - drop the role that issued the command (in 8.1 or 8.2), or "owner of - data type appears to be invalid" warnings from pg_dump after having - done so (in 8.3). - * Change "UNLISTEN" to exit quickly if the current session has never - executed any "LISTEN" command (Tom) - Most of the time this is not a particularly useful optimization, - but since "DISCARD ALL" invokes "UNLISTEN", the previous coding - caused a substantial performance problem for applications that made - heavy use of "DISCARD ALL". - * Fix PL/pgSQL to not treat INTO after "INSERT" as an INTO-variables - clause anywhere in the string, not only at the start; in - particular, don't fail for "INSERT INTO" within "CREATE RULE" (Tom) - * Clean up PL/pgSQL error status variables fully at block exit - (Ashesh Vashi and Dave Page) - This is not a problem for PL/pgSQL itself, but the omission could - cause the PL/pgSQL Debugger to crash while examining the state of a - function. - * Retry failed calls to CallNamedPipe() on Windows (Steve Marshall, - Magnus) - It appears that this function can sometimes fail transiently; we - previously treated any failure as a hard error, which could confuse - "LISTEN"/"NOTIFY" as well as other operations. - * Add MUST (Mauritius Island Summer Time) to the default list of - known timezone abbreviations (Xavier Bugaud) - __________________________________________________________________ - - Release 8.3.6 - - Release Date: 2009-02-02 - - This release contains a variety of fixes from 8.3.5. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.6 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.5, see the release notes - for 8.3.5. - __________________________________________________________________ - -Changes - - * Make "DISCARD ALL" release advisory locks, in addition to - everything it already did (Tom) - This was decided to be the most appropriate behavior. This could - affect existing applications, however. - * Fix whole-index GiST scans to work correctly (Teodor) - This error could cause rows to be lost if a table is clustered on a - GiST index. - * Fix crash of xmlconcat(NULL) (Peter) - * Fix possible crash in ispell dictionary if high-bit-set characters - are used as flags (Teodor) - This is known to be done by one widely available Norwegian - dictionary, and the same condition may exist in others. - * Fix misordering of pg_dump output for composite types (Tom) - The most likely problem was for user-defined operator classes to be - dumped after indexes or views that needed them. - * Improve handling of URLs in headline() function (Teodor) - * Improve handling of overlength headlines in headline() function - (Teodor) - * Prevent possible Assert failure or misconversion if an encoding - conversion is created with the wrong conversion function for the - specified pair of encodings (Tom, Heikki) - * Fix possible Assert failure if a statement executed in PL/pgSQL is - rewritten into another kind of statement, for example if an - "INSERT" is rewritten into an "UPDATE" (Heikki) - * Ensure that a snapshot is available to datatype input functions - (Tom) - This primarily affects domains that are declared with CHECK - constraints involving user-defined stable or immutable functions. - Such functions typically fail if no snapshot has been set. - * Make it safer for SPI-using functions to be used within datatype - I/O; in particular, to be used in domain check constraints (Tom) - * Avoid unnecessary locking of small tables in "VACUUM" (Heikki) - * Fix a problem that sometimes kept "ALTER TABLE ENABLE/DISABLE RULE" - from being recognized by active sessions (Tom) - * Fix a problem that made UPDATE RETURNING tableoid return zero - instead of the correct OID (Tom) - * Allow functions declared as taking ANYARRAY to work on the - pg_statistic columns of that type (Tom) - This used to work, but was unintentionally broken in 8.3. - * Fix planner misestimation of selectivity when transitive equality - is applied to an outer-join clause (Tom) - This could result in bad plans for queries like ... from a left - join b on a.a1 = b.b1 where a.a1 = 42 ... - * Improve optimizer's handling of long IN lists (Tom) - This change avoids wasting large amounts of time on such lists when - constraint exclusion is enabled. - * Prevent synchronous scan during GIN index build (Tom) - Because GIN is optimized for inserting tuples in increasing TID - order, choosing to use a synchronous scan could slow the build by a - factor of three or more. - * Ensure that the contents of a holdable cursor don't depend on the - contents of TOAST tables (Tom) - Previously, large field values in a cursor result might be - represented as TOAST pointers, which would fail if the referenced - table got dropped before the cursor is read, or if the large value - is deleted and then vacuumed away. This cannot happen with an - ordinary cursor, but it could with a cursor that is held past its - creating transaction. - * Fix memory leak when a set-returning function is terminated without - reading its whole result (Tom) - * Fix encoding conversion problems in XML functions when the database - encoding isn't UTF-8 (Tom) - * Fix "contrib/dblink"'s dblink_get_result(text,bool) function (Joe) - * Fix possible garbage output from "contrib/sslinfo" functions (Tom) - * Fix incorrect behavior of "contrib/tsearch2" compatibility trigger - when it's fired more than once in a command (Teodor) - * Fix possible mis-signaling in autovacuum (Heikki) - * Support running as a service on Windows 7 beta (Dave and Magnus) - * Fix ecpg's handling of varchar structs (Michael) - * Fix configure script to properly report failure when unable to - obtain linkage information for PL/Perl (Andrew) - * Make all documentation reference pgsql-bugs and/or pgsql-hackers as - appropriate, instead of the now-decommissioned pgsql-ports and - pgsql-patches mailing lists (Tom) - * Update time zone data files to tzdata release 2009a (for Kathmandu - and historical DST corrections in Switzerland, Cuba) - __________________________________________________________________ - - Release 8.3.5 - - Release Date: 2008-11-03 - - This release contains a variety of fixes from 8.3.4. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.5 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.1, see the release notes - for 8.3.1. Also, if you were running a previous 8.3.X release, it is - recommended to "REINDEX" all GiST indexes after the upgrade. - __________________________________________________________________ - -Changes - - * Fix GiST index corruption due to marking the wrong index entry - "dead" after a deletion (Teodor) - This would result in index searches failing to find rows they - should have found. Corrupted indexes can be fixed with "REINDEX". - * Fix backend crash when the client encoding cannot represent a - localized error message (Tom) - We have addressed similar issues before, but it would still fail if - the "character has no equivalent" message itself couldn't be - converted. The fix is to disable localization and send the plain - ASCII error message when we detect such a situation. - * Fix possible crash in bytea-to-XML mapping (Michael McMaster) - * Fix possible crash when deeply nested functions are invoked from a - trigger (Tom) - * Improve optimization of "expression" IN ("expression-list") queries - (Tom, per an idea from Robert Haas) - Cases in which there are query variables on the right-hand side had - been handled less efficiently in 8.2.x and 8.3.x than in prior - versions. The fix restores 8.1 behavior for such cases. - * Fix mis-expansion of rule queries when a sub-SELECT appears in a - function call in FROM, a multi-row VALUES list, or a RETURNING list - (Tom) - The usual symptom of this problem is an "unrecognized node type" - error. - * Fix Assert failure during rescan of an IS NULL search of a GiST - index (Teodor) - * Fix memory leak during rescan of a hashed aggregation plan (Neil) - * Ensure an error is reported when a newly-defined PL/pgSQL trigger - function is invoked as a normal function (Tom) - * Force a checkpoint before "CREATE DATABASE" starts to copy files - (Heikki) - This prevents a possible failure if files had recently been deleted - in the source database. - * Prevent possible collision of relfilenode numbers when moving a - table to another tablespace with "ALTER SET TABLESPACE" (Heikki) - The command tried to re-use the existing filename, instead of - picking one that is known unused in the destination directory. - * Fix incorrect text search headline generation when single query - item matches first word of text (Sushant Sinha) - * Fix improper display of fractional seconds in interval values when - using a non-ISO datestyle in an "--enable-integer-datetimes" build - (Ron Mayer) - * Make ILIKE compare characters case-insensitively even when they're - escaped (Andrew) - * Ensure "DISCARD" is handled properly by statement logging (Tom) - * Fix incorrect logging of last-completed-transaction time during - PITR recovery (Tom) - * Ensure SPI_getvalue and SPI_getbinval behave correctly when the - passed tuple and tuple descriptor have different numbers of columns - (Tom) - This situation is normal when a table has had columns added or - removed, but these two functions didn't handle it properly. The - only likely consequence is an incorrect error indication. - * Mark SessionReplicationRole as PGDLLIMPORT so it can be used by - Slony on Windows (Magnus) - * Fix small memory leak when using libpq's gsslib parameter (Magnus) - The space used by the parameter string was not freed at connection - close. - * Ensure libgssapi is linked into libpq if needed (Markus Schaaf) - * Fix ecpg's parsing of "CREATE ROLE" (Michael) - * Fix recent breakage of pg_ctl restart (Tom) - * Ensure "pg_control" is opened in binary mode (Itagaki Takahiro) - pg_controldata and pg_resetxlog did this incorrectly, and so could - fail on Windows. - * Update time zone data files to tzdata release 2008i (for DST law - changes in Argentina, Brazil, Mauritius, Syria) - __________________________________________________________________ - - Release 8.3.4 - - Release Date: 2008-09-22 - - This release contains a variety of fixes from 8.3.3. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.4 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.1, see the release notes - for 8.3.1. - __________________________________________________________________ - -Changes - - * Fix bug in btree WAL recovery code (Heikki) - Recovery failed if the WAL ended partway through a page split - operation. - * Fix potential use of wrong cutoff XID for HOT page pruning (Alvaro) - This error created a risk of corruption in system catalogs that are - consulted by "VACUUM": dead tuple versions might be removed too - soon. The impact of this on actual database operations would be - minimal, since the system doesn't follow MVCC rules while examining - catalogs, but it might result in transiently wrong output from - pg_dump or other client programs. - * Fix potential miscalculation of datfrozenxid (Alvaro) - This error may explain some recent reports of failure to remove old - pg_clog data. - * Fix incorrect HOT updates after pg_class is reindexed (Tom) - Corruption of pg_class could occur if REINDEX TABLE pg_class was - followed in the same session by an ALTER TABLE RENAME or ALTER - TABLE SET SCHEMA command. - * Fix missed "combo cid" case (Karl Schnaitter) - This error made rows incorrectly invisible to a transaction in - which they had been deleted by multiple subtransactions that all - aborted. - * Prevent autovacuum from crashing if the table it's currently - checking is deleted at just the wrong time (Alvaro) - * Widen local lock counters from 32 to 64 bits (Tom) - This responds to reports that the counters could overflow in - sufficiently long transactions, leading to unexpected "lock is - already held" errors. - * Fix possible duplicate output of tuples during a GiST index scan - (Teodor) - * Regenerate foreign key checking queries from scratch when either - table is modified (Tom) - Previously, 8.3 would attempt to replan the query, but would work - from previously generated query text. This led to failures if a - table or column was renamed. - * Fix missed permissions checks when a view contains a simple UNION - ALL construct (Heikki) - Permissions for the referenced tables were checked properly, but - not permissions for the view itself. - * Add checks in executor startup to ensure that the tuples produced - by an "INSERT" or "UPDATE" will match the target table's current - rowtype (Tom) - This situation is believed to be impossible in 8.3, but it can - happen in prior releases, so a check seems prudent. - * Fix possible repeated drops during "DROP OWNED" (Tom) - This would typically result in strange errors such as "cache lookup - failed for relation NNN". - * Fix several memory leaks in XML operations (Kris Jurka, Tom) - * Fix xmlserialize() to raise error properly for unacceptable target - data type (Tom) - * Fix a couple of places that mis-handled multibyte characters in - text search configuration file parsing (Tom) - Certain characters occurring in configuration files would always - cause "invalid byte sequence for encoding" failures. - * Provide file name and line number location for all errors reported - in text search configuration files (Tom) - * Fix AT TIME ZONE to first try to interpret its timezone argument as - a timezone abbreviation, and only try it as a full timezone name if - that fails, rather than the other way around as formerly (Tom) - The timestamp input functions have always resolved ambiguous zone - names in this order. Making AT TIME ZONE do so as well improves - consistency, and fixes a compatibility bug introduced in 8.1: in - ambiguous cases we now behave the same as 8.0 and before did, since - in the older versions AT TIME ZONE accepted *only* abbreviations. - * Fix datetime input functions to correctly detect integer overflow - when running on a 64-bit platform (Tom) - * Prevent integer overflows during units conversion when displaying a - configuration parameter that has units (Tom) - * Improve performance of writing very long log messages to syslog - (Tom) - * Allow spaces in the suffix part of an LDAP URL in "pg_hba.conf" - (Tom) - * Fix bug in backwards scanning of a cursor on a SELECT DISTINCT ON - query (Tom) - * Fix planner bug that could improperly push down IS NULL tests below - an outer join (Tom) - This was triggered by occurrence of IS NULL tests for the same - relation in all arms of an upper OR clause. - * Fix planner bug with nested sub-select expressions (Tom) - If the outer sub-select has no direct dependency on the parent - query, but the inner one does, the outer value might not get - recalculated for new parent query rows. - * Fix planner to estimate that GROUP BY expressions yielding boolean - results always result in two groups, regardless of the expressions' - contents (Tom) - This is very substantially more accurate than the regular GROUP BY - estimate for certain boolean tests like "col" IS NULL. - * Fix PL/pgSQL to not fail when a FOR loop's target variable is a - record containing composite-type fields (Tom) - * Fix PL/Tcl to behave correctly with Tcl 8.5, and to be more careful - about the encoding of data sent to or from Tcl (Tom) - * Improve performance of PQescapeBytea() (Rudolf Leitgeb) - * On Windows, work around a Microsoft bug by preventing libpq from - trying to send more than 64kB per system call (Magnus) - * Fix ecpg to handle variables properly in "SET" commands (Michael) - * Improve pg_dump and pg_restore's error reporting after failure to - send a SQL command (Tom) - * Fix pg_ctl to properly preserve postmaster command-line arguments - across a restart (Bruce) - * Fix erroneous WAL file cutoff point calculation in pg_standby - (Simon) - * Update time zone data files to tzdata release 2008f (for DST law - changes in Argentina, Bahamas, Brazil, Mauritius, Morocco, - Pakistan, Palestine, and Paraguay) - __________________________________________________________________ - - Release 8.3.3 - - Release Date: 2008-06-12 - - This release contains one serious and one minor bug fix over 8.3.2. For - information about new features in the 8.3 major release, see the - Section called Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.3 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.1, see the release notes - for 8.3.1. - __________________________________________________________________ - -Changes - - * Make pg_get_ruledef() parenthesize negative constants (Tom) - Before this fix, a negative constant in a view or rule might be - dumped as, say, -42::integer, which is subtly incorrect: it should - be (-42)::integer due to operator precedence rules. Usually this - would make little difference, but it could interact with another - recent patch to cause PostgreSQL to reject what had been a valid - "SELECT DISTINCT" view query. Since this could result in pg_dump - output failing to reload, it is being treated as a high-priority - fix. The only released versions in which dump output is actually - incorrect are 8.3.1 and 8.2.7. - * Make "ALTER AGGREGATE ... OWNER TO" update pg_shdepend (Tom) - This oversight could lead to problems if the aggregate was later - involved in a "DROP OWNED" or "REASSIGN OWNED" operation. - __________________________________________________________________ - - Release 8.3.2 - - Release Date: never released - - This release contains a variety of fixes from 8.3.1. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.2 - - A dump/restore is not required for those running 8.3.X. However, if you - are upgrading from a version earlier than 8.3.1, see the release notes - for 8.3.1. - __________________________________________________________________ - -Changes - - * Fix ERRORDATA_STACK_SIZE exceeded crash that occurred on Windows - when using UTF-8 database encoding and a different client encoding - (Tom) - * Fix incorrect archive truncation point calculation for the %r macro - in recovery_command parameters (Simon) - This could lead to data loss if a warm-standby script relied on %r - to decide when to throw away WAL segment files. - * Fix "ALTER TABLE ADD COLUMN ... PRIMARY KEY" so that the new column - is correctly checked to see if it's been initialized to all - non-nulls (Brendan Jurd) - Previous versions neglected to check this requirement at all. - * Fix "REASSIGN OWNED" so that it works on procedural languages too - (Alvaro) - * Fix problems with "SELECT FOR UPDATE/SHARE" occurring as a subquery - in a query with a non-"SELECT" top-level operation (Tom) - * Fix possible "CREATE TABLE" failure when inheriting the "same" - constraint from multiple parent relations that inherited that - constraint from a common ancestor (Tom) - * Fix pg_get_ruledef() to show the alias, if any, attached to the - target table of an "UPDATE" or "DELETE" (Tom) - * Restore the pre-8.3 behavior that an out-of-range block number in a - TID being used in a TidScan plan results in silently not matching - any rows (Tom) - 8.3.0 and 8.3.1 threw an error instead. - * Fix GIN bug that could result in a too many LWLocks taken failure - (Teodor) - * Fix broken GiST comparison function for tsquery (Teodor) - * Fix tsvector_update_trigger() and ts_stat() to accept domains over - the types they expect to work with (Tom) - * Fix failure to support enum data types as foreign keys (Tom) - * Avoid possible crash when decompressing corrupted data (Zdenek - Kotala) - * Fix race conditions between delayed unlinks and "DROP DATABASE" - (Heikki) - In the worst case this could result in deleting a newly created - table in a new database that happened to get the same OID as the - recently-dropped one; but of course that is an extremely - low-probability scenario. - * Repair two places where SIGTERM exit of a backend could leave - corrupted state in shared memory (Tom) - Neither case is very important if SIGTERM is used to shut down the - whole database cluster together, but there was a problem if someone - tried to SIGTERM individual backends. - * Fix possible crash due to incorrect plan generated for an x IN - (SELECT y FROM ...) clause when "x" and "y" have different data - types; and make sure the behavior is semantically correct when the - conversion from "y"'s type to "x"'s type is lossy (Tom) - * Fix oversight that prevented the planner from substituting known - Param values as if they were constants (Tom) - This mistake partially disabled optimization of unnamed - extended-Query statements in 8.3.0 and 8.3.1: in particular the - LIKE-to-indexscan optimization would never be applied if the LIKE - pattern was passed as a parameter, and constraint exclusion - depending on a parameter value didn't work either. - * Fix planner failure when an indexable MIN or MAX aggregate is used - with DISTINCT or ORDER BY (Tom) - * Fix planner to ensure it never uses a "physical tlist" for a plan - node that is feeding a Sort node (Tom) - This led to the sort having to push around more data than it really - needed to, since unused column values were included in the sorted - data. - * Avoid unnecessary copying of query strings (Tom) - This fixes a performance problem introduced in 8.3.0 when a very - large number of commands are submitted as a single query string. - * Make TransactionIdIsCurrentTransactionId() use binary search - instead of linear search when checking child-transaction XIDs - (Heikki) - This fixes some cases in which 8.3.0 was significantly slower than - earlier releases. - * Fix conversions between ISO-8859-5 and other encodings to handle - Cyrillic "Yo" characters (e and E with two dots) (Sergey Burladyan) - * Fix several datatype input functions, notably array_in(), that were - allowing unused bytes in their results to contain uninitialized, - unpredictable values (Tom) - This could lead to failures in which two apparently identical - literal values were not seen as equal, resulting in the parser - complaining about unmatched ORDER BY and DISTINCT expressions. - * Fix a corner case in regular-expression substring matching - (substring(string from pattern)) (Tom) - The problem occurs when there is a match to the pattern overall but - the user has specified a parenthesized subexpression and that - subexpression hasn't got a match. An example is substring('foo' - from 'foo(bar)?'). This should return NULL, since (bar) isn't - matched, but it was mistakenly returning the whole-pattern match - instead (ie, foo). - * Prevent cancellation of an auto-vacuum that was launched to prevent - XID wraparound (Alvaro) - * Improve "ANALYZE"'s handling of in-doubt tuples (those inserted or - deleted by a not-yet-committed transaction) so that the counts it - reports to the stats collector are more likely to be correct (Pavan - Deolasee) - * Fix initdb to reject a relative path for its --xlogdir (-X) option - (Tom) - * Make psql print tab characters as an appropriate number of spaces, - rather than \x09 as was done in 8.3.0 and 8.3.1 (Bruce) - * Update time zone data files to tzdata release 2008c (for DST law - changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, and - Argentina/San_Luis) - * Add ECPGget_PGconn() function to ecpglib (Michael) - * Fix incorrect result from ecpg's PGTYPEStimestamp_sub() function - (Michael) - * Fix handling of continuation line markers in ecpg (Michael) - * Fix possible crashes in "contrib/cube" functions (Tom) - * Fix core dump in "contrib/xml2"'s xpath_table() function when the - input query returns a NULL value (Tom) - * Fix "contrib/xml2"'s makefile to not override CFLAGS, and make it - auto-configure properly for libxslt present or not (Tom) - __________________________________________________________________ - - Release 8.3.1 - - Release Date: 2008-03-17 - - This release contains a variety of fixes from 8.3.0. For information - about new features in the 8.3 major release, see the Section called - Release 8.3. - __________________________________________________________________ - -Migration to Version 8.3.1 - - A dump/restore is not required for those running 8.3.X. However, you - might need to "REINDEX" indexes on textual columns after updating, if - you are affected by the Windows locale issue described below. - __________________________________________________________________ - -Changes - - * Fix character string comparison for Windows locales that consider - different character combinations as equal (Tom) - This fix applies only on Windows and only when using UTF-8 database - encoding. The same fix was made for all other cases over two years - ago, but Windows with UTF-8 uses a separate code path that was not - updated. If you are using a locale that considers some - non-identical strings as equal, you may need to "REINDEX" to fix - existing indexes on textual columns. - * Repair corner-case bugs in "VACUUM FULL" (Tom) - A potential deadlock between concurrent "VACUUM FULL" operations on - different system catalogs was introduced in 8.2. This has now been - corrected. 8.3 made this worse because the deadlock could occur - within a critical code section, making it a PANIC rather than just - ERROR condition. - Also, a "VACUUM FULL" that failed partway through vacuuming a - system catalog could result in cache corruption in concurrent - database sessions. - Another "VACUUM FULL" bug introduced in 8.3 could result in a crash - or out-of-memory report when dealing with pages containing no live - tuples. - * Fix misbehavior of foreign key checks involving character or bit - columns (Tom) - If the referencing column were of a different but compatible type - (for instance varchar), the constraint was enforced incorrectly. - * Avoid needless deadlock failures in no-op foreign-key checks - (Stephan Szabo, Tom) - * Fix possible core dump when re-planning a prepared query (Tom) - This bug affected only protocol-level prepare operations, not SQL - "PREPARE", and so tended to be seen only with JDBC, DBI, and other - client-side drivers that use prepared statements heavily. - * Fix possible failure when re-planning a query that calls an - SPI-using function (Tom) - * Fix failure in row-wise comparisons involving columns of different - datatypes (Tom) - * Fix longstanding "LISTEN"/"NOTIFY" race condition (Tom) - In rare cases a session that had just executed a "LISTEN" might not - get a notification, even though one would be expected because the - concurrent transaction executing "NOTIFY" was observed to commit - later. - A side effect of the fix is that a transaction that has executed a - not-yet-committed "LISTEN" command will not see any row in - pg_listener for the "LISTEN", should it choose to look; formerly it - would have. This behavior was never documented one way or the - other, but it is possible that some applications depend on the old - behavior. - * Disallow "LISTEN" and "UNLISTEN" within a prepared transaction - (Tom) - This was formerly allowed but trying to do it had various - unpleasant consequences, notably that the originating backend could - not exit as long as an "UNLISTEN" remained uncommitted. - * Disallow dropping a temporary table within a prepared transaction - (Heikki) - This was correctly disallowed by 8.1, but the check was - inadvertently broken in 8.2 and 8.3. - * Fix rare crash when an error occurs during a query using a hash - index (Heikki) - * Fix incorrect comparison of tsquery values (Teodor) - * Fix incorrect behavior of LIKE with non-ASCII characters in - single-byte encodings (Rolf Jentsch) - * Disable xmlvalidate (Tom) - This function should have been removed before 8.3 release, but was - inadvertently left in the source code. It poses a small security - risk since unprivileged users could use it to read the first few - characters of any file accessible to the server. - * Fix memory leaks in certain usages of set-returning functions - (Neil) - * Make encode(bytea, 'escape') convert all high-bit-set byte values - into \"nnn" octal escape sequences (Tom) - This is necessary to avoid encoding problems when the database - encoding is multi-byte. This change could pose compatibility issues - for applications that are expecting specific results from encode. - * Fix input of datetime values for February 29 in years BC (Tom) - The former coding was mistaken about which years were leap years. - * Fix "unrecognized node type" error in some variants of "ALTER - OWNER" (Tom) - * Avoid tablespace permissions errors in "CREATE TABLE LIKE INCLUDING - INDEXES" (Tom) - * Ensure pg_stat_activity.waiting flag is cleared when a lock wait is - aborted (Tom) - * Fix handling of process permissions on Windows Vista (Dave, Magnus) - In particular, this fix allows starting the server as the - Administrator user. - * Update time zone data files to tzdata release 2008a (in particular, - recent Chile changes); adjust timezone abbreviation VET (Venezuela) - to mean UTC-4:30, not UTC-4:00 (Tom) - * Fix ecpg problems with arrays (Michael) - * Fix pg_ctl to correctly extract the postmaster's port number from - command-line options (Itagaki Takahiro, Tom) - Previously, pg_ctl start -w could try to contact the postmaster on - the wrong port, leading to bogus reports of startup failure. - * Use "-fwrapv" to defend against possible misoptimization in recent - gcc versions (Tom) - This is known to be necessary when building PostgreSQL with gcc 4.3 - or later. - * Enable building "contrib/uuid-ossp" with MSVC (Hiroshi Saito) - __________________________________________________________________ - - Release 8.3 - - Release Date: 2008-02-04 - __________________________________________________________________ - -Overview - - 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++ - - Major performance improvements are listed below. Most of these - enhancements are automatic and do not require user changes or tuning: - - * Asynchronous commit delays writes to WAL during transaction commit - * Checkpoint writes can be spread over a longer time period to smooth - the I/O spike during each checkpoint - * Heap-Only Tuples (HOT) accelerate space reuse for most "UPDATE"s - and "DELETE"s - * Just-in-time background writer strategy improves disk write - efficiency - * Using non-persistent transaction IDs for read-only transactions - reduces overhead and "VACUUM" requirements - * Per-field and per-row storage overhead has been reduced - * Large sequential scans no longer force out frequently used cached - pages - * Concurrent large sequential scans can now share disk reads - * ORDER BY ... LIMIT can be done without sorting - - The above items are explained in more detail in the sections below. - __________________________________________________________________ - -Migration to Version 8.3 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - __________________________________________________________________ - -General - - * Non-character data types are no longer automatically cast to TEXT - (Peter, Tom) - Previously, if a non-character value was supplied to an operator or - function that requires text input, it was automatically cast to - text, for most (though not all) built-in data types. This no longer - happens: an explicit cast to text is now required for all - non-character-string types. For example, these expressions formerly - worked: -substr(current_date, 1, 4) -23 LIKE '2%' - but will now draw "function does not exist" and "operator does not - exist" errors respectively. Use an explicit cast instead: -substr(current_date::text, 1, 4) -23::text LIKE '2%' - (Of course, you can use the more verbose CAST() syntax too.) The - reason for the change is that these automatic casts too often - caused surprising behavior. An example is that in previous - releases, this expression was accepted but did not do what was - expected: -current_date < 2017-11-17 - This is actually comparing a date to an integer, which should be - (and now is) rejected -- but in the presence of automatic casts - both sides were cast to text and a textual comparison was done, - because the text < text operator was able to match the expression - when no other < operator could. - Types char(n) and varchar(n) still cast to text automatically. - Also, automatic casting to text still works for inputs to the - concatenation (||) operator, so long as least one input is a - character-string type. - * Full text search features from "contrib/tsearch2" have been moved - into the core server, with some minor syntax changes - "contrib/tsearch2" now contains a compatibility interface. - * ARRAY(SELECT ...), where the "SELECT" returns no rows, now returns - an empty array, rather than NULL (Tom) - * The array type name for a base data type is no longer always the - base type's name with an underscore prefix - The old naming convention is still honored when possible, but - application code should no longer depend on it. Instead use the new - pg_type.typarray column to identify the array data type associated - with a given type. - * ORDER BY ... USING "operator" must now use a less-than or - greater-than "operator" that is defined in a btree operator class - This restriction was added to prevent inconsistent results. - * "SET LOCAL" changes now persist until the end of the outermost - transaction, unless rolled back (Tom) - Previously "SET LOCAL"'s effects were lost after subtransaction - commit ("RELEASE SAVEPOINT" or exit from a PL/pgSQL exception - block). - * Commands rejected in transaction blocks are now also rejected in - multiple-statement query strings (Tom) - For example, "BEGIN; DROP DATABASE; COMMIT" will now be rejected - even if submitted as a single query message. - * "ROLLBACK" outside a transaction block now issues NOTICE instead of - WARNING (Bruce) - * Prevent "NOTIFY"/"LISTEN"/"UNLISTEN" from accepting - schema-qualified names (Bruce) - Formerly, these commands accepted schema.relation but ignored the - schema part, which was confusing. - * "ALTER SEQUENCE" no longer affects the sequence's currval() state - (Tom) - * Foreign keys now must match indexable conditions for - cross-data-type references (Tom) - This improves semantic consistency and helps avoid performance - problems. - * Restrict object size functions to users who have reasonable - permissions to view such information (Tom) - For example, pg_database_size() now requires CONNECT permission, - which is granted to everyone by default. pg_tablespace_size() - requires CREATE permission in the tablespace, or is allowed if the - tablespace is the default tablespace for the database. - * Remove the undocumented !!= (not in) operator (Tom) - NOT IN (SELECT ...) is the proper way to perform this operation. - * Internal hashing functions are now more uniformly-distributed (Tom) - If application code was computing and storing hash values using - internal PostgreSQL hashing functions, the hash values must be - regenerated. - * C-code conventions for handling variable-length data values have - changed (Greg Stark, Tom) - The new SET_VARSIZE() macro *must* be used to set the length of - generated varlena values. Also, it might be necessary to expand - ("de-TOAST") input values in more cases. - * Continuous archiving no longer reports each successful archive - operation to the server logs unless DEBUG level is used (Simon) - __________________________________________________________________ - -Configuration Parameters - - * Numerous changes in administrative server parameters - bgwriter_lru_percent, bgwriter_all_percent, bgwriter_all_maxpages, - stats_start_collector, and stats_reset_on_server_start are removed. - redirect_stderr is renamed to logging_collector. - stats_command_string is renamed to track_activities. - stats_block_level and stats_row_level are merged into track_counts. - A new boolean configuration parameter, archive_mode, controls - archiving. Autovacuum's default settings have changed. - * Remove stats_start_collector parameter (Tom) - We now always start the collector process, unless UDP socket - creation fails. - * Remove stats_reset_on_server_start parameter (Tom) - This was removed because pg_stat_reset() can be used for this - purpose. - * Commenting out a parameter in "postgresql.conf" now causes it to - revert to its default value (Joachim Wieland) - Previously, commenting out an entry left the parameter's value - unchanged until the next server restart. - __________________________________________________________________ - -Character Encodings - - * Add more checks for invalidly-encoded data (Andrew) - This change plugs some holes that existed in literal backslash - escape string processing and "COPY" escape processing. Now the - de-escaped string is rechecked to see if the result created an - invalid multi-byte character. - * Disallow database encodings that are inconsistent with the server's - locale setting (Tom) - On most platforms, C locale is the only locale that will work with - any database encoding. Other locale settings imply a specific - encoding and will misbehave if the database encoding is something - different. (Typical symptoms include bogus textual sort order and - wrong results from upper() or lower().) The server now rejects - attempts to create databases that have an incompatible encoding. - * Ensure that chr() cannot create invalidly-encoded values (Andrew) - In UTF8-encoded databases the argument of chr() is now treated as a - Unicode code point. In other multi-byte encodings chr()'s argument - must designate a 7-bit ASCII character. Zero is no longer accepted. - ascii() has been adjusted to match. - * Adjust convert() behavior to ensure encoding validity (Andrew) - The two argument form of convert() has been removed. The three - argument form now takes a bytea first argument and returns a bytea. - To cover the loss of functionality, three new functions have been - added: - + convert_from(bytea, name) returns text -- converts the first - argument from the named encoding to the database encoding - + convert_to(text, name) returns bytea -- converts the first - argument from the database encoding to the named encoding - + length(bytea, name) returns integer -- gives the length of the - first argument in characters in the named encoding - * Remove convert(argument USING conversion_name) (Andrew) - Its behavior did not match the SQL standard. - * Make JOHAB encoding client-only (Tatsuo) - JOHAB is not safe as a server-side encoding. - __________________________________________________________________ - -Changes - - Below you will find a detailed account of the changes between - PostgreSQL 8.3 and the previous major release. - __________________________________________________________________ - -Performance - - * Asynchronous commit delays writes to WAL during transaction commit - (Simon) - This feature dramatically increases performance for short - data-modifying transactions. The disadvantage is that because disk - writes are delayed, if the database or operating system crashes - before data is written to the disk, committed data will be lost. - This feature is useful for applications that can accept some data - loss. Unlike turning off fsync, using asynchronous commit does not - put database consistency at risk; the worst case is that after a - crash the last few reportedly-committed transactions might not be - committed after all. This feature is enabled by turning off - synchronous_commit (which can be done per-session or - per-transaction, if some transactions are critical and others are - not). wal_writer_delay can be adjusted to control the maximum delay - before transactions actually reach disk. - * Checkpoint writes can be spread over a longer time period to smooth - the I/O spike during each checkpoint (Itagaki Takahiro and Heikki - Linnakangas) - Previously all modified buffers were forced to disk as quickly as - possible during a checkpoint, causing an I/O spike that decreased - server performance. This new approach spreads out disk writes - during checkpoints, reducing peak I/O usage. (User-requested and - shutdown checkpoints are still written as quickly as possible.) - * Heap-Only Tuples (HOT) accelerate space reuse for most "UPDATE"s - and "DELETE"s (Pavan Deolasee, with ideas from many others) - "UPDATE"s and "DELETE"s leave dead tuples behind, as do failed - "INSERT"s. Previously only "VACUUM" could reclaim space taken by - dead tuples. With HOT dead tuple space can be automatically - reclaimed at the time of "INSERT" or "UPDATE" if no changes are - made to indexed columns. This allows for more consistent - performance. Also, HOT avoids adding duplicate index entries. - * Just-in-time background writer strategy improves disk write - efficiency (Greg Smith, Itagaki Takahiro) - This greatly reduces the need for manual tuning of the background - writer. - * Per-field and per-row storage overhead have been reduced (Greg - Stark, Heikki Linnakangas) - Variable-length data types with data values less than 128 bytes - long will see a storage decrease of 3 to 6 bytes. For example, two - adjacent char(1) fields now use 4 bytes instead of 16. Row headers - are also 4 bytes shorter than before. - * Using non-persistent transaction IDs for read-only transactions - reduces overhead and "VACUUM" requirements (Florian Pflug) - Non-persistent transaction IDs do not increment the global - transaction counter. Therefore, they reduce the load on pg_clog and - increase the time between forced vacuums to prevent transaction ID - wraparound. Other performance improvements were also made that - should improve concurrency. - * Avoid incrementing the command counter after a read-only command - (Tom) - There was formerly a hard limit of 2^32 (4 billion) commands per - transaction. Now only commands that actually changed the database - count, so while this limit still exists, it should be significantly - less annoying. - * Create a dedicated WAL writer process to off-load work from - backends (Simon) - * Skip unnecessary WAL writes for "CLUSTER" and "COPY" (Simon) - Unless WAL archiving is enabled, the system now avoids WAL writes - for "CLUSTER" and just fsync()s the table at the end of the - command. It also does the same for "COPY" if the table was created - in the same transaction. - * Large sequential scans no longer force out frequently used cached - pages (Simon, Heikki, Tom) - * Concurrent large sequential scans can now share disk reads (Jeff - Davis) - This is accomplished by starting the new sequential scan in the - middle of the table (where another sequential scan is already - in-progress) and wrapping around to the beginning to finish. This - can affect the order of returned rows in a query that does not - specify ORDER BY. The synchronize_seqscans configuration parameter - can be used to disable this if necessary. - * ORDER BY ... LIMIT can be done without sorting (Greg Stark) - This is done by sequentially scanning the table and tracking just - the "top N" candidate rows, rather than performing a full sort of - the entire table. This is useful when there is no matching index - and the LIMIT is not large. - * Put a rate limit on messages sent to the statistics collector by - backends (Tom) - This reduces overhead for short transactions, but might sometimes - increase the delay before statistics are tallied. - * Improve hash join performance for cases with many NULLs (Tom) - * Speed up operator lookup for cases with non-exact datatype matches - (Tom) - __________________________________________________________________ - -Server - - * Autovacuum is now enabled by default (Alvaro) - Several changes were made to eliminate disadvantages of having - autovacuum enabled, thereby justifying the change in default. - Several other autovacuum parameter defaults were also modified. - * Support multiple concurrent autovacuum processes (Alvaro, Itagaki - Takahiro) - This allows multiple vacuums to run concurrently. This prevents - vacuuming of a large table from delaying vacuuming of smaller - tables. - * Automatically re-plan cached queries when table definitions change - or statistics are updated (Tom) - Previously PL/pgSQL functions that referenced temporary tables - would fail if the temporary table was dropped and recreated between - function invocations, unless EXECUTE was used. This improvement - fixes that problem and many related issues. - * Add a temp_tablespaces parameter to control the tablespaces for - temporary tables and files (Jaime Casanova, Albert Cervera, Bernd - Helmle) - This parameter defines a list of tablespaces to be used. This - enables spreading the I/O load across multiple tablespaces. A - random tablespace is chosen each time a temporary object is - created. Temporary files are no longer stored in per-database - "pgsql_tmp/" directories but in per-tablespace directories. - * Place temporary tables' TOAST tables in special schemas named - pg_toast_temp_nnn (Tom) - This allows low-level code to recognize these tables as temporary, - which enables various optimizations such as not WAL-logging changes - and using local rather than shared buffers for access. This also - fixes a bug wherein backends unexpectedly held open file references - to temporary TOAST tables. - * Fix problem that a constant flow of new connection requests could - indefinitely delay the postmaster from completing a shutdown or a - crash restart (Tom) - * Guard against a very-low-probability data loss scenario by - preventing re-use of a deleted table's relfilenode until after the - next checkpoint (Heikki) - * Fix "CREATE CONSTRAINT TRIGGER" to convert old-style foreign key - trigger definitions into regular foreign key constraints (Tom) - This will ease porting of foreign key constraints carried forward - from pre-7.3 databases, if they were never converted using - "contrib/adddepend". - * Fix DEFAULT NULL to override inherited defaults (Tom) - DEFAULT NULL was formerly considered a noise phrase, but it should - (and now does) override non-null defaults that would otherwise be - inherited from a parent table or domain. - * Add new encodings EUC_JIS_2004 and SHIFT_JIS_2004 (Tatsuo) - These new encodings can be converted to and from UTF-8. - * Change server startup log message from "database system is ready" - to "database system is ready to accept connections", and adjust its - timing - The message now appears only when the postmaster is really ready to - accept connections. - __________________________________________________________________ - -Monitoring - - * Add log_autovacuum_min_duration parameter to support configurable - logging of autovacuum activity (Simon, Alvaro) - * Add log_lock_waits parameter to log lock waiting (Simon) - * Add log_temp_files parameter to log temporary file usage (Bill - Moran) - * Add log_checkpoints parameter to improve logging of checkpoints - (Greg Smith, Heikki) - * log_line_prefix now supports %s and %c escapes in all processes - (Andrew) - Previously these escapes worked only for user sessions, not for - background database processes. - * Add log_restartpoints to control logging of point-in-time recovery - restart points (Simon) - * Last transaction end time is now logged at end of recovery and at - each logged restart point (Simon) - * Autovacuum now reports its activity start time in pg_stat_activity - (Tom) - * Allow server log output in comma-separated value (CSV) format (Arul - Shaji, Greg Smith, Andrew Dunstan) - CSV-format log files can easily be loaded into a database table for - subsequent analysis. - * Use PostgreSQL-supplied timezone support for formatting timestamps - displayed in the server log (Tom) - This avoids Windows-specific problems with localized time zone - names that are in the wrong encoding. There is a new log_timezone - parameter that controls the timezone used in log messages, - independently of the client-visible timezone parameter. - * New system view pg_stat_bgwriter displays statistics about - background writer activity (Magnus) - * Add new columns for database-wide tuple statistics to - pg_stat_database (Magnus) - * Add an xact_start (transaction start time) column to - pg_stat_activity (Neil) - This makes it easier to identify long-running transactions. - * Add n_live_tuples and n_dead_tuples columns to pg_stat_all_tables - and related views (Glen Parker) - * Merge stats_block_level and stats_row_level parameters into a - single parameter track_counts, which controls all messages sent to - the statistics collector process (Tom) - * Rename stats_command_string parameter to track_activities (Tom) - * Fix statistical counting of live and dead tuples to recognize that - committed and aborted transactions have different effects (Tom) - __________________________________________________________________ - -Authentication - - * Support Security Service Provider Interface (SSPI) for - authentication on Windows (Magnus) - * Support GSSAPI authentication (Henry Hotz, Magnus) - This should be preferred to native Kerberos authentication because - GSSAPI is an industry standard. - * Support a global SSL configuration file (Victor Wagner) - * Add ssl_ciphers parameter to control accepted SSL ciphers (Victor - Wagner) - * Add a Kerberos realm parameter, krb_realm (Magnus) - __________________________________________________________________ - -Write-Ahead Log (WAL) and Continuous Archiving - - * Change the timestamps recorded in transaction WAL records from - time_t to TimestampTz representation (Tom) - This provides sub-second resolution in WAL, which can be useful for - point-in-time recovery. - * Reduce WAL disk space needed by warm standby servers (Simon) - This change allows a warm standby server to pass the name of the - earliest still-needed WAL file to the recovery script, allowing - automatic removal of no-longer-needed WAL files. This is done using - %r in the restore_command parameter of "recovery.conf". - * New boolean configuration parameter, archive_mode, controls - archiving (Simon) - Previously setting archive_command to an empty string turned off - archiving. Now archive_mode turns archiving on and off, - independently of archive_command. This is useful for stopping - archiving temporarily. - __________________________________________________________________ - -Queries - - * Full text search is integrated into the core database system - (Teodor, Oleg) - Text search has been improved, moved into the core code, and is now - installed by default. "contrib/tsearch2" now contains a - compatibility interface. - * Add control over whether NULLs sort first or last (Teodor, Tom) - The syntax is ORDER BY ... NULLS FIRST/LAST. - * Allow per-column ascending/descending (ASC/DESC) ordering options - for indexes (Teodor, Tom) - Previously a query using ORDER BY with mixed ASC/DESC specifiers - could not fully use an index. Now an index can be fully used in - such cases if the index was created with matching ASC/DESC - specifications. NULL sort order within an index can be controlled, - too. - * Allow col IS NULL to use an index (Teodor) - * Updatable cursors (Arul Shaji, Tom) - This eliminates the need to reference a primary key to "UPDATE" or - "DELETE" rows returned by a cursor. The syntax is UPDATE/DELETE - WHERE CURRENT OF. - * Allow FOR UPDATE in cursors (Arul Shaji, Tom) - * Create a general mechanism that supports casts to and from the - standard string types (TEXT, VARCHAR, CHAR) for *every* datatype, - by invoking the datatype's I/O functions (Tom) - Previously, such casts were available only for types that had - specialized function(s) for the purpose. These new casts are - assignment-only in the to-string direction, explicit-only in the - other direction, and therefore should create no surprising - behavior. - * Allow UNION and related constructs to return a domain type, when - all inputs are of that domain type (Tom) - Formerly, the output would be considered to be of the domain's base - type. - * Allow limited hashing when using two different data types (Tom) - This allows hash joins, hash indexes, hashed subplans, and hash - aggregation to be used in situations involving cross-data-type - comparisons, if the data types have compatible hash functions. - Currently, cross-data-type hashing support exists for - smallint/integer/bigint, and for float4/float8. - * Improve optimizer logic for detecting when variables are equal in a - WHERE clause (Tom) - This allows mergejoins to work with descending sort orders, and - improves recognition of redundant sort columns. - * Improve performance when planning large inheritance trees in cases - where most tables are excluded by constraints (Tom) - __________________________________________________________________ - -Object Manipulation - - * Arrays of composite types (David Fetter, Andrew, Tom) - In addition to arrays of explicitly-declared composite types, - arrays of the rowtypes of regular tables and views are now - supported, except for rowtypes of system catalogs, sequences, and - TOAST tables. - * Server configuration parameters can now be set on a per-function - basis (Tom) - For example, functions can now set their own search_path to prevent - unexpected behavior if a different search_path exists at run-time. - Security definer functions should set search_path to avoid security - loopholes. - * "CREATE/ALTER FUNCTION" now supports COST and ROWS options (Tom) - COST allows specification of the cost of a function call. ROWS - allows specification of the average number or rows returned by a - set-returning function. These values are used by the optimizer in - choosing the best plan. - * Implement "CREATE TABLE LIKE ... INCLUDING INDEXES" (Trevor - Hardcastle, Nikhil Sontakke, Neil) - * Allow "CREATE INDEX CONCURRENTLY" to ignore transactions in other - databases (Simon) - * Add "ALTER VIEW ... RENAME TO" and "ALTER SEQUENCE ... RENAME TO" - (David Fetter, Neil) - Previously this could only be done via "ALTER TABLE ... RENAME TO". - * Make "CREATE/DROP/RENAME DATABASE" wait briefly for conflicting - backends to exit before failing (Tom) - This increases the likelihood that these commands will succeed. - * Allow triggers and rules to be deactivated in groups using a - configuration parameter, for replication purposes (Jan) - This allows replication systems to disable triggers and rewrite - rules as a group without modifying the system catalogs directly. - The behavior is controlled by "ALTER TABLE" and a new parameter - session_replication_role. - * User-defined types can now have type modifiers (Teodor, Tom) - This allows a user-defined type to take a modifier, like ssnum(7). - Previously only built-in data types could have modifiers. - __________________________________________________________________ - -Utility Commands - - * Non-superuser database owners now are able to add trusted - procedural languages to their databases by default (Jeremy Drake) - While this is reasonably safe, some administrators might wish to - revoke the privilege. It is controlled by - pg_pltemplate.tmpldbacreate. - * Allow a session's current parameter setting to be used as the - default for future sessions (Tom) - This is done with SET ... FROM CURRENT in "CREATE/ALTER FUNCTION", - "ALTER DATABASE", or "ALTER ROLE". - * Implement new commands "DISCARD ALL", "DISCARD PLANS", "DISCARD - TEMPORARY", "CLOSE ALL", and "DEALLOCATE ALL" (Marko Kreen, Neil) - These commands simplify resetting a database session to its initial - state, and are particularly useful for connection-pooling software. - * Make "CLUSTER" MVCC-safe (Heikki Linnakangas) - Formerly, "CLUSTER" would discard all tuples that were committed - dead, even if there were still transactions that should be able to - see them under MVCC visibility rules. - * Add new "CLUSTER" syntax: CLUSTER table USING index (Holger - Schurig) - The old "CLUSTER" syntax is still supported, but the new form is - considered more logical. - * Fix "EXPLAIN" so it can show complex plans more accurately (Tom) - References to subplan outputs are now always shown correctly, - instead of using ?columnN? for complicated cases. - * Limit the amount of information reported when a user is dropped - (Alvaro) - Previously, dropping (or attempting to drop) a user who owned many - objects could result in large NOTICE or ERROR messages listing all - these objects; this caused problems for some client applications. - The length of the message is now limited, although a full list is - still sent to the server log. - __________________________________________________________________ - -Data Types - - * Support for the SQL/XML standard, including new operators and an - XML data type (Nikolay Samokhvalov, Pavel Stehule, Peter) - * Enumerated data types (ENUM) (Tom Dunstan) - This feature provides convenient support for fields that have a - small, fixed set of allowed values. An example of creating an ENUM - type is CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy'). - * Universally Unique Identifier (UUID) data type (Gevik Babakhani, - Neil) - This closely matches RFC 4122. - * Widen the MONEY data type to 64 bits (D'Arcy Cain) - This greatly increases the range of supported MONEY values. - * Fix float4/float8 to handle Infinity and NAN (Not A Number) - consistently (Bruce) - The code formerly was not consistent about distinguishing Infinity - from overflow conditions. - * Allow leading and trailing whitespace during input of boolean - values (Neil) - * Prevent "COPY" from using digits and lowercase letters as - delimiters (Tom) - __________________________________________________________________ - -Functions - - * Add new regular expression functions regexp_matches(), - regexp_split_to_array(), and regexp_split_to_table() (Jeremy Drake, - Neil) - These functions provide extraction of regular expression - subexpressions and allow splitting a string using a POSIX regular - expression. - * Add lo_truncate() for large object truncation (Kris Jurka) - * Implement width_bucket() for the float8 data type (Neil) - * Add pg_stat_clear_snapshot() to discard statistics snapshots - collected during the current transaction (Tom) - The first request for statistics in a transaction takes a - statistics snapshot that does not change during the transaction. - This function allows the snapshot to be discarded and a new - snapshot loaded during the next statistics query. This is - particularly useful for PL/pgSQL functions, which are confined to a - single transaction. - * Add isodow option to EXTRACT() and date_part() (Bruce) - This returns the day of the week, with Sunday as seven. (dow - returns Sunday as zero.) - * Add ID (ISO day of week) and IDDD (ISO day of year) format codes - for to_char(), to_date(), and to_timestamp() (Brendan Jurd) - * Make to_timestamp() and to_date() assume TM (trim) option for - potentially variable-width fields (Bruce) - This matches Oracle's behavior. - * Fix off-by-one conversion error in to_date()/to_timestamp() D - (non-ISO day of week) fields (Bruce) - * Make setseed() return void, rather than a useless integer value - (Neil) - * Add a hash function for NUMERIC (Neil) - This allows hash indexes and hash-based plans to be used with - NUMERIC columns. - * Improve efficiency of LIKE/ILIKE, especially for multi-byte - character sets like UTF-8 (Andrew, Itagaki Takahiro) - * Make currtid() functions require SELECT privileges on the target - table (Tom) - * Add several txid_*() functions to query active transaction IDs - (Jan) - This is useful for various replication solutions. - __________________________________________________________________ - -PL/pgSQL Server-Side Language - - * Add scrollable cursor support, including directional control in - "FETCH" (Pavel Stehule) - * Allow IN as an alternative to FROM in PL/pgSQL's "FETCH" statement, - for consistency with the backend's "FETCH" command (Pavel Stehule) - * Add "MOVE" to PL/pgSQL (Magnus, Pavel Stehule, Neil) - * Implement "RETURN QUERY" (Pavel Stehule, Neil) - This adds convenient syntax for PL/pgSQL set-returning functions - that want to return the result of a query. "RETURN QUERY" is easier - and more efficient than a loop around "RETURN NEXT". - * Allow function parameter names to be qualified with the function's - name (Tom) - For example, myfunc.myvar. This is particularly useful for - specifying variables in a query where the variable name might match - a column name. - * Make qualification of variables with block labels work properly - (Tom) - Formerly, outer-level block labels could unexpectedly interfere - with recognition of inner-level record or row references. - * Tighten requirements for FOR loop STEP values (Tom) - Prevent non-positive STEP values, and handle loop overflows. - * Improve accuracy when reporting syntax error locations (Tom) - __________________________________________________________________ - -Other Server-Side Languages - - * Allow type-name arguments to PL/Perl spi_prepare() to be data type - aliases in addition to names found in pg_type (Andrew) - * Allow type-name arguments to PL/Python plpy.prepare() to be data - type aliases in addition to names found in pg_type (Andrew) - * Allow type-name arguments to PL/Tcl spi_prepare to be data type - aliases in addition to names found in pg_type (Andrew) - * Enable PL/PythonU to compile on Python 2.5 (Marko Kreen) - * Support a true PL/Python boolean type in compatible Python versions - (Python 2.3 and later) (Marko Kreen) - * Fix PL/Tcl problems with thread-enabled "libtcl" spawning multiple - threads within the backend (Steve Marshall, Paul Bayer, Doug - Knight) - This caused all sorts of unpleasantness. - __________________________________________________________________ - -psql - - * List disabled triggers separately in \d output (Brendan Jurd) - * In \d patterns, always match $ literally (Tom) - * Show aggregate return types in \da output (Greg Sabino Mullane) - * Add the function's volatility status to the output of \df+ (Neil) - * Add \prompt capability (Chad Wagner) - * Allow \pset, \t, and \x to specify on or off, rather than just - toggling (Chad Wagner) - * Add \sleep capability (Jan) - * Enable \timing output for \copy (Andrew) - * Improve \timing resolution on Windows (Itagaki Takahiro) - * Flush \o output after each backslash command (Tom) - * Correctly detect and report errors while reading a -f input file - (Peter) - * Remove -u option (this option has long been deprecated) (Tom) - __________________________________________________________________ - -pg_dump - - * Add --tablespaces-only and --roles-only options to pg_dumpall (Dave - Page) - * Add an output file option to pg_dumpall (Dave Page) - This is primarily useful on Windows, where output redirection of - child pg_dump processes does not work. - * Allow pg_dumpall to accept an initial-connection database name - rather than the default template1 (Dave Page) - * In -n and -t switches, always match $ literally (Tom) - * Improve performance when a database has thousands of objects (Tom) - * Remove -u option (this option has long been deprecated) (Tom) - __________________________________________________________________ - -Other Client Applications - - * In initdb, allow the location of the "pg_xlog" directory to be - specified (Euler Taveira de Oliveira) - * Enable server core dump generation in pg_regress on supported - operating systems (Andrew) - * Add a -t (timeout) parameter to pg_ctl (Bruce) - This controls how long pg_ctl will wait when waiting for server - startup or shutdown. Formerly the timeout was hard-wired as 60 - seconds. - * Add a pg_ctl option to control generation of server core dumps - (Andrew) - * Allow Control-C to cancel clusterdb, reindexdb, and vacuumdb - (Itagaki Takahiro, Magnus) - * Suppress command tag output for createdb, createuser, dropdb, and - dropuser (Peter) - The --quiet option is ignored and will be removed in 8.4. Progress - messages when acting on all databases now go to stdout instead of - stderr because they are not actually errors. - __________________________________________________________________ - -libpq - - * Interpret the dbName parameter of PQsetdbLogin() as a conninfo - string if it contains an equals sign (Andrew) - This allows use of conninfo strings in client programs that still - use PQsetdbLogin(). - * Support a global SSL configuration file (Victor Wagner) - * Add environment variable PGSSLKEY to control SSL hardware keys - (Victor Wagner) - * Add lo_truncate() for large object truncation (Kris Jurka) - * Add PQconnectionNeedsPassword() that returns true if the server - required a password but none was supplied (Joe Conway, Tom) - If this returns true after a failed connection attempt, a client - application should prompt the user for a password. In the past - applications have had to check for a specific error message string - to decide whether a password is needed; that approach is now - deprecated. - * Add PQconnectionUsedPassword() that returns true if the supplied - password was actually used (Joe Conway, Tom) - This is useful in some security contexts where it is important to - know whether a user-supplied password is actually valid. - __________________________________________________________________ - -ecpg - - * Use V3 frontend/backend protocol (Michael) - This adds support for server-side prepared statements. - * Use native threads, instead of pthreads, on Windows (Magnus) - * Improve thread-safety of ecpglib (Itagaki Takahiro) - * Make the ecpg libraries export only necessary API symbols (Michael) - __________________________________________________________________ - -Windows Port - - * Allow the whole PostgreSQL distribution to be compiled with - Microsoft Visual C++ (Magnus and others) - This allows Windows-based developers to use familiar development - and debugging tools. Windows executables made with Visual C++ might - also have better stability and performance than those made with - other tool sets. The client-only Visual C++ build scripts have been - removed. - * Drastically reduce postmaster's memory usage when it has many child - processes (Magnus) - * Allow regression tests to be started by an administrative user - (Magnus) - * Add native shared memory implementation (Magnus) - __________________________________________________________________ - -Server Programming Interface (SPI) - - * Add cursor-related functionality in SPI (Pavel Stehule) - Allow access to the cursor-related planning options, and add - "FETCH"/"MOVE" routines. - * Allow execution of cursor commands through SPI_execute (Tom) - The macro SPI_ERROR_CURSOR still exists but will never be returned. - * SPI plan pointers are now declared as SPIPlanPtr instead of void * - (Tom) - This does not break application code, but switching is recommended - to help catch simple programming mistakes. - __________________________________________________________________ - -Build Options - - * Add configure option --enable-profiling to enable code profiling - (works only with gcc) (Korry Douglas and Nikhil Sontakke) - * Add configure option --with-system-tzdata to use the operating - system's time zone database (Peter) - * Fix PGXS so extensions can be built against PostgreSQL - installations whose pg_config program does not appear first in the - PATH (Tom) - * Support "gmake draft" when building the SGML documentation (Bruce) - Unless draft is used, the documentation build will now be repeated - if necessary to ensure the index is up-to-date. - __________________________________________________________________ - -Source Code - - * Rename macro DLLIMPORT to PGDLLIMPORT to avoid conflicting with - third party includes (like Tcl) that define DLLIMPORT (Magnus) - * Create "operator families" to improve planning of queries involving - cross-data-type comparisons (Tom) - * Update GIN extractQuery() API to allow signalling that nothing can - satisfy the query (Teodor) - * Move NAMEDATALEN definition from "postgres_ext.h" to - "pg_config_manual.h" (Peter) - * Provide strlcpy() and strlcat() on all platforms, and replace - error-prone uses of strncpy(), strncat(), etc (Peter) - * Create hooks to let an external plugin monitor (or even replace) - the planner and create plans for hypothetical situations (Gurjeet - Singh, Tom) - * Create a function variable join_search_hook to let plugins override - the join search order portion of the planner (Julius Stroffek) - * Add tas() support for Renesas' M32R processor (Kazuhiro Inaoka) - * quote_identifier() and pg_dump no longer quote keywords that are - unreserved according to the grammar (Tom) - * Change the on-disk representation of the NUMERIC data type so that - the sign_dscale word comes before the weight (Tom) - * Use SYSV semaphores rather than POSIX on Darwin >= 6.0, i.e., OS X - 10.2 and up (Chris Marcellino) - * Add acronym and NFS documentation sections (Bruce) - * "Postgres" is now documented as an accepted alias for "PostgreSQL" - (Peter) - * Add documentation about preventing database server spoofing when - the server is down (Bruce) - __________________________________________________________________ - -Contrib - - * Move "contrib" "README" content into the main PostgreSQL - documentation (Albert Cervera i Areny) - * Add "contrib/pageinspect" module for low-level page inspection - (Simon, Heikki) - * Add "contrib/pg_standby" module for controlling warm standby - operation (Simon) - * Add "contrib/uuid-ossp" module for generating UUID values using the - OSSP UUID library (Peter) - Use configure --with-ossp-uuid to activate. This takes advantage of - the new UUID builtin type. - * Add "contrib/dict_int", "contrib/dict_xsyn", and - "contrib/test_parser" modules to provide sample add-on text search - dictionary templates and parsers (Sergey Karpov) - * Allow contrib/pgbench to set the fillfactor (Pavan Deolasee) - * Add timestamps to contrib/pgbench -l (Greg Smith) - * Add usage count statistics to "contrib/pgbuffercache" (Greg Smith) - * Add GIN support for "contrib/hstore" (Teodor) - * Add GIN support for "contrib/pg_trgm" (Guillaume Smet, Teodor) - * Update OS/X startup scripts in "contrib/start-scripts" (Mark - Cotner, David Fetter) - * Restrict pgrowlocks() and dblink_get_pkey() to users who have - SELECT privilege on the target table (Tom) - * Restrict "contrib/pgstattuple" functions to superusers (Tom) - * "contrib/xml2" is deprecated and planned for removal in 8.4 (Peter) - The new XML support in core PostgreSQL supersedes this module. - __________________________________________________________________ - - Release 8.2.23 - - Release Date: 2011-12-05 - - This release contains a variety of fixes from 8.2.22. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - - This is expected to be the last PostgreSQL release in the 8.2.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.2.23 - - A dump/restore is not required for those running 8.2.X. - - However, a longstanding error was discovered in the definition of the - information_schema.referential_constraints view. If you rely on correct - results from that view, you should replace its definition as explained - in the first changelog item below. - - Also, if you are upgrading from a version earlier than 8.2.14, see the - release notes for 8.2.14. - __________________________________________________________________ - -Changes - - * Fix bugs in information_schema.referential_constraints view (Tom - Lane) - This view was being insufficiently careful about matching the - foreign-key constraint to the depended-on primary or unique key - constraint. That could result in failure to show a foreign key - constraint at all, or showing it multiple times, or claiming that - it depends on a different constraint than the one it really does. - Since the view definition is installed by initdb, merely upgrading - will not fix the problem. If you need to fix this in an existing - installation, you can (as a superuser) drop the information_schema - schema then re-create it by sourcing - "SHAREDIR/information_schema.sql". (Run pg_config --sharedir if - you're uncertain where "SHAREDIR" is.) This must be repeated in - each database to be fixed. - * Fix TOAST-related data corruption during CREATE TABLE dest AS - SELECT * FROM src or INSERT INTO dest SELECT * FROM src (Tom Lane) - If a table has been modified by "ALTER TABLE ADD COLUMN", attempts - to copy its data verbatim to another table could produce corrupt - results in certain corner cases. The problem can only manifest in - this precise form in 8.4 and later, but we patched earlier versions - as well in case there are other code paths that could trigger the - same bug. - * Fix race condition during toast table access from stale syscache - entries (Tom Lane) - The typical symptom was transient errors like "missing chunk number - 0 for toast value NNNNN in pg_toast_2619", where the cited toast - table would always belong to a system catalog. - * Improve locale support in money type's input and output (Tom Lane) - Aside from not supporting all standard lc_monetary formatting - options, the input and output functions were inconsistent, meaning - there were locales in which dumped money values could not be - re-read. - * Don't let transform_null_equals affect CASE foo WHEN NULL ... - constructs (Heikki Linnakangas) - transform_null_equals is only supposed to affect foo = NULL - expressions written directly by the user, not equality checks - generated internally by this form of CASE. - * Change foreign-key trigger creation order to better support - self-referential foreign keys (Tom Lane) - For a cascading foreign key that references its own table, a row - update will fire both the ON UPDATE trigger and the CHECK trigger - as one event. The ON UPDATE trigger must execute first, else the - CHECK will check a non-final state of the row and possibly throw an - inappropriate error. However, the firing order of these triggers is - determined by their names, which generally sort in creation order - since the triggers have auto-generated names following the - convention "RI_ConstraintTrigger_NNNN". A proper fix would require - modifying that convention, which we will do in 9.2, but it seems - risky to change it in existing releases. So this patch just changes - the creation order of the triggers. Users encountering this type of - error should drop and re-create the foreign key constraint to get - its triggers into the right order. - * Preserve blank lines within commands in psql's command history - (Robert Haas) - The former behavior could cause problems if an empty line was - removed from within a string literal, for example. - * Use the preferred version of xsubpp to build PL/Perl, not - necessarily the operating system's main copy (David Wheeler and - Alex Hunsaker) - * Honor query cancel interrupts promptly in pgstatindex() (Robert - Haas) - * Ensure VPATH builds properly install all server header files (Peter - Eisentraut) - * Shorten file names reported in verbose error messages (Peter - Eisentraut) - Regular builds have always reported just the name of the C file - containing the error message call, but VPATH builds formerly - reported an absolute path name. - * Fix interpretation of Windows timezone names for Central America - (Tom Lane) - Map "Central America Standard Time" to CST6, not CST6CDT, because - DST is generally not observed anywhere in Central America. - * Update time zone data files to tzdata release 2011n for DST law - changes in Brazil, Cuba, Fiji, Palestine, Russia, and Samoa; also - historical corrections for Alaska and British East Africa. - __________________________________________________________________ - - Release 8.2.22 - - Release Date: 2011-09-26 - - This release contains a variety of fixes from 8.2.21. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - - The PostgreSQL community will stop releasing updates for the 8.2.X - release series in December 2011. Users are encouraged to update to a - newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.2.22 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Fix multiple bugs in GiST index page split processing (Heikki - Linnakangas) - The probability of occurrence was low, but these could lead to - index corruption. - * Avoid possibly accessing off the end of memory in "ANALYZE" (Noah - Misch) - This fixes a very-low-probability server crash scenario. - * Fix race condition in relcache init file invalidation (Tom Lane) - There was a window wherein a new backend process could read a stale - init file but miss the inval messages that would tell it the data - is stale. The result would be bizarre failures in catalog accesses, - typically "could not read block 0 in file ..." later during - startup. - * Fix memory leak at end of a GiST index scan (Tom Lane) - Commands that perform many separate GiST index scans, such as - verification of a new GiST-based exclusion constraint on a table - already containing many rows, could transiently require large - amounts of memory due to this leak. - * Fix performance problem when constructing a large, lossy bitmap - (Tom Lane) - * Fix array- and path-creating functions to ensure padding bytes are - zeroes (Tom Lane) - This avoids some situations where the planner will think that - semantically-equal constants are not equal, resulting in poor - optimization. - * Work around gcc 4.6.0 bug that breaks WAL replay (Tom Lane) - This could lead to loss of committed transactions after a server - crash. - * Fix dump bug for VALUES in a view (Tom Lane) - * Disallow SELECT FOR UPDATE/SHARE on sequences (Tom Lane) - This operation doesn't work as expected and can lead to failures. - * Defend against integer overflow when computing size of a hash table - (Tom Lane) - * Fix portability bugs in use of credentials control messages for - "peer" authentication (Tom Lane) - * Fix typo in pg_srand48 seed initialization (Andres Freund) - This led to failure to use all bits of the provided seed. This - function is not used on most platforms (only those without - srandom), and the potential security exposure from a - less-random-than-expected seed seems minimal in any case. - * Avoid integer overflow when the sum of LIMIT and OFFSET values - exceeds 2^63 (Heikki Linnakangas) - * Add overflow checks to int4 and int8 versions of generate_series() - (Robert Haas) - * Fix trailing-zero removal in to_char() (Marti Raudsepp) - In a format with FM and no digit positions after the decimal point, - zeroes to the left of the decimal point could be removed - incorrectly. - * Fix pg_size_pretty() to avoid overflow for inputs close to 2^63 - (Tom Lane) - * Fix psql's counting of script file line numbers during COPY from a - different file (Tom Lane) - * Fix pg_restore's direct-to-database mode for - standard_conforming_strings (Tom Lane) - pg_restore could emit incorrect commands when restoring directly to - a database server from an archive file that had been made with - standard_conforming_strings set to on. - * Fix write-past-buffer-end and memory leak in libpq's LDAP service - lookup code (Albe Laurenz) - * In libpq, avoid failures when using nonblocking I/O and an SSL - connection (Martin Pihlak, Tom Lane) - * Improve libpq's handling of failures during connection startup (Tom - Lane) - In particular, the response to a server report of fork() failure - during SSL connection startup is now saner. - * Make ecpglib write double values with 15 digits precision (Akira - Kurosawa) - * Apply upstream fix for blowfish signed-character bug - (CVE-2011-2483) (Tom Lane) - "contrib/pg_crypto"'s blowfish encryption code could give wrong - results on platforms where char is signed (which is most), leading - to encrypted passwords being weaker than they should be. - * Fix memory leak in "contrib/seg" (Heikki Linnakangas) - * Fix pgstatindex() to give consistent results for empty indexes (Tom - Lane) - * Allow building with perl 5.14 (Alex Hunsaker) - * Update configure script's method for probing existence of system - functions (Tom Lane) - The version of autoconf we used in 8.3 and 8.2 could be fooled by - compilers that perform link-time optimization. - * Fix assorted issues with build and install file paths containing - spaces (Tom Lane) - * Update time zone data files to tzdata release 2011i for DST law - changes in Canada, Egypt, Russia, Samoa, and South Sudan. - __________________________________________________________________ - - Release 8.2.21 - - Release Date: 2011-04-18 - - This release contains a variety of fixes from 8.2.20. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.21 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Avoid potential deadlock during catalog cache initialization - (Nikhil Sontakke) - In some cases the cache loading code would acquire share lock on a - system index before locking the index's catalog. This could - deadlock against processes trying to acquire exclusive locks in the - other, more standard order. - * Fix dangling-pointer problem in BEFORE ROW UPDATE trigger handling - when there was a concurrent update to the target tuple (Tom Lane) - This bug has been observed to result in intermittent "cannot - extract system attribute from virtual tuple" failures while trying - to do UPDATE RETURNING ctid. There is a very small probability of - more serious errors, such as generating incorrect index entries for - the updated tuple. - * Disallow "DROP TABLE" when there are pending deferred trigger - events for the table (Tom Lane) - Formerly the "DROP" would go through, leading to "could not open - relation with OID nnn" errors when the triggers were eventually - fired. - * Fix PL/Python memory leak involving array slices (Daniel Popowich) - * Fix pg_restore to cope with long lines (over 1KB) in TOC files (Tom - Lane) - * Put in more safeguards against crashing due to division-by-zero - with overly enthusiastic compiler optimization (Aurelien Jarno) - * Support use of dlopen() in FreeBSD and OpenBSD on MIPS (Tom Lane) - There was a hard-wired assumption that this system function was not - available on MIPS hardware on these systems. Use a compile-time - test instead, since more recent versions have it. - * Fix compilation failures on HP-UX (Heikki Linnakangas) - * Fix path separator used by pg_regress on Cygwin (Andrew Dunstan) - * Update time zone data files to tzdata release 2011f for DST law - changes in Chile, Cuba, Falkland Islands, Morocco, Samoa, and - Turkey; also historical corrections for South Australia, Alaska, - and Hawaii. - __________________________________________________________________ - - Release 8.2.20 - - Release Date: 2011-01-31 - - This release contains a variety of fixes from 8.2.19. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.20 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Avoid failures when "EXPLAIN" tries to display a simple-form CASE - expression (Tom Lane) - If the CASE's test expression was a constant, the planner could - simplify the CASE into a form that confused the expression-display - code, resulting in "unexpected CASE WHEN clause" errors. - * Fix assignment to an array slice that is before the existing range - of subscripts (Tom Lane) - If there was a gap between the newly added subscripts and the first - pre-existing subscript, the code miscalculated how many entries - needed to be copied from the old array's null bitmap, potentially - leading to data corruption or crash. - * Avoid unexpected conversion overflow in planner for very distant - date values (Tom Lane) - The date type supports a wider range of dates than can be - represented by the timestamp types, but the planner assumed it - could always convert a date to timestamp with impunity. - * Fix pg_restore's text output for large objects (BLOBs) when - standard_conforming_strings is on (Tom Lane) - Although restoring directly to a database worked correctly, string - escaping was incorrect if pg_restore was asked for SQL text output - and standard_conforming_strings had been enabled in the source - database. - * Fix erroneous parsing of tsquery values containing ... & - !(subexpression) | ... (Tom Lane) - Queries containing this combination of operators were not executed - correctly. The same error existed in "contrib/intarray"'s query_int - type and "contrib/ltree"'s ltxtquery type. - * Fix buffer overrun in "contrib/intarray"'s input function for the - query_int type (Apple) - This bug is a security risk since the function's return address - could be overwritten. Thanks to Apple Inc's security team for - reporting this issue and supplying the fix. (CVE-2010-4015) - * Fix bug in "contrib/seg"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a seg column. If you have - such an index, consider "REINDEX"ing it after installing this - update. (This is identical to the bug that was fixed in - "contrib/cube" in the previous update.) - __________________________________________________________________ - - Release 8.2.19 - - Release Date: 2010-12-16 - - This release contains a variety of fixes from 8.2.18. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.19 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Force the default wal_sync_method to be fdatasync on Linux (Tom - Lane, Marti Raudsepp) - The default on Linux has actually been fdatasync for many years, - but recent kernel changes caused PostgreSQL to choose open_datasync - instead. This choice did not result in any performance improvement, - and caused outright failures on certain filesystems, notably ext4 - with the data=journal mount option. - * Fix assorted bugs in WAL replay logic for GIN indexes (Tom Lane) - This could result in "bad buffer id: 0" failures or corruption of - index contents during replication. - * Fix recovery from base backup when the starting checkpoint WAL - record is not in the same WAL segment as its redo point (Jeff - Davis) - * Add support for detecting register-stack overrun on IA64 (Tom Lane) - The IA64 architecture has two hardware stacks. Full prevention of - stack-overrun failures requires checking both. - * Add a check for stack overflow in copyObject() (Tom Lane) - Certain code paths could crash due to stack overflow given a - sufficiently complex query. - * Fix detection of page splits in temporary GiST indexes (Heikki - Linnakangas) - It is possible to have a "concurrent" page split in a temporary - index, if for example there is an open cursor scanning the index - when an insertion is done. GiST failed to detect this case and - hence could deliver wrong results when execution of the cursor - continued. - * Avoid memory leakage while "ANALYZE"'ing complex index expressions - (Tom Lane) - * Ensure an index that uses a whole-row Var still depends on its - table (Tom Lane) - An index declared like create index i on t (foo(t.*)) would not - automatically get dropped when its table was dropped. - * Do not "inline" a SQL function with multiple OUT parameters (Tom - Lane) - This avoids a possible crash due to loss of information about the - expected result rowtype. - * Behave correctly if ORDER BY, LIMIT, FOR UPDATE, or WITH is - attached to the VALUES part of INSERT ... VALUES (Tom Lane) - * Fix constant-folding of COALESCE() expressions (Tom Lane) - The planner would sometimes attempt to evaluate sub-expressions - that in fact could never be reached, possibly leading to unexpected - errors. - * Add print functionality for InhRelation nodes (Tom Lane) - This avoids a failure when debug_print_parse is enabled and certain - types of query are executed. - * Fix incorrect calculation of distance from a point to a horizontal - line segment (Tom Lane) - This bug affected several different geometric distance-measurement - operators. - * Fix PL/pgSQL's handling of "simple" expressions to not fail in - recursion or error-recovery cases (Tom Lane) - * Fix PL/Python's handling of set-returning functions (Jan Urbanski) - Attempts to call SPI functions within the iterator generating a set - result would fail. - * Fix bug in "contrib/cube"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a cube column. If you have - such an index, consider "REINDEX"ing it after installing this - update. - * Don't emit "identifier will be truncated" notices in - "contrib/dblink" except when creating new connections (Itagaki - Takahiro) - * Fix potential coredump on missing public key in "contrib/pgcrypto" - (Marti Raudsepp) - * Fix memory leak in "contrib/xml2"'s XPath query functions (Tom - Lane) - * Update time zone data files to tzdata release 2010o for DST law - changes in Fiji and Samoa; also historical corrections for Hong - Kong. - __________________________________________________________________ - - Release 8.2.18 - - Release Date: 2010-10-04 - - This release contains a variety of fixes from 8.2.17. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.18 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Fix Windows shared-memory allocation code (Tsutomu Yamada, Magnus - Hagander) - This bug led to the often-reported "could not reattach to shared - memory" error message. This is a back-patch of a fix that was - applied to newer branches some time ago. - * Treat exit code 128 (ERROR_WAIT_NO_CHILDREN) as non-fatal on - Windows (Magnus Hagander) - Under high load, Windows processes will sometimes fail at startup - with this error code. Formerly the postmaster treated this as a - panic condition and restarted the whole database, but that seems to - be an overreaction. - * Fix possible duplicate scans of UNION ALL member relations (Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Reduce PANIC to ERROR in some occasionally-reported btree failure - cases, and provide additional detail in the resulting error - messages (Tom Lane) - This should improve the system's robustness with corrupted indexes. - * Prevent show_session_authorization() from crashing within - autovacuum processes (Tom Lane) - * Defend against functions returning setof record where not all the - returned rows are actually of the same rowtype (Tom Lane) - * Fix possible failure when hashing a pass-by-reference function - result (Tao Ma, Tom Lane) - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Avoid recursion while assigning XIDs to heavily-nested - subtransactions (Andres Freund, Robert Haas) - The original coding could result in a crash if there was limited - stack space. - * Fix log_line_prefix's %i escape, which could produce junk early in - backend startup (Tom Lane) - * Fix possible data corruption in "ALTER TABLE ... SET TABLESPACE" - when archiving is enabled (Jeff Davis) - * Allow "CREATE DATABASE" and "ALTER DATABASE ... SET TABLESPACE" to - be interrupted by query-cancel (Guillaume Lelarge) - * In PL/Python, defend against null pointer results from - PyCObject_AsVoidPtr and PyCObject_FromVoidPtr (Peter Eisentraut) - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Fix "contrib/dblink" to handle connection names longer than 62 - bytes correctly (Itagaki Takahiro) - * Add hstore(text, text) function to "contrib/hstore" (Robert Haas) - This function is the recommended substitute for the now-deprecated - => operator. It was back-patched so that future-proofed code can be - used with older server versions. Note that the patch will be - effective only after "contrib/hstore" is installed or reinstalled - in a particular database. Users might prefer to execute the "CREATE - FUNCTION" command by hand, instead. - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - * Update time zone data files to tzdata release 2010l for DST law - changes in Egypt and Palestine; also historical corrections for - Finland. - This change also adds new names for two Micronesian timezones: - Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred - abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred - over Pacific/Ponape. - * Make Windows' "N. Central Asia Standard Time" timezone map to - Asia/Novosibirsk, not Asia/Almaty (Magnus Hagander) - Microsoft changed the DST behavior of this zone in the timezone - update from KB976098. Asia/Novosibirsk is a better match to its new - behavior. - __________________________________________________________________ - - Release 8.2.17 - - Release Date: 2010-05-17 - - This release contains a variety of fixes from 8.2.16. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.17 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Fix possible crash if a cache reset message is received during - rebuild of a relcache entry (Heikki) - This error was introduced in 8.2.16 while fixing a related failure. - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Prevent infinite recursion in psql when expanding a variable that - refers to itself (Tom) - * Fix psql's \copy to not add spaces around a dot within \copy - (select ...) (Tom) - Addition of spaces around the decimal point in a numeric literal - would result in a syntax error. - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - * Avoid possible crashes in syslogger process on Windows (Heikki) - * Deal more robustly with incomplete time zone information in the - Windows registry (Magnus) - * Update the set of known Windows time zone names (Magnus) - * Update time zone data files to tzdata release 2010j for DST law - changes in Argentina, Australian Antarctic, Bangladesh, Mexico, - Morocco, Pakistan, Palestine, Russia, Syria, Tunisia; also - historical corrections for Taiwan. - Also, add PKST (Pakistan Summer Time) to the default set of - timezone abbreviations. - __________________________________________________________________ - - Release 8.2.16 - - Release Date: 2010-03-15 - - This release contains a variety of fixes from 8.2.15. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.16 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Fix possible deadlock during backend startup (Tom) - * Fix possible crashes due to not handling errors during relcache - reload cleanly (Tom) - * Fix possible crashes when trying to recover from a failure in - subtransaction start (Tom) - * Fix server memory leak associated with use of savepoints and a - client encoding different from server's encoding (Tom) - * Fix incorrect WAL data emitted during end-of-recovery cleanup of a - GIST index page split (Yoichi Hirai) - This would result in index corruption, or even more likely an error - during WAL replay, if we were unlucky enough to crash during - end-of-recovery cleanup after having completed an incomplete GIST - insertion. - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix integer-to-bit-string conversions to handle the first - fractional byte correctly when the output bit width is wider than - the given integer by something other than a multiple of 8 bits - (Tom) - * Fix some cases of pathologically slow regular expression matching - (Tom) - * Fix the STOP WAL LOCATION entry in backup history files to report - the next WAL segment's name when the end location is exactly at a - segment boundary (Itagaki Takahiro) - * Fix some more cases of temporary-file leakage (Heikki) - This corrects a problem introduced in the previous minor release. - One case that failed is when a plpgsql function returning set is - called within another function's exception handler. - * Improve constraint exclusion processing of boolean-variable cases, - in particular make it possible to exclude a partition that has a - "bool_column = false" constraint (Tom) - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Fix possible infinite loop if SSL_read or SSL_write fails without - setting errno (Tom) - This is reportedly possible with some Windows versions of openssl. - * Fix psql's numericlocale option to not format strings it shouldn't - in latex and troff output formats (Heikki) - * Make psql return the correct exit status (3) when ON_ERROR_STOP and - --single-transaction are both specified and an error occurs during - the implied "COMMIT" (Bruce) - * Fix plpgsql failure in one case where a composite column is set to - NULL (Tom) - * Fix possible failure when calling PL/Perl functions from PL/PerlU - or vice versa (Tim Bunce) - * Add volatile markings in PL/Python to avoid possible - compiler-specific misbehavior (Zdenek Kotala) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - * Fix assorted crashes in "contrib/xml2" caused by sloppy memory - management (Tom) - * Make building of "contrib/xml2" more robust on Windows (Andrew) - * Fix race condition in Windows signal handling (Radu Ilie) - One known symptom of this bug is that rows in pg_listener could be - dropped under heavy load. - * Update time zone data files to tzdata release 2010e for DST law - changes in Bangladesh, Chile, Fiji, Mexico, Paraguay, Samoa. - __________________________________________________________________ - - Release 8.2.15 - - Release Date: 2009-12-14 - - This release contains a variety of fixes from 8.2.14. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.15 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.14, see the release notes - for 8.2.14. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is canceled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Ensure that shared tuple-level locks held by prepared transactions - are not ignored (Heikki) - * Fix premature drop of temporary files used for a cursor that is - accessed within a subtransaction (Heikki) - * Fix incorrect logic for GiST index page splits, when the split - depends on a non-first column of the index (Paul Ramsey) - * Don't error out if recycling or removing an old WAL file fails at - the end of checkpoint (Heikki) - It's better to treat the problem as non-fatal and allow the - checkpoint to complete. Future checkpoints will retry the removal. - Such problems are not expected in normal operation, but have been - seen to be caused by misdesigned Windows anti-virus and backup - software. - * Ensure WAL files aren't repeatedly archived on Windows (Heikki) - This is another symptom that could happen if some other process - interfered with deletion of a no-longer-needed file. - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Fix processing of ownership dependencies during CREATE OR REPLACE - FUNCTION (Tom) - * Fix bug with calling plperl from plperlu or vice versa (Tom) - An error exit from the inner function could result in crashes due - to failure to re-select the correct Perl interpreter for the outer - function. - * Fix session-lifespan memory leak when a PL/Perl function is - redefined (Tom) - * Ensure that Perl arrays are properly converted to PostgreSQL arrays - when returned by a set-returning PL/Perl function (Andrew Dunstan, - Abhijit Menon-Sen) - This worked correctly already for non-set-returning functions. - * Fix rare crash in exception processing in PL/Python (Peter) - * Ensure psql's flex module is compiled with the correct system - header definitions (Tom) - This fixes build failures on platforms where --enable-largefile - causes incompatible changes in the generated code. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - * Update the timezone abbreviation files to match current reality - (Joachim Wieland) - This includes adding IDT and SGT to the default timezone - abbreviation set. - * Update time zone data files to tzdata release 2009s for DST law - changes in Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, - Pakistan, Palestine, Samoa, Syria; also historical corrections for - Hong Kong. - __________________________________________________________________ - - Release 8.2.14 - - Release Date: 2009-09-09 - - This release contains a variety of fixes from 8.2.13. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.14 - - A dump/restore is not required for those running 8.2.X. However, if you - have any hash indexes on interval columns, you must "REINDEX" them - after updating to 8.2.14. Also, if you are upgrading from a version - earlier than 8.2.11, see the release notes for 8.2.11. - __________________________________________________________________ - -Changes - - * Force WAL segment switch during pg_start_backup() (Heikki) - This avoids corner cases that could render a base backup unusable. - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Make "LOAD" of an already-loaded loadable module into a no-op (Tom) - Formerly, "LOAD" would attempt to unload and re-load the module, - but this is unsafe and not all that useful. - * Disallow empty passwords during LDAP authentication (Magnus) - * Fix handling of sub-SELECTs appearing in the arguments of an - outer-level aggregate function (Tom) - * Fix bugs associated with fetching a whole-row value from the output - of a Sort or Materialize plan node (Tom) - * Revert planner change that disabled partial-index and constraint - exclusion optimizations when there were more than 100 clauses in an - AND or OR list (Tom) - * Fix hash calculation for data type interval (Tom) - This corrects wrong results for hash joins on interval values. It - also changes the contents of hash indexes on interval columns. If - you have any such indexes, you must "REINDEX" them after updating. - * Treat to_char(..., 'TH') as an uppercase ordinal suffix with - 'HH'/'HH12' (Heikki) - It was previously handled as 'th' (lowercase). - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Fix calculation of distance between a point and a line segment - (Tom) - This led to incorrect results from a number of geometric operators. - * Fix money data type to work in locales where currency amounts have - no fractional digits, e.g. Japan (Itagaki Takahiro) - * Properly round datetime input like - 00:12:57.9999999999999999999999999999 (Tom) - * Fix poor choice of page split point in GiST R-tree operator classes - (Teodor) - * Avoid performance degradation in bulk inserts into GIN indexes when - the input values are (nearly) in sorted order (Tom) - * Correctly enforce NOT NULL domain constraints in some contexts in - PL/pgSQL (Tom) - * Fix portability issues in plperl initialization (Andrew Dunstan) - * Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is - empty (Jeff Davis) - * Make "contrib/hstore" throw an error when a key or value is too - long to fit in its data structure, rather than silently truncating - it (Andrew Gierth) - * Fix "contrib/xml2"'s xslt_process() to properly handle the maximum - number of parameters (twenty) (Tom) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - * Update time zone data files to tzdata release 2009l for DST law - changes in Bangladesh, Egypt, Jordan, Pakistan, Argentina/San_Luis, - Cuba, Jordan (historical correction only), Mauritius, Morocco, - Palestine, Syria, Tunisia. - __________________________________________________________________ - - Release 8.2.13 - - Release Date: 2009-03-16 - - This release contains a variety of fixes from 8.2.12. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.13 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.11, see the release notes - for 8.2.11. - __________________________________________________________________ - -Changes - - * Prevent error recursion crashes when encoding conversion fails - (Tom) - This change extends fixes made in the last two minor releases for - related failure scenarios. The previous fixes were narrowly - tailored for the original problem reports, but we have now - recognized that *any* error thrown by an encoding conversion - function could potentially lead to infinite recursion while trying - to report the error. The solution therefore is to disable - translation and encoding conversion and report the plain-ASCII form - of any error message, if we find we have gotten into a recursive - error reporting situation. (CVE-2009-0922) - * Disallow "CREATE CONVERSION" with the wrong encodings for the - specified conversion function (Heikki) - This prevents one possible scenario for encoding conversion - failure. The previous change is a backstop to guard against other - kinds of failures in the same area. - * Fix core dump when to_char() is given format codes that are - inappropriate for the type of the data argument (Tom) - * Fix possible failure in "contrib/tsearch2" when C locale is used - with a multi-byte encoding (Teodor) - Crashes were possible on platforms where wchar_t is narrower than - int; Windows in particular. - * Fix extreme inefficiency in "contrib/tsearch2" parser's handling of - an email-like string containing multiple @ characters (Heikki) - * Fix decompilation of CASE WHEN with an implicit coercion (Tom) - This mistake could lead to Assert failures in an Assert-enabled - build, or an "unexpected CASE WHEN clause" error message in other - cases, when trying to examine or dump a view. - * Fix possible misassignment of the owner of a TOAST table's rowtype - (Tom) - If "CLUSTER" or a rewriting variant of "ALTER TABLE" were executed - by someone other than the table owner, the pg_type entry for the - table's TOAST table would end up marked as owned by that someone. - This caused no immediate problems, since the permissions on the - TOAST rowtype aren't examined by any ordinary database operation. - However, it could lead to unexpected failures if one later tried to - drop the role that issued the command (in 8.1 or 8.2), or "owner of - data type appears to be invalid" warnings from pg_dump after having - done so (in 8.3). - * Fix PL/pgSQL to not treat INTO after "INSERT" as an INTO-variables - clause anywhere in the string, not only at the start; in - particular, don't fail for "INSERT INTO" within "CREATE RULE" (Tom) - * Clean up PL/pgSQL error status variables fully at block exit - (Ashesh Vashi and Dave Page) - This is not a problem for PL/pgSQL itself, but the omission could - cause the PL/pgSQL Debugger to crash while examining the state of a - function. - * Retry failed calls to CallNamedPipe() on Windows (Steve Marshall, - Magnus) - It appears that this function can sometimes fail transiently; we - previously treated any failure as a hard error, which could confuse - "LISTEN"/"NOTIFY" as well as other operations. - * Add MUST (Mauritius Island Summer Time) to the default list of - known timezone abbreviations (Xavier Bugaud) - __________________________________________________________________ - - Release 8.2.12 - - Release Date: 2009-02-02 - - This release contains a variety of fixes from 8.2.11. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.12 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.11, see the release notes - for 8.2.11. - __________________________________________________________________ - -Changes - - * Improve handling of URLs in headline() function (Teodor) - * Improve handling of overlength headlines in headline() function - (Teodor) - * Prevent possible Assert failure or misconversion if an encoding - conversion is created with the wrong conversion function for the - specified pair of encodings (Tom, Heikki) - * Fix possible Assert failure if a statement executed in PL/pgSQL is - rewritten into another kind of statement, for example if an - "INSERT" is rewritten into an "UPDATE" (Heikki) - * Ensure that a snapshot is available to datatype input functions - (Tom) - This primarily affects domains that are declared with CHECK - constraints involving user-defined stable or immutable functions. - Such functions typically fail if no snapshot has been set. - * Make it safer for SPI-using functions to be used within datatype - I/O; in particular, to be used in domain check constraints (Tom) - * Avoid unnecessary locking of small tables in "VACUUM" (Heikki) - * Fix a problem that made UPDATE RETURNING tableoid return zero - instead of the correct OID (Tom) - * Fix planner misestimation of selectivity when transitive equality - is applied to an outer-join clause (Tom) - This could result in bad plans for queries like ... from a left - join b on a.a1 = b.b1 where a.a1 = 42 ... - * Improve optimizer's handling of long IN lists (Tom) - This change avoids wasting large amounts of time on such lists when - constraint exclusion is enabled. - * Ensure that the contents of a holdable cursor don't depend on the - contents of TOAST tables (Tom) - Previously, large field values in a cursor result might be - represented as TOAST pointers, which would fail if the referenced - table got dropped before the cursor is read, or if the large value - is deleted and then vacuumed away. This cannot happen with an - ordinary cursor, but it could with a cursor that is held past its - creating transaction. - * Fix memory leak when a set-returning function is terminated without - reading its whole result (Tom) - * Fix "contrib/dblink"'s dblink_get_result(text,bool) function (Joe) - * Fix possible garbage output from "contrib/sslinfo" functions (Tom) - * Fix configure script to properly report failure when unable to - obtain linkage information for PL/Perl (Andrew) - * Make all documentation reference pgsql-bugs and/or pgsql-hackers as - appropriate, instead of the now-decommissioned pgsql-ports and - pgsql-patches mailing lists (Tom) - * Update time zone data files to tzdata release 2009a (for Kathmandu - and historical DST corrections in Switzerland, Cuba) - __________________________________________________________________ - - Release 8.2.11 - - Release Date: 2008-11-03 - - This release contains a variety of fixes from 8.2.10. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.11 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.7, see the release notes - for 8.2.7. Also, if you were running a previous 8.2.X release, it is - recommended to "REINDEX" all GiST indexes after the upgrade. - __________________________________________________________________ - -Changes - - * Fix GiST index corruption due to marking the wrong index entry - "dead" after a deletion (Teodor) - This would result in index searches failing to find rows they - should have found. Corrupted indexes can be fixed with "REINDEX". - * Fix backend crash when the client encoding cannot represent a - localized error message (Tom) - We have addressed similar issues before, but it would still fail if - the "character has no equivalent" message itself couldn't be - converted. The fix is to disable localization and send the plain - ASCII error message when we detect such a situation. - * Fix possible crash when deeply nested functions are invoked from a - trigger (Tom) - * Improve optimization of "expression" IN ("expression-list") queries - (Tom, per an idea from Robert Haas) - Cases in which there are query variables on the right-hand side had - been handled less efficiently in 8.2.x and 8.3.x than in prior - versions. The fix restores 8.1 behavior for such cases. - * Fix mis-expansion of rule queries when a sub-SELECT appears in a - function call in FROM, a multi-row VALUES list, or a RETURNING list - (Tom) - The usual symptom of this problem is an "unrecognized node type" - error. - * Fix memory leak during rescan of a hashed aggregation plan (Neil) - * Ensure an error is reported when a newly-defined PL/pgSQL trigger - function is invoked as a normal function (Tom) - * Prevent possible collision of relfilenode numbers when moving a - table to another tablespace with "ALTER SET TABLESPACE" (Heikki) - The command tried to re-use the existing filename, instead of - picking one that is known unused in the destination directory. - * Fix incorrect tsearch2 headline generation when single query item - matches first word of text (Sushant Sinha) - * Fix improper display of fractional seconds in interval values when - using a non-ISO datestyle in an "--enable-integer-datetimes" build - (Ron Mayer) - * Ensure SPI_getvalue and SPI_getbinval behave correctly when the - passed tuple and tuple descriptor have different numbers of columns - (Tom) - This situation is normal when a table has had columns added or - removed, but these two functions didn't handle it properly. The - only likely consequence is an incorrect error indication. - * Fix ecpg's parsing of "CREATE ROLE" (Michael) - * Fix recent breakage of pg_ctl restart (Tom) - * Ensure "pg_control" is opened in binary mode (Itagaki Takahiro) - pg_controldata and pg_resetxlog did this incorrectly, and so could - fail on Windows. - * Update time zone data files to tzdata release 2008i (for DST law - changes in Argentina, Brazil, Mauritius, Syria) - __________________________________________________________________ - - Release 8.2.10 - - Release Date: 2008-09-22 - - This release contains a variety of fixes from 8.2.9. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.10 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.7, see the release notes - for 8.2.7. - __________________________________________________________________ - -Changes - - * Fix bug in btree WAL recovery code (Heikki) - Recovery failed if the WAL ended partway through a page split - operation. - * Fix potential miscalculation of datfrozenxid (Alvaro) - This error may explain some recent reports of failure to remove old - pg_clog data. - * Widen local lock counters from 32 to 64 bits (Tom) - This responds to reports that the counters could overflow in - sufficiently long transactions, leading to unexpected "lock is - already held" errors. - * Fix possible duplicate output of tuples during a GiST index scan - (Teodor) - * Fix missed permissions checks when a view contains a simple UNION - ALL construct (Heikki) - Permissions for the referenced tables were checked properly, but - not permissions for the view itself. - * Add checks in executor startup to ensure that the tuples produced - by an "INSERT" or "UPDATE" will match the target table's current - rowtype (Tom) - "ALTER COLUMN TYPE", followed by re-use of a previously cached - plan, could produce this type of situation. The check protects - against data corruption and/or crashes that could ensue. - * Fix possible repeated drops during "DROP OWNED" (Tom) - This would typically result in strange errors such as "cache lookup - failed for relation NNN". - * Fix AT TIME ZONE to first try to interpret its timezone argument as - a timezone abbreviation, and only try it as a full timezone name if - that fails, rather than the other way around as formerly (Tom) - The timestamp input functions have always resolved ambiguous zone - names in this order. Making AT TIME ZONE do so as well improves - consistency, and fixes a compatibility bug introduced in 8.1: in - ambiguous cases we now behave the same as 8.0 and before did, since - in the older versions AT TIME ZONE accepted *only* abbreviations. - * Fix datetime input functions to correctly detect integer overflow - when running on a 64-bit platform (Tom) - * Prevent integer overflows during units conversion when displaying a - configuration parameter that has units (Tom) - * Improve performance of writing very long log messages to syslog - (Tom) - * Allow spaces in the suffix part of an LDAP URL in "pg_hba.conf" - (Tom) - * Fix bug in backwards scanning of a cursor on a SELECT DISTINCT ON - query (Tom) - * Fix planner bug with nested sub-select expressions (Tom) - If the outer sub-select has no direct dependency on the parent - query, but the inner one does, the outer value might not get - recalculated for new parent query rows. - * Fix planner to estimate that GROUP BY expressions yielding boolean - results always result in two groups, regardless of the expressions' - contents (Tom) - This is very substantially more accurate than the regular GROUP BY - estimate for certain boolean tests like "col" IS NULL. - * Fix PL/pgSQL to not fail when a FOR loop's target variable is a - record containing composite-type fields (Tom) - * Fix PL/Tcl to behave correctly with Tcl 8.5, and to be more careful - about the encoding of data sent to or from Tcl (Tom) - * On Windows, work around a Microsoft bug by preventing libpq from - trying to send more than 64kB per system call (Magnus) - * Improve pg_dump and pg_restore's error reporting after failure to - send a SQL command (Tom) - * Fix pg_ctl to properly preserve postmaster command-line arguments - across a restart (Bruce) - * Update time zone data files to tzdata release 2008f (for DST law - changes in Argentina, Bahamas, Brazil, Mauritius, Morocco, - Pakistan, Palestine, and Paraguay) - __________________________________________________________________ - - Release 8.2.9 - - Release Date: 2008-06-12 - - This release contains one serious and one minor bug fix over 8.2.8. For - information about new features in the 8.2 major release, see the - Section called Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.9 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.7, see the release notes - for 8.2.7. - __________________________________________________________________ - -Changes - - * Make pg_get_ruledef() parenthesize negative constants (Tom) - Before this fix, a negative constant in a view or rule might be - dumped as, say, -42::integer, which is subtly incorrect: it should - be (-42)::integer due to operator precedence rules. Usually this - would make little difference, but it could interact with another - recent patch to cause PostgreSQL to reject what had been a valid - "SELECT DISTINCT" view query. Since this could result in pg_dump - output failing to reload, it is being treated as a high-priority - fix. The only released versions in which dump output is actually - incorrect are 8.3.1 and 8.2.7. - * Make "ALTER AGGREGATE ... OWNER TO" update pg_shdepend (Tom) - This oversight could lead to problems if the aggregate was later - involved in a "DROP OWNED" or "REASSIGN OWNED" operation. - __________________________________________________________________ - - Release 8.2.8 - - Release Date: never released - - This release contains a variety of fixes from 8.2.7. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.8 - - A dump/restore is not required for those running 8.2.X. However, if you - are upgrading from a version earlier than 8.2.7, see the release notes - for 8.2.7. - __________________________________________________________________ - -Changes - - * Fix ERRORDATA_STACK_SIZE exceeded crash that occurred on Windows - when using UTF-8 database encoding and a different client encoding - (Tom) - * Fix "ALTER TABLE ADD COLUMN ... PRIMARY KEY" so that the new column - is correctly checked to see if it's been initialized to all - non-nulls (Brendan Jurd) - Previous versions neglected to check this requirement at all. - * Fix possible "CREATE TABLE" failure when inheriting the "same" - constraint from multiple parent relations that inherited that - constraint from a common ancestor (Tom) - * Fix pg_get_ruledef() to show the alias, if any, attached to the - target table of an "UPDATE" or "DELETE" (Tom) - * Fix GIN bug that could result in a too many LWLocks taken failure - (Teodor) - * Avoid possible crash when decompressing corrupted data (Zdenek - Kotala) - * Repair two places where SIGTERM exit of a backend could leave - corrupted state in shared memory (Tom) - Neither case is very important if SIGTERM is used to shut down the - whole database cluster together, but there was a problem if someone - tried to SIGTERM individual backends. - * Fix conversions between ISO-8859-5 and other encodings to handle - Cyrillic "Yo" characters (e and E with two dots) (Sergey Burladyan) - * Fix several datatype input functions, notably array_in(), that were - allowing unused bytes in their results to contain uninitialized, - unpredictable values (Tom) - This could lead to failures in which two apparently identical - literal values were not seen as equal, resulting in the parser - complaining about unmatched ORDER BY and DISTINCT expressions. - * Fix a corner case in regular-expression substring matching - (substring(string from pattern)) (Tom) - The problem occurs when there is a match to the pattern overall but - the user has specified a parenthesized subexpression and that - subexpression hasn't got a match. An example is substring('foo' - from 'foo(bar)?'). This should return NULL, since (bar) isn't - matched, but it was mistakenly returning the whole-pattern match - instead (ie, foo). - * Update time zone data files to tzdata release 2008c (for DST law - changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, and - Argentina/San_Luis) - * Fix incorrect result from ecpg's PGTYPEStimestamp_sub() function - (Michael) - * Fix broken GiST comparison function for "contrib/tsearch2"'s - tsquery type (Teodor) - * Fix possible crashes in "contrib/cube" functions (Tom) - * Fix core dump in "contrib/xml2"'s xpath_table() function when the - input query returns a NULL value (Tom) - * Fix "contrib/xml2"'s makefile to not override CFLAGS (Tom) - * Fix DatumGetBool macro to not fail with gcc 4.3 (Tom) - This problem affects "old style" (V0) C functions that return - boolean. The fix is already in 8.3, but the need to back-patch it - was not realized at the time. - __________________________________________________________________ - - Release 8.2.7 - - Release Date: 2008-03-17 - - This release contains a variety of fixes from 8.2.6. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.7 - - A dump/restore is not required for those running 8.2.X. However, you - might need to "REINDEX" indexes on textual columns after updating, if - you are affected by the Windows locale issue described below. - __________________________________________________________________ - -Changes - - * Fix character string comparison for Windows locales that consider - different character combinations as equal (Tom) - This fix applies only on Windows and only when using UTF-8 database - encoding. The same fix was made for all other cases over two years - ago, but Windows with UTF-8 uses a separate code path that was not - updated. If you are using a locale that considers some - non-identical strings as equal, you may need to "REINDEX" to fix - existing indexes on textual columns. - * Repair potential deadlock between concurrent "VACUUM FULL" - operations on different system catalogs (Tom) - * Fix longstanding "LISTEN"/"NOTIFY" race condition (Tom) - In rare cases a session that had just executed a "LISTEN" might not - get a notification, even though one would be expected because the - concurrent transaction executing "NOTIFY" was observed to commit - later. - A side effect of the fix is that a transaction that has executed a - not-yet-committed "LISTEN" command will not see any row in - pg_listener for the "LISTEN", should it choose to look; formerly it - would have. This behavior was never documented one way or the - other, but it is possible that some applications depend on the old - behavior. - * Disallow "LISTEN" and "UNLISTEN" within a prepared transaction - (Tom) - This was formerly allowed but trying to do it had various - unpleasant consequences, notably that the originating backend could - not exit as long as an "UNLISTEN" remained uncommitted. - * Disallow dropping a temporary table within a prepared transaction - (Heikki) - This was correctly disallowed by 8.1, but the check was - inadvertently broken in 8.2. - * Fix rare crash when an error occurs during a query using a hash - index (Heikki) - * Fix memory leaks in certain usages of set-returning functions - (Neil) - * Fix input of datetime values for February 29 in years BC (Tom) - The former coding was mistaken about which years were leap years. - * Fix "unrecognized node type" error in some variants of "ALTER - OWNER" (Tom) - * Ensure pg_stat_activity.waiting flag is cleared when a lock wait is - aborted (Tom) - * Fix handling of process permissions on Windows Vista (Dave, Magnus) - In particular, this fix allows starting the server as the - Administrator user. - * Update time zone data files to tzdata release 2008a (in particular, - recent Chile changes); adjust timezone abbreviation VET (Venezuela) - to mean UTC-4:30, not UTC-4:00 (Tom) - * Fix pg_ctl to correctly extract the postmaster's port number from - command-line options (Itagaki Takahiro, Tom) - Previously, pg_ctl start -w could try to contact the postmaster on - the wrong port, leading to bogus reports of startup failure. - * Use "-fwrapv" to defend against possible misoptimization in recent - gcc versions (Tom) - This is known to be necessary when building PostgreSQL with gcc 4.3 - or later. - * Correctly enforce statement_timeout values longer than INT_MAX - microseconds (about 35 minutes) (Tom) - This bug affects only builds with "--enable-integer-datetimes". - * Fix "unexpected PARAM_SUBLINK ID" planner error when - constant-folding simplifies a sub-select (Tom) - * Fix logical errors in constraint-exclusion handling of IS NULL and - NOT expressions (Tom) - The planner would sometimes exclude partitions that should not have - been excluded because of the possibility of NULL results. - * Fix another cause of "failed to build any N-way joins" planner - errors (Tom) - This could happen in cases where a clauseless join needed to be - forced before a join clause could be exploited. - * Fix incorrect constant propagation in outer-join planning (Tom) - The planner could sometimes incorrectly conclude that a variable - could be constrained to be equal to a constant, leading to wrong - query results. - * Fix display of constant expressions in ORDER BY and GROUP BY (Tom) - An explictly casted constant would be shown incorrectly. This could - for example lead to corruption of a view definition during dump and - reload. - * Fix libpq to handle NOTICE messages correctly during COPY OUT (Tom) - This failure has only been observed to occur when a user-defined - datatype's output routine issues a NOTICE, but there is no - guarantee it couldn't happen due to other causes. - __________________________________________________________________ - - Release 8.2.6 - - Release Date: 2008-01-07 - - This release contains a variety of fixes from 8.2.5, including fixes - for significant security issues. For information about new features in - the 8.2 major release, see the Section called Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.6 - - A dump/restore is not required for those running 8.2.X. - __________________________________________________________________ - -Changes - - * Prevent functions in indexes from executing with the privileges of - the user running "VACUUM", "ANALYZE", etc (Tom) - Functions used in index expressions and partial-index predicates - are evaluated whenever a new table entry is made. It has long been - understood that this poses a risk of trojan-horse code execution if - one modifies a table owned by an untrustworthy user. (Note that - triggers, defaults, check constraints, etc. pose the same type of - risk.) But functions in indexes pose extra danger because they will - be executed by routine maintenance operations such as "VACUUM - FULL", which are commonly performed automatically under a superuser - account. For example, a nefarious user can execute code with - superuser privileges by setting up a trojan-horse index definition - and waiting for the next routine vacuum. The fix arranges for - standard maintenance operations (including "VACUUM", "ANALYZE", - "REINDEX", and "CLUSTER") to execute as the table owner rather than - the calling user, using the same privilege-switching mechanism - already used for SECURITY DEFINER functions. To prevent bypassing - this security measure, execution of "SET SESSION AUTHORIZATION" and - "SET ROLE" is now forbidden within a SECURITY DEFINER context. - (CVE-2007-6600) - * Repair assorted bugs in the regular-expression package (Tom, Will - Drewry) - Suitably crafted regular-expression patterns could cause crashes, - infinite or near-infinite looping, and/or massive memory - consumption, all of which pose denial-of-service hazards for - applications that accept regex search patterns from untrustworthy - sources. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - The fix that appeared for this in 8.2.5 was incomplete, as it - plugged the hole for only some "dblink" functions. (CVE-2007-6601, - CVE-2007-3278) - * Fix bugs in WAL replay for GIN indexes (Teodor) - * Fix GIN index build to work properly when maintenance_work_mem is - 4GB or more (Tom) - * Update time zone data files to tzdata release 2007k (in particular, - recent Argentina changes) (Tom) - * Improve planner's handling of LIKE/regex estimation in non-C - locales (Tom) - * Fix planning-speed problem for deep outer-join nests, as well as - possible poor choice of join order (Tom) - * Fix planner failure in some cases of WHERE false AND var IN (SELECT - ...) (Tom) - * Make "CREATE TABLE ... SERIAL" and "ALTER SEQUENCE ... OWNED BY" - not change the currval() state of the sequence (Tom) - * Preserve the tablespace and storage parameters of indexes that are - rebuilt by "ALTER TABLE ... ALTER COLUMN TYPE" (Tom) - * Make archive recovery always start a new WAL timeline, rather than - only when a recovery stop time was used (Simon) - This avoids a corner-case risk of trying to overwrite an existing - archived copy of the last WAL segment, and seems simpler and - cleaner than the original definition. - * Make "VACUUM" not use all of maintenance_work_mem when the table is - too small for it to be useful (Alvaro) - * Fix potential crash in translate() when using a multibyte database - encoding (Tom) - * Make corr() return the correct result for negative correlation - values (Neil) - * Fix overflow in extract(epoch from interval) for intervals - exceeding 68 years (Tom) - * Fix PL/Perl to not fail when a UTF-8 regular expression is used in - a trusted function (Andrew) - * Fix PL/Perl to cope when platform's Perl defines type bool as int - rather than char (Tom) - While this could theoretically happen anywhere, no standard build - of Perl did things this way ... until Mac OS X 10.5. - * Fix PL/Python to work correctly with Python 2.5 on 64-bit machines - (Marko Kreen) - * Fix PL/Python to not crash on long exception messages (Alvaro) - * Fix pg_dump to correctly handle inheritance child tables that have - default expressions different from their parent's (Tom) - * Fix libpq crash when PGPASSFILE refers to a file that is not a - plain file (Martin Pitt) - * ecpg parser fixes (Michael) - * Make "contrib/pgcrypto" defend against OpenSSL libraries that fail - on keys longer than 128 bits; which is the case at least on some - Solaris versions (Marko Kreen) - * Make "contrib/tablefunc"'s crosstab() handle NULL rowid as a - category in its own right, rather than crashing (Joe) - * Fix tsvector and tsquery output routines to escape backslashes - correctly (Teodor, Bruce) - * Fix crash of to_tsvector() on huge input strings (Teodor) - * Require a specific version of Autoconf to be used when - re-generating the "configure" script (Peter) - This affects developers and packagers only. The change was made to - prevent accidental use of untested combinations of Autoconf and - PostgreSQL versions. You can remove the version check if you really - want to use a different Autoconf version, but it's your - responsibility whether the result works or not. - * Update gettimeofday configuration check so that PostgreSQL can be - built on newer versions of MinGW (Magnus) - __________________________________________________________________ - - Release 8.2.5 - - Release Date: 2007-09-17 - - This release contains a variety of fixes from 8.2.4. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.5 - - A dump/restore is not required for those running 8.2.X. - __________________________________________________________________ - -Changes - - * Prevent index corruption when a transaction inserts rows and then - aborts close to the end of a concurrent "VACUUM" on the same table - (Tom) - * Fix ALTER DOMAIN ADD CONSTRAINT for cases involving domains over - domains (Tom) - * Make "CREATE DOMAIN ... DEFAULT NULL" work properly (Tom) - * Fix some planner problems with outer joins, notably poor size - estimation for t1 LEFT JOIN t2 WHERE t2.col IS NULL (Tom) - * Allow the interval data type to accept input consisting only of - milliseconds or microseconds (Neil) - * Allow timezone name to appear before the year in timestamp input - (Tom) - * Fixes for GIN indexes used by "/contrib/tsearch2" (Teodor) - * Speed up rtree index insertion (Teodor) - * Fix excessive logging of SSL error messages (Tom) - * Fix logging so that log messages are never interleaved when using - the syslogger process (Andrew) - * Fix crash when log_min_error_statement logging runs out of memory - (Tom) - * Fix incorrect handling of some foreign-key corner cases (Tom) - * Fix stddev_pop(numeric) and var_pop(numeric) (Tom) - * Prevent "REINDEX" and "CLUSTER" from failing due to attempting to - process temporary tables of other sessions (Alvaro) - * Update the time zone database rules, particularly New Zealand's - upcoming changes (Tom) - * Windows socket and semaphore improvements (Magnus) - * Make "pg_ctl -w" work properly in Windows service mode (Dave Page) - * Fix memory allocation bug when using MIT Kerberos on Windows - (Magnus) - * Suppress timezone name (%Z) in log timestamps on Windows because of - possible encoding mismatches (Tom) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - * Restrict "/contrib/pgstattuple" functions to superusers, for - security reasons (Tom) - * Do not let "/contrib/intarray" try to make its GIN opclass the - default (this caused problems at dump/restore) (Tom) - __________________________________________________________________ - - Release 8.2.4 - - Release Date: 2007-04-23 - - This release contains a variety of fixes from 8.2.3, including a - security fix. For information about new features in the 8.2 major - release, see the Section called Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.4 - - A dump/restore is not required for those running 8.2.X. - __________________________________________________________________ - -Changes - - * Support explicit placement of the temporary-table schema within - search_path, and disable searching it for functions and operators - (Tom) - This is needed to allow a security-definer function to set a truly - secure value of search_path. Without it, an unprivileged SQL user - can use temporary objects to execute code with the privileges of - the security-definer function (CVE-2007-2138). See "CREATE - FUNCTION" for more information. - * Fix shared_preload_libraries for Windows by forcing reload in each - backend (Korry Douglas) - * Fix to_char() so it properly upper/lower cases localized day or - month names (Pavel Stehule) - * "/contrib/tsearch2" crash fixes (Teodor) - * Require "COMMIT PREPARED" to be executed in the same database as - the transaction was prepared in (Heikki) - * Allow "pg_dump" to do binary backups larger than two gigabytes on - Windows (Magnus) - * New traditional (Taiwan) Chinese FAQ (Zhou Daojing) - * Prevent the statistics collector from writing to disk too - frequently (Tom) - * Fix potential-data-corruption bug in how "VACUUM FULL" handles - "UPDATE" chains (Tom, Pavan Deolasee) - * Fix bug in domains that use array types (Tom) - * Fix "pg_dump" so it can dump a serial column's sequence using "-t" - when not also dumping the owning table (Tom) - * Planner fixes, including improving outer join and bitmap scan - selection logic (Tom) - * Fix possible wrong answers or crash when a PL/pgSQL function tries - to RETURN from within an EXCEPTION block (Tom) - * Fix PANIC during enlargement of a hash index (Tom) - * Fix POSIX-style timezone specs to follow new USA DST rules (Tom) - __________________________________________________________________ - - Release 8.2.3 - - Release Date: 2007-02-07 - - This release contains two fixes from 8.2.2. For information about new - features in the 8.2 major release, see the Section called Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.3 - - A dump/restore is not required for those running 8.2.X. - __________________________________________________________________ - -Changes - - * Remove overly-restrictive check for type length in constraints and - functional indexes(Tom) - * Fix optimization so MIN/MAX in subqueries can again use indexes - (Tom) - __________________________________________________________________ - - Release 8.2.2 - - Release Date: 2007-02-05 - - This release contains a variety of fixes from 8.2.1, including a - security fix. For information about new features in the 8.2 major - release, see the Section called Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.2 - - A dump/restore is not required for those running 8.2.X. - __________________________________________________________________ - -Changes - - * Remove security vulnerabilities that allowed connected users to - read backend memory (Tom) - The vulnerabilities involve suppressing the normal check that a SQL - function returns the data type it's declared to, and changing the - data type of a table column (CVE-2007-0555, CVE-2007-0556). These - errors can easily be exploited to cause a backend crash, and in - principle might be used to read database content that the user - should not be able to access. - * Fix not-so-rare-anymore bug wherein btree index page splits could - fail due to choosing an infeasible split point (Heikki Linnakangas) - * Fix Borland C compile scripts (L Bayuk) - * Properly handle to_char('CC') for years ending in 00 (Tom) - Year 2000 is in the twentieth century, not the twenty-first. - * "/contrib/tsearch2" localization improvements (Tatsuo, Teodor) - * Fix incorrect permission check in - information_schema.key_column_usage view (Tom) - The symptom is "relation with OID nnnnn does not exist" errors. To - get this fix without using "initdb", use "CREATE OR REPLACE VIEW" - to install the corrected definition found in - "share/information_schema.sql". Note you will need to do this in - each database. - * Improve "VACUUM" performance for databases with many tables (Tom) - * Fix for rare Assert() crash triggered by UNION (Tom) - * Fix potentially incorrect results from index searches using ROW - inequality conditions (Tom) - * Tighten security of multi-byte character processing for UTF8 - sequences over three bytes long (Tom) - * Fix bogus "permission denied" failures occurring on Windows due to - attempts to fsync already-deleted files (Magnus, Tom) - * Fix bug that could cause the statistics collector to hang on - Windows (Magnus) - This would in turn lead to autovacuum not working. - * Fix possible crashes when an already-in-use PL/pgSQL function is - updated (Tom) - * Improve PL/pgSQL handling of domain types (Sergiy Vyshnevetskiy, - Tom) - * Fix possible errors in processing PL/pgSQL exception blocks (Tom) - __________________________________________________________________ - - Release 8.2.1 - - Release Date: 2007-01-08 - - This release contains a variety of fixes from 8.2. For information - about new features in the 8.2 major release, see the Section called - Release 8.2. - __________________________________________________________________ - -Migration to Version 8.2.1 - - A dump/restore is not required for those running 8.2. - __________________________________________________________________ - -Changes - - * Fix crash with SELECT ... LIMIT ALL (also LIMIT NULL) (Tom) - * "Several /contrib/tsearch2" fixes (Teodor) - * On Windows, make log messages coming from the operating system use - ASCII encoding (Hiroshi Saito) - This fixes a conversion problem when there is a mismatch between - the encoding of the operating system and database server. - * Fix Windows linking of pg_dump using "win32.mak" (Hiroshi Saito) - * Fix planner mistakes for outer join queries (Tom) - * Fix several problems in queries involving sub-SELECTs (Tom) - * Fix potential crash in SPI during subtransaction abort (Tom) - This affects all PL functions since they all use SPI. - * Improve build speed of PDF documentation (Peter) - * Re-add JST (Japan) timezone abbreviation (Tom) - * Improve optimization decisions related to index scans (Tom) - * Have psql print multi-byte combining characters as before, rather - than output as \u (Tom) - * Improve index usage of regular expressions that use parentheses - (Tom) - This improves psql \d performance also. - * Make pg_dumpall assume that databases have public CONNECT - privilege, when dumping from a pre-8.2 server (Tom) - This preserves the previous behavior that anyone can connect to a - database if allowed by "pg_hba.conf". - __________________________________________________________________ - - Release 8.2 - - Release Date: 2006-12-05 - __________________________________________________________________ - -Overview - - This release adds many functionality and performance improvements that - were requested by users, including: - - * Query language enhancements including "INSERT/UPDATE/DELETE - RETURNING", multirow VALUES lists, and optional target-table alias - in "UPDATE"/"DELETE" - * Index creation without blocking concurrent - "INSERT"/"UPDATE"/"DELETE" operations - * Many query optimization improvements, including support for - reordering outer joins - * Improved sorting performance with lower memory usage - * More efficient locking with better concurrency - * More efficient vacuuming - * Easier administration of warm standby servers - * New FILLFACTOR support for tables and indexes - * Monitoring, logging, and performance tuning additions - * More control over creating and dropping objects - * Table inheritance relationships can be defined for and removed from - pre-existing tables - * "COPY TO" can copy the output of an arbitrary "SELECT" statement - * Array improvements, including nulls in arrays - * Aggregate-function improvements, including multiple-input - aggregates and SQL:2003 statistical functions - * Many "contrib/" improvements - __________________________________________________________________ - -Migration to Version 8.2 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - - * Set escape_string_warning to on by default (Bruce) - This issues a warning if backslash escapes are used in non-escape - (non-E'') strings. - * Change the row constructor syntax (ROW(...)) so that list elements - foo.* will be expanded to a list of their member fields, rather - than creating a nested row type field as formerly (Tom) - The new behavior is substantially more useful since it allows, for - example, triggers to check for data changes with IF row(new.*) IS - DISTINCT FROM row(old.*). The old behavior is still available by - omitting .*. - * Make row comparisons follow SQL standard semantics and allow them - to be used in index scans (Tom) - Previously, row = and <> comparisons followed the standard but < <= - > >= did not. A row comparison can now be used as an index - constraint for a multicolumn index matching the row value. - * Make row IS [NOT] NULL tests follow SQL standard semantics (Tom) - The former behavior conformed to the standard for simple cases with - IS NULL, but IS NOT NULL would return true if any row field was - non-null, whereas the standard says it should return true only when - all fields are non-null. - * Make "SET CONSTRAINT" affect only one constraint (Kris Jurka) - In previous releases, "SET CONSTRAINT" modified all constraints - with a matching name. In this release, the schema search path is - used to modify only the first matching constraint. A schema - specification is also supported. This more nearly conforms to the - SQL standard. - * Remove RULE permission for tables, for security reasons (Tom) - As of this release, only a table's owner can create or modify rules - for the table. For backwards compatibility, "GRANT"/"REVOKE RULE" - is still accepted, but it does nothing. - * Array comparison improvements (Tom) - Now array dimensions are also compared. - * Change array concatenation to match documented behavior (Tom) - This changes the previous behavior where concatenation would modify - the array lower bound. - * Make command-line options of postmaster and postgres identical - (Peter) - This allows the postmaster to pass arguments to each backend - without using -o. Note that some options are now only available as - long-form options, because there were conflicting single-letter - options. - * Deprecate use of postmaster symbolic link (Peter) - postmaster and postgres commands now act identically, with the - behavior determined by command-line options. The postmaster - symbolic link is kept for compatibility, but is not really needed. - * Change log_duration to output even if the query is not output (Tom) - In prior releases, log_duration only printed if the query appeared - earlier in the log. - * Make to_char(time) and to_char(interval) treat HH and HH12 as - 12-hour intervals - Most applications should use HH24 unless they want a 12-hour - display. - * Zero unmasked bits in conversion from INET to CIDR (Tom) - This ensures that the converted value is actually valid for CIDR. - * Remove australian_timezones configuration variable (Joachim - Wieland) - This variable has been superseded by a more general facility for - configuring timezone abbreviations. - * Improve cost estimation for nested-loop index scans (Tom) - This might eliminate the need to set unrealistically small values - of random_page_cost. If you have been using a very small - random_page_cost, please recheck your test cases. - * Change behavior of "pg_dump" -n and -t options. (Greg Sabino - Mullane) - See the "pg_dump" manual page for details. - * Change libpq PQdsplen() to return a useful value (Martijn van - Oosterhout) - * Declare libpq PQgetssl() as returning void *, rather than SSL * - (Martijn van Oosterhout) - This allows applications to use the function without including the - OpenSSL headers. - * C-language loadable modules must now include a PG_MODULE_MAGIC - macro call for version compatibility checking (Martijn van - Oosterhout) - * For security's sake, modules used by a PL/PerlU function are no - longer available to PL/Perl functions (Andrew) - - Note: This also implies that data can no longer be shared between a - PL/Perl function and a PL/PerlU function. Some Perl installations - have not been compiled with the correct flags to allow multiple - interpreters to exist within a single process. In this situation - PL/Perl and PL/PerlU cannot both be used in a single backend. The - solution is to get a Perl installation which supports multiple - interpreters. - * In "contrib/xml2/", rename xml_valid() to xml_is_well_formed() - (Tom) - xml_valid() will remain for backward compatibility, but its - behavior will change to do schema checking in a future release. - * Remove "contrib/ora2pg/", now at http://www.samse.fr/GPL/ora2pg - * Remove contrib modules that have been migrated to PgFoundry: - "adddepend", "dbase", "dbmirror", "fulltextindex", "mac", - "userlock" - * Remove abandoned contrib modules: "mSQL-interface", "tips" - * Remove QNX and BEOS ports (Bruce) - These ports no longer had active maintainers. - __________________________________________________________________ - -Changes - - Below you will find a detailed account of the changes between - PostgreSQL 8.2 and the previous major release. - __________________________________________________________________ - -Performance Improvements - - * Allow the planner to reorder outer joins in some circumstances - (Tom) - In previous releases, outer joins would always be evaluated in the - order written in the query. This change allows the query optimizer - to consider reordering outer joins, in cases where it can determine - that the join order can be changed without altering the meaning of - the query. This can make a considerable performance difference for - queries involving multiple outer joins or mixed inner and outer - joins. - * Improve efficiency of IN (list-of-expressions) clauses (Tom) - * Improve sorting speed and reduce memory usage (Simon, Tom) - * Improve subtransaction performance (Alvaro, Itagaki Takahiro, Tom) - * Add FILLFACTOR to table and index creation (ITAGAKI Takahiro) - This leaves extra free space in each table or index page, allowing - improved performance as the database grows. This is particularly - valuable to maintain clustering. - * Increase default values for shared_buffers and max_fsm_pages - (Andrew) - * Improve locking performance by breaking the lock manager tables - into sections (Tom) - This allows locking to be more fine-grained, reducing contention. - * Reduce locking requirements of sequential scans (Qingqing Zhou) - * Reduce locking required for database creation and destruction (Tom) - * Improve the optimizer's selectivity estimates for LIKE, ILIKE, and - regular expression operations (Tom) - * Improve planning of joins to inherited tables and UNION ALL views - (Tom) - * Allow constraint exclusion to be applied to inherited "UPDATE" and - "DELETE" queries (Tom) - "SELECT" already honored constraint exclusion. - * Improve planning of constant WHERE clauses, such as a condition - that depends only on variables inherited from an outer query level - (Tom) - * Protocol-level unnamed prepared statements are re-planned for each - set of BIND values (Tom) - This improves performance because the exact parameter values can be - used in the plan. - * Speed up vacuuming of B-Tree indexes (Heikki Linnakangas, Tom) - * Avoid extra scan of tables without indexes during "VACUUM" (Greg - Stark) - * Improve multicolumn GiST indexing (Oleg, Teodor) - * Remove dead index entries before B-Tree page split (Junji Teramoto) - __________________________________________________________________ - -Server Changes - - * Allow a forced switch to a new transaction log file (Simon, Tom) - This is valuable for keeping warm standby slave servers in sync - with the master. Transaction log file switching now also happens - automatically during pg_stop_backup(). This ensures that all - transaction log files needed for recovery can be archived - immediately. - * Add WAL informational functions (Simon) - Add functions for interrogating the current transaction log - insertion point and determining WAL filenames from the hex WAL - locations displayed by pg_stop_backup() and related functions. - * Improve recovery from a crash during WAL replay (Simon) - The server now does periodic checkpoints during WAL recovery, so if - there is a crash, future WAL recovery is shortened. This also - eliminates the need for warm standby servers to replay the entire - log since the base backup if they crash. - * Improve reliability of long-term WAL replay (Heikki, Simon, Tom) - Formerly, trying to roll forward through more than 2 billion - transactions would not work due to XID wraparound. This meant warm - standby servers had to be reloaded from fresh base backups - periodically. - * Add archive_timeout to force transaction log file switches at a - given interval (Simon) - This enforces a maximum replication delay for warm standby servers. - * Add native LDAP authentication (Magnus Hagander) - This is particularly useful for platforms that do not support PAM, - such as Windows. - * Add GRANT CONNECT ON DATABASE (Gevik Babakhani) - This gives SQL-level control over database access. It works as an - additional filter on top of the existing "pg_hba.conf" controls. - * Add support for SSL Certificate Revocation List (CRL) files (Libor - Hohos) - The server and libpq both recognize CRL files now. - * GiST indexes are now clusterable (Teodor) - * Remove routine autovacuum server log entries (Bruce) - pg_stat_activity now shows autovacuum activity. - * Track maximum XID age within individual tables, instead of whole - databases (Alvaro) - This reduces the overhead involved in preventing transaction ID - wraparound, by avoiding unnecessary VACUUMs. - * Add last vacuum and analyze timestamp columns to the stats - collector (Larry Rosenman) - These values now appear in the pg_stat_*_tables system views. - * Improve performance of statistics monitoring, especially - stats_command_string (Tom, Bruce) - This release enables stats_command_string by default, now that its - overhead is minimal. This means pg_stat_activity will now show all - active queries by default. - * Add a waiting column to pg_stat_activity (Tom) - This allows pg_stat_activity to show all the information included - in the ps display. - * Add configuration parameter update_process_title to control whether - the ps display is updated for every command (Bruce) - On platforms where it is expensive to update the ps display, it - might be worthwhile to turn this off and rely solely on - pg_stat_activity for status information. - * Allow units to be specified in configuration settings (Peter) - For example, you can now set shared_buffers to 32MB rather than - mentally converting sizes. - * Add support for include directives in "postgresql.conf" (Joachim - Wieland) - * Improve logging of protocol-level prepare/bind/execute messages - (Bruce, Tom) - Such logging now shows statement names, bind parameter values, and - the text of the query being executed. Also, the query text is - properly included in logged error messages when enabled by - log_min_error_statement. - * Prevent max_stack_depth from being set to unsafe values - On platforms where we can determine the actual kernel stack depth - limit (which is most), make sure that the initial default value of - max_stack_depth is safe, and reject attempts to set it to unsafely - large values. - * Enable highlighting of error location in query in more cases (Tom) - The server is now able to report a specific error location for some - semantic errors (such as unrecognized column name), rather than - just for basic syntax errors as before. - * Fix "failed to re-find parent key" errors in "VACUUM" (Tom) - * Clean out "pg_internal.init" cache files during server restart - (Simon) - This avoids a hazard that the cache files might contain stale data - after PITR recovery. - * Fix race condition for truncation of a large relation across a - gigabyte boundary by "VACUUM" (Tom) - * Fix bug causing needless deadlock errors on row-level locks (Tom) - * Fix bugs affecting multi-gigabyte hash indexes (Tom) - * Each backend process is now its own process group leader (Tom) - This allows query cancel to abort subprocesses invoked from a - backend or archive/recovery process. - __________________________________________________________________ - -Query Changes - - * Add "INSERT"/"UPDATE"/"DELETE" RETURNING (Jonah Harris, Tom) - This allows these commands to return values, such as the computed - serial key for a new row. In the "UPDATE" case, values from the - updated version of the row are returned. - * Add support for multiple-row VALUES clauses, per SQL standard (Joe, - Tom) - This allows "INSERT" to insert multiple rows of constants, or - queries to generate result sets using constants. For example, - INSERT ... VALUES (...), (...), ...., and SELECT * FROM (VALUES - (...), (...), ....) AS alias(f1, ...). - * Allow "UPDATE" and "DELETE" to use an alias for the target table - (Atsushi Ogawa) - The SQL standard does not permit an alias in these commands, but - many database systems allow one anyway for notational convenience. - * Allow "UPDATE" to set multiple columns with a list of values - (Susanne Ebrecht) - This is basically a short-hand for assigning the columns and values - in pairs. The syntax is UPDATE tab SET (column, ...) = (val, ...). - * Make row comparisons work per standard (Tom) - The forms <, <=, >, >= now compare rows lexicographically, that is, - compare the first elements, if equal compare the second elements, - and so on. Formerly they expanded to an AND condition across all - the elements, which was neither standard nor very useful. - * Add CASCADE option to "TRUNCATE" (Joachim Wieland) - This causes "TRUNCATE" to automatically include all tables that - reference the specified table(s) via foreign keys. While - convenient, this is a dangerous tool -- use with caution! - * Support FOR UPDATE and FOR SHARE in the same SELECT command (Tom) - * Add IS NOT DISTINCT FROM (Pavel Stehule) - This operator is similar to equality (=), but evaluates to true - when both left and right operands are NULL, and to false when just - one is, rather than yielding NULL in these cases. - * Improve the length output used by UNION/INTERSECT/EXCEPT (Tom) - When all corresponding columns are of the same defined length, that - length is used for the result, rather than a generic length. - * Allow ILIKE to work for multi-byte encodings (Tom) - Internally, ILIKE now calls lower() and then uses LIKE. - Locale-specific regular expression patterns still do not work in - these encodings. - * Enable standard_conforming_strings to be turned on (Kevin Grittner) - This allows backslash escaping in strings to be disabled, making - PostgreSQL more standards-compliant. The default is off for - backwards compatibility, but future releases will default this to - on. - * Do not flatten subqueries that contain volatile functions in their - target lists (Jaime Casanova) - This prevents surprising behavior due to multiple evaluation of a - volatile function (such as random() or nextval()). It might cause - performance degradation in the presence of functions that are - unnecessarily marked as volatile. - * Add system views pg_prepared_statements and pg_cursors to show - prepared statements and open cursors (Joachim Wieland, Neil) - These are very useful in pooled connection setups. - * Support portal parameters in "EXPLAIN" and "EXECUTE" (Tom) - This allows, for example, JDBC ? parameters to work in these - commands. - * If SQL-level "PREPARE" parameters are unspecified, infer their - types from the content of the query (Neil) - Protocol-level "PREPARE" already did this. - * Allow LIMIT and OFFSET to exceed two billion (Dhanaraj M) - __________________________________________________________________ - -Object Manipulation Changes - - * Add TABLESPACE clause to "CREATE TABLE AS" (Neil) - This allows a tablespace to be specified for the new table. - * Add ON COMMIT clause to "CREATE TABLE AS" (Neil) - This allows temporary tables to be truncated or dropped on - transaction commit. The default behavior is for the table to remain - until the session ends. - * Add INCLUDING CONSTRAINTS to "CREATE TABLE LIKE" (Greg Stark) - This allows easy copying of CHECK constraints to a new table. - * Allow the creation of placeholder (shell) types (Martijn van - Oosterhout) - A shell type declaration creates a type name, without specifying - any of the details of the type. Making a shell type is useful - because it allows cleaner declaration of the type's input/output - functions, which must exist before the type can be defined "for - real". The syntax is "CREATE TYPE typename". - * Aggregate functions now support multiple input parameters (Sergey - Koposov, Tom) - * Add new aggregate creation syntax (Tom) - The new syntax is "CREATE AGGREGATE aggname (input_type) - (parameter_list)". This more naturally supports the new - multi-parameter aggregate functionality. The previous syntax is - still supported. - * Add "ALTER ROLE PASSWORD NULL" to remove a previously set role - password (Peter) - * Add "DROP" object IF EXISTS for many object types (Andrew) - This allows "DROP" operations on non-existent objects without - generating an error. - * Add DROP OWNED to drop all objects owned by a role (Alvaro) - * Add REASSIGN OWNED to reassign ownership of all objects owned by a - role (Alvaro) - This, and DROP OWNED above, facilitate dropping roles. - * Add "GRANT ON SEQUENCE" syntax (Bruce) - This was added for setting sequence-specific permissions. GRANT ON - TABLE for sequences is still supported for backward compatibility. - * Add USAGE permission for sequences that allows only currval() and - nextval(), not setval() (Bruce) - USAGE permission allows more fine-grained control over sequence - access. Granting USAGE allows users to increment a sequence, but - prevents them from setting the sequence to an arbitrary value using - setval(). - * Add ALTER TABLE [ NO ] INHERIT (Greg Stark) - This allows inheritance to be adjusted dynamically, rather than - just at table creation and destruction. This is very valuable when - using inheritance to implement table partitioning. - * Allow comments on global objects to be stored globally (Kris Jurka) - Previously, comments attached to databases were stored in - individual databases, making them ineffective, and there was no - provision at all for comments on roles or tablespaces. This change - adds a new shared catalog pg_shdescription and stores comments on - databases, roles, and tablespaces therein. - __________________________________________________________________ - -Utility Command Changes - - * Add option to allow indexes to be created without blocking - concurrent writes to the table (Greg Stark, Tom) - The new syntax is "CREATE INDEX CONCURRENTLY". The default behavior - is still to block table modification while a index is being - created. - * Provide advisory locking functionality (Abhijit Menon-Sen, Tom) - This is a new locking API designed to replace what used to be in - /contrib/userlock. The userlock code is now on pgfoundry. - * Allow "COPY" to dump a "SELECT" query (Zoltan Boszormenyi, Karel - Zak) - This allows "COPY" to dump arbitrary SQL queries. The syntax is - COPY (SELECT ...) TO. - * Make the "COPY" command return a command tag that includes the - number of rows copied (Volkan YAZICI) - * Allow "VACUUM" to expire rows without being affected by other - concurrent "VACUUM" operations (Hannu Krossing, Alvaro, Tom) - * Make initdb detect the operating system locale and set the default - DateStyle accordingly (Peter) - This makes it more likely that the installed "postgresql.conf" - DateStyle value will be as desired. - * Reduce number of progress messages displayed by initdb (Tom) - __________________________________________________________________ - -Date/Time Changes - - * Allow full timezone names in timestamp input values (Joachim - Wieland) - For example, '2006-05-24 21:11 America/New_York'::timestamptz. - * Support configurable timezone abbreviations (Joachim Wieland) - A desired set of timezone abbreviations can be chosen via the - configuration parameter timezone_abbreviations. - * Add pg_timezone_abbrevs and pg_timezone_names views to show - supported timezones (Magnus Hagander) - * Add clock_timestamp(), statement_timestamp(), and - transaction_timestamp() (Bruce) - clock_timestamp() is the current wall-clock time, - statement_timestamp() is the time the current statement arrived at - the server, and transaction_timestamp() is an alias for now(). - * Allow to_char() to print localized month and day names (Euler - Taveira de Oliveira) - * Allow to_char(time) and to_char(interval) to output AM/PM - specifications (Bruce) - Intervals and times are treated as 24-hour periods, e.g. 25 hours - is considered AM. - * Add new function justify_interval() to adjust interval units (Mark - Dilger) - * Allow timezone offsets up to 14:59 away from GMT - Kiribati uses GMT+14, so we'd better accept that. - * Interval computation improvements (Michael Glaesemann, Bruce) - __________________________________________________________________ - -Other Data Type and Function Changes - - * Allow arrays to contain NULL elements (Tom) - * Allow assignment to array elements not contiguous with the existing - entries (Tom) - The intervening array positions will be filled with nulls. This is - per SQL standard. - * New built-in operators for array-subset comparisons (@>, <@, &&) - (Teodor, Tom) - These operators can be indexed for many data types using GiST or - GIN indexes. - * Add convenient arithmetic operations on INET/CIDR values (Stephen - R. van den Berg) - The new operators are & (and), | (or), ~ (not), inet + int8, inet - - int8, and inet - inet. - * Add new aggregate functions from SQL:2003 (Neil) - The new functions are var_pop(), var_samp(), stddev_pop(), and - stddev_samp(). var_samp() and stddev_samp() are merely renamings of - the existing aggregates variance() and stddev(). The latter names - remain available for backward compatibility. - * Add SQL:2003 statistical aggregates (Sergey Koposov) - New functions: regr_intercept(), regr_slope(), regr_r2(), corr(), - covar_samp(), covar_pop(), regr_avgx(), regr_avgy(), regr_sxy(), - regr_sxx(), regr_syy(), regr_count(). - * Allow domains to be based on other domains (Tom) - * Properly enforce domain CHECK constraints everywhere (Neil, Tom) - For example, the result of a user-defined function that is declared - to return a domain type is now checked against the domain's - constraints. This closes a significant hole in the domain - implementation. - * Fix problems with dumping renamed SERIAL columns (Tom) - The fix is to dump a SERIAL column by explicitly specifying its - DEFAULT and sequence elements, and reconstructing the SERIAL column - on reload using a new "ALTER SEQUENCE OWNED BY" command. This also - allows dropping a SERIAL column specification. - * Add a server-side sleep function pg_sleep() (Joachim Wieland) - * Add all comparison operators for the tid (tuple id) data type (Mark - Kirkwood, Greg Stark, Tom) - __________________________________________________________________ - -PL/pgSQL Server-Side Language Changes - - * Add TG_table_name and TG_table_schema to trigger parameters - (Andrew) - TG_relname is now deprecated. Comparable changes have been made in - the trigger parameters for the other PLs as well. - * Allow FOR statements to return values to scalars as well as records - and row types (Pavel Stehule) - * Add a BY clause to the FOR loop, to control the iteration increment - (Jaime Casanova) - * Add STRICT to "SELECT INTO" (Matt Miller) - STRICT mode throws an exception if more or less than one row is - returned by the "SELECT", for Oracle PL/SQL compatibility. - __________________________________________________________________ - -PL/Perl Server-Side Language Changes - - * Add table_name and table_schema to trigger parameters (Adam - Sjøgren) - * Add prepared queries (Dmitry Karasik) - * Make $_TD trigger data a global variable (Andrew) - Previously, it was lexical, which caused unexpected sharing - violations. - * Run PL/Perl and PL/PerlU in separate interpreters, for security - reasons (Andrew) - In consequence, they can no longer share data nor loaded modules. - Also, if Perl has not been compiled with the requisite flags to - allow multiple interpreters, only one of these languages can be - used in any given backend process. - __________________________________________________________________ - -PL/Python Server-Side Language Changes - - * Named parameters are passed as ordinary variables, as well as in - the args[] array (Sven Suursoho) - * Add table_name and table_schema to trigger parameters (Andrew) - * Allow returning of composite types and result sets (Sven Suursoho) - * Return result-set as list, iterator, or generator (Sven Suursoho) - * Allow functions to return void (Neil) - * Python 2.5 is now supported (Tom) - __________________________________________________________________ - -psql Changes - - * Add new command \password for changing role password with - client-side password encryption (Peter) - * Allow \c to connect to a new host and port number (David, Volkan - YAZICI) - * Add tablespace display to \l+ (Philip Yarra) - * Improve \df slash command to include the argument names and modes - (OUT or INOUT) of the function (David Fetter) - * Support binary "COPY" (Andreas Pflug) - * Add option to run the entire session in a single transaction - (Simon) - Use option -1 or --single-transaction. - * Support for automatically retrieving "SELECT" results in batches - using a cursor (Chris Mair) - This is enabled using "\set FETCH_COUNT n". This feature allows - large result sets to be retrieved in psql without attempting to - buffer the entire result set in memory. - * Make multi-line values align in the proper column (Martijn van - Oosterhout) - Field values containing newlines are now displayed in a more - readable fashion. - * Save multi-line statements as a single entry, rather than one line - at a time (Sergey E. Koposov) - This makes up-arrow recall of queries easier. (This is not - available on Windows, because that platform uses the native - command-line editing present in the operating system.) - * Make the line counter 64-bit so it can handle files with more than - two billion lines (David Fetter) - * Report both the returned data and the command status tag for - "INSERT"/"UPDATE"/"DELETE RETURNING" (Tom) - __________________________________________________________________ - -pg_dump Changes - - * Allow complex selection of objects to be included or excluded by - pg_dump (Greg Sabino Mullane) - pg_dump now supports multiple -n (schema) and -t (table) options, - and adds -N and -T options to exclude objects. Also, the arguments - of these switches can now be wild-card expressions rather than - single object names, for example -t 'foo*', and a schema can be - part of a -t or -T switch, for example -t schema1.table1. - * Add pg_restore --no-data-for-failed-tables option to suppress - loading data if table creation failed (i.e., the table already - exists) (Martin Pitt) - * Add pg_restore option to run the entire session in a single - transaction (Simon) - Use option -1 or --single-transaction. - __________________________________________________________________ - -libpq Changes - - * Add PQencryptPassword() to encrypt passwords (Tom) - This allows passwords to be sent pre-encrypted for commands like - "ALTER ROLE ... PASSWORD". - * Add function PQisthreadsafe() (Bruce) - This allows applications to query the thread-safety status of the - library. - * Add PQdescribePrepared(), PQdescribePortal(), and related functions - to return information about previously prepared statements and open - cursors (Volkan YAZICI) - * Allow LDAP lookups from "pg_service.conf" (Laurenz Albe) - * Allow a hostname in "~/.pgpass" to match the default socket - directory (Bruce) - A blank hostname continues to match any Unix-socket connection, but - this addition allows entries that are specific to one of several - postmasters on the machine. - __________________________________________________________________ - -ecpg Changes - - * Allow "SHOW" to put its result into a variable (Joachim Wieland) - * Add "COPY TO STDOUT" (Joachim Wieland) - * Add regression tests (Joachim Wieland, Michael) - * Major source code cleanups (Joachim Wieland, Michael) - __________________________________________________________________ - -Windows Port - - * Allow MSVC to compile the PostgreSQL server (Magnus, Hiroshi Saito) - * Add MSVC support for utility commands and pg_dump (Hiroshi Saito) - * Add support for Windows code pages 1253, 1254, 1255, and 1257 (Kris - Jurka) - * Drop privileges on startup, so that the server can be started from - an administrative account (Magnus) - * Stability fixes (Qingqing Zhou, Magnus) - * Add native semaphore implementation (Qingqing Zhou) - The previous code mimicked SysV semaphores. - __________________________________________________________________ - -Source Code Changes - - * Add GIN (Generalized Inverted iNdex) index access method (Teodor, - Oleg) - * Remove R-tree indexing (Tom) - Rtree has been re-implemented using GiST. Among other differences, - this means that rtree indexes now have support for crash recovery - via write-ahead logging (WAL). - * Reduce libraries needlessly linked into the backend (Martijn van - Oosterhout, Tom) - * Add a configure flag to allow libedit to be preferred over GNU - readline (Bruce) - Use configure --with-libedit-preferred. - * Allow installation into directories containing spaces (Peter) - * Improve ability to relocate installation directories (Tom) - * Add support for Solaris x86_64 using the Solaris compiler (Pierre - Girard, Theo Schlossnagle, Bruce) - * Add DTrace support (Robert Lor) - * Add PG_VERSION_NUM for use by third-party applications wanting to - test the backend version in C using > and < comparisons (Bruce) - * Add XLOG_BLCKSZ as independent from BLCKSZ (Mark Wong) - * Add LWLOCK_STATS define to report locking activity (Tom) - * Emit warnings for unknown configure options (Martijn van - Oosterhout) - * Add server support for "plugin" libraries that can be used for - add-on tasks such as debugging and performance measurement (Korry - Douglas) - This consists of two features: a table of "rendezvous variables" - that allows separately-loaded shared libraries to communicate, and - a new configuration parameter local_preload_libraries that allows - libraries to be loaded into specific sessions without explicit - cooperation from the client application. This allows external - add-ons to implement features such as a PL/pgSQL debugger. - * Rename existing configuration parameter preload_libraries to - shared_preload_libraries (Tom) - This was done for clarity in comparison to local_preload_libraries. - * Add new configuration parameter server_version_num (Greg Sabino - Mullane) - This is like server_version, but is an integer, e.g. 80200. This - allows applications to make version checks more easily. - * Add a configuration parameter seq_page_cost (Tom) - * Re-implement the regression test script as a C program (Magnus, - Tom) - * Allow loadable modules to allocate shared memory and lightweight - locks (Marc Munro) - * Add automatic initialization and finalization of dynamically loaded - libraries (Ralf Engelschall, Tom) - New functions _PG_init() and _PG_fini() are called if the library - defines such symbols. Hence we no longer need to specify an - initialization function in shared_preload_libraries; we can assume - that the library used the _PG_init() convention instead. - * Add PG_MODULE_MAGIC header block to all shared object files - (Martijn van Oosterhout) - The magic block prevents version mismatches between loadable object - files and servers. - * Add shared library support for AIX (Laurenz Albe) - * New XML documentation section (Bruce) - __________________________________________________________________ - -Contrib Changes - - * Major tsearch2 improvements (Oleg, Teodor) - + multibyte encoding support, including UTF8 - + query rewriting support - + improved ranking functions - + thesaurus dictionary support - + Ispell dictionaries now recognize MySpell format, used by - OpenOffice - + GIN support - * Add adminpack module containing Pgadmin administration functions - (Dave) - These functions provide additional file system access routines not - present in the default PostgreSQL server. - * Add sslinfo module (Victor Wagner) - Reports information about the current connection's SSL certificate. - * Add pgrowlocks module (Tatsuo) - This shows row locking information for a specified table. - * Add hstore module (Oleg, Teodor) - * Add isn module, replacing isbn_issn (Jeremy Kronuz) - This new implementation supports EAN13, UPC, ISBN (books), ISMN - (music), and ISSN (serials). - * Add index information functions to pgstattuple (ITAGAKI Takahiro, - Satoshi Nagayasu) - * Add pg_freespacemap module to display free space map information - (Mark Kirkwood) - * pgcrypto now has all planned functionality (Marko Kreen) - + Include iMath library in pgcrypto to have the public-key - encryption functions always available. - + Add SHA224 algorithm that was missing in OpenBSD code. - + Activate builtin code for SHA224/256/384/512 hashes on older - OpenSSL to have those algorithms always available. - + New function gen_random_bytes() that returns cryptographically - strong randomness. Useful for generating encryption keys. - + Remove digest_exists(), hmac_exists() and cipher_exists() - functions. - * Improvements to cube module (Joshua Reich) - New functions are cube(float[]), cube(float[], float[]), and - cube_subset(cube, int4[]). - * Add async query capability to dblink (Kai Londenberg, Joe Conway) - * New operators for array-subset comparisons (@>, <@, &&) (Tom) - Various contrib packages already had these operators for their - datatypes, but the naming wasn't consistent. We have now added - consistently named array-subset comparison operators to the core - code and all the contrib packages that have such functionality. - (The old names remain available, but are deprecated.) - * Add uninstall scripts for all contrib packages that have install - scripts (David, Josh Drake) - __________________________________________________________________ - - Release 8.1.23 - - Release date: 2010-12-16 - - This release contains a variety of fixes from 8.1.22. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - - This is expected to be the last PostgreSQL release in the 8.1.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.1.23 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.18, see the release notes - for 8.1.18. - __________________________________________________________________ - -Changes - - * Force the default wal_sync_method to be fdatasync on Linux (Tom - Lane, Marti Raudsepp) - The default on Linux has actually been fdatasync for many years, - but recent kernel changes caused PostgreSQL to choose open_datasync - instead. This choice did not result in any performance improvement, - and caused outright failures on certain filesystems, notably ext4 - with the data=journal mount option. - * Fix recovery from base backup when the starting checkpoint WAL - record is not in the same WAL segment as its redo point (Jeff - Davis) - * Add support for detecting register-stack overrun on IA64 (Tom Lane) - The IA64 architecture has two hardware stacks. Full prevention of - stack-overrun failures requires checking both. - * Add a check for stack overflow in copyObject() (Tom Lane) - Certain code paths could crash due to stack overflow given a - sufficiently complex query. - * Fix detection of page splits in temporary GiST indexes (Heikki - Linnakangas) - It is possible to have a "concurrent" page split in a temporary - index, if for example there is an open cursor scanning the index - when an insertion is done. GiST failed to detect this case and - hence could deliver wrong results when execution of the cursor - continued. - * Avoid memory leakage while "ANALYZE"'ing complex index expressions - (Tom Lane) - * Ensure an index that uses a whole-row Var still depends on its - table (Tom Lane) - An index declared like create index i on t (foo(t.*)) would not - automatically get dropped when its table was dropped. - * Do not "inline" a SQL function with multiple OUT parameters (Tom - Lane) - This avoids a possible crash due to loss of information about the - expected result rowtype. - * Fix constant-folding of COALESCE() expressions (Tom Lane) - The planner would sometimes attempt to evaluate sub-expressions - that in fact could never be reached, possibly leading to unexpected - errors. - * Add print functionality for InhRelation nodes (Tom Lane) - This avoids a failure when debug_print_parse is enabled and certain - types of query are executed. - * Fix incorrect calculation of distance from a point to a horizontal - line segment (Tom Lane) - This bug affected several different geometric distance-measurement - operators. - * Fix PL/pgSQL's handling of "simple" expressions to not fail in - recursion or error-recovery cases (Tom Lane) - * Fix bug in "contrib/cube"'s GiST picksplit algorithm (Alexander - Korotkov) - This could result in considerable inefficiency, though not actually - incorrect answers, in a GiST index on a cube column. If you have - such an index, consider "REINDEX"ing it after installing this - update. - * Don't emit "identifier will be truncated" notices in - "contrib/dblink" except when creating new connections (Itagaki - Takahiro) - * Fix potential coredump on missing public key in "contrib/pgcrypto" - (Marti Raudsepp) - * Fix memory leak in "contrib/xml2"'s XPath query functions (Tom - Lane) - * Update time zone data files to tzdata release 2010o for DST law - changes in Fiji and Samoa; also historical corrections for Hong - Kong. - __________________________________________________________________ - - Release 8.1.22 - - Release date: 2010-10-04 - - This release contains a variety of fixes from 8.1.21. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - - The PostgreSQL community will stop releasing updates for the 8.1.X - release series in November 2010. Users are encouraged to update to a - newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.1.22 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.18, see the release notes - for 8.1.18. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Prevent show_session_authorization() from crashing within - autovacuum processes (Tom Lane) - * Defend against functions returning setof record where not all the - returned rows are actually of the same rowtype (Tom Lane) - * Fix possible failure when hashing a pass-by-reference function - result (Tao Ma, Tom Lane) - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Avoid recursion while assigning XIDs to heavily-nested - subtransactions (Andres Freund, Robert Haas) - The original coding could result in a crash if there was limited - stack space. - * Fix log_line_prefix's %i escape, which could produce junk early in - backend startup (Tom Lane) - * Fix possible data corruption in "ALTER TABLE ... SET TABLESPACE" - when archiving is enabled (Jeff Davis) - * Allow "CREATE DATABASE" and "ALTER DATABASE ... SET TABLESPACE" to - be interrupted by query-cancel (Guillaume Lelarge) - * In PL/Python, defend against null pointer results from - PyCObject_AsVoidPtr and PyCObject_FromVoidPtr (Peter Eisentraut) - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Fix "contrib/dblink" to handle connection names longer than 62 - bytes correctly (Itagaki Takahiro) - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - * Update time zone data files to tzdata release 2010l for DST law - changes in Egypt and Palestine; also historical corrections for - Finland. - This change also adds new names for two Micronesian timezones: - Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred - abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred - over Pacific/Ponape. - __________________________________________________________________ - - Release 8.1.21 - - Release date: 2010-05-17 - - This release contains a variety of fixes from 8.1.20. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.21 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.18, see the release notes - for 8.1.18. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Prevent infinite recursion in psql when expanding a variable that - refers to itself (Tom) - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - * Update time zone data files to tzdata release 2010j for DST law - changes in Argentina, Australian Antarctic, Bangladesh, Mexico, - Morocco, Pakistan, Palestine, Russia, Syria, Tunisia; also - historical corrections for Taiwan. - __________________________________________________________________ - - Release 8.1.20 - - Release date: 2010-03-15 - - This release contains a variety of fixes from 8.1.19. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.20 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.18, see the release notes - for 8.1.18. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Fix possible crashes when trying to recover from a failure in - subtransaction start (Tom) - * Fix server memory leak associated with use of savepoints and a - client encoding different from server's encoding (Tom) - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix integer-to-bit-string conversions to handle the first - fractional byte correctly when the output bit width is wider than - the given integer by something other than a multiple of 8 bits - (Tom) - * Fix some cases of pathologically slow regular expression matching - (Tom) - * Fix the STOP WAL LOCATION entry in backup history files to report - the next WAL segment's name when the end location is exactly at a - segment boundary (Itagaki Takahiro) - * Fix some more cases of temporary-file leakage (Heikki) - This corrects a problem introduced in the previous minor release. - One case that failed is when a plpgsql function returning set is - called within another function's exception handler. - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Fix psql's numericlocale option to not format strings it shouldn't - in latex and troff output formats (Heikki) - * Fix plpgsql failure in one case where a composite column is set to - NULL (Tom) - * Add volatile markings in PL/Python to avoid possible - compiler-specific misbehavior (Zdenek Kotala) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - * Fix assorted crashes in "contrib/xml2" caused by sloppy memory - management (Tom) - * Update time zone data files to tzdata release 2010e for DST law - changes in Bangladesh, Chile, Fiji, Mexico, Paraguay, Samoa. - __________________________________________________________________ - - Release 8.1.19 - - Release date: 2009-12-14 - - This release contains a variety of fixes from 8.1.18. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.19 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.18, see the release notes - for 8.1.18. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is cancelled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Ensure that shared tuple-level locks held by prepared transactions - are not ignored (Heikki) - * Fix premature drop of temporary files used for a cursor that is - accessed within a subtransaction (Heikki) - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Fix processing of ownership dependencies during CREATE OR REPLACE - FUNCTION (Tom) - * Ensure that Perl arrays are properly converted to PostgreSQL arrays - when returned by a set-returning PL/Perl function (Andrew Dunstan, - Abhijit Menon-Sen) - This worked correctly already for non-set-returning functions. - * Fix rare crash in exception processing in PL/Python (Peter) - * Ensure psql's flex module is compiled with the correct system - header definitions (Tom) - This fixes build failures on platforms where --enable-largefile - causes incompatible changes in the generated code. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - * Update time zone data files to tzdata release 2009s for DST law - changes in Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, - Pakistan, Palestine, Samoa, Syria; also historical corrections for - Hong Kong. - __________________________________________________________________ - - Release 8.1.18 - - Release date: 2009-09-09 - - This release contains a variety of fixes from 8.1.17. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.18 - - A dump/restore is not required for those running 8.1.X. However, if you - have any hash indexes on interval columns, you must "REINDEX" them - after updating to 8.1.18. Also, if you are upgrading from a version - earlier than 8.1.15, see the release notes for 8.1.15. - __________________________________________________________________ - -Changes - - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Fix handling of sub-SELECTs appearing in the arguments of an - outer-level aggregate function (Tom) - * Fix hash calculation for data type interval (Tom) - This corrects wrong results for hash joins on interval values. It - also changes the contents of hash indexes on interval columns. If - you have any such indexes, you must "REINDEX" them after updating. - * Treat to_char(..., 'TH') as an uppercase ordinal suffix with - 'HH'/'HH12' (Heikki) - It was previously handled as 'th' (lowercase). - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Fix calculation of distance between a point and a line segment - (Tom) - This led to incorrect results from a number of geometric operators. - * Fix money data type to work in locales where currency amounts have - no fractional digits, e.g. Japan (Itagaki Takahiro) - * Properly round datetime input like - 00:12:57.9999999999999999999999999999 (Tom) - * Fix poor choice of page split point in GiST R-tree operator classes - (Teodor) - * Fix portability issues in plperl initialization (Andrew Dunstan) - * Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is - empty (Jeff Davis) - * Fix "contrib/xml2"'s xslt_process() to properly handle the maximum - number of parameters (twenty) (Tom) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - * Update time zone data files to tzdata release 2009l for DST law - changes in Bangladesh, Egypt, Jordan, Pakistan, Argentina/San_Luis, - Cuba, Jordan (historical correction only), Mauritius, Morocco, - Palestine, Syria, Tunisia. - __________________________________________________________________ - - Release 8.1.17 - - Release date: 2009-03-16 - - This release contains a variety of fixes from 8.1.16. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.17 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.15, see the release notes - for 8.1.15. - __________________________________________________________________ - -Changes - - * Prevent error recursion crashes when encoding conversion fails - (Tom) - This change extends fixes made in the last two minor releases for - related failure scenarios. The previous fixes were narrowly - tailored for the original problem reports, but we have now - recognized that *any* error thrown by an encoding conversion - function could potentially lead to infinite recursion while trying - to report the error. The solution therefore is to disable - translation and encoding conversion and report the plain-ASCII form - of any error message, if we find we have gotten into a recursive - error reporting situation. (CVE-2009-0922) - * Disallow "CREATE CONVERSION" with the wrong encodings for the - specified conversion function (Heikki) - This prevents one possible scenario for encoding conversion - failure. The previous change is a backstop to guard against other - kinds of failures in the same area. - * Fix core dump when to_char() is given format codes that are - inappropriate for the type of the data argument (Tom) - * Fix decompilation of CASE WHEN with an implicit coercion (Tom) - This mistake could lead to Assert failures in an Assert-enabled - build, or an "unexpected CASE WHEN clause" error message in other - cases, when trying to examine or dump a view. - * Fix possible misassignment of the owner of a TOAST table's rowtype - (Tom) - If "CLUSTER" or a rewriting variant of "ALTER TABLE" were executed - by someone other than the table owner, the pg_type entry for the - table's TOAST table would end up marked as owned by that someone. - This caused no immediate problems, since the permissions on the - TOAST rowtype aren't examined by any ordinary database operation. - However, it could lead to unexpected failures if one later tried to - drop the role that issued the command (in 8.1 or 8.2), or "owner of - data type appears to be invalid" warnings from pg_dump after having - done so (in 8.3). - * Clean up PL/pgSQL error status variables fully at block exit - (Ashesh Vashi and Dave Page) - This is not a problem for PL/pgSQL itself, but the omission could - cause the PL/pgSQL Debugger to crash while examining the state of a - function. - * Add MUST (Mauritius Island Summer Time) to the default list of - known timezone abbreviations (Xavier Bugaud) - __________________________________________________________________ - - Release 8.1.16 - - Release date: 2009-02-02 - - This release contains a variety of fixes from 8.1.15. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.16 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.15, see the release notes - for 8.1.15. - __________________________________________________________________ - -Changes - - * Fix crash in autovacuum (Alvaro) - The crash occurs only after vacuuming a whole database for - anti-transaction-wraparound purposes, which means that it occurs - infrequently and is hard to track down. - * Improve handling of URLs in headline() function (Teodor) - * Improve handling of overlength headlines in headline() function - (Teodor) - * Prevent possible Assert failure or misconversion if an encoding - conversion is created with the wrong conversion function for the - specified pair of encodings (Tom, Heikki) - * Avoid unnecessary locking of small tables in "VACUUM" (Heikki) - * Ensure that the contents of a holdable cursor don't depend on the - contents of TOAST tables (Tom) - Previously, large field values in a cursor result might be - represented as TOAST pointers, which would fail if the referenced - table got dropped before the cursor is read, or if the large value - is deleted and then vacuumed away. This cannot happen with an - ordinary cursor, but it could with a cursor that is held past its - creating transaction. - * Fix uninitialized variables in "contrib/tsearch2"'s get_covers() - function (Teodor) - * Fix configure script to properly report failure when unable to - obtain linkage information for PL/Perl (Andrew) - * Make all documentation reference pgsql-bugs and/or pgsql-hackers as - appropriate, instead of the now-decommissioned pgsql-ports and - pgsql-patches mailing lists (Tom) - * Update time zone data files to tzdata release 2009a (for Kathmandu - and historical DST corrections in Switzerland, Cuba) - __________________________________________________________________ - - Release 8.1.15 - - Release date: 2008-11-03 - - This release contains a variety of fixes from 8.1.14. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.15 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. Also, if you were running a previous 8.1.X release, it is - recommended to "REINDEX" all GiST indexes after the upgrade. - __________________________________________________________________ - -Changes - - * Fix GiST index corruption due to marking the wrong index entry - "dead" after a deletion (Teodor) - This would result in index searches failing to find rows they - should have found. Corrupted indexes can be fixed with "REINDEX". - * Fix backend crash when the client encoding cannot represent a - localized error message (Tom) - We have addressed similar issues before, but it would still fail if - the "character has no equivalent" message itself couldn't be - converted. The fix is to disable localization and send the plain - ASCII error message when we detect such a situation. - * Fix possible crash when deeply nested functions are invoked from a - trigger (Tom) - * Fix mis-expansion of rule queries when a sub-SELECT appears in a - function call in FROM, a multi-row VALUES list, or a RETURNING list - (Tom) - The usual symptom of this problem is an "unrecognized node type" - error. - * Ensure an error is reported when a newly-defined PL/pgSQL trigger - function is invoked as a normal function (Tom) - * Prevent possible collision of relfilenode numbers when moving a - table to another tablespace with "ALTER SET TABLESPACE" (Heikki) - The command tried to re-use the existing filename, instead of - picking one that is known unused in the destination directory. - * Fix incorrect tsearch2 headline generation when single query item - matches first word of text (Sushant Sinha) - * Fix improper display of fractional seconds in interval values when - using a non-ISO datestyle in an "--enable-integer-datetimes" build - (Ron Mayer) - * Ensure SPI_getvalue and SPI_getbinval behave correctly when the - passed tuple and tuple descriptor have different numbers of columns - (Tom) - This situation is normal when a table has had columns added or - removed, but these two functions didn't handle it properly. The - only likely consequence is an incorrect error indication. - * Fix ecpg's parsing of "CREATE ROLE" (Michael) - * Fix recent breakage of pg_ctl restart (Tom) - * Update time zone data files to tzdata release 2008i (for DST law - changes in Argentina, Brazil, Mauritius, Syria) - __________________________________________________________________ - - Release 8.1.14 - - Release date: 2008-09-22 - - This release contains a variety of fixes from 8.1.13. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.14 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Widen local lock counters from 32 to 64 bits (Tom) - This responds to reports that the counters could overflow in - sufficiently long transactions, leading to unexpected "lock is - already held" errors. - * Fix possible duplicate output of tuples during a GiST index scan - (Teodor) - * Add checks in executor startup to ensure that the tuples produced - by an "INSERT" or "UPDATE" will match the target table's current - rowtype (Tom) - "ALTER COLUMN TYPE", followed by re-use of a previously cached - plan, could produce this type of situation. The check protects - against data corruption and/or crashes that could ensue. - * Fix AT TIME ZONE to first try to interpret its timezone argument as - a timezone abbreviation, and only try it as a full timezone name if - that fails, rather than the other way around as formerly (Tom) - The timestamp input functions have always resolved ambiguous zone - names in this order. Making AT TIME ZONE do so as well improves - consistency, and fixes a compatibility bug introduced in 8.1: in - ambiguous cases we now behave the same as 8.0 and before did, since - in the older versions AT TIME ZONE accepted *only* abbreviations. - * Fix datetime input functions to correctly detect integer overflow - when running on a 64-bit platform (Tom) - * Improve performance of writing very long log messages to syslog - (Tom) - * Fix bug in backwards scanning of a cursor on a SELECT DISTINCT ON - query (Tom) - * Fix planner bug with nested sub-select expressions (Tom) - If the outer sub-select has no direct dependency on the parent - query, but the inner one does, the outer value might not get - recalculated for new parent query rows. - * Fix planner to estimate that GROUP BY expressions yielding boolean - results always result in two groups, regardless of the expressions' - contents (Tom) - This is very substantially more accurate than the regular GROUP BY - estimate for certain boolean tests like "col" IS NULL. - * Fix PL/pgSQL to not fail when a FOR loop's target variable is a - record containing composite-type fields (Tom) - * Fix PL/Tcl to behave correctly with Tcl 8.5, and to be more careful - about the encoding of data sent to or from Tcl (Tom) - * Fix PL/Python to work with Python 2.5 - This is a back-port of fixes made during the 8.2 development cycle. - * Improve pg_dump and pg_restore's error reporting after failure to - send a SQL command (Tom) - * Fix pg_ctl to properly preserve postmaster command-line arguments - across a restart (Bruce) - * Update time zone data files to tzdata release 2008f (for DST law - changes in Argentina, Bahamas, Brazil, Mauritius, Morocco, - Pakistan, Palestine, and Paraguay) - __________________________________________________________________ - - Release 8.1.13 - - Release date: 2008-06-12 - - This release contains one serious and one minor bug fix over 8.1.12. - For information about new features in the 8.1 major release, see the - Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.13 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Make pg_get_ruledef() parenthesize negative constants (Tom) - Before this fix, a negative constant in a view or rule might be - dumped as, say, -42::integer, which is subtly incorrect: it should - be (-42)::integer due to operator precedence rules. Usually this - would make little difference, but it could interact with another - recent patch to cause PostgreSQL to reject what had been a valid - "SELECT DISTINCT" view query. Since this could result in pg_dump - output failing to reload, it is being treated as a high-priority - fix. The only released versions in which dump output is actually - incorrect are 8.3.1 and 8.2.7. - * Make "ALTER AGGREGATE ... OWNER TO" update pg_shdepend (Tom) - This oversight could lead to problems if the aggregate was later - involved in a "DROP OWNED" or "REASSIGN OWNED" operation. - __________________________________________________________________ - - Release 8.1.12 - - Release date: never released - - This release contains a variety of fixes from 8.1.11. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.12 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Fix "ALTER TABLE ADD COLUMN ... PRIMARY KEY" so that the new column - is correctly checked to see if it's been initialized to all - non-nulls (Brendan Jurd) - Previous versions neglected to check this requirement at all. - * Fix possible "CREATE TABLE" failure when inheriting the "same" - constraint from multiple parent relations that inherited that - constraint from a common ancestor (Tom) - * Fix conversions between ISO-8859-5 and other encodings to handle - Cyrillic "Yo" characters (e and E with two dots) (Sergey Burladyan) - * Fix a few datatype input functions that were allowing unused bytes - in their results to contain uninitialized, unpredictable values - (Tom) - This could lead to failures in which two apparently identical - literal values were not seen as equal, resulting in the parser - complaining about unmatched ORDER BY and DISTINCT expressions. - * Fix a corner case in regular-expression substring matching - (substring(string from pattern)) (Tom) - The problem occurs when there is a match to the pattern overall but - the user has specified a parenthesized subexpression and that - subexpression hasn't got a match. An example is substring('foo' - from 'foo(bar)?'). This should return NULL, since (bar) isn't - matched, but it was mistakenly returning the whole-pattern match - instead (ie, foo). - * Update time zone data files to tzdata release 2008c (for DST law - changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, - Argentina/San_Luis, and Chile) - * Fix incorrect result from ecpg's PGTYPEStimestamp_sub() function - (Michael) - * Fix core dump in "contrib/xml2"'s xpath_table() function when the - input query returns a NULL value (Tom) - * Fix "contrib/xml2"'s makefile to not override CFLAGS (Tom) - * Fix DatumGetBool macro to not fail with gcc 4.3 (Tom) - This problem affects "old style" (V0) C functions that return - boolean. The fix is already in 8.3, but the need to back-patch it - was not realized at the time. - * Fix longstanding "LISTEN"/"NOTIFY" race condition (Tom) - In rare cases a session that had just executed a "LISTEN" might not - get a notification, even though one would be expected because the - concurrent transaction executing "NOTIFY" was observed to commit - later. - A side effect of the fix is that a transaction that has executed a - not-yet-committed "LISTEN" command will not see any row in - pg_listener for the "LISTEN", should it choose to look; formerly it - would have. This behavior was never documented one way or the - other, but it is possible that some applications depend on the old - behavior. - * Disallow "LISTEN" and "UNLISTEN" within a prepared transaction - (Tom) - This was formerly allowed but trying to do it had various - unpleasant consequences, notably that the originating backend could - not exit as long as an "UNLISTEN" remained uncommitted. - * Fix rare crash when an error occurs during a query using a hash - index (Heikki) - * Fix input of datetime values for February 29 in years BC (Tom) - The former coding was mistaken about which years were leap years. - * Fix "unrecognized node type" error in some variants of "ALTER - OWNER" (Tom) - * Fix pg_ctl to correctly extract the postmaster's port number from - command-line options (Itagaki Takahiro, Tom) - Previously, pg_ctl start -w could try to contact the postmaster on - the wrong port, leading to bogus reports of startup failure. - * Use "-fwrapv" to defend against possible misoptimization in recent - gcc versions (Tom) - This is known to be necessary when building PostgreSQL with gcc 4.3 - or later. - * Fix display of constant expressions in ORDER BY and GROUP BY (Tom) - An explictly casted constant would be shown incorrectly. This could - for example lead to corruption of a view definition during dump and - reload. - * Fix libpq to handle NOTICE messages correctly during COPY OUT (Tom) - This failure has only been observed to occur when a user-defined - datatype's output routine issues a NOTICE, but there is no - guarantee it couldn't happen due to other causes. - __________________________________________________________________ - - Release 8.1.11 - - Release date: 2008-01-07 - - This release contains a variety of fixes from 8.1.10, including fixes - for significant security issues. For information about new features in - the 8.1 major release, see the Section called Release 8.1. - - This is the last 8.1.X release for which the PostgreSQL community will - produce binary packages for Windows. Windows users are encouraged to - move to 8.2.X or later, since there are Windows-specific fixes in 8.2.X - that are impractical to back-port. 8.1.X will continue to be supported - on other platforms. - __________________________________________________________________ - -Migration to Version 8.1.11 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Prevent functions in indexes from executing with the privileges of - the user running "VACUUM", "ANALYZE", etc (Tom) - Functions used in index expressions and partial-index predicates - are evaluated whenever a new table entry is made. It has long been - understood that this poses a risk of trojan-horse code execution if - one modifies a table owned by an untrustworthy user. (Note that - triggers, defaults, check constraints, etc. pose the same type of - risk.) But functions in indexes pose extra danger because they will - be executed by routine maintenance operations such as "VACUUM - FULL", which are commonly performed automatically under a superuser - account. For example, a nefarious user can execute code with - superuser privileges by setting up a trojan-horse index definition - and waiting for the next routine vacuum. The fix arranges for - standard maintenance operations (including "VACUUM", "ANALYZE", - "REINDEX", and "CLUSTER") to execute as the table owner rather than - the calling user, using the same privilege-switching mechanism - already used for SECURITY DEFINER functions. To prevent bypassing - this security measure, execution of "SET SESSION AUTHORIZATION" and - "SET ROLE" is now forbidden within a SECURITY DEFINER context. - (CVE-2007-6600) - * Repair assorted bugs in the regular-expression package (Tom, Will - Drewry) - Suitably crafted regular-expression patterns could cause crashes, - infinite or near-infinite looping, and/or massive memory - consumption, all of which pose denial-of-service hazards for - applications that accept regex search patterns from untrustworthy - sources. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - The fix that appeared for this in 8.1.10 was incomplete, as it - plugged the hole for only some "dblink" functions. (CVE-2007-6601, - CVE-2007-3278) - * Update time zone data files to tzdata release 2007k (in particular, - recent Argentina changes) (Tom) - * Improve planner's handling of LIKE/regex estimation in non-C - locales (Tom) - * Fix planner failure in some cases of WHERE false AND var IN (SELECT - ...) (Tom) - * Preserve the tablespace of indexes that are rebuilt by "ALTER TABLE - ... ALTER COLUMN TYPE" (Tom) - * Make archive recovery always start a new WAL timeline, rather than - only when a recovery stop time was used (Simon) - This avoids a corner-case risk of trying to overwrite an existing - archived copy of the last WAL segment, and seems simpler and - cleaner than the original definition. - * Make "VACUUM" not use all of maintenance_work_mem when the table is - too small for it to be useful (Alvaro) - * Fix potential crash in translate() when using a multibyte database - encoding (Tom) - * Fix overflow in extract(epoch from interval) for intervals - exceeding 68 years (Tom) - * Fix PL/Perl to not fail when a UTF-8 regular expression is used in - a trusted function (Andrew) - * Fix PL/Perl to cope when platform's Perl defines type bool as int - rather than char (Tom) - While this could theoretically happen anywhere, no standard build - of Perl did things this way ... until Mac OS X 10.5. - * Fix PL/Python to not crash on long exception messages (Alvaro) - * Fix pg_dump to correctly handle inheritance child tables that have - default expressions different from their parent's (Tom) - * Fix libpq crash when PGPASSFILE refers to a file that is not a - plain file (Martin Pitt) - * ecpg parser fixes (Michael) - * Make "contrib/pgcrypto" defend against OpenSSL libraries that fail - on keys longer than 128 bits; which is the case at least on some - Solaris versions (Marko Kreen) - * Make "contrib/tablefunc"'s crosstab() handle NULL rowid as a - category in its own right, rather than crashing (Joe) - * Fix tsvector and tsquery output routines to escape backslashes - correctly (Teodor, Bruce) - * Fix crash of to_tsvector() on huge input strings (Teodor) - * Require a specific version of Autoconf to be used when - re-generating the "configure" script (Peter) - This affects developers and packagers only. The change was made to - prevent accidental use of untested combinations of Autoconf and - PostgreSQL versions. You can remove the version check if you really - want to use a different Autoconf version, but it's your - responsibility whether the result works or not. - __________________________________________________________________ - - Release 8.1.10 - - Release date: 2007-09-17 - - This release contains a variety of fixes from 8.1.9. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.10 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Prevent index corruption when a transaction inserts rows and then - aborts close to the end of a concurrent "VACUUM" on the same table - (Tom) - * Make "CREATE DOMAIN ... DEFAULT NULL" work properly (Tom) - * Allow the interval data type to accept input consisting only of - milliseconds or microseconds (Neil) - * Speed up rtree index insertion (Teodor) - * Fix excessive logging of SSL error messages (Tom) - * Fix logging so that log messages are never interleaved when using - the syslogger process (Andrew) - * Fix crash when log_min_error_statement logging runs out of memory - (Tom) - * Fix incorrect handling of some foreign-key corner cases (Tom) - * Prevent "REINDEX" and "CLUSTER" from failing due to attempting to - process temporary tables of other sessions (Alvaro) - * Update the time zone database rules, particularly New Zealand's - upcoming changes (Tom) - * Windows socket improvements (Magnus) - * Suppress timezone name (%Z) in log timestamps on Windows because of - possible encoding mismatches (Tom) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - __________________________________________________________________ - - Release 8.1.9 - - Release date: 2007-04-23 - - This release contains a variety of fixes from 8.1.8, including a - security fix. For information about new features in the 8.1 major - release, see the Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.9 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Support explicit placement of the temporary-table schema within - search_path, and disable searching it for functions and operators - (Tom) - This is needed to allow a security-definer function to set a truly - secure value of search_path. Without it, an unprivileged SQL user - can use temporary objects to execute code with the privileges of - the security-definer function (CVE-2007-2138). See "CREATE - FUNCTION" for more information. - * "/contrib/tsearch2" crash fixes (Teodor) - * Require "COMMIT PREPARED" to be executed in the same database as - the transaction was prepared in (Heikki) - * Fix potential-data-corruption bug in how "VACUUM FULL" handles - "UPDATE" chains (Tom, Pavan Deolasee) - * Planner fixes, including improving outer join and bitmap scan - selection logic (Tom) - * Fix PANIC during enlargement of a hash index (bug introduced in - 8.1.6) (Tom) - * Fix POSIX-style timezone specs to follow new USA DST rules (Tom) - __________________________________________________________________ - - Release 8.1.8 - - Release date: 2007-02-07 - - This release contains one fix from 8.1.7. For information about new - features in the 8.1 major release, see the Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.8 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Remove overly-restrictive check for type length in constraints and - functional indexes(Tom) - __________________________________________________________________ - - Release 8.1.7 - - Release date: 2007-02-05 - - This release contains a variety of fixes from 8.1.6, including a - security fix. For information about new features in the 8.1 major - release, see the Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.7 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Remove security vulnerabilities that allowed connected users to - read backend memory (Tom) - The vulnerabilities involve suppressing the normal check that a SQL - function returns the data type it's declared to, and changing the - data type of a table column (CVE-2007-0555, CVE-2007-0556). These - errors can easily be exploited to cause a backend crash, and in - principle might be used to read database content that the user - should not be able to access. - * Fix rare bug wherein btree index page splits could fail due to - choosing an infeasible split point (Heikki Linnakangas) - * Improve "VACUUM" performance for databases with many tables (Tom) - * Fix autovacuum to avoid leaving non-permanent transaction IDs in - non-connectable databases (Alvaro) - This bug affects the 8.1 branch only. - * Fix for rare Assert() crash triggered by UNION (Tom) - * Tighten security of multi-byte character processing for UTF8 - sequences over three bytes long (Tom) - * Fix bogus "permission denied" failures occurring on Windows due to - attempts to fsync already-deleted files (Magnus, Tom) - * Fix possible crashes when an already-in-use PL/pgSQL function is - updated (Tom) - __________________________________________________________________ - - Release 8.1.6 - - Release date: 2007-01-08 - - This release contains a variety of fixes from 8.1.5. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.6 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Improve handling of getaddrinfo() on AIX (Tom) - This fixes a problem with starting the statistics collector, among - other things. - * Fix pg_restore to handle a tar-format backup that contains large - objects (blobs) with comments (Tom) - * Fix "failed to re-find parent key" errors in "VACUUM" (Tom) - * Clean out "pg_internal.init" cache files during server restart - (Simon) - This avoids a hazard that the cache files might contain stale data - after PITR recovery. - * Fix race condition for truncation of a large relation across a - gigabyte boundary by "VACUUM" (Tom) - * Fix bug causing needless deadlock errors on row-level locks (Tom) - * Fix bugs affecting multi-gigabyte hash indexes (Tom) - * Fix possible deadlock in Windows signal handling (Teodor) - * Fix error when constructing an ARRAY[] made up of multiple empty - elements (Tom) - * Fix ecpg memory leak during connection (Michael) - * Fix for Darwin (OS X) compilation (Tom) - * to_number() and to_char(numeric) are now STABLE, not IMMUTABLE, for - new initdb installs (Tom) - This is because lc_numeric can potentially change the output of - these functions. - * Improve index usage of regular expressions that use parentheses - (Tom) - This improves psql \d performance also. - * Update timezone database - This affects Australian and Canadian daylight-savings rules in - particular. - __________________________________________________________________ - - Release 8.1.5 - - Release date: 2006-10-16 - - This release contains a variety of fixes from 8.1.4. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.5 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Disallow aggregate functions in "UPDATE" commands, except within - sub-SELECTs (Tom) - The behavior of such an aggregate was unpredictable, and in 8.1.X - could cause a crash, so it has been disabled. The SQL standard does - not allow this either. - * Fix core dump when an untyped literal is taken as ANYARRAY - * Fix core dump in duration logging for extended query protocol when - a "COMMIT" or "ROLLBACK" is executed - * Fix mishandling of AFTER triggers when query contains a SQL - function returning multiple rows (Tom) - * Fix "ALTER TABLE ... TYPE" to recheck NOT NULL for USING clause - (Tom) - * Fix string_to_array() to handle overlapping matches for the - separator string - For example, string_to_array('123xx456xxx789', 'xx'). - * Fix to_timestamp() for AM/PM formats (Bruce) - * Fix autovacuum's calculation that decides whether "ANALYZE" is - needed (Alvaro) - * Fix corner cases in pattern matching for psql's \d commands - * Fix index-corrupting bugs in /contrib/ltree (Teodor) - * Numerous robustness fixes in ecpg (Joachim Wieland) - * Fix backslash escaping in /contrib/dbmirror - * Minor fixes in /contrib/dblink and /contrib/tsearch2 - * Efficiency improvements in hash tables and bitmap index scans (Tom) - * Fix instability of statistics collection on Windows (Tom, Andrew) - * Fix statement_timeout to use the proper units on Win32 (Bruce) - In previous Win32 8.1.X versions, the delay was off by a factor of - 100. - * Fixes for MSVC and Borland C++ compilers (Hiroshi Saito) - * Fixes for AIX and Intel compilers (Tom) - * Fix rare bug in continuous archiving (Tom) - __________________________________________________________________ - - Release 8.1.4 - - Release date: 2006-05-23 - - This release contains a variety of fixes from 8.1.3, including patches - for extremely serious security issues. For information about new - features in the 8.1 major release, see the Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.4 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - - Full security against the SQL-injection attacks described in - CVE-2006-2313 and CVE-2006-2314 might require changes in application - code. If you have applications that embed untrustworthy strings into - SQL commands, you should examine them as soon as possible to ensure - that they are using recommended escaping techniques. In most cases, - applications should be using subroutines provided by libraries or - drivers (such as libpq's PQescapeStringConn()) to perform string - escaping, rather than relying on ad hoc code to do it. - __________________________________________________________________ - -Changes - - * Change the server to reject invalidly-encoded multibyte characters - in all cases (Tatsuo, Tom) - While PostgreSQL has been moving in this direction for some time, - the checks are now applied uniformly to all encodings and all - textual input, and are now always errors not merely warnings. This - change defends against SQL-injection attacks of the type described - in CVE-2006-2313. - * Reject unsafe uses of \' in string literals - As a server-side defense against SQL-injection attacks of the type - described in CVE-2006-2314, the server now only accepts '' and not - \' as a representation of ASCII single quote in SQL string - literals. By default, \' is rejected only when client_encoding is - set to a client-only encoding (SJIS, BIG5, GBK, GB18030, or UHC), - which is the scenario in which SQL injection is possible. A new - configuration parameter backslash_quote is available to adjust this - behavior when needed. Note that full security against CVE-2006-2314 - might require client-side changes; the purpose of backslash_quote - is in part to make it obvious that insecure clients are insecure. - * Modify libpq's string-escaping routines to be aware of encoding - considerations and standard_conforming_strings - This fixes libpq-using applications for the security issues - described in CVE-2006-2313 and CVE-2006-2314, and also - future-proofs them against the planned changeover to SQL-standard - string literal syntax. Applications that use multiple PostgreSQL - connections concurrently should migrate to PQescapeStringConn() and - PQescapeByteaConn() to ensure that escaping is done correctly for - the settings in use in each database connection. Applications that - do string escaping "by hand" should be modified to rely on library - routines instead. - * Fix weak key selection in pgcrypto (Marko Kreen) - Errors in fortuna PRNG reseeding logic could cause a predictable - session key to be selected by pgp_sym_encrypt() in some cases. This - only affects non-OpenSSL-using builds. - * Fix some incorrect encoding conversion functions - win1251_to_iso, win866_to_iso, euc_tw_to_big5, euc_tw_to_mic, - mic_to_euc_tw were all broken to varying extents. - * Clean up stray remaining uses of \' in strings (Bruce, Jan) - * Make autovacuum visible in pg_stat_activity (Alvaro) - * Disable full_page_writes (Tom) - In certain cases, having full_page_writes off would cause crash - recovery to fail. A proper fix will appear in 8.2; for now it's - just disabled. - * Various planner fixes, particularly for bitmap index scans and - MIN/MAX optimization (Tom) - * Fix incorrect optimization in merge join (Tom) - Outer joins could sometimes emit multiple copies of unmatched rows. - * Fix crash from using and modifying a plpgsql function in the same - transaction - * Fix WAL replay for case where a B-Tree index has been truncated - * Fix SIMILAR TO for patterns involving | (Tom) - * Fix "SELECT INTO" and "CREATE TABLE AS" to create tables in the - default tablespace, not the base directory (Kris Jurka) - * Fix server to use custom DH SSL parameters correctly (Michael Fuhr) - * Improve qsort performance (Dann Corbit) - Currently this code is only used on Solaris. - * Fix for OS/X Bonjour on x86 systems (Ashley Clark) - * Fix various minor memory leaks - * Fix problem with password prompting on some Win32 systems (Robert - Kinberg) - * Improve pg_dump's handling of default values for domains - * Fix pg_dumpall to handle identically-named users and groups - reasonably (only possible when dumping from a pre-8.1 server) (Tom) - The user and group will be merged into a single role with LOGIN - permission. Formerly the merged role wouldn't have LOGIN - permission, making it unusable as a user. - * Fix pg_restore -n to work as documented (Tom) - __________________________________________________________________ - - Release 8.1.3 - - Release date: 2006-02-14 - - This release contains a variety of fixes from 8.1.2, including one very - serious security issue. For information about new features in the 8.1 - major release, see the Section called Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.3 - - A dump/restore is not required for those running 8.1.X. However, if you - are upgrading from a version earlier than 8.1.2, see the release notes - for 8.1.2. - __________________________________________________________________ - -Changes - - * Fix bug that allowed any logged-in user to "SET ROLE" to any other - database user id (CVE-2006-0553) - Due to inadequate validity checking, a user could exploit the - special case that "SET ROLE" normally uses to restore the previous - role setting after an error. This allowed ordinary users to acquire - superuser status, for example. The escalation-of-privilege risk - exists only in 8.1.0-8.1.2. However, in all releases back to 7.3 - there is a related bug in "SET SESSION AUTHORIZATION" that allows - unprivileged users to crash the server, if it has been compiled - with Asserts enabled (which is not the default). Thanks to Akio - Ishida for reporting this problem. - * Fix bug with row visibility logic in self-inserted rows (Tom) - Under rare circumstances a row inserted by the current command - could be seen as already valid, when it should not be. Repairs bug - created in 8.0.4, 7.4.9, and 7.3.11 releases. - * Fix race condition that could lead to "file already exists" errors - during pg_clog and pg_subtrans file creation (Tom) - * Fix cases that could lead to crashes if a cache-invalidation - message arrives at just the wrong time (Tom) - * Properly check DOMAIN constraints for UNKNOWN parameters in - prepared statements (Neil) - * Ensure "ALTER COLUMN TYPE" will process FOREIGN KEY, UNIQUE, and - PRIMARY KEY constraints in the proper order (Nakano Yoshihisa) - * Fixes to allow restoring dumps that have cross-schema references to - custom operators or operator classes (Tom) - * Allow pg_restore to continue properly after a "COPY" failure; - formerly it tried to treat the remaining "COPY" data as SQL - commands (Stephen Frost) - * Fix pg_ctl unregister crash when the data directory is not - specified (Magnus) - * Fix libpq PQprint HTML tags (Christoph Zwerschke) - * Fix ecpg crash on AMD64 and PPC (Neil) - * Allow SETOF and %TYPE to be used together in function result type - declarations - * Recover properly if error occurs during argument passing in - PL/python (Neil) - * Fix memory leak in plperl_return_next (Neil) - * Fix PL/perl's handling of locales on Win32 to match the backend - (Andrew) - * Various optimizer fixes (Tom) - * Fix crash when log_min_messages is set to DEBUG3 or above in - "postgresql.conf" on Win32 (Bruce) - * Fix pgxs -L library path specification for Win32, Cygwin, OS X, AIX - (Bruce) - * Check that SID is enabled while checking for Win32 admin privileges - (Magnus) - * Properly reject out-of-range date inputs (Kris Jurka) - * Portability fix for testing presence of finite and isinf during - configure (Tom) - * Improve speed of "COPY IN" via libpq, by avoiding a kernel call per - data line (Alon Goldshuv) - * Improve speed of "/contrib/tsearch2" index creation (Tom) - __________________________________________________________________ - - Release 8.1.2 - - Release date: 2006-01-09 - - This release contains a variety of fixes from 8.1.1. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.2 - - A dump/restore is not required for those running 8.1.X. However, you - might need to "REINDEX" indexes on textual columns after updating, if - you are affected by the locale or plperl issues described below. - __________________________________________________________________ - -Changes - - * Fix Windows code so that postmaster will continue rather than exit - if there is no more room in ShmemBackendArray (Magnus) - The previous behavior could lead to a denial-of-service situation - if too many connection requests arrive close together. This applies - *only* to the Windows port. - * Fix bug introduced in 8.0 that could allow ReadBuffer to return an - already-used page as new, potentially causing loss of - recently-committed data (Tom) - * Fix for protocol-level Describe messages issued outside a - transaction or in a failed transaction (Tom) - * Fix character string comparison for locales that consider different - character combinations as equal, such as Hungarian (Tom) - This might require "REINDEX" to fix existing indexes on textual - columns. - * Set locale environment variables during postmaster startup to - ensure that plperl won't change the locale later - This fixes a problem that occurred if the postmaster was started - with environment variables specifying a different locale than what - initdb had been told. Under these conditions, any use of plperl was - likely to lead to corrupt indexes. You might need "REINDEX" to fix - existing indexes on textual columns if this has happened to you. - * Allow more flexible relocation of installation directories (Tom) - Previous releases supported relocation only if all installation - directory paths were the same except for the last component. - * Prevent crashes caused by the use of ISO-8859-5 and ISO-8859-9 - encodings (Tatsuo) - * Fix longstanding bug in strpos() and regular expression handling in - certain rarely used Asian multi-byte character sets (Tatsuo) - * Fix bug where COPY CSV mode considered any \. to terminate the copy - data - The new code requires \. to appear alone on a line, as per - documentation. - * Make COPY CSV mode quote a literal data value of \. to ensure it - cannot be interpreted as the end-of-data marker (Bruce) - * Various fixes for functions returning RECORDs (Tom) - * Fix processing of "postgresql.conf" so a final line with no newline - is processed properly (Tom) - * Fix bug in "/contrib/pgcrypto" gen_salt, which caused it not to use - all available salt space for MD5 and XDES algorithms (Marko Kreen, - Solar Designer) - Salts for Blowfish and standard DES are unaffected. - * Fix autovacuum crash when processing expression indexes - * Fix "/contrib/dblink" to throw an error, rather than crashing, when - the number of columns specified is different from what's actually - returned by the query (Joe) - __________________________________________________________________ - - Release 8.1.1 - - Release date: 2005-12-12 - - This release contains a variety of fixes from 8.1.0. For information - about new features in the 8.1 major release, see the Section called - Release 8.1. - __________________________________________________________________ - -Migration to Version 8.1.1 - - A dump/restore is not required for those running 8.1.X. - __________________________________________________________________ - -Changes - - * Fix incorrect optimizations of outer-join conditions (Tom) - * Fix problems with wrong reported column names in cases involving - sub-selects flattened by the optimizer (Tom) - * Fix update failures in scenarios involving CHECK constraints, - toasted columns, *and* indexes (Tom) - * Fix bgwriter problems after recovering from errors (Tom) - The background writer was found to leak buffer pins after write - errors. While not fatal in itself, this might lead to mysterious - blockages of later VACUUM commands. - * Prevent failure if client sends Bind protocol message when current - transaction is already aborted - * "/contrib/tsearch2" and "/contrib/ltree" fixes (Teodor) - * Fix problems with translated error messages in languages that - require word reordering, such as Turkish; also problems with - unexpected truncation of output strings and wrong display of the - smallest possible bigint value (Andrew, Tom) - These problems only appeared on platforms that were using our - "port/snprintf.c" code, which includes BSD variants if --enable-nls - was given, and perhaps others. In addition, a different form of the - translated-error-message problem could appear on Windows depending - on which version of "libintl" was used. - * Re-allow AM/PM, HH, HH12, and D format specifiers for to_char(time) - and to_char(interval). (to_char(interval) should probably use - HH24.) (Bruce) - * AIX, HPUX, and MSVC compile fixes (Tom, Hiroshi Saito) - * Optimizer improvements (Tom) - * Retry file reads and writes after Windows NO_SYSTEM_RESOURCES error - (Qingqing Zhou) - * Prevent autovacuum from crashing during ANALYZE of expression index - (Alvaro) - * Fix problems with ON COMMIT DELETE ROWS temp tables - * Fix problems when a trigger alters the output of a SELECT DISTINCT - query - * Add 8.1.0 release note item on how to migrate invalid UTF-8 byte - sequences (Paul Lindner) - __________________________________________________________________ - - Release 8.1 - - Release date: 2005-11-08 - __________________________________________________________________ - -Overview - - Major changes in this release: - - Improve concurrent access to the shared buffer cache (Tom) - Access to the shared buffer cache was identified as a - significant scalability problem, particularly on multi-CPU - systems. In this release, the way that locking is done in the - buffer manager has been overhauled to reduce lock contention and - improve scalability. The buffer manager has also been changed to - use a "clock sweep" replacement policy. - - Allow index scans to use an intermediate in-memory bitmap (Tom) - In previous releases, only a single index could be used to do - lookups on a table. With this feature, if a query has "WHERE - tab.col1 = 4 and tab.col2 = 9", and there is no multicolumn - index on col1 and col2, but there is an index on col1 and - another on col2, it is possible to search both indexes and - combine the results in memory, then do heap fetches for only the - rows matching both the col1 and col2 restrictions. This is very - useful in environments that have a lot of unstructured queries - where it is impossible to create indexes that match all possible - access conditions. Bitmap scans are useful even with a single - index, as they reduce the amount of random access needed; a - bitmap index scan is efficient for retrieving fairly large - fractions of the complete table, whereas plain index scans are - not. - - Add two-phase commit (Heikki Linnakangas, Alvaro, Tom) - Two-phase commit allows transactions to be "prepared" on several - computers, and once all computers have successfully prepared - their transactions (none failed), all transactions can be - committed. Even if a machine crashes after a prepare, the - prepared transaction can be committed after the machine is - restarted. New syntax includes "PREPARE TRANSACTION" and - "COMMIT/ROLLBACK PREPARED". A new system view pg_prepared_xacts - has also been added. - - Create a new role system that replaces users and groups (Stephen Frost) - Roles are a combination of users and groups. Like users, they - can have login capability, and like groups, a role can have - other roles as members. Roles basically remove the distinction - between users and groups. For example, a role can: - - + Have login capability (optionally) - + Own objects - + Hold access permissions for database objects - + Inherit permissions from other roles it is a member of - - Once a user logs into a role, she obtains capabilities of the - login role plus any inherited roles, and can use "SET ROLE" to - switch to other roles she is a member of. This feature is a - generalization of the SQL standard's concept of roles. This - change also replaces pg_shadow and pg_group by new role-capable - catalogs pg_authid and pg_auth_members. The old tables are - redefined as read-only views on the new role tables. - - Automatically use indexes for MIN() and MAX() (Tom) - In previous releases, the only way to use an index for MIN() or - MAX() was to rewrite the query as "SELECT col FROM tab ORDER BY - col LIMIT 1". Index usage now happens automatically. - - Move /contrib/pg_autovacuum into the main server (Alvaro) - Integrating autovacuum into the server allows it to be - automatically started and stopped in sync with the database - server, and allows autovacuum to be configured from - "postgresql.conf". - - Add shared row level locks using SELECT ... FOR SHARE (Alvaro) - While PostgreSQL's MVCC locking allows "SELECT" to never be - blocked by writers and therefore does not need shared row locks - for typical operations, shared locks are useful for applications - that require shared row locking. In particular this reduces the - locking requirements imposed by referential integrity checks. - - Add dependencies on shared objects, specifically roles (Alvaro) - This extension of the dependency mechanism prevents roles from - being dropped while there are still database objects they own. - Formerly it was possible to accidentally "orphan" objects by - deleting their owner. While this could be recovered from, it was - messy and unpleasant. - - Improve performance for partitioned tables (Simon) - The new constraint_exclusion configuration parameter avoids - lookups on child tables where constraints indicate that no - matching rows exist in the child table. - - This allows for a basic type of table partitioning. If child - tables store separate key ranges and this is enforced using - appropriate "CHECK" constraints, the optimizer will skip child - table accesses when the constraint guarantees no matching rows - exist in the child table. - __________________________________________________________________ - -Migration to Version 8.1 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - The 8.0 release announced that the to_char() function for intervals - would be removed in 8.1. However, since no better API has been - suggested, to_char(interval) has been enhanced in 8.1 and will remain - in the server. - - Observe the following incompatibilities: - - * add_missing_from is now false by default (Neil) - By default, we now generate an error if a table is used in a query - without a FROM reference. The old behavior is still available, but - the parameter must be set to 'true' to obtain it. - It might be necessary to set add_missing_from to true in order to - load an existing dump file, if the dump contains any views or rules - created using the implicit-FROM syntax. This should be a one-time - annoyance, because PostgreSQL 8.1 will convert such views and rules - to standard explicit-FROM syntax. Subsequent dumps will therefore - not have the problem. - * Cause input of a zero-length string ('') for float4/float8/oid to - throw an error, rather than treating it as a zero (Neil) - This change is consistent with the current handling of zero-length - strings for integers. The schedule for this change was announced in - 8.0. - * default_with_oids is now false by default (Neil) - With this option set to false, user-created tables no longer have - an OID column unless "WITH OIDS" is specified in "CREATE TABLE". - Though OIDs have existed in all releases of PostgreSQL, their use - is limited because they are only four bytes long and the counter is - shared across all installed databases. The preferred way of - uniquely identifying rows is via sequences and the SERIAL type, - which have been supported since PostgreSQL 6.4. - * Add E'' syntax so eventually ordinary strings can treat backslashes - literally (Bruce) - Currently PostgreSQL processes a backslash in a string literal as - introducing a special escape sequence, e.g. \n or \010. While this - allows easy entry of special values, it is nonstandard and makes - porting of applications from other databases more difficult. For - this reason, the PostgreSQL project is planning to remove the - special meaning of backslashes in strings. For backward - compatibility and for users who want special backslash processing, - a new string syntax has been created. This new string syntax is - formed by writing an E immediately preceding the single quote that - starts the string, e.g. E'hi\n'. While this release does not change - the handling of backslashes in strings, it does add new - configuration parameters to help users migrate applications for - future releases: - + standard_conforming_strings -- does this release treat - backslashes literally in ordinary strings? - + escape_string_warning -- warn about backslashes in ordinary - (non-E) strings - The standard_conforming_strings value is read-only. Applications - can retrieve the value to know how backslashes are processed. - (Presence of the parameter can also be taken as an indication that - E'' string syntax is supported.) In a future release, - standard_conforming_strings will be true, meaning backslashes will - be treated literally in non-E strings. To prepare for this change, - use E'' strings in places that need special backslash processing, - and turn on escape_string_warning to find additional strings that - need to be converted to use E''. Also, use two single-quotes ('') - to embed a literal single-quote in a string, rather than the - PostgreSQL-supported syntax of backslash single-quote (\'). The - former is standards-conforming and does not require the use of the - E'' string syntax. You can also use the $$ string syntax, which - does not treat backslashes specially. - * Make "REINDEX DATABASE" reindex all indexes in the database (Tom) - Formerly, "REINDEX DATABASE" reindexed only system tables. This new - behavior seems more intuitive. A new command "REINDEX SYSTEM" - provides the old functionality of reindexing just the system - tables. - * Read-only large object descriptors now obey MVCC snapshot semantics - When a large object is opened with INV_READ (and not INV_WRITE), - the data read from the descriptor will now reflect a "snapshot" of - the large object's state at the time of the transaction snapshot in - use by the query that called lo_open(). To obtain the old behavior - of always returning the latest committed data, include INV_WRITE in - the mode flags for lo_open(). - * Add proper dependencies for arguments of sequence functions (Tom) - In previous releases, sequence names passed to nextval(), - currval(), and setval() were stored as simple text strings, meaning - that renaming or dropping a sequence used in a DEFAULT clause made - the clause invalid. This release stores all newly-created sequence - function arguments as internal OIDs, allowing them to track - sequence renaming, and adding dependency information that prevents - improper sequence removal. It also makes such DEFAULT clauses - immune to schema renaming and search path changes. - Some applications might rely on the old behavior of run-time lookup - for sequence names. This can still be done by explicitly casting - the argument to text, for example nextval('myseq'::text). - Pre-8.1 database dumps loaded into 8.1 will use the old text-based - representation and therefore will not have the features of - OID-stored arguments. However, it is possible to update a database - containing text-based DEFAULT clauses. First, save this query into - a file, such as "fixseq.sql": -SELECT 'ALTER TABLE ' || - pg_catalog.quote_ident(n.nspname) || '.' || - pg_catalog.quote_ident(c.relname) || - ' ALTER COLUMN ' || pg_catalog.quote_ident(a.attname) || - ' SET DEFAULT ' || - regexp_replace(d.adsrc, - $$val\(\(('[^']*')::text\)::regclass$$, - $$val(\1$$, - 'g') || - ';' -FROM pg_namespace n, pg_class c, pg_attribute a, pg_attrdef d -WHERE n.oid = c.relnamespace AND - c.oid = a.attrelid AND - a.attrelid = d.adrelid AND - a.attnum = d.adnum AND - d.adsrc ~ $$val\(\('[^']*'::text\)::regclass$$; - Next, run the query against a database to find what adjustments are - required, like this for database db1: -psql -t -f fixseq.sql db1 - This will show the "ALTER TABLE" commands needed to convert the - database to the newer OID-based representation. If the commands - look reasonable, run this to update the database: -psql -t -f fixseq.sql db1 | psql -e db1 - This process must be repeated in each database to be updated. - * In psql, treat unquoted \{digit}+ sequences as octal (Bruce) - In previous releases, \{digit}+ sequences were treated as decimal, - and only \0{digit}+ were treated as octal. This change was made for - consistency. - * Remove grammar productions for prefix and postfix % and ^ operators - (Tom) - These have never been documented and complicated the use of the - modulus operator (%) with negative numbers. - * Make &< and &> for polygons consistent with the box "over" - operators (Tom) - * "CREATE LANGUAGE" can ignore the provided arguments in favor of - information from pg_pltemplate (Tom) - A new system catalog pg_pltemplate has been defined to carry - information about the preferred definitions of procedural languages - (such as whether they have validator functions). When an entry - exists in this catalog for the language being created, "CREATE - LANGUAGE" will ignore all its parameters except the language name - and instead use the catalog information. This measure was taken - because of increasing problems with obsolete language definitions - being loaded by old dump files. As of 8.1, pg_dump will dump - procedural language definitions as just "CREATE LANGUAGE name", - relying on a template entry to exist at load time. We expect this - will be a more future-proof representation. - * Make pg_cancel_backend(int) return a boolean rather than an integer - (Neil) - * Some users are having problems loading UTF-8 data into 8.1.X. This - is because previous versions allowed invalid UTF-8 byte sequences - to be entered into the database, and this release properly accepts - only valid UTF-8 sequences. One way to correct a dumpfile is to run - the command "iconv -c -f UTF-8 -t UTF-8 -o cleanfile.sql - dumpfile.sql". The -c option removes invalid character sequences. A - diff of the two files will show the sequences that are invalid. - "iconv" reads the entire input file into memory so it might be - necessary to use split to break up the dump into multiple smaller - files for processing. - __________________________________________________________________ - -Additional Changes - - Below you will find a detailed account of the additional changes - between PostgreSQL 8.1 and the previous major release. - __________________________________________________________________ - -Performance Improvements - - * Improve GiST and R-tree index performance (Neil) - * Improve the optimizer, including auto-resizing of hash joins (Tom) - * Overhaul internal API in several areas - * Change WAL record CRCs from 64-bit to 32-bit (Tom) - We determined that the extra cost of computing 64-bit CRCs was - significant, and the gain in reliability too marginal to justify - it. - * Prevent writing large empty gaps in WAL pages (Tom) - * Improve spinlock behavior on SMP machines, particularly Opterons - (Tom) - * Allow nonconsecutive index columns to be used in a multicolumn - index (Tom) - For example, this allows an index on columns a,b,c to be used in a - query with "WHERE a = 4 and c = 10". - * Skip WAL logging for "CREATE TABLE AS" / "SELECT INTO" (Simon) - Since a crash during "CREATE TABLE AS" would cause the table to be - dropped during recovery, there is no reason to WAL log as the table - is loaded. (Logging still happens if WAL archiving is enabled, - however.) - * Allow concurrent GiST index access (Teodor, Oleg) - * Add configuration parameter full_page_writes to control writing - full pages to WAL (Bruce) - To prevent partial disk writes from corrupting the database, - PostgreSQL writes a complete copy of each database disk page to WAL - the first time it is modified after a checkpoint. This option turns - off that functionality for more speed. This is safe to use with - battery-backed disk caches where partial page writes cannot happen. - * Use O_DIRECT if available when using O_SYNC for wal_sync_method - (Itagaki Takahiro) - O_DIRECT causes disk writes to bypass the kernel cache, and for WAL - writes, this improves performance. - * Improve "COPY FROM" performance (Alon Goldshuv) - This was accomplished by reading "COPY" input in larger chunks, - rather than character by character. - * Improve the performance of COUNT(), SUM, AVG(), STDDEV(), and - VARIANCE() (Neil, Tom) - __________________________________________________________________ - -Server Changes - - * Prevent problems due to transaction ID (XID) wraparound (Tom) - The server will now warn when the transaction counter approaches - the wraparound point. If the counter becomes too close to - wraparound, the server will stop accepting queries. This ensures - that data is not lost before needed vacuuming is performed. - * Fix problems with object IDs (OIDs) conflicting with existing - system objects after the OID counter has wrapped around (Tom) - * Add warning about the need to increase max_fsm_relations and - max_fsm_pages during "VACUUM" (Ron Mayer) - * Add temp_buffers configuration parameter to allow users to - determine the size of the local buffer area for temporary table - access (Tom) - * Add session start time and client IP address to pg_stat_activity - (Magnus) - * Adjust pg_stat views for bitmap scans (Tom) - The meanings of some of the fields have changed slightly. - * Enhance pg_locks view (Tom) - * Log queries for client-side "PREPARE" and "EXECUTE" (Simon) - * Allow Kerberos name and user name case sensitivity to be specified - in "postgresql.conf" (Magnus) - * Add configuration parameter krb_server_hostname so that the server - host name can be specified as part of service principal (Todd - Kover) - If not set, any service principal matching an entry in the keytab - can be used. This is new Kerberos matching behavior in this - release. - * Add log_line_prefix options for millisecond timestamps (%m) and - remote host (%h) (Ed L.) - * Add WAL logging for GiST indexes (Teodor, Oleg) - GiST indexes are now safe for crash and point-in-time recovery. - * Remove old "*.backup" files when we do pg_stop_backup() (Bruce) - This prevents a large number of "*.backup" files from existing in - "pg_xlog/". - * Add configuration parameters to control TCP/IP keep-alive times for - idle, interval, and count (Oliver Jowett) - These values can be changed to allow more rapid detection of lost - client connections. - * Add per-user and per-database connection limits (Petr Jelinek) - Using "ALTER USER" and "ALTER DATABASE", limits can now be enforced - on the maximum number of sessions that can concurrently connect as - a specific user or to a specific database. Setting the limit to - zero disables user or database connections. - * Allow more than two gigabytes of shared memory and per-backend work - memory on 64-bit machines (Koichi Suzuki) - * New system catalog pg_pltemplate allows overriding obsolete - procedural-language definitions in dump files (Tom) - __________________________________________________________________ - -Query Changes - - * Add temporary views (Koju Iijima, Neil) - * Fix "HAVING" without any aggregate functions or "GROUP BY" so that - the query returns a single group (Tom) - Previously, such a case would treat the "HAVING" clause the same as - a "WHERE" clause. This was not per spec. - * Add "USING" clause to allow additional tables to be specified to - "DELETE" (Euler Taveira de Oliveira, Neil) - In prior releases, there was no clear method for specifying - additional tables to be used for joins in a "DELETE" statement. - "UPDATE" already has a FROM clause for this purpose. - * Add support for \x hex escapes in backend and ecpg strings (Bruce) - This is just like the standard C \x escape syntax. Octal escapes - were already supported. - * Add "BETWEEN SYMMETRIC" query syntax (Pavel Stehule) - This feature allows "BETWEEN" comparisons without requiring the - first value to be less than the second. For example, "2 BETWEEN - [ASYMMETRIC] 3 AND 1" returns false, while "2 BETWEEN SYMMETRIC 3 - AND 1" returns true. "BETWEEN ASYMMETRIC" was already supported. - * Add "NOWAIT" option to "SELECT ... FOR UPDATE/SHARE" (Hans-Juergen - Schoenig) - While the statement_timeout configuration parameter allows a query - taking more than a certain amount of time to be cancelled, the - "NOWAIT" option allows a query to be canceled as soon as a "SELECT - ... FOR UPDATE/SHARE" command cannot immediately acquire a row - lock. - __________________________________________________________________ - -Object Manipulation Changes - - * Track dependencies of shared objects (Alvaro) - PostgreSQL allows global tables (users, databases, tablespaces) to - reference information in multiple databases. This addition adds - dependency information for global tables, so, for example, user - ownership can be tracked across databases, so a user who owns - something in any database can no longer be removed. Dependency - tracking already existed for database-local objects. - * Allow limited "ALTER OWNER" commands to be performed by the object - owner (Stephen Frost) - Prior releases allowed only superusers to change object owners. - Now, ownership can be transferred if the user executing the command - owns the object and would be able to create it as the new owner - (that is, the user is a member of the new owning role and that role - has the CREATE permission that would be needed to create the object - afresh). - * Add "ALTER" object "SET SCHEMA" capability for some object types - (tables, functions, types) (Bernd Helmle) - This allows objects to be moved to different schemas. - * Add "ALTER TABLE ENABLE/DISABLE TRIGGER" to disable triggers - (Satoshi Nagayasu) - __________________________________________________________________ - -Utility Command Changes - - * Allow "TRUNCATE" to truncate multiple tables in a single command - (Alvaro) - Because of referential integrity checks, it is not allowed to - truncate a table that is part of a referential integrity - constraint. Using this new functionality, "TRUNCATE" can be used to - truncate such tables, if both tables involved in a referential - integrity constraint are truncated in a single "TRUNCATE" command. - * Properly process carriage returns and line feeds in "COPY CSV" mode - (Andrew) - In release 8.0, carriage returns and line feeds in "CSV COPY TO" - were processed in an inconsistent manner. (This was documented on - the TODO list.) - * Add "COPY WITH CSV HEADER" to allow a header line as the first line - in "COPY" (Andrew) - This allows handling of the common "CSV" usage of placing the - column names on the first line of the data file. For "COPY TO", the - first line contains the column names, and for "COPY FROM", the - first line is ignored. - * On Windows, display better sub-second precision in "EXPLAIN - ANALYZE" (Magnus) - * Add trigger duration display to "EXPLAIN ANALYZE" (Tom) - Prior releases included trigger execution time as part of the total - execution time, but did not show it separately. It is now possible - to see how much time is spent in each trigger. - * Add support for \x hex escapes in "COPY" (Sergey Ten) - Previous releases only supported octal escapes. - * Make "SHOW ALL" include variable descriptions (Matthias Schmidt) - "SHOW" varname still only displays the variable's value and does - not include the description. - * Make initdb create a new standard database called postgres, and - convert utilities to use postgres rather than template1 for - standard lookups (Dave) - In prior releases, template1 was used both as a default connection - for utilities like createuser, and as a template for new databases. - This caused "CREATE DATABASE" to sometimes fail, because a new - database cannot be created if anyone else is in the template - database. With this change, the default connection database is now - postgres, meaning it is much less likely someone will be using - template1 during "CREATE DATABASE". - * Create new reindexdb command-line utility by moving - "/contrib/reindexdb" into the server (Euler Taveira de Oliveira) - __________________________________________________________________ - -Data Type and Function Changes - - * Add MAX() and MIN() aggregates for array types (Koju Iijima) - * Fix to_date() and to_timestamp() to behave reasonably when CC and - YY fields are both used (Karel Zak) - If the format specification contains CC and a year specification is - YYY or longer, ignore the CC. If the year specification is YY or - shorter, interpret CC as the previous century. - * Add md5(bytea) (Abhijit Menon-Sen) - md5(text) already existed. - * Add support for "numeric ^ numeric" based on power(numeric, - numeric) - The function already existed, but there was no operator assigned to - it. - * Fix NUMERIC modulus by properly truncating the quotient during - computation (Bruce) - In previous releases, modulus for large values sometimes returned - negative results due to rounding of the quotient. - * Add a function lastval() (Dennis Björklund) - lastval() is a simplified version of currval(). It automatically - determines the proper sequence name based on the most recent - nextval() or setval() call performed by the current session. - * Add to_timestamp(DOUBLE PRECISION) (Michael Glaesemann) - Converts Unix seconds since 1970 to a TIMESTAMP WITH TIMEZONE. - * Add pg_postmaster_start_time() function (Euler Taveira de Oliveira, - Matthias Schmidt) - * Allow the full use of time zone names in "AT TIME ZONE", not just - the short list previously available (Magnus) - Previously, only a predefined list of time zone names were - supported by "AT TIME ZONE". Now any supported time zone name can - be used, e.g.: -SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London'; - In the above query, the time zone used is adjusted based on the - daylight saving time rules that were in effect on the supplied - date. - * Add GREATEST() and LEAST() variadic functions (Pavel Stehule) - These functions take a variable number of arguments and return the - greatest or least value among the arguments. - * Add pg_column_size() (Mark Kirkwood) - This returns storage size of a column, which might be compressed. - * Add regexp_replace() (Atsushi Ogawa) - This allows regular expression replacement, like sed. An optional - flag argument allows selection of global (replace all) and - case-insensitive modes. - * Fix interval division and multiplication (Bruce) - Previous versions sometimes returned unjustified results, like "'4 - months'::interval / 5" returning "'1 mon -6 days'". - * Fix roundoff behavior in timestamp, time, and interval output (Tom) - This fixes some cases in which the seconds field would be shown as - 60 instead of incrementing the higher-order fields. - * Add a separate day field to type interval so a one day interval can - be distinguished from a 24 hour interval (Michael Glaesemann) - Days that contain a daylight saving time adjustment are not 24 - hours long, but typically 23 or 25 hours. This change creates a - conceptual distinction between intervals of "so many days" and - intervals of "so many hours". Adding 1 day to a timestamp now gives - the same local time on the next day even if a daylight saving time - adjustment occurs between, whereas adding 24 hours will give a - different local time when this happens. For example, under US DST - rules: -'2005-04-03 00:00:00-05' + '1 day' = '2005-04-04 00:00:00-04' -'2005-04-03 00:00:00-05' + '24 hours' = '2005-04-04 01:00:00-04' - * Add justify_days() and justify_hours() (Michael Glaesemann) - These functions, respectively, adjust days to an appropriate number - of full months and days, and adjust hours to an appropriate number - of full days and hours. - * Move "/contrib/dbsize" into the backend, and rename some of the - functions (Dave Page, Andreas Pflug) - + pg_tablespace_size() - + pg_database_size() - + pg_relation_size() - + pg_total_relation_size() - + pg_size_pretty() - pg_total_relation_size() includes indexes and TOAST tables. - * Add functions for read-only file access to the cluster directory - (Dave Page, Andreas Pflug) - + pg_stat_file() - + pg_read_file() - + pg_ls_dir() - * Add pg_reload_conf() to force reloading of the configuration files - (Dave Page, Andreas Pflug) - * Add pg_rotate_logfile() to force rotation of the server log file - (Dave Page, Andreas Pflug) - * Change pg_stat_* views to include TOAST tables (Tom) - __________________________________________________________________ - -Encoding and Locale Changes - - * Rename some encodings to be more consistent and to follow - international standards (Bruce) - + UNICODE is now UTF8 - + ALT is now WIN866 - + WIN is now WIN1251 - + TCVN is now WIN1258 - The original names still work. - * Add support for WIN1252 encoding (Roland Volkmann) - * Add support for four-byte UTF8 characters (John Hansen) - Previously only one, two, and three-byte UTF8 characters were - supported. This is particularly important for support for some - Chinese character sets. - * Allow direct conversion between EUC_JP and SJIS to improve - performance (Atsushi Ogawa) - * Allow the UTF8 encoding to work on Windows (Magnus) - This is done by mapping UTF8 to the Windows-native UTF16 - implementation. - __________________________________________________________________ - -General Server-Side Language Changes - - * Fix "ALTER LANGUAGE RENAME" (Sergey Yatskevich) - * Allow function characteristics, like strictness and volatility, to - be modified via "ALTER FUNCTION" (Neil) - * Increase the maximum number of function arguments to 100 (Tom) - * Allow SQL and PL/pgSQL functions to use "OUT" and "INOUT" - parameters (Tom) - "OUT" is an alternate way for a function to return values. Instead - of using "RETURN", values can be returned by assigning to - parameters declared as "OUT" or "INOUT". This is notationally - simpler in some cases, particularly so when multiple values need to - be returned. While returning multiple values from a function was - possible in previous releases, this greatly simplifies the process. - (The feature will be extended to other server-side languages in - future releases.) - * Move language handler functions into the pg_catalog schema - This makes it easier to drop the public schema if desired. - * Add SPI_getnspname() to SPI (Neil) - __________________________________________________________________ - -PL/pgSQL Server-Side Language Changes - - * Overhaul the memory management of PL/pgSQL functions (Neil) - The parsetree of each function is now stored in a separate memory - context. This allows this memory to be easily reclaimed when it is - no longer needed. - * Check function syntax at "CREATE FUNCTION" time, rather than at - runtime (Neil) - Previously, most syntax errors were reported only when the function - was executed. - * Allow "OPEN" to open non-"SELECT" queries like "EXPLAIN" and "SHOW" - (Tom) - * No longer require functions to issue a "RETURN" statement (Tom) - This is a byproduct of the newly added "OUT" and "INOUT" - functionality. "RETURN" can be omitted when it is not needed to - provide the function's return value. - * Add support for an optional "INTO" clause to PL/pgSQL's "EXECUTE" - statement (Pavel Stehule, Neil) - * Make "CREATE TABLE AS" set "ROW_COUNT" (Tom) - * Define SQLSTATE and SQLERRM to return the SQLSTATE and error - message of the current exception (Pavel Stehule, Neil) - These variables are only defined inside exception blocks. - * Allow the parameters to the "RAISE" statement to be expressions - (Pavel Stehule, Neil) - * Add a loop "CONTINUE" statement (Pavel Stehule, Neil) - * Allow block and loop labels (Pavel Stehule) - __________________________________________________________________ - -PL/Perl Server-Side Language Changes - - * Allow large result sets to be returned efficiently (Abhijit - Menon-Sen) - This allows functions to use return_next() to avoid building the - entire result set in memory. - * Allow one-row-at-a-time retrieval of query results (Abhijit - Menon-Sen) - This allows functions to use spi_query() and spi_fetchrow() to - avoid accumulating the entire result set in memory. - * Force PL/Perl to handle strings as UTF8 if the server encoding is - UTF8 (David Kamholz) - * Add a validator function for PL/Perl (Andrew) - This allows syntax errors to be reported at definition time, rather - than execution time. - * Allow PL/Perl to return a Perl array when the function returns an - array type (Andrew) - This basically maps PostgreSQL arrays to Perl arrays. - * Allow Perl nonfatal warnings to generate "NOTICE" messages (Andrew) - * Allow Perl's strict mode to be enabled (Andrew) - __________________________________________________________________ - -psql Changes - - * Add "\set ON_ERROR_ROLLBACK" to allow statements in a transaction - to error without affecting the rest of the transaction (Greg Sabino - Mullane) - This is basically implemented by wrapping every statement in a - sub-transaction. - * Add support for \x hex strings in psql variables (Bruce) - Octal escapes were already supported. - * Add support for "troff -ms" output format (Roger Leigh) - * Allow the history file location to be controlled by HISTFILE - (Andreas Seltenreich) - This allows configuration of per-database history storage. - * Prevent "\x" (expanded mode) from affecting the output of "\d - tablename" (Neil) - * Add "-L" option to psql to log sessions (Lorne Sunley) - This option was added because some operating systems do not have - simple command-line activity logging functionality. - * Make "\d" show the tablespaces of indexes (Qingqing Zhou) - * Allow psql help ("\h") to make a best guess on the proper help - information (Greg Sabino Mullane) - This allows the user to just add "\h" to the front of the syntax - error query and get help on the supported syntax. Previously any - additional query text beyond the command name had to be removed to - use "\h". - * Add "\pset numericlocale" to allow numbers to be output in a - locale-aware format (Eugen Nedelcu) - For example, using C locale 100000 would be output as 100,000.0 - while a European locale might output this value as 100.000,0. - * Make startup banner show both server version number and psql's - version number, when they are different (Bruce) - Also, a warning will be shown if the server and psql are from - different major releases. - __________________________________________________________________ - -pg_dump Changes - - * Add "-n" / "--schema" switch to pg_restore (Richard van den Berg) - This allows just the objects in a specified schema to be restored. - * Allow pg_dump to dump large objects even in text mode (Tom) - With this change, large objects are now always dumped; the former - "-b" switch is a no-op. - * Allow pg_dump to dump a consistent snapshot of large objects (Tom) - * Dump comments for large objects (Tom) - * Add "--encoding" to pg_dump (Magnus Hagander) - This allows a database to be dumped in an encoding that is - different from the server's encoding. This is valuable when - transferring the dump to a machine with a different encoding. - * Rely on pg_pltemplate for procedural languages (Tom) - If the call handler for a procedural language is in the pg_catalog - schema, pg_dump does not dump the handler. Instead, it dumps the - language using just "CREATE LANGUAGE name", relying on the - pg_pltemplate catalog to provide the language's creation parameters - at load time. - __________________________________________________________________ - -libpq Changes - - * Add a PGPASSFILE environment variable to specify the password - file's filename (Andrew) - * Add lo_create(), that is similar to lo_creat() but allows the OID - of the large object to be specified (Tom) - * Make libpq consistently return an error to the client application - on malloc() failure (Neil) - __________________________________________________________________ - -Source Code Changes - - * Fix pgxs to support building against a relocated installation - * Add spinlock support for the Itanium processor using Intel compiler - (Vikram Kalsi) - * Add Kerberos 5 support for Windows (Magnus) - * Add Chinese FAQ (laser@pgsqldb.com) - * Rename Rendezvous to Bonjour to match OS/X feature renaming (Bruce) - * Add support for fsync_writethrough on Darwin (Chris Campbell) - * Streamline the passing of information within the server, the - optimizer, and the lock system (Tom) - * Allow pg_config to be compiled using MSVC (Andrew) - This is required to build DBD::Pg using MSVC. - * Remove support for Kerberos V4 (Magnus) - Kerberos 4 had security vulnerabilities and is no longer - maintained. - * Code cleanups (Coverity static analysis performed by EnterpriseDB) - * Modify "postgresql.conf" to use documentation defaults on/off - rather than true/false (Bruce) - * Enhance pg_config to be able to report more build-time values (Tom) - * Allow libpq to be built thread-safe on Windows (Dave Page) - * Allow IPv6 connections to be used on Windows (Andrew) - * Add Server Administration documentation about I/O subsystem - reliability (Bruce) - * Move private declarations from "gist.h" to "gist_private.h" (Neil) - In previous releases, "gist.h" contained both the public GiST API - (intended for use by authors of GiST index implementations) as well - as some private declarations used by the implementation of GiST - itself. The latter have been moved to a separate file, - "gist_private.h". Most GiST index implementations should be - unaffected. - * Overhaul GiST memory management (Neil) - GiST methods are now always invoked in a short-lived memory - context. Therefore, memory allocated via palloc() will be reclaimed - automatically, so GiST index implementations do not need to - manually release allocated memory via pfree(). - __________________________________________________________________ - -Contrib Changes - - * Add "/contrib/pg_buffercache" contrib module (Mark Kirkwood) - This displays the contents of the buffer cache, for debugging and - performance tuning purposes. - * Remove "/contrib/array" because it is obsolete (Tom) - * Clean up the "/contrib/lo" module (Tom) - * Move "/contrib/findoidjoins" to "/src/tools" (Tom) - * Remove the <<, >>, &<, and &> operators from "/contrib/cube" - These operators were not useful. - * Improve "/contrib/btree_gist" (Janko Richter) - * Improve "/contrib/pgbench" (Tomoaki Sato, Tatsuo) - There is now a facility for testing with SQL command scripts given - by the user, instead of only a hard-wired command sequence. - * Improve "/contrib/pgcrypto" (Marko Kreen) - + Implementation of OpenPGP symmetric-key and public-key - encryption - Both RSA and Elgamal public-key algorithms are supported. - + Stand alone build: include SHA256/384/512 hashes, Fortuna PRNG - + OpenSSL build: support 3DES, use internal AES with OpenSSL < - 0.9.7 - + Take build parameters (OpenSSL, zlib) from "configure" result - There is no need to edit the "Makefile" anymore. - + Remove support for "libmhash" and "libmcrypt" - __________________________________________________________________ - - Release 8.0.26 - - Release date: 2010-10-04 - - This release contains a variety of fixes from 8.0.25. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - - This is expected to be the last PostgreSQL release in the 8.0.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 8.0.26 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.22, see the release notes - for 8.0.22. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Defend against functions returning setof record where not all the - returned rows are actually of the same rowtype (Tom Lane) - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Avoid recursion while assigning XIDs to heavily-nested - subtransactions (Andres Freund, Robert Haas) - The original coding could result in a crash if there was limited - stack space. - * Fix log_line_prefix's %i escape, which could produce junk early in - backend startup (Tom Lane) - * Fix possible data corruption in "ALTER TABLE ... SET TABLESPACE" - when archiving is enabled (Jeff Davis) - * Allow "CREATE DATABASE" and "ALTER DATABASE ... SET TABLESPACE" to - be interrupted by query-cancel (Guillaume Lelarge) - * In PL/Python, defend against null pointer results from - PyCObject_AsVoidPtr and PyCObject_FromVoidPtr (Peter Eisentraut) - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Fix "contrib/dblink" to handle connection names longer than 62 - bytes correctly (Itagaki Takahiro) - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - * Update time zone data files to tzdata release 2010l for DST law - changes in Egypt and Palestine; also historical corrections for - Finland. - This change also adds new names for two Micronesian timezones: - Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred - abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred - over Pacific/Ponape. - __________________________________________________________________ - - Release 8.0.25 - - Release date: 2010-05-17 - - This release contains a variety of fixes from 8.0.24. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - - The PostgreSQL community will stop releasing updates for the 8.0.X - release series in July 2010. Users are encouraged to update to a newer - release branch soon. - __________________________________________________________________ - -Migration to Version 8.0.25 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.22, see the release notes - for 8.0.22. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Prevent infinite recursion in psql when expanding a variable that - refers to itself (Tom) - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - * Update time zone data files to tzdata release 2010j for DST law - changes in Argentina, Australian Antarctic, Bangladesh, Mexico, - Morocco, Pakistan, Palestine, Russia, Syria, Tunisia; also - historical corrections for Taiwan. - __________________________________________________________________ - - Release 8.0.24 - - Release date: 2010-03-15 - - This release contains a variety of fixes from 8.0.23. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - - The PostgreSQL community will stop releasing updates for the 8.0.X - release series in July 2010. Users are encouraged to update to a newer - release branch soon. - __________________________________________________________________ - -Migration to Version 8.0.24 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.22, see the release notes - for 8.0.22. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Fix possible crashes when trying to recover from a failure in - subtransaction start (Tom) - * Fix server memory leak associated with use of savepoints and a - client encoding different from server's encoding (Tom) - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix integer-to-bit-string conversions to handle the first - fractional byte correctly when the output bit width is wider than - the given integer by something other than a multiple of 8 bits - (Tom) - * Fix some cases of pathologically slow regular expression matching - (Tom) - * Fix the STOP WAL LOCATION entry in backup history files to report - the next WAL segment's name when the end location is exactly at a - segment boundary (Itagaki Takahiro) - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Fix plpgsql failure in one case where a composite column is set to - NULL (Tom) - * Add volatile markings in PL/Python to avoid possible - compiler-specific misbehavior (Zdenek Kotala) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - * Fix assorted crashes in "contrib/xml2" caused by sloppy memory - management (Tom) - * Update time zone data files to tzdata release 2010e for DST law - changes in Bangladesh, Chile, Fiji, Mexico, Paraguay, Samoa. - __________________________________________________________________ - - Release 8.0.23 - - Release date: 2009-12-14 - - This release contains a variety of fixes from 8.0.22. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.23 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.22, see the release notes - for 8.0.22. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is cancelled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Fix premature drop of temporary files used for a cursor that is - accessed within a subtransaction (Heikki) - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Fix rare crash in exception processing in PL/Python (Peter) - * Ensure psql's flex module is compiled with the correct system - header definitions (Tom) - This fixes build failures on platforms where --enable-largefile - causes incompatible changes in the generated code. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - * Update time zone data files to tzdata release 2009s for DST law - changes in Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, - Pakistan, Palestine, Samoa, Syria; also historical corrections for - Hong Kong. - __________________________________________________________________ - - Release 8.0.22 - - Release date: 2009-09-09 - - This release contains a variety of fixes from 8.0.21. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.22 - - A dump/restore is not required for those running 8.0.X. However, if you - have any hash indexes on interval columns, you must "REINDEX" them - after updating to 8.0.22. Also, if you are upgrading from a version - earlier than 8.0.6, see the release notes for 8.0.6. - __________________________________________________________________ - -Changes - - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Fix handling of sub-SELECTs appearing in the arguments of an - outer-level aggregate function (Tom) - * Fix hash calculation for data type interval (Tom) - This corrects wrong results for hash joins on interval values. It - also changes the contents of hash indexes on interval columns. If - you have any such indexes, you must "REINDEX" them after updating. - * Treat to_char(..., 'TH') as an uppercase ordinal suffix with - 'HH'/'HH12' (Heikki) - It was previously handled as 'th' (lowercase). - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Fix calculation of distance between a point and a line segment - (Tom) - This led to incorrect results from a number of geometric operators. - * Fix money data type to work in locales where currency amounts have - no fractional digits, e.g. Japan (Itagaki Takahiro) - * Properly round datetime input like - 00:12:57.9999999999999999999999999999 (Tom) - * Fix poor choice of page split point in GiST R-tree operator classes - (Teodor) - * Fix portability issues in plperl initialization (Andrew Dunstan) - * Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is - empty (Jeff Davis) - * Fix "contrib/xml2"'s xslt_process() to properly handle the maximum - number of parameters (twenty) (Tom) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - * Update time zone data files to tzdata release 2009l for DST law - changes in Bangladesh, Egypt, Jordan, Pakistan, Argentina/San_Luis, - Cuba, Jordan (historical correction only), Mauritius, Morocco, - Palestine, Syria, Tunisia. - __________________________________________________________________ - - Release 8.0.21 - - Release date: 2009-03-16 - - This release contains a variety of fixes from 8.0.20. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.21 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Prevent error recursion crashes when encoding conversion fails - (Tom) - This change extends fixes made in the last two minor releases for - related failure scenarios. The previous fixes were narrowly - tailored for the original problem reports, but we have now - recognized that *any* error thrown by an encoding conversion - function could potentially lead to infinite recursion while trying - to report the error. The solution therefore is to disable - translation and encoding conversion and report the plain-ASCII form - of any error message, if we find we have gotten into a recursive - error reporting situation. (CVE-2009-0922) - * Disallow "CREATE CONVERSION" with the wrong encodings for the - specified conversion function (Heikki) - This prevents one possible scenario for encoding conversion - failure. The previous change is a backstop to guard against other - kinds of failures in the same area. - * Fix core dump when to_char() is given format codes that are - inappropriate for the type of the data argument (Tom) - * Add MUST (Mauritius Island Summer Time) to the default list of - known timezone abbreviations (Xavier Bugaud) - __________________________________________________________________ - - Release 8.0.20 - - Release date: 2009-02-02 - - This release contains a variety of fixes from 8.0.19. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.20 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Improve handling of URLs in headline() function (Teodor) - * Improve handling of overlength headlines in headline() function - (Teodor) - * Prevent possible Assert failure or misconversion if an encoding - conversion is created with the wrong conversion function for the - specified pair of encodings (Tom, Heikki) - * Avoid unnecessary locking of small tables in "VACUUM" (Heikki) - * Fix uninitialized variables in "contrib/tsearch2"'s get_covers() - function (Teodor) - * Make all documentation reference pgsql-bugs and/or pgsql-hackers as - appropriate, instead of the now-decommissioned pgsql-ports and - pgsql-patches mailing lists (Tom) - * Update time zone data files to tzdata release 2009a (for Kathmandu - and historical DST corrections in Switzerland, Cuba) - __________________________________________________________________ - - Release 8.0.19 - - Release date: 2008-11-03 - - This release contains a variety of fixes from 8.0.18. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.19 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Fix backend crash when the client encoding cannot represent a - localized error message (Tom) - We have addressed similar issues before, but it would still fail if - the "character has no equivalent" message itself couldn't be - converted. The fix is to disable localization and send the plain - ASCII error message when we detect such a situation. - * Fix possible crash when deeply nested functions are invoked from a - trigger (Tom) - * Ensure an error is reported when a newly-defined PL/pgSQL trigger - function is invoked as a normal function (Tom) - * Fix incorrect tsearch2 headline generation when single query item - matches first word of text (Sushant Sinha) - * Fix improper display of fractional seconds in interval values when - using a non-ISO datestyle in an "--enable-integer-datetimes" build - (Ron Mayer) - * Ensure SPI_getvalue and SPI_getbinval behave correctly when the - passed tuple and tuple descriptor have different numbers of columns - (Tom) - This situation is normal when a table has had columns added or - removed, but these two functions didn't handle it properly. The - only likely consequence is an incorrect error indication. - * Fix ecpg's parsing of "CREATE USER" (Michael) - * Fix recent breakage of pg_ctl restart (Tom) - * Update time zone data files to tzdata release 2008i (for DST law - changes in Argentina, Brazil, Mauritius, Syria) - __________________________________________________________________ - - Release 8.0.18 - - Release date: 2008-09-22 - - This release contains a variety of fixes from 8.0.17. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.18 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Widen local lock counters from 32 to 64 bits (Tom) - This responds to reports that the counters could overflow in - sufficiently long transactions, leading to unexpected "lock is - already held" errors. - * Add checks in executor startup to ensure that the tuples produced - by an "INSERT" or "UPDATE" will match the target table's current - rowtype (Tom) - "ALTER COLUMN TYPE", followed by re-use of a previously cached - plan, could produce this type of situation. The check protects - against data corruption and/or crashes that could ensue. - * Fix datetime input functions to correctly detect integer overflow - when running on a 64-bit platform (Tom) - * Improve performance of writing very long log messages to syslog - (Tom) - * Fix bug in backwards scanning of a cursor on a SELECT DISTINCT ON - query (Tom) - * Fix planner to estimate that GROUP BY expressions yielding boolean - results always result in two groups, regardless of the expressions' - contents (Tom) - This is very substantially more accurate than the regular GROUP BY - estimate for certain boolean tests like "col" IS NULL. - * Fix PL/Tcl to behave correctly with Tcl 8.5, and to be more careful - about the encoding of data sent to or from Tcl (Tom) - * Fix PL/Python to work with Python 2.5 - This is a back-port of fixes made during the 8.2 development cycle. - * Improve pg_dump and pg_restore's error reporting after failure to - send a SQL command (Tom) - * Fix pg_ctl to properly preserve postmaster command-line arguments - across a restart (Bruce) - * Update time zone data files to tzdata release 2008f (for DST law - changes in Argentina, Bahamas, Brazil, Mauritius, Morocco, - Pakistan, Palestine, and Paraguay) - __________________________________________________________________ - - Release 8.0.17 - - Release date: 2008-06-12 - - This release contains one serious bug fix over 8.0.16. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.17 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Make pg_get_ruledef() parenthesize negative constants (Tom) - Before this fix, a negative constant in a view or rule might be - dumped as, say, -42::integer, which is subtly incorrect: it should - be (-42)::integer due to operator precedence rules. Usually this - would make little difference, but it could interact with another - recent patch to cause PostgreSQL to reject what had been a valid - "SELECT DISTINCT" view query. Since this could result in pg_dump - output failing to reload, it is being treated as a high-priority - fix. The only released versions in which dump output is actually - incorrect are 8.3.1 and 8.2.7. - __________________________________________________________________ - - Release 8.0.16 - - Release date: never released - - This release contains a variety of fixes from 8.0.15. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.16 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Fix "ALTER TABLE ADD COLUMN ... PRIMARY KEY" so that the new column - is correctly checked to see if it's been initialized to all - non-nulls (Brendan Jurd) - Previous versions neglected to check this requirement at all. - * Fix possible "CREATE TABLE" failure when inheriting the "same" - constraint from multiple parent relations that inherited that - constraint from a common ancestor (Tom) - * Fix conversions between ISO-8859-5 and other encodings to handle - Cyrillic "Yo" characters (e and E with two dots) (Sergey Burladyan) - * Fix a few datatype input functions that were allowing unused bytes - in their results to contain uninitialized, unpredictable values - (Tom) - This could lead to failures in which two apparently identical - literal values were not seen as equal, resulting in the parser - complaining about unmatched ORDER BY and DISTINCT expressions. - * Fix a corner case in regular-expression substring matching - (substring(string from pattern)) (Tom) - The problem occurs when there is a match to the pattern overall but - the user has specified a parenthesized subexpression and that - subexpression hasn't got a match. An example is substring('foo' - from 'foo(bar)?'). This should return NULL, since (bar) isn't - matched, but it was mistakenly returning the whole-pattern match - instead (ie, foo). - * Update time zone data files to tzdata release 2008c (for DST law - changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, - Argentina/San_Luis, and Chile) - * Fix incorrect result from ecpg's PGTYPEStimestamp_sub() function - (Michael) - * Fix core dump in "contrib/xml2"'s xpath_table() function when the - input query returns a NULL value (Tom) - * Fix "contrib/xml2"'s makefile to not override CFLAGS (Tom) - * Fix DatumGetBool macro to not fail with gcc 4.3 (Tom) - This problem affects "old style" (V0) C functions that return - boolean. The fix is already in 8.3, but the need to back-patch it - was not realized at the time. - * Fix longstanding "LISTEN"/"NOTIFY" race condition (Tom) - In rare cases a session that had just executed a "LISTEN" might not - get a notification, even though one would be expected because the - concurrent transaction executing "NOTIFY" was observed to commit - later. - A side effect of the fix is that a transaction that has executed a - not-yet-committed "LISTEN" command will not see any row in - pg_listener for the "LISTEN", should it choose to look; formerly it - would have. This behavior was never documented one way or the - other, but it is possible that some applications depend on the old - behavior. - * Fix rare crash when an error occurs during a query using a hash - index (Heikki) - * Fix input of datetime values for February 29 in years BC (Tom) - The former coding was mistaken about which years were leap years. - * Fix "unrecognized node type" error in some variants of "ALTER - OWNER" (Tom) - * Fix pg_ctl to correctly extract the postmaster's port number from - command-line options (Itagaki Takahiro, Tom) - Previously, pg_ctl start -w could try to contact the postmaster on - the wrong port, leading to bogus reports of startup failure. - * Use "-fwrapv" to defend against possible misoptimization in recent - gcc versions (Tom) - This is known to be necessary when building PostgreSQL with gcc 4.3 - or later. - * Fix display of constant expressions in ORDER BY and GROUP BY (Tom) - An explictly casted constant would be shown incorrectly. This could - for example lead to corruption of a view definition during dump and - reload. - * Fix libpq to handle NOTICE messages correctly during COPY OUT (Tom) - This failure has only been observed to occur when a user-defined - datatype's output routine issues a NOTICE, but there is no - guarantee it couldn't happen due to other causes. - __________________________________________________________________ - - Release 8.0.15 - - Release date: 2008-01-07 - - This release contains a variety of fixes from 8.0.14, including fixes - for significant security issues. For information about new features in - the 8.0 major release, see the Section called Release 8.0. - - This is the last 8.0.X release for which the PostgreSQL community will - produce binary packages for Windows. Windows users are encouraged to - move to 8.2.X or later, since there are Windows-specific fixes in 8.2.X - that are impractical to back-port. 8.0.X will continue to be supported - on other platforms. - __________________________________________________________________ - -Migration to Version 8.0.15 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Prevent functions in indexes from executing with the privileges of - the user running "VACUUM", "ANALYZE", etc (Tom) - Functions used in index expressions and partial-index predicates - are evaluated whenever a new table entry is made. It has long been - understood that this poses a risk of trojan-horse code execution if - one modifies a table owned by an untrustworthy user. (Note that - triggers, defaults, check constraints, etc. pose the same type of - risk.) But functions in indexes pose extra danger because they will - be executed by routine maintenance operations such as "VACUUM - FULL", which are commonly performed automatically under a superuser - account. For example, a nefarious user can execute code with - superuser privileges by setting up a trojan-horse index definition - and waiting for the next routine vacuum. The fix arranges for - standard maintenance operations (including "VACUUM", "ANALYZE", - "REINDEX", and "CLUSTER") to execute as the table owner rather than - the calling user, using the same privilege-switching mechanism - already used for SECURITY DEFINER functions. To prevent bypassing - this security measure, execution of "SET SESSION AUTHORIZATION" and - "SET ROLE" is now forbidden within a SECURITY DEFINER context. - (CVE-2007-6600) - * Repair assorted bugs in the regular-expression package (Tom, Will - Drewry) - Suitably crafted regular-expression patterns could cause crashes, - infinite or near-infinite looping, and/or massive memory - consumption, all of which pose denial-of-service hazards for - applications that accept regex search patterns from untrustworthy - sources. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - The fix that appeared for this in 8.0.14 was incomplete, as it - plugged the hole for only some "dblink" functions. (CVE-2007-6601, - CVE-2007-3278) - * Update time zone data files to tzdata release 2007k (in particular, - recent Argentina changes) (Tom) - * Fix planner failure in some cases of WHERE false AND var IN (SELECT - ...) (Tom) - * Preserve the tablespace of indexes that are rebuilt by "ALTER TABLE - ... ALTER COLUMN TYPE" (Tom) - * Make archive recovery always start a new WAL timeline, rather than - only when a recovery stop time was used (Simon) - This avoids a corner-case risk of trying to overwrite an existing - archived copy of the last WAL segment, and seems simpler and - cleaner than the original definition. - * Make "VACUUM" not use all of maintenance_work_mem when the table is - too small for it to be useful (Alvaro) - * Fix potential crash in translate() when using a multibyte database - encoding (Tom) - * Fix PL/Perl to cope when platform's Perl defines type bool as int - rather than char (Tom) - While this could theoretically happen anywhere, no standard build - of Perl did things this way ... until Mac OS X 10.5. - * Fix PL/Python to not crash on long exception messages (Alvaro) - * Fix pg_dump to correctly handle inheritance child tables that have - default expressions different from their parent's (Tom) - * ecpg parser fixes (Michael) - * Make "contrib/tablefunc"'s crosstab() handle NULL rowid as a - category in its own right, rather than crashing (Joe) - * Fix tsvector and tsquery output routines to escape backslashes - correctly (Teodor, Bruce) - * Fix crash of to_tsvector() on huge input strings (Teodor) - * Require a specific version of Autoconf to be used when - re-generating the "configure" script (Peter) - This affects developers and packagers only. The change was made to - prevent accidental use of untested combinations of Autoconf and - PostgreSQL versions. You can remove the version check if you really - want to use a different Autoconf version, but it's your - responsibility whether the result works or not. - __________________________________________________________________ - - Release 8.0.14 - - Release date: 2007-09-17 - - This release contains a variety of fixes from 8.0.13. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.14 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Prevent index corruption when a transaction inserts rows and then - aborts close to the end of a concurrent "VACUUM" on the same table - (Tom) - * Make "CREATE DOMAIN ... DEFAULT NULL" work properly (Tom) - * Fix excessive logging of SSL error messages (Tom) - * Fix logging so that log messages are never interleaved when using - the syslogger process (Andrew) - * Fix crash when log_min_error_statement logging runs out of memory - (Tom) - * Fix incorrect handling of some foreign-key corner cases (Tom) - * Prevent "CLUSTER" from failing due to attempting to process - temporary tables of other sessions (Alvaro) - * Update the time zone database rules, particularly New Zealand's - upcoming changes (Tom) - * Windows socket improvements (Magnus) - * Suppress timezone name (%Z) in log timestamps on Windows because of - possible encoding mismatches (Tom) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - __________________________________________________________________ - - Release 8.0.13 - - Release date: 2007-04-23 - - This release contains a variety of fixes from 8.0.12, including a - security fix. For information about new features in the 8.0 major - release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.13 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Support explicit placement of the temporary-table schema within - search_path, and disable searching it for functions and operators - (Tom) - This is needed to allow a security-definer function to set a truly - secure value of search_path. Without it, an unprivileged SQL user - can use temporary objects to execute code with the privileges of - the security-definer function (CVE-2007-2138). See "CREATE - FUNCTION" for more information. - * "/contrib/tsearch2" crash fixes (Teodor) - * Fix potential-data-corruption bug in how "VACUUM FULL" handles - "UPDATE" chains (Tom, Pavan Deolasee) - * Fix PANIC during enlargement of a hash index (bug introduced in - 8.0.10) (Tom) - * Fix POSIX-style timezone specs to follow new USA DST rules (Tom) - __________________________________________________________________ - - Release 8.0.12 - - Release date: 2007-02-07 - - This release contains one fix from 8.0.11. For information about new - features in the 8.0 major release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.12 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Remove overly-restrictive check for type length in constraints and - functional indexes(Tom) - __________________________________________________________________ - - Release 8.0.11 - - Release date: 2007-02-05 - - This release contains a variety of fixes from 8.0.10, including a - security fix. For information about new features in the 8.0 major - release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.11 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Remove security vulnerabilities that allowed connected users to - read backend memory (Tom) - The vulnerabilities involve suppressing the normal check that a SQL - function returns the data type it's declared to, and changing the - data type of a table column (CVE-2007-0555, CVE-2007-0556). These - errors can easily be exploited to cause a backend crash, and in - principle might be used to read database content that the user - should not be able to access. - * Fix rare bug wherein btree index page splits could fail due to - choosing an infeasible split point (Heikki Linnakangas) - * Fix for rare Assert() crash triggered by UNION (Tom) - * Tighten security of multi-byte character processing for UTF8 - sequences over three bytes long (Tom) - __________________________________________________________________ - - Release 8.0.10 - - Release date: 2007-01-08 - - This release contains a variety of fixes from 8.0.9. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.10 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Improve handling of getaddrinfo() on AIX (Tom) - This fixes a problem with starting the statistics collector, among - other things. - * Fix "failed to re-find parent key" errors in "VACUUM" (Tom) - * Fix race condition for truncation of a large relation across a - gigabyte boundary by "VACUUM" (Tom) - * Fix bugs affecting multi-gigabyte hash indexes (Tom) - * Fix possible deadlock in Windows signal handling (Teodor) - * Fix error when constructing an ARRAY[] made up of multiple empty - elements (Tom) - * Fix ecpg memory leak during connection (Michael) - * to_number() and to_char(numeric) are now STABLE, not IMMUTABLE, for - new initdb installs (Tom) - This is because lc_numeric can potentially change the output of - these functions. - * Improve index usage of regular expressions that use parentheses - (Tom) - This improves psql \d performance also. - * Update timezone database - This affects Australian and Canadian daylight-savings rules in - particular. - __________________________________________________________________ - - Release 8.0.9 - - Release date: 2006-10-16 - - This release contains a variety of fixes from 8.0.8. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.9 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Fix crash when referencing NEW row values in rule WHERE expressions - (Tom) - * Fix core dump when an untyped literal is taken as ANYARRAY - * Fix mishandling of AFTER triggers when query contains a SQL - function returning multiple rows (Tom) - * Fix "ALTER TABLE ... TYPE" to recheck NOT NULL for USING clause - (Tom) - * Fix string_to_array() to handle overlapping matches for the - separator string - For example, string_to_array('123xx456xxx789', 'xx'). - * Fix corner cases in pattern matching for psql's \d commands - * Fix index-corrupting bugs in /contrib/ltree (Teodor) - * Numerous robustness fixes in ecpg (Joachim Wieland) - * Fix backslash escaping in /contrib/dbmirror - * Fix instability of statistics collection on Win32 (Tom, Andrew) - * Fixes for AIX and Intel compilers (Tom) - __________________________________________________________________ - - Release 8.0.8 - - Release date: 2006-05-23 - - This release contains a variety of fixes from 8.0.7, including patches - for extremely serious security issues. For information about new - features in the 8.0 major release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.8 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - - Full security against the SQL-injection attacks described in - CVE-2006-2313 and CVE-2006-2314 might require changes in application - code. If you have applications that embed untrustworthy strings into - SQL commands, you should examine them as soon as possible to ensure - that they are using recommended escaping techniques. In most cases, - applications should be using subroutines provided by libraries or - drivers (such as libpq's PQescapeStringConn()) to perform string - escaping, rather than relying on ad hoc code to do it. - __________________________________________________________________ - -Changes - - * Change the server to reject invalidly-encoded multibyte characters - in all cases (Tatsuo, Tom) - While PostgreSQL has been moving in this direction for some time, - the checks are now applied uniformly to all encodings and all - textual input, and are now always errors not merely warnings. This - change defends against SQL-injection attacks of the type described - in CVE-2006-2313. - * Reject unsafe uses of \' in string literals - As a server-side defense against SQL-injection attacks of the type - described in CVE-2006-2314, the server now only accepts '' and not - \' as a representation of ASCII single quote in SQL string - literals. By default, \' is rejected only when client_encoding is - set to a client-only encoding (SJIS, BIG5, GBK, GB18030, or UHC), - which is the scenario in which SQL injection is possible. A new - configuration parameter backslash_quote is available to adjust this - behavior when needed. Note that full security against CVE-2006-2314 - might require client-side changes; the purpose of backslash_quote - is in part to make it obvious that insecure clients are insecure. - * Modify libpq's string-escaping routines to be aware of encoding - considerations and standard_conforming_strings - This fixes libpq-using applications for the security issues - described in CVE-2006-2313 and CVE-2006-2314, and also - future-proofs them against the planned changeover to SQL-standard - string literal syntax. Applications that use multiple PostgreSQL - connections concurrently should migrate to PQescapeStringConn() and - PQescapeByteaConn() to ensure that escaping is done correctly for - the settings in use in each database connection. Applications that - do string escaping "by hand" should be modified to rely on library - routines instead. - * Fix some incorrect encoding conversion functions - win1251_to_iso, alt_to_iso, euc_tw_to_big5, euc_tw_to_mic, - mic_to_euc_tw were all broken to varying extents. - * Clean up stray remaining uses of \' in strings (Bruce, Jan) - * Fix bug that sometimes caused OR'd index scans to miss rows they - should have returned - * Fix WAL replay for case where a btree index has been truncated - * Fix SIMILAR TO for patterns involving | (Tom) - * Fix "SELECT INTO" and "CREATE TABLE AS" to create tables in the - default tablespace, not the base directory (Kris Jurka) - * Fix server to use custom DH SSL parameters correctly (Michael Fuhr) - * Fix for Bonjour on Intel Macs (Ashley Clark) - * Fix various minor memory leaks - * Fix problem with password prompting on some Win32 systems (Robert - Kinberg) - __________________________________________________________________ - - Release 8.0.7 - - Release date: 2006-02-14 - - This release contains a variety of fixes from 8.0.6. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.7 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.6, see the release notes - for 8.0.6. - __________________________________________________________________ - -Changes - - * Fix potential crash in "SET SESSION AUTHORIZATION" (CVE-2006-0553) - An unprivileged user could crash the server process, resulting in - momentary denial of service to other users, if the server has been - compiled with Asserts enabled (which is not the default). Thanks to - Akio Ishida for reporting this problem. - * Fix bug with row visibility logic in self-inserted rows (Tom) - Under rare circumstances a row inserted by the current command - could be seen as already valid, when it should not be. Repairs bug - created in 8.0.4, 7.4.9, and 7.3.11 releases. - * Fix race condition that could lead to "file already exists" errors - during pg_clog and pg_subtrans file creation (Tom) - * Fix cases that could lead to crashes if a cache-invalidation - message arrives at just the wrong time (Tom) - * Properly check DOMAIN constraints for UNKNOWN parameters in - prepared statements (Neil) - * Ensure "ALTER COLUMN TYPE" will process FOREIGN KEY, UNIQUE, and - PRIMARY KEY constraints in the proper order (Nakano Yoshihisa) - * Fixes to allow restoring dumps that have cross-schema references to - custom operators or operator classes (Tom) - * Allow pg_restore to continue properly after a "COPY" failure; - formerly it tried to treat the remaining "COPY" data as SQL - commands (Stephen Frost) - * Fix pg_ctl unregister crash when the data directory is not - specified (Magnus) - * Fix ecpg crash on AMD64 and PPC (Neil) - * Recover properly if error occurs during argument passing in - PL/python (Neil) - * Fix PL/perl's handling of locales on Win32 to match the backend - (Andrew) - * Fix crash when log_min_messages is set to DEBUG3 or above in - "postgresql.conf" on Win32 (Bruce) - * Fix pgxs -L library path specification for Win32, Cygwin, OS X, AIX - (Bruce) - * Check that SID is enabled while checking for Win32 admin privileges - (Magnus) - * Properly reject out-of-range date inputs (Kris Jurka) - * Portability fix for testing presence of finite and isinf during - configure (Tom) - __________________________________________________________________ - - Release 8.0.6 - - Release date: 2006-01-09 - - This release contains a variety of fixes from 8.0.5. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.6 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.3, see the release notes - for 8.0.3. Also, you might need to "REINDEX" indexes on textual columns - after updating, if you are affected by the locale or plperl issues - described below. - __________________________________________________________________ - -Changes - - * Fix Windows code so that postmaster will continue rather than exit - if there is no more room in ShmemBackendArray (Magnus) - The previous behavior could lead to a denial-of-service situation - if too many connection requests arrive close together. This applies - *only* to the Windows port. - * Fix bug introduced in 8.0 that could allow ReadBuffer to return an - already-used page as new, potentially causing loss of - recently-committed data (Tom) - * Fix for protocol-level Describe messages issued outside a - transaction or in a failed transaction (Tom) - * Fix character string comparison for locales that consider different - character combinations as equal, such as Hungarian (Tom) - This might require "REINDEX" to fix existing indexes on textual - columns. - * Set locale environment variables during postmaster startup to - ensure that plperl won't change the locale later - This fixes a problem that occurred if the postmaster was started - with environment variables specifying a different locale than what - initdb had been told. Under these conditions, any use of plperl was - likely to lead to corrupt indexes. You might need "REINDEX" to fix - existing indexes on textual columns if this has happened to you. - * Allow more flexible relocation of installation directories (Tom) - Previous releases supported relocation only if all installation - directory paths were the same except for the last component. - * Fix longstanding bug in strpos() and regular expression handling in - certain rarely used Asian multi-byte character sets (Tatsuo) - * Various fixes for functions returning RECORDs (Tom) - * Fix bug in "/contrib/pgcrypto" gen_salt, which caused it not to use - all available salt space for MD5 and XDES algorithms (Marko Kreen, - Solar Designer) - Salts for Blowfish and standard DES are unaffected. - * Fix "/contrib/dblink" to throw an error, rather than crashing, when - the number of columns specified is different from what's actually - returned by the query (Joe) - __________________________________________________________________ - - Release 8.0.5 - - Release date: 2005-12-12 - - This release contains a variety of fixes from 8.0.4. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.5 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.3, see the release notes - for 8.0.3. - __________________________________________________________________ - -Changes - - * Fix race condition in transaction log management - There was a narrow window in which an I/O operation could be - initiated for the wrong page, leading to an Assert failure or data - corruption. - * Fix bgwriter problems after recovering from errors (Tom) - The background writer was found to leak buffer pins after write - errors. While not fatal in itself, this might lead to mysterious - blockages of later VACUUM commands. - * Prevent failure if client sends Bind protocol message when current - transaction is already aborted - * "/contrib/ltree" fixes (Teodor) - * AIX and HPUX compile fixes (Tom) - * Retry file reads and writes after Windows NO_SYSTEM_RESOURCES error - (Qingqing Zhou) - * Fix intermittent failure when log_line_prefix includes %i - * Fix psql performance issue with long scripts on Windows (Merlin - Moncure) - * Fix missing updates of "pg_group" flat file - * Fix longstanding planning error for outer joins - This bug sometimes caused a bogus error "RIGHT JOIN is only - supported with merge-joinable join conditions". - * Postpone timezone initialization until after "postmaster.pid" is - created - This avoids confusing startup scripts that expect the pid file to - appear quickly. - * Prevent core dump in pg_autovacuum when a table has been dropped - * Fix problems with whole-row references (foo.*) to subquery results - __________________________________________________________________ - - Release 8.0.4 - - Release date: 2005-10-04 - - This release contains a variety of fixes from 8.0.3. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.4 - - A dump/restore is not required for those running 8.0.X. However, if you - are upgrading from a version earlier than 8.0.3, see the release notes - for 8.0.3. - __________________________________________________________________ - -Changes - - * Fix error that allowed "VACUUM" to remove ctid chains too soon, and - add more checking in code that follows ctid links - This fixes a long-standing problem that could cause crashes in very - rare circumstances. - * Fix CHAR() to properly pad spaces to the specified length when - using a multiple-byte character set (Yoshiyuki Asaba) - In prior releases, the padding of CHAR() was incorrect because it - only padded to the specified number of bytes without considering - how many characters were stored. - * Force a checkpoint before committing "CREATE DATABASE" - This should fix recent reports of "index is not a btree" failures - when a crash occurs shortly after "CREATE DATABASE". - * Fix the sense of the test for read-only transaction in "COPY" - The code formerly prohibited "COPY TO", where it should prohibit - "COPY FROM". - * Handle consecutive embedded newlines in "COPY" CSV-mode input - * Fix date_trunc(week) for dates near year end - * Fix planning problem with outer-join ON clauses that reference only - the inner-side relation - * Further fixes for x FULL JOIN y ON true corner cases - * Fix overenthusiastic optimization of x IN (SELECT DISTINCT ...) and - related cases - * Fix mis-planning of queries with small LIMIT values due to poorly - thought out "fuzzy" cost comparison - * Make array_in and array_recv more paranoid about validating their - OID parameter - * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST - index on column a - * Improve robustness of datetime parsing - * Improve checking for partially-written WAL pages - * Improve robustness of signal handling when SSL is enabled - * Improve MIPS and M68K spinlock code - * Don't try to open more than max_files_per_process files during - postmaster startup - * Various memory leakage fixes - * Various portability improvements - * Update timezone data files - * Improve handling of DLL load failures on Windows - * Improve random-number generation on Windows - * Make psql -f filename return a nonzero exit code when opening the - file fails - * Change pg_dump to handle inherited check constraints more reliably - * Fix password prompting in pg_restore on Windows - * Fix PL/pgSQL to handle var := var correctly when the variable is of - pass-by-reference type - * Fix PL/Perl %_SHARED so it's actually shared - * Fix "contrib/pg_autovacuum" to allow sleep intervals over 2000 sec - * Update "contrib/tsearch2" to use current Snowball code - __________________________________________________________________ - - Release 8.0.3 - - Release date: 2005-05-09 - - This release contains a variety of fixes from 8.0.2, including several - security-related issues. For information about new features in the 8.0 - major release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.3 - - A dump/restore is not required for those running 8.0.X. However, it is - one possible way of handling two significant security problems that - have been found in the initial contents of 8.0.X system catalogs. A - dump/initdb/reload sequence using 8.0.3's initdb will automatically - correct these problems. - - The larger security problem is that the built-in character set encoding - conversion functions can be invoked from SQL commands by unprivileged - users, but the functions were not designed for such use and are not - secure against malicious choices of arguments. The fix involves - changing the declared parameter list of these functions so that they - can no longer be invoked from SQL commands. (This does not affect their - normal use by the encoding conversion machinery.) - - The lesser problem is that the "contrib/tsearch2" module creates - several functions that are improperly declared to return internal when - they do not accept internal arguments. This breaks type safety for all - functions using internal arguments. - - It is strongly recommended that all installations repair these errors, - either by initdb or by following the manual repair procedure given - below. The errors at least allow unprivileged database users to crash - their server process, and might allow unprivileged users to gain the - privileges of a database superuser. - - If you wish not to do an initdb, perform the same manual repair - procedures shown in the 7.4.8 release notes. - __________________________________________________________________ - -Changes - - * Change encoding function signature to prevent misuse - * Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function - results - * Guard against incorrect second parameter to record_out - * Repair ancient race condition that allowed a transaction to be seen - as committed for some purposes (eg SELECT FOR UPDATE) slightly - sooner than for other purposes - This is an extremely serious bug since it could lead to apparent - data inconsistencies being briefly visible to applications. - * Repair race condition between relation extension and VACUUM - This could theoretically have caused loss of a page's worth of - freshly-inserted data, although the scenario seems of very low - probability. There are no known cases of it having caused more than - an Assert failure. - * Fix comparisons of TIME WITH TIME ZONE values - The comparison code was wrong in the case where the - --enable-integer-datetimes configuration switch had been used. - NOTE: if you have an index on a TIME WITH TIME ZONE column, it will - need to be "REINDEX"ed after installing this update, because the - fix corrects the sort order of column values. - * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values - * Fix mis-display of negative fractional seconds in INTERVAL values - This error only occurred when the --enable-integer-datetimes - configuration switch had been used. - * Fix pg_dump to dump trigger names containing % correctly (Neil) - * Still more 64-bit fixes for "contrib/intagg" - * Prevent incorrect optimization of functions returning RECORD - * Prevent crash on COALESCE(NULL,NULL) - * Fix Borland makefile for libpq - * Fix "contrib/btree_gist" for timetz type (Teodor) - * Make "pg_ctl" check the PID found in "postmaster.pid" to see if it - is still a live process - * Fix "pg_dump"/"pg_restore" problems caused by addition of dump - timestamps - * Fix interaction between materializing holdable cursors and firing - deferred triggers during transaction commit - * Fix memory leak in SQL functions returning pass-by-reference data - types - __________________________________________________________________ - - Release 8.0.2 - - Release date: 2005-04-07 - - This release contains a variety of fixes from 8.0.1. For information - about new features in the 8.0 major release, see the Section called - Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.2 - - A dump/restore is not required for those running 8.0.*. This release - updates the major version number of the PostgreSQL libraries, so it - might be necessary to re-link some user applications if they cannot - find the properly-numbered shared library. - __________________________________________________________________ - -Changes - - * Increment the major version number of all interface libraries - (Bruce) - This should have been done in 8.0.0. It is required so 7.4.X - versions of PostgreSQL client applications, like psql, can be used - on the same machine as 8.0.X applications. This might require - re-linking user applications that use these libraries. - * Add Windows-only wal_sync_method setting of "fsync_writethrough" - (Magnus, Bruce) - This setting causes PostgreSQL to write through any disk-drive - write cache when writing to WAL. This behavior was formerly called - "fsync", but was renamed because it acts quite differently from - "fsync" on other platforms. - * Enable the wal_sync_method setting of "open_datasync" on Windows, - and make it the default for that platform (Magnus, Bruce) - Because the default is no longer "fsync_writethrough", data loss is - possible during a power failure if the disk drive has write caching - enabled. To turn off the write cache on Windows, from the Device - Manager, choose the drive properties, then Policies. - * New cache management algorithm 2Q replaces ARC (Tom) - This was done to avoid a pending US patent on ARC. The 2Q code - might be a few percentage points slower than ARC for some work - loads. A better cache management algorithm will appear in 8.1. - * Planner adjustments to improve behavior on freshly-created tables - (Tom) - * Allow plpgsql to assign to an element of an array that is initially - NULL (Tom) - Formerly the array would remain NULL, but now it becomes a - single-element array. The main SQL engine was changed to handle - "UPDATE" of a null array value this way in 8.0, but the similar - case in plpgsql was overlooked. - * Convert \r\n and \r to \n in plpython function bodies (Michael - Fuhr) - This prevents syntax errors when plpython code is written on a - Windows or Mac client. - * Allow SPI cursors to handle utility commands that return rows, such - as "EXPLAIN" (Tom) - * Fix "CLUSTER" failure after "ALTER TABLE SET WITHOUT OIDS" (Tom) - * Reduce memory usage of "ALTER TABLE ADD COLUMN" (Neil) - * Fix "ALTER LANGUAGE RENAME" (Tom) - * Document the Windows-only register and unregister options of pg_ctl - (Magnus) - * Ensure operations done during backend shutdown are counted by - statistics collector - This is expected to resolve reports of pg_autovacuum not vacuuming - the system catalogs often enough -- it was not being told about - catalog deletions caused by temporary table removal during backend - exit. - * Change the Windows default for configuration parameter - log_destination to "eventlog" (Magnus) - By default, a server running on Windows will now send log output to - the Windows event logger rather than standard error. - * Make Kerberos authentication work on Windows (Magnus) - * Allow "ALTER DATABASE RENAME" by superusers who aren't flagged as - having CREATEDB privilege (Tom) - * Modify WAL log entries for "CREATE" and "DROP DATABASE" to not - specify absolute paths (Tom) - This allows point-in-time recovery on a different machine with - possibly different database location. Note that "CREATE TABLESPACE" - still poses a hazard in such situations. - * Fix crash from a backend exiting with an open transaction that - created a table and opened a cursor on it (Tom) - * Fix array_map() so it can call PL functions (Tom) - * Several "contrib/tsearch2" and "contrib/btree_gist" fixes (Teodor) - * Fix crash of some "contrib/pgcrypto" functions on some platforms - (Marko Kreen) - * Fix "contrib/intagg" for 64-bit platforms (Tom) - * Fix ecpg bugs in parsing of "CREATE" statement (Michael) - * Work around gcc bug on powerpc and amd64 causing problems in ecpg - (Christof Petig) - * Do not use locale-aware versions of upper(), lower(), and initcap() - when the locale is C (Bruce) - This allows these functions to work on platforms that generate - errors for non-7-bit data when the locale is C. - * Fix quote_ident() to quote names that match keywords (Tom) - * Fix to_date() to behave reasonably when CC and YY fields are both - used (Karel) - * Prevent to_char(interval) from failing when given a zero-month - interval (Tom) - * Fix wrong week returned by date_trunc('week') (Bruce) - date_trunc('week') returned the wrong year for the first few days - of January in some years. - * Use the correct default mask length for class D addresses in INET - data types (Tom) - __________________________________________________________________ - - Release 8.0.1 - - Release date: 2005-01-31 - - This release contains a variety of fixes from 8.0.0, including several - security-related issues. For information about new features in the 8.0 - major release, see the Section called Release 8.0. - __________________________________________________________________ - -Migration to Version 8.0.1 - - A dump/restore is not required for those running 8.0.0. - __________________________________________________________________ - -Changes - - * Disallow "LOAD" to non-superusers - On platforms that will automatically execute initialization - functions of a shared library (this includes at least Windows and - ELF-based Unixen), "LOAD" can be used to make the server execute - arbitrary code. Thanks to NGS Software for reporting this. - * Check that creator of an aggregate function has the right to - execute the specified transition functions - This oversight made it possible to bypass denial of EXECUTE - permission on a function. - * Fix security and 64-bit issues in contrib/intagg - * Add needed STRICT marking to some contrib functions (Kris Jurka) - * Avoid buffer overrun when plpgsql cursor declaration has too many - parameters (Neil) - * Make "ALTER TABLE ADD COLUMN" enforce domain constraints in all - cases - * Fix planning error for FULL and RIGHT outer joins - The result of the join was mistakenly supposed to be sorted the - same as the left input. This could not only deliver mis-sorted - output to the user, but in case of nested merge joins could give - outright wrong answers. - * Improve planning of grouped aggregate queries - * "ROLLBACK TO savepoint" closes cursors created since the savepoint - * Fix inadequate backend stack size on Windows - * Avoid SHGetSpecialFolderPath() on Windows (Magnus) - * Fix some problems in running pg_autovacuum as a Windows service - (Dave Page) - * Multiple minor bug fixes in pg_dump/pg_restore - * Fix ecpg segfault with named structs used in typedefs (Michael) - __________________________________________________________________ - - Release 8.0 - - Release date: 2005-01-19 - __________________________________________________________________ - -Overview - - Major changes in this release: - - Microsoft Windows Native Server - This is the first PostgreSQL release to run natively on - Microsoft Windows® as a server. It can run as a Windows service. - This release supports NT-based Windows releases like Windows - 2000 SP4, Windows XP, and Windows 2003. Older releases like - Windows 95, Windows 98, and Windows ME are not supported because - these operating systems do not have the infrastructure to - support PostgreSQL. A separate installer project has been - created to ease installation on Windows -- see - http://www.postgresql.org/ftp/win32/. - - Although tested throughout our release cycle, the Windows port - does not have the benefit of years of use in production - environments that PostgreSQL has on Unix platforms. Therefore it - should be treated with the same level of caution as you would a - new product. - - Previous releases required the Unix emulation toolkit Cygwin in - order to run the server on Windows operating systems. PostgreSQL - has supported native clients on Windows for many years. - - Savepoints - Savepoints allow specific parts of a transaction to be aborted - without affecting the remainder of the transaction. Prior - releases had no such capability; there was no way to recover - from a statement failure within a transaction except by aborting - the whole transaction. This feature is valuable for application - writers who require error recovery within a complex transaction. - - Point-In-Time Recovery - In previous releases there was no way to recover from disk drive - failure except to restore from a previous backup or use a - standby replication server. Point-in-time recovery allows - continuous backup of the server. You can recover either to the - point of failure or to some transaction in the past. - - Tablespaces - Tablespaces allow administrators to select different file - systems for storage of individual tables, indexes, and - databases. This improves performance and control over disk space - usage. Prior releases used initlocation and manual symlink - management for such tasks. - - Improved Buffer Management, CHECKPOINT, VACUUM - This release has a more intelligent buffer replacement strategy, - which will make better use of available shared buffers and - improve performance. The performance impact of vacuum and - checkpoints is also lessened. - - Change Column Types - A column's data type can now be changed with "ALTER TABLE". - - New Perl Server-Side Language - A new version of the plperl server-side language now supports a - persistent shared storage area, triggers, returning records and - arrays of records, and SPI calls to access the database. - - Comma-separated-value (CSV) support in COPY - "COPY" can now read and write comma-separated-value files. It - has the flexibility to interpret nonstandard quoting and - separation characters too. - __________________________________________________________________ - -Migration to Version 8.0 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - - * In "READ COMMITTED" serialization mode, volatile functions now see - the results of concurrent transactions committed up to the - beginning of each statement within the function, rather than up to - the beginning of the interactive command that called the function. - * Functions declared "STABLE" or "IMMUTABLE" always use the snapshot - of the calling query, and therefore do not see the effects of - actions taken after the calling query starts, whether in their own - transaction or other transactions. Such a function must be - read-only, too, meaning that it cannot use any SQL commands other - than "SELECT". - * Nondeferred "AFTER" triggers are now fired immediately after - completion of the triggering query, rather than upon finishing the - current interactive command. This makes a difference when the - triggering query occurred within a function: the trigger is invoked - before the function proceeds to its next operation. - * Server configuration parameters virtual_host and tcpip_socket have - been replaced with a more general parameter listen_addresses. Also, - the server now listens on localhost by default, which eliminates - the need for the -i postmaster switch in many scenarios. - * Server configuration parameters SortMem and VacuumMem have been - renamed to work_mem and maintenance_work_mem to better reflect - their use. The original names are still supported in "SET" and - "SHOW". - * Server configuration parameters log_pid, log_timestamp, and - log_source_port have been replaced with a more general parameter - log_line_prefix. - * Server configuration parameter syslog has been replaced with a more - logical log_destination variable to control the log output - destination. - * Server configuration parameter log_statement has been changed so it - can selectively log just database modification or data definition - statements. Server configuration parameter log_duration now prints - only when log_statement prints the query. - * Server configuration parameter max_expr_depth parameter has been - replaced with max_stack_depth which measures the physical stack - size rather than the expression nesting depth. This helps prevent - session termination due to stack overflow caused by recursive - functions. - * The length() function no longer counts trailing spaces in CHAR(n) - values. - * Casting an integer to BIT(N) selects the rightmost N bits of the - integer, not the leftmost N bits as before. - * Updating an element or slice of a NULL array value now produces a - nonnull array result, namely an array containing just the - assigned-to positions. - * Syntax checking of array input values has been tightened up - considerably. Junk that was previously allowed in odd places with - odd results now causes an error. Empty-string element values must - now be written as "", rather than writing nothing. Also changed - behavior with respect to whitespace surrounding array elements: - trailing whitespace is now ignored, for symmetry with leading - whitespace (which has always been ignored). - * Overflow in integer arithmetic operations is now detected and - reported as an error. - * The arithmetic operators associated with the single-byte "char" - data type have been removed. - * The extract() function (also called date_part) now returns the - proper year for BC dates. It previously returned one less than the - correct year. The function now also returns the proper values for - millennium and century. - * CIDR values now must have their nonmasked bits be zero. For - example, we no longer allow 204.248.199.1/31 as a CIDR value. Such - values should never have been accepted by PostgreSQL and will now - be rejected. - * "EXECUTE" now returns a completion tag that matches the executed - statement. - * psql's "\copy" command now reads or writes to the query's - stdin/stdout, rather than psql's stdin/stdout. The previous - behavior can be accessed via new "pstdin"/"pstdout" parameters. - * The JDBC client interface has been removed from the core - distribution, and is now hosted at http://jdbc.postgresql.org. - * The Tcl client interface has also been removed. There are several - Tcl interfaces now hosted at http://gborg.postgresql.org. - * The server now uses its own time zone database, rather than the one - supplied by the operating system. This will provide consistent - behavior across all platforms. In most cases, there should be - little noticeable difference in time zone behavior, except that the - time zone names used by "SET"/"SHOW" TimeZone might be different - from what your platform provides. - * Configure's threading option no longer requires users to run tests - or edit configuration files; threading options are now detected - automatically. - * Now that tablespaces have been implemented, initlocation has been - removed. - * The API for user-defined GiST indexes has been changed. The Union - and PickSplit methods are now passed a pointer to a special - GistEntryVector structure, rather than a bytea. - __________________________________________________________________ - -Deprecated Features - - Some aspects of PostgreSQL's behavior have been determined to be - suboptimal. For the sake of backward compatibility these have not been - removed in 8.0, but they are considered deprecated and will be removed - in the next major release. - - * The 8.1 release will remove the to_char() function for intervals. - * The server now warns of empty strings passed to oid/float4/float8 - data types, but continues to interpret them as zeroes as before. In - the next major release, empty strings will be considered invalid - input for these data types. - * By default, tables in PostgreSQL 8.0 and earlier are created with - OIDs. In the next release, this will *not* be the case: to create a - table that contains OIDs, the "WITH OIDS" clause must be specified - or the default_with_oids configuration parameter must be set. Users - are encouraged to explicitly specify "WITH OIDS" if their tables - require OIDs for compatibility with future releases of PostgreSQL. - __________________________________________________________________ - -Changes - - Below you will find a detailed account of the changes between release - 8.0 and the previous major release. - __________________________________________________________________ - -Performance Improvements - - * Support cross-data-type index usage (Tom) - Before this change, many queries would not use an index if the data - types did not match exactly. This improvement makes index usage - more intuitive and consistent. - * New buffer replacement strategy that improves caching (Jan) - Prior releases used a least-recently-used (LRU) cache to keep - recently referenced pages in memory. The LRU algorithm did not - consider the number of times a specific cache entry was accessed, - so large table scans could force out useful cache pages. The new - cache algorithm uses four separate lists to track most recently - used and most frequently used cache pages and dynamically optimize - their replacement based on the work load. This should lead to much - more efficient use of the shared buffer cache. Administrators who - have tested shared buffer sizes in the past should retest with this - new cache replacement policy. - * Add subprocess to write dirty buffers periodically to reduce - checkpoint writes (Jan) - In previous releases, the checkpoint process, which runs every few - minutes, would write all dirty buffers to the operating system's - buffer cache then flush all dirty operating system buffers to disk. - This resulted in a periodic spike in disk usage that often hurt - performance. The new code uses a background writer to trickle disk - writes at a steady pace so checkpoints have far fewer dirty pages - to write to disk. Also, the new code does not issue a global sync() - call, but instead fsync()s just the files written since the last - checkpoint. This should improve performance and minimize - degradation during checkpoints. - * Add ability to prolong vacuum to reduce performance impact (Jan) - On busy systems, "VACUUM" performs many I/O requests which can hurt - performance for other users. This release allows you to slow down - "VACUUM" to reduce its impact on other users, though this increases - the total duration of "VACUUM". - * Improve B-tree index performance for duplicate keys (Dmitry Tkach, - Tom) - This improves the way indexes are scanned when many duplicate - values exist in the index. - * Use dynamically-generated table size estimates while planning (Tom) - Formerly the planner estimated table sizes using the values seen by - the last "VACUUM" or "ANALYZE", both as to physical table size - (number of pages) and number of rows. Now, the current physical - table size is obtained from the kernel, and the number of rows is - estimated by multiplying the table size by the row density (rows - per page) seen by the last "VACUUM" or "ANALYZE". This should - produce more reliable estimates in cases where the table size has - changed significantly since the last housekeeping command. - * Improved index usage with OR clauses (Tom) - This allows the optimizer to use indexes in statements with many OR - clauses that would not have been indexed in the past. It can also - use multi-column indexes where the first column is specified and - the second column is part of an OR clause. - * Improve matching of partial index clauses (Tom) - The server is now smarter about using partial indexes in queries - involving complex "WHERE" clauses. - * Improve performance of the GEQO optimizer (Tom) - The GEQO optimizer is used to plan queries involving many tables - (by default, twelve or more). This release speeds up the way - queries are analyzed to decrease time spent in optimization. - * Miscellaneous optimizer improvements - There is not room here to list all the minor improvements made, but - numerous special cases work better than in prior releases. - * Improve lookup speed for C functions (Tom) - This release uses a hash table to lookup information for - dynamically loaded C functions. This improves their speed so they - perform nearly as quickly as functions that are built into the - server executable. - * Add type-specific "ANALYZE" statistics capability (Mark - Cave-Ayland) - This feature allows more flexibility in generating statistics for - nonstandard data types. - * "ANALYZE" now collects statistics for expression indexes (Tom) - Expression indexes (also called functional indexes) allow users to - index not just columns but the results of expressions and function - calls. With this release, the optimizer can gather and use - statistics about the contents of expression indexes. This will - greatly improve the quality of planning for queries in which an - expression index is relevant. - * New two-stage sampling method for "ANALYZE" (Manfred Koizar) - This gives better statistics when the density of valid rows is very - different in different regions of a table. - * Speed up "TRUNCATE" (Tom) - This buys back some of the performance loss observed in 7.4, while - still keeping "TRUNCATE" transaction-safe. - __________________________________________________________________ - -Server Changes - - * Add WAL file archiving and point-in-time recovery (Simon Riggs) - * Add tablespaces so admins can control disk layout (Gavin) - * Add a built-in log rotation program (Andreas Pflug) - It is now possible to log server messages conveniently without - relying on either syslog or an external log rotation program. - * Add new read-only server configuration parameters to show server - compile-time settings: block_size, integer_datetimes, - max_function_args, max_identifier_length, max_index_keys (Joe) - * Make quoting of sameuser, samegroup, and all remove special meaning - of these terms in "pg_hba.conf" (Andrew) - * Use clearer IPv6 name ::1/128 for localhost in default - "pg_hba.conf" (Andrew) - * Use CIDR format in "pg_hba.conf" examples (Andrew) - * Rename server configuration parameters SortMem and VacuumMem to - work_mem and maintenance_work_mem (Old names still supported) (Tom) - This change was made to clarify that bulk operations such as index - and foreign key creation use maintenance_work_mem, while work_mem - is for workspaces used during query execution. - * Allow logging of session disconnections using server configuration - log_disconnections (Andrew) - * Add new server configuration parameter log_line_prefix to allow - control of information emitted in each log line (Andrew) - Available information includes user name, database name, remote IP - address, and session start time. - * Remove server configuration parameters log_pid, log_timestamp, - log_source_port; functionality superseded by log_line_prefix - (Andrew) - * Replace the virtual_host and tcpip_socket parameters with a unified - listen_addresses parameter (Andrew, Tom) - virtual_host could only specify a single IP address to listen on. - listen_addresses allows multiple addresses to be specified. - * Listen on localhost by default, which eliminates the need for the - "-i" postmaster switch in many scenarios (Andrew) - Listening on localhost (127.0.0.1) opens no new security holes but - allows configurations like Windows and JDBC, which do not support - local sockets, to work without special adjustments. - * Remove syslog server configuration parameter, and add more logical - log_destination variable to control log output location (Magnus) - * Change server configuration parameter log_statement to take values - all, mod, ddl, or none to select which queries are logged (Bruce) - This allows administrators to log only data definition changes or - only data modification statements. - * Some logging-related configuration parameters could formerly be - adjusted by ordinary users, but only in the "more verbose" - direction. They are now treated more strictly: only superusers can - set them. However, a superuser can use "ALTER USER" to provide - per-user settings of these values for non-superusers. Also, it is - now possible for superusers to set values of superuser-only - configuration parameters via PGOPTIONS. - * Allow configuration files to be placed outside the data directory - (mlw) - By default, configuration files are kept in the cluster's top - directory. With this addition, configuration files can be placed - outside the data directory, easing administration. - * Plan prepared queries only when first executed so constants can be - used for statistics (Oliver Jowett) - Prepared statements plan queries once and execute them many times. - While prepared queries avoid the overhead of re-planning on each - use, the quality of the plan suffers from not knowing the exact - parameters to be used in the query. In this release, planning of - unnamed prepared statements is delayed until the first execution, - and the actual parameter values of that execution are used as - optimization hints. This allows use of out-of-line parameter - passing without incurring a performance penalty. - * Allow "DECLARE CURSOR" to take parameters (Oliver Jowett) - It is now useful to issue "DECLARE CURSOR" in a Parse message with - parameters. The parameter values sent at Bind time will be - substituted into the execution of the cursor's query. - * Fix hash joins and aggregates of inet and cidr data types (Tom) - Release 7.4 handled hashing of mixed inet and cidr values - incorrectly. (This bug did not exist in prior releases because they - wouldn't try to hash either data type.) - * Make log_duration print only when log_statement prints the query - (Ed L.) - __________________________________________________________________ - -Query Changes - - * Add savepoints (nested transactions) (Alvaro) - * Unsupported isolation levels are now accepted and promoted to the - nearest supported level (Peter) - The SQL specification states that if a database doesn't support a - specific isolation level, it should use the next more restrictive - level. This change complies with that recommendation. - * Allow "BEGIN WORK" to specify transaction isolation levels like - "START TRANSACTION" does (Bruce) - * Fix table permission checking for cases in which rules generate a - query type different from the originally submitted query (Tom) - * Implement dollar quoting to simplify single-quote usage (Andrew, - Tom, David Fetter) - In previous releases, because single quotes had to be used to quote - a function's body, the use of single quotes inside the function - text required use of two single quotes or other error-prone - notations. With this release we add the ability to use "dollar - quoting" to quote a block of text. The ability to use different - quoting delimiters at different nesting levels greatly simplifies - the task of quoting correctly, especially in complex functions. - Dollar quoting can be used anywhere quoted text is needed. - * Make CASE val WHEN compval1 THEN ... evaluate val only once (Tom) - "CASE" no longer evaluates the tested expression multiple times. - This has benefits when the expression is complex or is volatile. - * Test "HAVING" before computing target list of an aggregate query - (Tom) - Fixes improper failure of cases such as SELECT SUM(win)/SUM(lose) - ... GROUP BY ... HAVING SUM(lose) > 0. This should work but - formerly could fail with divide-by-zero. - * Replace max_expr_depth parameter with max_stack_depth parameter, - measured in kilobytes of stack size (Tom) - This gives us a fairly bulletproof defense against crashing due to - runaway recursive functions. Instead of measuring the depth of - expression nesting, we now directly measure the size of the - execution stack. - * Allow arbitrary row expressions (Tom) - This release allows SQL expressions to contain arbitrary composite - types, that is, row values. It also allows functions to more easily - take rows as arguments and return row values. - * Allow "LIKE"/"ILIKE" to be used as the operator in row and - subselect comparisons (Fabien Coelho) - * Avoid locale-specific case conversion of basic ASCII letters in - identifiers and keywords (Tom) - This solves the "Turkish problem" with mangling of words containing - I and i. Folding of characters outside the 7-bit-ASCII set is still - locale-aware. - * Improve syntax error reporting (Fabien, Tom) - Syntax error reports are more useful than before. - * Change "EXECUTE" to return a completion tag matching the executed - statement (Kris Jurka) - Previous releases return an "EXECUTE" tag for any "EXECUTE" call. - In this release, the tag returned will reflect the command - executed. - * Avoid emitting "NATURAL CROSS JOIN" in rule listings (Tom) - Such a clause makes no logical sense, but in some cases the rule - decompiler formerly produced this syntax. - __________________________________________________________________ - -Object Manipulation Changes - - * Add "COMMENT ON" for casts, conversions, languages, operator - classes, and large objects (Christopher) - * Add new server configuration parameter default_with_oids to control - whether tables are created with OIDs by default (Neil) - This allows administrators to control whether "CREATE TABLE" - commands create tables with or without OID columns by default. - (Note: the current factory default setting for default_with_oids is - TRUE, but the default will become FALSE in future releases.) - * Add "WITH" / "WITHOUT OIDS" clause to "CREATE TABLE AS" (Neil) - * Allow "ALTER TABLE DROP COLUMN" to drop an OID column ("ALTER TABLE - SET WITHOUT OIDS" still works) (Tom) - * Allow composite types as table columns (Tom) - * Allow "ALTER ... ADD COLUMN" with defaults and "NOT NULL" - constraints; works per SQL spec (Rod) - It is now possible for "ADD COLUMN" to create a column that is not - initially filled with NULLs, but with a specified default value. - * Add "ALTER COLUMN TYPE" to change column's type (Rod) - It is now possible to alter a column's data type without dropping - and re-adding the column. - * Allow multiple "ALTER" actions in a single "ALTER TABLE" command - (Rod) - This is particularly useful for "ALTER" commands that rewrite the - table (which include "ALTER COLUMN TYPE" and "ADD COLUMN" with a - default). By grouping "ALTER" commands together, the table need be - rewritten only once. - * Allow "ALTER TABLE" to add SERIAL columns (Tom) - This falls out from the new capability of specifying defaults for - new columns. - * Allow changing the owners of aggregates, conversions, databases, - functions, operators, operator classes, schemas, types, and - tablespaces (Christopher, Euler Taveira de Oliveira) - Previously this required modifying the system tables directly. - * Allow temporary object creation to be limited to "SECURITY DEFINER" - functions (Sean Chittenden) - * Add "ALTER TABLE ... SET WITHOUT CLUSTER" (Christopher) - Prior to this release, there was no way to clear an auto-cluster - specification except to modify the system tables. - * Constraint/Index/SERIAL names are now "table_column_type" with - numbers appended to guarantee uniqueness within the schema (Tom) - The SQL specification states that such names should be unique - within a schema. - * Add pg_get_serial_sequence() to return a SERIAL column's sequence - name (Christopher) - This allows automated scripts to reliably find the SERIAL sequence - name. - * Warn when primary/foreign key data type mismatch requires costly - lookup - * New "ALTER INDEX" command to allow moving of indexes between - tablespaces (Gavin) - * Make "ALTER TABLE OWNER" change dependent sequence ownership too - (Alvaro) - __________________________________________________________________ - -Utility Command Changes - - * Allow "CREATE SCHEMA" to create triggers, indexes, and sequences - (Neil) - * Add "ALSO" keyword to "CREATE RULE" (Fabien Coelho) - This allows "ALSO" to be added to rule creation to contrast it with - "INSTEAD" rules. - * Add "NOWAIT" option to "LOCK" (Tatsuo) - This allows the "LOCK" command to fail if it would have to wait for - the requested lock. - * Allow "COPY" to read and write comma-separated-value (CSV) files - (Andrew, Bruce) - * Generate error if the "COPY" delimiter and NULL string conflict - (Bruce) - * "GRANT"/"REVOKE" behavior follows the SQL spec more closely - * Avoid locking conflict between "CREATE INDEX" and "CHECKPOINT" - (Tom) - In 7.3 and 7.4, a long-running B-tree index build could block - concurrent "CHECKPOINT"s from completing, thereby causing WAL bloat - because the WAL log could not be recycled. - * Database-wide "ANALYZE" does not hold locks across tables (Tom) - This reduces the potential for deadlocks against other backends - that want exclusive locks on tables. To get the benefit of this - change, do not execute database-wide "ANALYZE" inside a transaction - block ("BEGIN" block); it must be able to commit and start a new - transaction for each table. - * "REINDEX" does not exclusively lock the index's parent table - anymore - The index itself is still exclusively locked, but readers of the - table can continue if they are not using the particular index being - rebuilt. - * Erase MD5 user passwords when a user is renamed (Bruce) - PostgreSQL uses the user name as salt when encrypting passwords via - MD5. When a user's name is changed, the salt will no longer match - the stored MD5 password, so the stored password becomes useless. In - this release a notice is generated and the password is cleared. A - new password must then be assigned if the user is to be able to log - in with a password. - * New pg_ctl "kill" option for Windows (Andrew) - Windows does not have a kill command to send signals to backends so - this capability was added to pg_ctl. - * Information schema improvements - * Add "--pwfile" option to initdb so the initial password can be set - by GUI tools (Magnus) - * Detect locale/encoding mismatch in initdb (Peter) - * Add "register" command to pg_ctl to register Windows operating - system service (Dave Page) - __________________________________________________________________ - -Data Type and Function Changes - - * More complete support for composite types (row types) (Tom) - Composite values can be used in many places where only scalar - values worked before. - * Reject nonrectangular array values as erroneous (Joe) - Formerly, array_in would silently build a surprising result. - * Overflow in integer arithmetic operations is now detected (Tom) - * The arithmetic operators associated with the single-byte "char" - data type have been removed. - Formerly, the parser would select these operators in many - situations where an "unable to select an operator" error would be - more appropriate, such as null * null. If you actually want to do - arithmetic on a "char" column, you can cast it to integer - explicitly. - * Syntax checking of array input values considerably tightened up - (Joe) - Junk that was previously allowed in odd places with odd results now - causes an ERROR, for example, non-whitespace after the closing - right brace. - * Empty-string array element values must now be written as "", rather - than writing nothing (Joe) - Formerly, both ways of writing an empty-string element value were - allowed, but now a quoted empty string is required. The case where - nothing at all appears will probably be considered to be a NULL - element value in some future release. - * Array element trailing whitespace is now ignored (Joe) - Formerly leading whitespace was ignored, but trailing whitespace - between an element value and the delimiter or right brace was - significant. Now trailing whitespace is also ignored. - * Emit array values with explicit array bounds when lower bound is - not one (Joe) - * Accept YYYY-monthname-DD as a date string (Tom) - * Make netmask and hostmask functions return maximum-length mask - length (Tom) - * Change factorial function to return numeric (Gavin) - Returning numeric allows the factorial function to work for a wider - range of input values. - * to_char/to_date() date conversion improvements (Kurt Roeckx, Fabien - Coelho) - * Make length() disregard trailing spaces in CHAR(n) (Gavin) - This change was made to improve consistency: trailing spaces are - semantically insignificant in CHAR(n) data, so they should not be - counted by length(). - * Warn about empty string being passed to OID/float4/float8 data - types (Neil) - 8.1 will throw an error instead. - * Allow leading or trailing whitespace in - int2/int4/int8/float4/float8 input routines (Neil) - * Better support for IEEE Infinity and NaN values in float4/float8 - (Neil) - These should now work on all platforms that support IEEE-compliant - floating point arithmetic. - * Add "week" option to date_trunc() (Robert Creager) - * Fix to_char for 1 BC (previously it returned 1 AD) (Bruce) - * Fix date_part(year) for BC dates (previously it returned one less - than the correct year) (Bruce) - * Fix date_part() to return the proper millennium and century (Fabien - Coelho) - In previous versions, the century and millennium results had a - wrong number and started in the wrong year, as compared to standard - reckoning of such things. - * Add ceiling() as an alias for ceil(), and power() as an alias for - pow() for standards compliance (Neil) - * Change ln(), log(), power(), and sqrt() to emit the correct - SQLSTATE error codes for certain error conditions, as specified by - SQL:2003 (Neil) - * Add width_bucket() function as defined by SQL:2003 (Neil) - * Add generate_series() functions to simplify working with numeric - sets (Joe) - * Fix upper/lower/initcap() functions to work with multibyte - encodings (Tom) - * Add boolean and bitwise integer "AND"/"OR" aggregates (Fabien - Coelho) - * New session information functions to return network addresses for - client and server (Sean Chittenden) - * Add function to determine the area of a closed path (Sean - Chittenden) - * Add function to send cancel request to other backends (Magnus) - * Add interval plus datetime operators (Tom) - The reverse ordering, datetime plus interval, was already - supported, but both are required by the SQL standard. - * Casting an integer to BIT(N) selects the rightmost N bits of the - integer (Tom) - In prior releases, the leftmost N bits were selected, but this was - deemed unhelpful, not to mention inconsistent with casting from bit - to int. - * Require CIDR values to have all nonmasked bits be zero (Kevin - Brintnall) - __________________________________________________________________ - -Server-Side Language Changes - - * In READ COMMITTED serialization mode, volatile functions now see - the results of concurrent transactions committed up to the - beginning of each statement within the function, rather than up to - the beginning of the interactive command that called the function. - * Functions declared STABLE or IMMUTABLE always use the snapshot of - the calling query, and therefore do not see the effects of actions - taken after the calling query starts, whether in their own - transaction or other transactions. Such a function must be - read-only, too, meaning that it cannot use any SQL commands other - than "SELECT". There is a considerable performance gain from - declaring a function STABLE or IMMUTABLE rather than VOLATILE. - * Nondeferred "AFTER" triggers are now fired immediately after - completion of the triggering query, rather than upon finishing the - current interactive command. This makes a difference when the - triggering query occurred within a function: the trigger is invoked - before the function proceeds to its next operation. For example, if - a function inserts a new row into a table, any nondeferred foreign - key checks occur before proceeding with the function. - * Allow function parameters to be declared with names (Dennis - Björklund) - This allows better documentation of functions. Whether the names - actually do anything depends on the specific function language - being used. - * Allow PL/pgSQL parameter names to be referenced in the function - (Dennis Björklund) - This basically creates an automatic alias for each named parameter. - * Do minimal syntax checking of PL/pgSQL functions at creation time - (Tom) - This allows us to catch simple syntax errors sooner. - * More support for composite types (row and record variables) in - PL/pgSQL - For example, it now works to pass a rowtype variable to another - function as a single variable. - * Default values for PL/pgSQL variables can now reference previously - declared variables - * Improve parsing of PL/pgSQL FOR loops (Tom) - Parsing is now driven by presence of ".." rather than data type of - "FOR" variable. This makes no difference for correct functions, but - should result in more understandable error messages when a mistake - is made. - * Major overhaul of PL/Perl server-side language (Command Prompt, - Andrew Dunstan) - * In PL/Tcl, SPI commands are now run in subtransactions. If an error - occurs, the subtransaction is cleaned up and the error is reported - as an ordinary Tcl error, which can be trapped with catch. - Formerly, it was not possible to catch such errors. - * Accept "ELSEIF" in PL/pgSQL (Neil) - Previously PL/pgSQL only allowed "ELSIF", but many people are - accustomed to spelling this keyword "ELSEIF". - __________________________________________________________________ - -psql Changes - - * Improve psql information display about database objects - (Christopher) - * Allow psql to display group membership in "\du" and "\dg" (Markus - Bertheau) - * Prevent psql "\dn" from showing temporary schemas (Bruce) - * Allow psql to handle tilde user expansion for file names (Zach - Irmen) - * Allow psql to display fancy prompts, including color, via readline - (Reece Hart, Chet Ramey) - * Make psql "\copy" match "COPY" command syntax fully (Tom) - * Show the location of syntax errors (Fabien Coelho, Tom) - * Add "CLUSTER" information to psql "\d" display (Bruce) - * Change psql "\copy stdin/stdout" to read from command input/output - (Bruce) - * Add "pstdin"/"pstdout" to read from psql's stdin/stdout (Mark Feit) - * Add global psql configuration file, "psqlrc.sample" (Bruce) - This allows a central file where global psql startup commands can - be stored. - * Have psql "\d+" indicate if the table has an OID column (Neil) - * On Windows, use binary mode in psql when reading files so control-Z - is not seen as end-of-file - * Have "\dn+" show permissions and description for schemas (Dennis - Björklund) - * Improve tab completion support (Stefan Kaltenbrunn, Greg Sabino - Mullane) - * Allow boolean settings to be set using upper or lower case (Michael - Paesold) - __________________________________________________________________ - -pg_dump Changes - - * Use dependency information to improve the reliability of pg_dump - (Tom) - This should solve the longstanding problems with related objects - sometimes being dumped in the wrong order. - * Have pg_dump output objects in alphabetical order if possible (Tom) - This should make it easier to identify changes between dump files. - * Allow pg_restore to ignore some SQL errors (Fabien Coelho) - This makes pg_restore's behavior similar to the results of feeding - a pg_dump output script to psql. In most cases, ignoring errors and - plowing ahead is the most useful thing to do. Also added was a - pg_restore option to give the old behavior of exiting on an error. - * pg_restore "-l" display now includes objects' schema names - * New begin/end markers in pg_dump text output (Bruce) - * Add start/stop times for pg_dump/pg_dumpall in verbose mode (Bruce) - * Allow most pg_dump options in pg_dumpall (Christopher) - * Have pg_dump use "ALTER OWNER" rather than "SET SESSION - AUTHORIZATION" by default (Christopher) - __________________________________________________________________ - -libpq Changes - - * Make libpq's "SIGPIPE" handling thread-safe (Bruce) - * Add PQmbdsplen() which returns the display length of a character - (Tatsuo) - * Add thread locking to SSL and Kerberos connections (Manfred Spraul) - * Allow PQoidValue(), PQcmdTuples(), and PQoidStatus() to work on - "EXECUTE" commands (Neil) - * Add PQserverVersion() to provide more convenient access to the - server version number (Greg Sabino Mullane) - * Add PQprepare/PQsendPrepared() functions to support preparing - statements without necessarily specifying the data types of their - parameters (Abhijit Menon-Sen) - * Many ECPG improvements, including "SET DESCRIPTOR" (Michael) - __________________________________________________________________ - -Source Code Changes - - * Allow the database server to run natively on Windows (Claudio, - Magnus, Andrew) - * Shell script commands converted to C versions for Windows support - (Andrew) - * Create an extension makefile framework (Fabien Coelho, Peter) - This simplifies the task of building extensions outside the - original source tree. - * Support relocatable installations (Bruce) - Directory paths for installed files (such as the "/share" - directory) are now computed relative to the actual location of the - executables, so that an installation tree can be moved to another - place without reconfiguring and rebuilding. - * Use "--with-docdir" to choose installation location of - documentation; also allow "--infodir" (Peter) - * Add "--without-docdir" to prevent installation of documentation - (Peter) - * Upgrade to DocBook V4.2 SGML (Peter) - * New PostgreSQL CVS tag (Marc) - This was done to make it easier for organizations to manage their - own copies of the PostgreSQL CVS repository. File version stamps - from the master repository will not get munged by checking into or - out of a copied repository. - * Clarify locking code (Manfred Koizar) - * Buffer manager cleanup (Neil) - * Decouple platform tests from CPU spinlock code (Bruce, Tom) - * Add inlined test-and-set code on PA-RISC for gcc (ViSolve, Tom) - * Improve i386 spinlock code (Manfred Spraul) - * Clean up spinlock assembly code to avoid warnings from newer gcc - releases (Tom) - * Remove JDBC from source tree; now a separate project - * Remove the libpgtcl client interface; now a separate project - * More accurately estimate memory and file descriptor usage (Tom) - * Improvements to the Mac OS X startup scripts (Ray A.) - * New fsync() test program (Bruce) - * Major documentation improvements (Neil, Peter) - * Remove pg_encoding; not needed anymore - * Remove pg_id; not needed anymore - * Remove initlocation; not needed anymore - * Auto-detect thread flags (no more manual testing) (Bruce) - * Use Olson's public domain timezone library (Magnus) - * With threading enabled, use thread flags on Unixware for backend - executables too (Bruce) - Unixware cannot mix threaded and nonthreaded object files in the - same executable, so everything must be compiled as threaded. - * psql now uses a flex-generated lexical analyzer to process command - strings - * Reimplement the linked list data structure used throughout the - backend (Neil) - This improves performance by allowing list append and length - operations to be more efficient. - * Allow dynamically loaded modules to create their own server - configuration parameters (Thomas Hallgren) - * New Brazilian version of FAQ (Euler Taveira de Oliveira) - * Add French FAQ (Guillaume Lelarge) - * New pgevent for Windows logging - * Make libpq and ECPG build as proper shared libraries on OS X (Tom) - __________________________________________________________________ - -Contrib Changes - - * Overhaul of "contrib/dblink" (Joe) - * "contrib/dbmirror" improvements (Steven Singer) - * New "contrib/xml2" (John Gray, Torchbox) - * Updated "contrib/mysql" - * New version of "contrib/btree_gist" (Teodor) - * New "contrib/trgm", trigram matching for PostgreSQL (Teodor) - * Many "contrib/tsearch2" improvements (Teodor) - * Add double metaphone to "contrib/fuzzystrmatch" (Andrew) - * Allow "contrib/pg_autovacuum" to run as a Windows service (Dave - Page) - * Add functions to "contrib/dbsize" (Andreas Pflug) - * Removed "contrib/pg_logger": obsoleted by integrated logging - subprocess - * Removed "contrib/rserv": obsoleted by various separate projects - __________________________________________________________________ - - Release 7.4.30 - - Release date: 2010-10-04 - - This release contains a variety of fixes from 7.4.29. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - - This is expected to be the last PostgreSQL release in the 7.4.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 7.4.30 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.26, see the release notes - for 7.4.26. - __________________________________________________________________ - -Changes - - * Use a separate interpreter for each calling SQL userid in PL/Perl - and PL/Tcl (Tom Lane) - This change prevents security problems that can be caused by - subverting Perl or Tcl code that will be executed later in the same - session under another SQL user identity (for example, within a - SECURITY DEFINER function). Most scripting languages offer numerous - ways that that might be done, such as redefining standard functions - or operators called by the target function. Without this change, - any SQL user with Perl or Tcl language usage rights can do - essentially anything with the SQL privileges of the target - function's owner. - The cost of this change is that intentional communication among - Perl and Tcl functions becomes more difficult. To provide an escape - hatch, PL/PerlU and PL/TclU functions continue to use only one - interpreter per session. This is not considered a security issue - since all such functions execute at the trust level of a database - superuser already. - It is likely that third-party procedural languages that claim to - offer trusted execution have similar security issues. We advise - contacting the authors of any PL you are depending on for - security-critical purposes. - Our thanks to Tim Bunce for pointing out this issue - (CVE-2010-3433). - * Prevent possible crashes in pg_get_expr() by disallowing it from - being called with an argument that is not one of the system catalog - columns it's intended to be used with (Heikki Linnakangas, Tom - Lane) - * Fix "cannot handle unplanned sub-select" error (Tom Lane) - This occurred when a sub-select contains a join alias reference - that expands into an expression containing another sub-select. - * Take care to fsync the contents of lockfiles (both "postmaster.pid" - and the socket lockfile) while writing them (Tom Lane) - This omission could result in corrupted lockfile contents if the - machine crashes shortly after postmaster start. That could in turn - prevent subsequent attempts to start the postmaster from - succeeding, until the lockfile is manually removed. - * Improve "contrib/dblink"'s handling of tables containing dropped - columns (Tom Lane) - * Fix connection leak after "duplicate connection name" errors in - "contrib/dblink" (Itagaki Takahiro) - * Update build infrastructure and documentation to reflect the source - code repository's move from CVS to Git (Magnus Hagander and others) - __________________________________________________________________ - - Release 7.4.29 - - Release date: 2010-05-17 - - This release contains a variety of fixes from 7.4.28. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - - The PostgreSQL community will stop releasing updates for the 7.4.X - release series in July 2010. Users are encouraged to update to a newer - release branch soon. - __________________________________________________________________ - -Migration to Version 7.4.29 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.26, see the release notes - for 7.4.26. - __________________________________________________________________ - -Changes - - * Enforce restrictions in plperl using an opmask applied to the whole - interpreter, instead of using "Safe.pm" (Tim Bunce, Andrew Dunstan) - Recent developments have convinced us that "Safe.pm" is too - insecure to rely on for making plperl trustable. This change - removes use of "Safe.pm" altogether, in favor of using a separate - interpreter with an opcode mask that is always applied. Pleasant - side effects of the change include that it is now possible to use - Perl's strict pragma in a natural way in plperl, and that Perl's $a - and $b variables work as expected in sort routines, and that - function compilation is significantly faster. (CVE-2010-1169) - * Prevent PL/Tcl from executing untrustworthy code from pltcl_modules - (Tom) - PL/Tcl's feature for autoloading Tcl code from a database table - could be exploited for trojan-horse attacks, because there was no - restriction on who could create or insert into that table. This - change disables the feature unless pltcl_modules is owned by a - superuser. (However, the permissions on the table are not checked, - so installations that really need a less-than-secure modules table - can still grant suitable privileges to trusted non-superusers.) - Also, prevent loading code into the unrestricted "normal" Tcl - interpreter unless we are really going to execute a pltclu - function. (CVE-2010-1170) - * Do not allow an unprivileged user to reset superuser-only parameter - settings (Alvaro) - Previously, if an unprivileged user ran ALTER USER ... RESET ALL - for himself, or ALTER DATABASE ... RESET ALL for a database he - owns, this would remove all special parameter settings for the user - or database, even ones that are only supposed to be changeable by a - superuser. Now, the "ALTER" will only remove the parameters that - the user has permission to change. - * Avoid possible crash during backend shutdown if shutdown occurs - when a CONTEXT addition would be made to log entries (Tom) - In some cases the context-printing function would fail because the - current transaction had already been rolled back when it came time - to print a log message. - * Update pl/perl's "ppport.h" for modern Perl versions (Andrew) - * Fix assorted memory leaks in pl/python (Andreas Freund, Tom) - * Ensure that "contrib/pgstattuple" functions respond to cancel - interrupts promptly (Tatsuhito Kasahara) - * Make server startup deal properly with the case that shmget() - returns EINVAL for an existing shared memory segment (Tom) - This behavior has been observed on BSD-derived kernels including OS - X. It resulted in an entirely-misleading startup failure - complaining that the shared memory request size was too large. - __________________________________________________________________ - - Release 7.4.28 - - Release date: 2010-03-15 - - This release contains a variety of fixes from 7.4.27. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - - The PostgreSQL community will stop releasing updates for the 7.4.X - release series in July 2010. Users are encouraged to update to a newer - release branch soon. - __________________________________________________________________ - -Migration to Version 7.4.28 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.26, see the release notes - for 7.4.26. - __________________________________________________________________ - -Changes - - * Add new configuration parameter ssl_renegotiation_limit to control - how often we do session key renegotiation for an SSL connection - (Magnus) - This can be set to zero to disable renegotiation completely, which - may be required if a broken SSL library is used. In particular, - some vendors are shipping stopgap patches for CVE-2009-3555 that - cause renegotiation attempts to fail. - * Make substring() for bit types treat any negative length as meaning - "all the rest of the string" (Tom) - The previous coding treated only -1 that way, and would produce an - invalid result value for other negative values, possibly leading to - a crash (CVE-2010-0442). - * Fix some cases of pathologically slow regular expression matching - (Tom) - * When reading "pg_hba.conf" and related files, do not treat - @something as a file inclusion request if the @ appears inside - quote marks; also, never treat @ by itself as a file inclusion - request (Tom) - This prevents erratic behavior if a role or database name starts - with @. If you need to include a file whose path name contains - spaces, you can still do so, but you must write @"/path to/file" - rather than putting the quotes around the whole construct. - * Prevent infinite loop on some platforms if a directory is named as - an inclusion target in "pg_hba.conf" and related files (Tom) - * Ensure PL/Tcl initializes the Tcl interpreter fully (Tom) - The only known symptom of this oversight is that the Tcl clock - command misbehaves if using Tcl 8.5 or later. - * Prevent crash in "contrib/dblink" when too many key columns are - specified to a dblink_build_sql_* function (Rushabh Lathia, Joe - Conway) - __________________________________________________________________ - - Release 7.4.27 - - Release date: 2009-12-14 - - This release contains a variety of fixes from 7.4.26. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.27 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.26, see the release notes - for 7.4.26. - __________________________________________________________________ - -Changes - - * Protect against indirect security threats caused by index functions - changing session-local state (Gurjeet Singh, Tom) - This change prevents allegedly-immutable index functions from - possibly subverting a superuser's session (CVE-2009-4136). - * Reject SSL certificates containing an embedded null byte in the - common name (CN) field (Magnus) - This prevents unintended matching of a certificate to a server or - client name during SSL validation (CVE-2009-4034). - * Fix possible crash during backend-startup-time cache initialization - (Tom) - * Prevent signals from interrupting VACUUM at unsafe times (Alvaro) - This fix prevents a PANIC if a VACUUM FULL is cancelled after it's - already committed its tuple movements, as well as transient errors - if a plain VACUUM is interrupted after having truncated the table. - * Fix possible crash due to integer overflow in hash table size - calculation (Tom) - This could occur with extremely large planner estimates for the - size of a hashjoin's result. - * Fix very rare crash in inet/cidr comparisons (Chris Mikkelson) - * Fix PAM password processing to be more robust (Tom) - The previous code is known to fail with the combination of the - Linux pam_krb5 PAM module with Microsoft Active Directory as the - domain controller. It might have problems elsewhere too, since it - was making unjustified assumptions about what arguments the PAM - stack would pass to it. - * Make the postmaster ignore any application_name parameter in - connection request packets, to improve compatibility with future - libpq versions (Tom) - __________________________________________________________________ - - Release 7.4.26 - - Release date: 2009-09-09 - - This release contains a variety of fixes from 7.4.25. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.26 - - A dump/restore is not required for those running 7.4.X. However, if you - have any hash indexes on interval columns, you must "REINDEX" them - after updating to 7.4.26. Also, if you are upgrading from a version - earlier than 7.4.11, see the release notes for 7.4.11. - __________________________________________________________________ - -Changes - - * Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside - security-definer functions (Tom, Heikki) - This covers a case that was missed in the previous patch that - disallowed "SET ROLE" and "SET SESSION AUTHORIZATION" inside - security-definer functions. (See CVE-2007-6600) - * Fix handling of sub-SELECTs appearing in the arguments of an - outer-level aggregate function (Tom) - * Fix hash calculation for data type interval (Tom) - This corrects wrong results for hash joins on interval values. It - also changes the contents of hash indexes on interval columns. If - you have any such indexes, you must "REINDEX" them after updating. - * Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million - and integer datetimes are in use (Alex Hunsaker) - * Fix calculation of distance between a point and a line segment - (Tom) - This led to incorrect results from a number of geometric operators. - * Fix money data type to work in locales where currency amounts have - no fractional digits, e.g. Japan (Itagaki Takahiro) - * Properly round datetime input like - 00:12:57.9999999999999999999999999999 (Tom) - * Fix poor choice of page split point in GiST R-tree operator classes - (Teodor) - * Fix portability issues in plperl initialization (Andrew Dunstan) - * Improve robustness of libpq's code to recover from errors during - "COPY FROM STDIN" (Tom) - * Avoid including conflicting readline and editline header files when - both libraries are installed (Zdenek Kotala) - __________________________________________________________________ - - Release 7.4.25 - - Release date: 2009-03-16 - - This release contains a variety of fixes from 7.4.24. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.25 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Prevent error recursion crashes when encoding conversion fails - (Tom) - This change extends fixes made in the last two minor releases for - related failure scenarios. The previous fixes were narrowly - tailored for the original problem reports, but we have now - recognized that *any* error thrown by an encoding conversion - function could potentially lead to infinite recursion while trying - to report the error. The solution therefore is to disable - translation and encoding conversion and report the plain-ASCII form - of any error message, if we find we have gotten into a recursive - error reporting situation. (CVE-2009-0922) - * Disallow "CREATE CONVERSION" with the wrong encodings for the - specified conversion function (Heikki) - This prevents one possible scenario for encoding conversion - failure. The previous change is a backstop to guard against other - kinds of failures in the same area. - * Fix core dump when to_char() is given format codes that are - inappropriate for the type of the data argument (Tom) - * Add MUST (Mauritius Island Summer Time) to the default list of - known timezone abbreviations (Xavier Bugaud) - __________________________________________________________________ - - Release 7.4.24 - - Release date: 2009-02-02 - - This release contains a variety of fixes from 7.4.23. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.24 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Improve handling of URLs in headline() function (Teodor) - * Improve handling of overlength headlines in headline() function - (Teodor) - * Prevent possible Assert failure or misconversion if an encoding - conversion is created with the wrong conversion function for the - specified pair of encodings (Tom, Heikki) - * Avoid unnecessary locking of small tables in "VACUUM" (Heikki) - * Fix uninitialized variables in "contrib/tsearch2"'s get_covers() - function (Teodor) - * Fix bug in to_char()'s handling of TH format codes (Andreas - Scherbaum) - * Make all documentation reference pgsql-bugs and/or pgsql-hackers as - appropriate, instead of the now-decommissioned pgsql-ports and - pgsql-patches mailing lists (Tom) - __________________________________________________________________ - - Release 7.4.23 - - Release date: 2008-11-03 - - This release contains a variety of fixes from 7.4.22. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.23 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Fix backend crash when the client encoding cannot represent a - localized error message (Tom) - We have addressed similar issues before, but it would still fail if - the "character has no equivalent" message itself couldn't be - converted. The fix is to disable localization and send the plain - ASCII error message when we detect such a situation. - * Fix incorrect tsearch2 headline generation when single query item - matches first word of text (Sushant Sinha) - * Fix improper display of fractional seconds in interval values when - using a non-ISO datestyle in an "--enable-integer-datetimes" build - (Ron Mayer) - * Ensure SPI_getvalue and SPI_getbinval behave correctly when the - passed tuple and tuple descriptor have different numbers of columns - (Tom) - This situation is normal when a table has had columns added or - removed, but these two functions didn't handle it properly. The - only likely consequence is an incorrect error indication. - * Fix ecpg's parsing of "CREATE USER" (Michael) - __________________________________________________________________ - - Release 7.4.22 - - Release date: 2008-09-22 - - This release contains a variety of fixes from 7.4.21. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.22 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Fix datetime input functions to correctly detect integer overflow - when running on a 64-bit platform (Tom) - * Improve performance of writing very long log messages to syslog - (Tom) - * Fix bug in backwards scanning of a cursor on a SELECT DISTINCT ON - query (Tom) - * Fix planner to estimate that GROUP BY expressions yielding boolean - results always result in two groups, regardless of the expressions' - contents (Tom) - This is very substantially more accurate than the regular GROUP BY - estimate for certain boolean tests like "col" IS NULL. - * Improve pg_dump and pg_restore's error reporting after failure to - send a SQL command (Tom) - __________________________________________________________________ - - Release 7.4.21 - - Release date: 2008-06-12 - - This release contains one serious bug fix over 7.4.20. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.21 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Make pg_get_ruledef() parenthesize negative constants (Tom) - Before this fix, a negative constant in a view or rule might be - dumped as, say, -42::integer, which is subtly incorrect: it should - be (-42)::integer due to operator precedence rules. Usually this - would make little difference, but it could interact with another - recent patch to cause PostgreSQL to reject what had been a valid - "SELECT DISTINCT" view query. Since this could result in pg_dump - output failing to reload, it is being treated as a high-priority - fix. The only released versions in which dump output is actually - incorrect are 8.3.1 and 8.2.7. - __________________________________________________________________ - - Release 7.4.20 - - Release date: never released - - This release contains a variety of fixes from 7.4.19. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.20 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Fix conversions between ISO-8859-5 and other encodings to handle - Cyrillic "Yo" characters (e and E with two dots) (Sergey Burladyan) - * Fix a few datatype input functions that were allowing unused bytes - in their results to contain uninitialized, unpredictable values - (Tom) - This could lead to failures in which two apparently identical - literal values were not seen as equal, resulting in the parser - complaining about unmatched ORDER BY and DISTINCT expressions. - * Fix a corner case in regular-expression substring matching - (substring(string from pattern)) (Tom) - The problem occurs when there is a match to the pattern overall but - the user has specified a parenthesized subexpression and that - subexpression hasn't got a match. An example is substring('foo' - from 'foo(bar)?'). This should return NULL, since (bar) isn't - matched, but it was mistakenly returning the whole-pattern match - instead (ie, foo). - * Fix incorrect result from ecpg's PGTYPEStimestamp_sub() function - (Michael) - * Fix DatumGetBool macro to not fail with gcc 4.3 (Tom) - This problem affects "old style" (V0) C functions that return - boolean. The fix is already in 8.3, but the need to back-patch it - was not realized at the time. - * Fix longstanding "LISTEN"/"NOTIFY" race condition (Tom) - In rare cases a session that had just executed a "LISTEN" might not - get a notification, even though one would be expected because the - concurrent transaction executing "NOTIFY" was observed to commit - later. - A side effect of the fix is that a transaction that has executed a - not-yet-committed "LISTEN" command will not see any row in - pg_listener for the "LISTEN", should it choose to look; formerly it - would have. This behavior was never documented one way or the - other, but it is possible that some applications depend on the old - behavior. - * Fix display of constant expressions in ORDER BY and GROUP BY (Tom) - An explictly casted constant would be shown incorrectly. This could - for example lead to corruption of a view definition during dump and - reload. - * Fix libpq to handle NOTICE messages correctly during COPY OUT (Tom) - This failure has only been observed to occur when a user-defined - datatype's output routine issues a NOTICE, but there is no - guarantee it couldn't happen due to other causes. - __________________________________________________________________ - - Release 7.4.19 - - Release date: 2008-01-07 - - This release contains a variety of fixes from 7.4.18, including fixes - for significant security issues. For information about new features in - the 7.4 major release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.19 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Prevent functions in indexes from executing with the privileges of - the user running "VACUUM", "ANALYZE", etc (Tom) - Functions used in index expressions and partial-index predicates - are evaluated whenever a new table entry is made. It has long been - understood that this poses a risk of trojan-horse code execution if - one modifies a table owned by an untrustworthy user. (Note that - triggers, defaults, check constraints, etc. pose the same type of - risk.) But functions in indexes pose extra danger because they will - be executed by routine maintenance operations such as "VACUUM - FULL", which are commonly performed automatically under a superuser - account. For example, a nefarious user can execute code with - superuser privileges by setting up a trojan-horse index definition - and waiting for the next routine vacuum. The fix arranges for - standard maintenance operations (including "VACUUM", "ANALYZE", - "REINDEX", and "CLUSTER") to execute as the table owner rather than - the calling user, using the same privilege-switching mechanism - already used for SECURITY DEFINER functions. To prevent bypassing - this security measure, execution of "SET SESSION AUTHORIZATION" and - "SET ROLE" is now forbidden within a SECURITY DEFINER context. - (CVE-2007-6600) - * Repair assorted bugs in the regular-expression package (Tom, Will - Drewry) - Suitably crafted regular-expression patterns could cause crashes, - infinite or near-infinite looping, and/or massive memory - consumption, all of which pose denial-of-service hazards for - applications that accept regex search patterns from untrustworthy - sources. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - The fix that appeared for this in 7.4.18 was incomplete, as it - plugged the hole for only some "dblink" functions. (CVE-2007-6601, - CVE-2007-3278) - * Fix planner failure in some cases of WHERE false AND var IN (SELECT - ...) (Tom) - * Fix potential crash in translate() when using a multibyte database - encoding (Tom) - * Fix PL/Python to not crash on long exception messages (Alvaro) - * ecpg parser fixes (Michael) - * Make "contrib/tablefunc"'s crosstab() handle NULL rowid as a - category in its own right, rather than crashing (Joe) - * Fix tsvector and tsquery output routines to escape backslashes - correctly (Teodor, Bruce) - * Fix crash of to_tsvector() on huge input strings (Teodor) - * Require a specific version of Autoconf to be used when - re-generating the "configure" script (Peter) - This affects developers and packagers only. The change was made to - prevent accidental use of untested combinations of Autoconf and - PostgreSQL versions. You can remove the version check if you really - want to use a different Autoconf version, but it's your - responsibility whether the result works or not. - __________________________________________________________________ - - Release 7.4.18 - - Release date: 2007-09-17 - - This release contains fixes from 7.4.17. For information about new - features in the 7.4 major release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.18 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Prevent index corruption when a transaction inserts rows and then - aborts close to the end of a concurrent "VACUUM" on the same table - (Tom) - * Make "CREATE DOMAIN ... DEFAULT NULL" work properly (Tom) - * Fix excessive logging of SSL error messages (Tom) - * Fix crash when log_min_error_statement logging runs out of memory - (Tom) - * Prevent "CLUSTER" from failing due to attempting to process - temporary tables of other sessions (Alvaro) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - __________________________________________________________________ - - Release 7.4.17 - - Release date: 2007-04-23 - - This release contains fixes from 7.4.16, including a security fix. For - information about new features in the 7.4 major release, see the - Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.17 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Support explicit placement of the temporary-table schema within - search_path, and disable searching it for functions and operators - (Tom) - This is needed to allow a security-definer function to set a truly - secure value of search_path. Without it, an unprivileged SQL user - can use temporary objects to execute code with the privileges of - the security-definer function (CVE-2007-2138). See "CREATE - FUNCTION" for more information. - * "/contrib/tsearch2" crash fixes (Teodor) - * Fix potential-data-corruption bug in how "VACUUM FULL" handles - "UPDATE" chains (Tom, Pavan Deolasee) - * Fix PANIC during enlargement of a hash index (bug introduced in - 7.4.15) (Tom) - __________________________________________________________________ - - Release 7.4.16 - - Release date: 2007-02-05 - - This release contains a variety of fixes from 7.4.15, including a - security fix. For information about new features in the 7.4 major - release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.16 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Remove security vulnerability that allowed connected users to read - backend memory (Tom) - The vulnerability involves suppressing the normal check that a SQL - function returns the data type it's declared to, or changing the - data type of a table column used in a SQL function (CVE-2007-0555). - This error can easily be exploited to cause a backend crash, and in - principle might be used to read database content that the user - should not be able to access. - * Fix rare bug wherein btree index page splits could fail due to - choosing an infeasible split point (Heikki Linnakangas) - * Fix for rare Assert() crash triggered by UNION (Tom) - * Tighten security of multi-byte character processing for UTF8 - sequences over three bytes long (Tom) - __________________________________________________________________ - - Release 7.4.15 - - Release date: 2007-01-08 - - This release contains a variety of fixes from 7.4.14. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.15 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Improve handling of getaddrinfo() on AIX (Tom) - This fixes a problem with starting the statistics collector, among - other things. - * Fix "failed to re-find parent key" errors in "VACUUM" (Tom) - * Fix bugs affecting multi-gigabyte hash indexes (Tom) - * Fix error when constructing an ARRAY[] made up of multiple empty - elements (Tom) - * to_number() and to_char(numeric) are now STABLE, not IMMUTABLE, for - new initdb installs (Tom) - This is because lc_numeric can potentially change the output of - these functions. - * Improve index usage of regular expressions that use parentheses - (Tom) - This improves psql \d performance also. - __________________________________________________________________ - - Release 7.4.14 - - Release date: 2006-10-16 - - This release contains a variety of fixes from 7.4.13. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.14 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Fix core dump when an untyped literal is taken as ANYARRAY - * Fix string_to_array() to handle overlapping matches for the - separator string - For example, string_to_array('123xx456xxx789', 'xx'). - * Fix corner cases in pattern matching for psql's \d commands - * Fix index-corrupting bugs in /contrib/ltree (Teodor) - * Fix backslash escaping in /contrib/dbmirror - * Adjust regression tests for recent changes in US DST laws - __________________________________________________________________ - - Release 7.4.13 - - Release date: 2006-05-23 - - This release contains a variety of fixes from 7.4.12, including patches - for extremely serious security issues. For information about new - features in the 7.4 major release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.13 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - - Full security against the SQL-injection attacks described in - CVE-2006-2313 and CVE-2006-2314 might require changes in application - code. If you have applications that embed untrustworthy strings into - SQL commands, you should examine them as soon as possible to ensure - that they are using recommended escaping techniques. In most cases, - applications should be using subroutines provided by libraries or - drivers (such as libpq's PQescapeStringConn()) to perform string - escaping, rather than relying on ad hoc code to do it. - __________________________________________________________________ - -Changes - - * Change the server to reject invalidly-encoded multibyte characters - in all cases (Tatsuo, Tom) - While PostgreSQL has been moving in this direction for some time, - the checks are now applied uniformly to all encodings and all - textual input, and are now always errors not merely warnings. This - change defends against SQL-injection attacks of the type described - in CVE-2006-2313. - * Reject unsafe uses of \' in string literals - As a server-side defense against SQL-injection attacks of the type - described in CVE-2006-2314, the server now only accepts '' and not - \' as a representation of ASCII single quote in SQL string - literals. By default, \' is rejected only when client_encoding is - set to a client-only encoding (SJIS, BIG5, GBK, GB18030, or UHC), - which is the scenario in which SQL injection is possible. A new - configuration parameter backslash_quote is available to adjust this - behavior when needed. Note that full security against CVE-2006-2314 - might require client-side changes; the purpose of backslash_quote - is in part to make it obvious that insecure clients are insecure. - * Modify libpq's string-escaping routines to be aware of encoding - considerations and standard_conforming_strings - This fixes libpq-using applications for the security issues - described in CVE-2006-2313 and CVE-2006-2314, and also - future-proofs them against the planned changeover to SQL-standard - string literal syntax. Applications that use multiple PostgreSQL - connections concurrently should migrate to PQescapeStringConn() and - PQescapeByteaConn() to ensure that escaping is done correctly for - the settings in use in each database connection. Applications that - do string escaping "by hand" should be modified to rely on library - routines instead. - * Fix some incorrect encoding conversion functions - win1251_to_iso, alt_to_iso, euc_tw_to_big5, euc_tw_to_mic, - mic_to_euc_tw were all broken to varying extents. - * Clean up stray remaining uses of \' in strings (Bruce, Jan) - * Fix bug that sometimes caused OR'd index scans to miss rows they - should have returned - * Fix WAL replay for case where a btree index has been truncated - * Fix SIMILAR TO for patterns involving | (Tom) - * Fix server to use custom DH SSL parameters correctly (Michael Fuhr) - * Fix for Bonjour on Intel Macs (Ashley Clark) - * Fix various minor memory leaks - __________________________________________________________________ - - Release 7.4.12 - - Release date: 2006-02-14 - - This release contains a variety of fixes from 7.4.11. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.12 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.11, see the release notes - for 7.4.11. - __________________________________________________________________ - -Changes - - * Fix potential crash in "SET SESSION AUTHORIZATION" (CVE-2006-0553) - An unprivileged user could crash the server process, resulting in - momentary denial of service to other users, if the server has been - compiled with Asserts enabled (which is not the default). Thanks to - Akio Ishida for reporting this problem. - * Fix bug with row visibility logic in self-inserted rows (Tom) - Under rare circumstances a row inserted by the current command - could be seen as already valid, when it should not be. Repairs bug - created in 7.4.9 and 7.3.11 releases. - * Fix race condition that could lead to "file already exists" errors - during pg_clog file creation (Tom) - * Properly check DOMAIN constraints for UNKNOWN parameters in - prepared statements (Neil) - * Fix to allow restoring dumps that have cross-schema references to - custom operators (Tom) - * Portability fix for testing presence of finite and isinf during - configure (Tom) - __________________________________________________________________ - - Release 7.4.11 - - Release date: 2006-01-09 - - This release contains a variety of fixes from 7.4.10. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.11 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.8, see the release notes - for 7.4.8. Also, you might need to "REINDEX" indexes on textual columns - after updating, if you are affected by the locale or plperl issues - described below. - __________________________________________________________________ - -Changes - - * Fix for protocol-level Describe messages issued outside a - transaction or in a failed transaction (Tom) - * Fix character string comparison for locales that consider different - character combinations as equal, such as Hungarian (Tom) - This might require "REINDEX" to fix existing indexes on textual - columns. - * Set locale environment variables during postmaster startup to - ensure that plperl won't change the locale later - This fixes a problem that occurred if the postmaster was started - with environment variables specifying a different locale than what - initdb had been told. Under these conditions, any use of plperl was - likely to lead to corrupt indexes. You might need "REINDEX" to fix - existing indexes on textual columns if this has happened to you. - * Fix longstanding bug in strpos() and regular expression handling in - certain rarely used Asian multi-byte character sets (Tatsuo) - * Fix bug in "/contrib/pgcrypto" gen_salt, which caused it not to use - all available salt space for MD5 and XDES algorithms (Marko Kreen, - Solar Designer) - Salts for Blowfish and standard DES are unaffected. - * Fix "/contrib/dblink" to throw an error, rather than crashing, when - the number of columns specified is different from what's actually - returned by the query (Joe) - __________________________________________________________________ - - Release 7.4.10 - - Release date: 2005-12-12 - - This release contains a variety of fixes from 7.4.9. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.10 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.8, see the release notes - for 7.4.8. - __________________________________________________________________ - -Changes - - * Fix race condition in transaction log management - There was a narrow window in which an I/O operation could be - initiated for the wrong page, leading to an Assert failure or data - corruption. - * Prevent failure if client sends Bind protocol message when current - transaction is already aborted - * "/contrib/ltree" fixes (Teodor) - * AIX and HPUX compile fixes (Tom) - * Fix longstanding planning error for outer joins - This bug sometimes caused a bogus error "RIGHT JOIN is only - supported with merge-joinable join conditions". - * Prevent core dump in pg_autovacuum when a table has been dropped - __________________________________________________________________ - - Release 7.4.9 - - Release date: 2005-10-04 - - This release contains a variety of fixes from 7.4.8. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.9 - - A dump/restore is not required for those running 7.4.X. However, if you - are upgrading from a version earlier than 7.4.8, see the release notes - for 7.4.8. - __________________________________________________________________ - -Changes - - * Fix error that allowed "VACUUM" to remove ctid chains too soon, and - add more checking in code that follows ctid links - This fixes a long-standing problem that could cause crashes in very - rare circumstances. - * Fix CHAR() to properly pad spaces to the specified length when - using a multiple-byte character set (Yoshiyuki Asaba) - In prior releases, the padding of CHAR() was incorrect because it - only padded to the specified number of bytes without considering - how many characters were stored. - * Fix the sense of the test for read-only transaction in "COPY" - The code formerly prohibited "COPY TO", where it should prohibit - "COPY FROM". - * Fix planning problem with outer-join ON clauses that reference only - the inner-side relation - * Further fixes for x FULL JOIN y ON true corner cases - * Make array_in and array_recv more paranoid about validating their - OID parameter - * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST - index on column a - * Improve robustness of datetime parsing - * Improve checking for partially-written WAL pages - * Improve robustness of signal handling when SSL is enabled - * Don't try to open more than max_files_per_process files during - postmaster startup - * Various memory leakage fixes - * Various portability improvements - * Fix PL/pgSQL to handle var := var correctly when the variable is of - pass-by-reference type - * Update "contrib/tsearch2" to use current Snowball code - __________________________________________________________________ - - Release 7.4.8 - - Release date: 2005-05-09 - - This release contains a variety of fixes from 7.4.7, including several - security-related issues. For information about new features in the 7.4 - major release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.8 - - A dump/restore is not required for those running 7.4.X. However, it is - one possible way of handling two significant security problems that - have been found in the initial contents of 7.4.X system catalogs. A - dump/initdb/reload sequence using 7.4.8's initdb will automatically - correct these problems. - - The larger security problem is that the built-in character set encoding - conversion functions can be invoked from SQL commands by unprivileged - users, but the functions were not designed for such use and are not - secure against malicious choices of arguments. The fix involves - changing the declared parameter list of these functions so that they - can no longer be invoked from SQL commands. (This does not affect their - normal use by the encoding conversion machinery.) - - The lesser problem is that the "contrib/tsearch2" module creates - several functions that are misdeclared to return internal when they do - not accept internal arguments. This breaks type safety for all - functions using internal arguments. - - It is strongly recommended that all installations repair these errors, - either by initdb or by following the manual repair procedures given - below. The errors at least allow unprivileged database users to crash - their server process, and might allow unprivileged users to gain the - privileges of a database superuser. - - If you wish not to do an initdb, perform the following procedures - instead. As the database superuser, do: -BEGIN; -UPDATE pg_proc SET proargtypes[3] = 'internal'::regtype -WHERE pronamespace = 11 AND pronargs = 5 - AND proargtypes[2] = 'cstring'::regtype; --- The command should report having updated 90 rows; --- if not, rollback and investigate instead of committing! -COMMIT; - - Next, if you have installed "contrib/tsearch2", do: -BEGIN; -UPDATE pg_proc SET proargtypes[0] = 'internal'::regtype -WHERE oid IN ( - 'dex_init(text)'::regprocedure, - 'snb_en_init(text)'::regprocedure, - 'snb_ru_init(text)'::regprocedure, - 'spell_init(text)'::regprocedure, - 'syn_init(text)'::regprocedure -); --- The command should report having updated 5 rows; --- if not, rollback and investigate instead of committing! -COMMIT; - - If this command fails with a message like "function "dex_init(text)" - does not exist", then either "tsearch2" is not installed in this - database, or you already did the update. - - The above procedures must be carried out in *each* database of an - installation, including template1, and ideally including template0 as - well. If you do not fix the template databases then any subsequently - created databases will contain the same errors. template1 can be fixed - in the same way as any other database, but fixing template0 requires - additional steps. First, from any database issue: -UPDATE pg_database SET datallowconn = true WHERE datname = 'template0'; - - Next connect to template0 and perform the above repair procedures. - Finally, do: --- re-freeze template0: -VACUUM FREEZE; --- and protect it against future alterations: -UPDATE pg_database SET datallowconn = false WHERE datname = 'template0'; - __________________________________________________________________ - -Changes - - * Change encoding function signature to prevent misuse - * Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function - results - * Repair ancient race condition that allowed a transaction to be seen - as committed for some purposes (eg SELECT FOR UPDATE) slightly - sooner than for other purposes - This is an extremely serious bug since it could lead to apparent - data inconsistencies being briefly visible to applications. - * Repair race condition between relation extension and VACUUM - This could theoretically have caused loss of a page's worth of - freshly-inserted data, although the scenario seems of very low - probability. There are no known cases of it having caused more than - an Assert failure. - * Fix comparisons of TIME WITH TIME ZONE values - The comparison code was wrong in the case where the - --enable-integer-datetimes configuration switch had been used. - NOTE: if you have an index on a TIME WITH TIME ZONE column, it will - need to be "REINDEX"ed after installing this update, because the - fix corrects the sort order of column values. - * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values - * Fix mis-display of negative fractional seconds in INTERVAL values - This error only occurred when the --enable-integer-datetimes - configuration switch had been used. - * Ensure operations done during backend shutdown are counted by - statistics collector - This is expected to resolve reports of pg_autovacuum not vacuuming - the system catalogs often enough -- it was not being told about - catalog deletions caused by temporary table removal during backend - exit. - * Additional buffer overrun checks in plpgsql (Neil) - * Fix pg_dump to dump trigger names containing % correctly (Neil) - * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen) - * Still more 64-bit fixes for "contrib/intagg" - * Prevent incorrect optimization of functions returning RECORD - * Prevent to_char(interval) from dumping core for month-related - formats - * Prevent crash on COALESCE(NULL,NULL) - * Fix array_map to call PL functions correctly - * Fix permission checking in "ALTER DATABASE RENAME" - * Fix "ALTER LANGUAGE RENAME" - * Make RemoveFromWaitQueue clean up after itself - This fixes a lock management error that would only be visible if a - transaction was kicked out of a wait for a lock (typically by query - cancel) and then the holder of the lock released it within a very - narrow window. - * Fix problem with untyped parameter appearing in "INSERT ... SELECT" - * Fix "CLUSTER" failure after "ALTER TABLE SET WITHOUT OIDS" - __________________________________________________________________ - - Release 7.4.7 - - Release date: 2005-01-31 - - This release contains a variety of fixes from 7.4.6, including several - security-related issues. For information about new features in the 7.4 - major release, see the Section called Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.7 - - A dump/restore is not required for those running 7.4.X. - __________________________________________________________________ - -Changes - - * Disallow "LOAD" to non-superusers - On platforms that will automatically execute initialization - functions of a shared library (this includes at least Windows and - ELF-based Unixen), "LOAD" can be used to make the server execute - arbitrary code. Thanks to NGS Software for reporting this. - * Check that creator of an aggregate function has the right to - execute the specified transition functions - This oversight made it possible to bypass denial of EXECUTE - permission on a function. - * Fix security and 64-bit issues in contrib/intagg - * Add needed STRICT marking to some contrib functions (Kris Jurka) - * Avoid buffer overrun when plpgsql cursor declaration has too many - parameters (Neil) - * Fix planning error for FULL and RIGHT outer joins - The result of the join was mistakenly supposed to be sorted the - same as the left input. This could not only deliver mis-sorted - output to the user, but in case of nested merge joins could give - outright wrong answers. - * Fix plperl for quote marks in tuple fields - * Fix display of negative intervals in SQL and GERMAN datestyles - * Make age(timestamptz) do calculation in local timezone not GMT - __________________________________________________________________ - - Release 7.4.6 - - Release date: 2004-10-22 - - This release contains a variety of fixes from 7.4.5. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.6 - - A dump/restore is not required for those running 7.4.X. - __________________________________________________________________ - -Changes - - * Repair possible failure to update hint bits on disk - Under rare circumstances this oversight could lead to "could not - access transaction status" failures, which qualifies it as a - potential-data-loss bug. - * Ensure that hashed outer join does not miss tuples - Very large left joins using a hash join plan could fail to output - unmatched left-side rows given just the right data distribution. - * Disallow running pg_ctl as root - This is to guard against any possible security issues. - * Avoid using temp files in "/tmp" in "make_oidjoins_check" - This has been reported as a security issue, though it's hardly - worthy of concern since there is no reason for non-developers to - use this script anyway. - * Prevent forced backend shutdown from re-emitting prior command - result - In rare cases, a client might think that its last command had - succeeded when it really had been aborted by forced database - shutdown. - * Repair bug in pg_stat_get_backend_idset - This could lead to misbehavior in some of the system-statistics - views. - * Fix small memory leak in postmaster - * Fix "expected both swapped tables to have TOAST tables" bug - This could arise in cases such as CLUSTER after ALTER TABLE DROP - COLUMN. - * Prevent pg_ctl restart from adding -D multiple times - * Fix problem with NULL values in GiST indexes - * :: is no longer interpreted as a variable in an ECPG prepare - statement - __________________________________________________________________ - - Release 7.4.5 - - Release date: 2004-08-18 - - This release contains one serious bug fix over 7.4.4. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.5 - - A dump/restore is not required for those running 7.4.X. - __________________________________________________________________ - -Changes - - * Repair possible crash during concurrent B-tree index insertions - This patch fixes a rare case in which concurrent insertions into a - B-tree index could result in a server panic. No permanent damage - would result, but it's still worth a re-release. The bug does not - exist in pre-7.4 releases. - __________________________________________________________________ - - Release 7.4.4 - - Release date: 2004-08-16 - - This release contains a variety of fixes from 7.4.3. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.4 - - A dump/restore is not required for those running 7.4.X. - __________________________________________________________________ - -Changes - - * Prevent possible loss of committed transactions during crash - Due to insufficient interlocking between transaction commit and - checkpointing, it was possible for transactions committed just - before the most recent checkpoint to be lost, in whole or in part, - following a database crash and restart. This is a serious bug that - has existed since PostgreSQL 7.1. - * Check HAVING restriction before evaluating result list of an - aggregate plan - * Avoid crash when session's current user ID is deleted - * Fix hashed crosstab for zero-rows case (Joe) - * Force cache update after renaming a column in a foreign key - * Pretty-print UNION queries correctly - * Make psql handle \r\n newlines properly in COPY IN - * pg_dump handled ACLs with grant options incorrectly - * Fix thread support for OS X and Solaris - * Updated JDBC driver (build 215) with various fixes - * ECPG fixes - * Translation updates (various contributors) - __________________________________________________________________ - - Release 7.4.3 - - Release date: 2004-06-14 - - This release contains a variety of fixes from 7.4.2. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.3 - - A dump/restore is not required for those running 7.4.X. - __________________________________________________________________ - -Changes - - * Fix temporary memory leak when using non-hashed aggregates (Tom) - * ECPG fixes, including some for Informix compatibility (Michael) - * Fixes for compiling with thread-safety, particularly Solaris - (Bruce) - * Fix error in COPY IN termination when using the old network - protocol (ljb) - * Several important fixes in pg_autovacuum, including fixes for large - tables, unsigned oids, stability, temp tables, and debug mode - (Matthew T. O'Connor) - * Fix problem with reading tar-format dumps on NetBSD and BSD/OS - (Bruce) - * Several JDBC fixes - * Fix ALTER SEQUENCE RESTART where last_value equals the restart - value (Tom) - * Repair failure to recalculate nested sub-selects (Tom) - * Fix problems with non-constant expressions in LIMIT/OFFSET - * Support FULL JOIN with no join clause, such as X FULL JOIN Y ON - TRUE (Tom) - * Fix another zero-column table bug (Tom) - * Improve handling of non-qualified identifiers in GROUP BY clauses - in sub-selects (Tom) - Select-list aliases within the sub-select will now take precedence - over names from outer query levels. - * Do not generate "NATURAL CROSS JOIN" when decompiling rules (Tom) - * Add checks for invalid field length in binary COPY (Tom) - This fixes a difficult-to-exploit security hole. - * Avoid locking conflict between "ANALYZE" and "LISTEN"/"NOTIFY" - * Numerous translation updates (various contributors) - __________________________________________________________________ - - Release 7.4.2 - - Release date: 2004-03-08 - - This release contains a variety of fixes from 7.4.1. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.2 - - A dump/restore is not required for those running 7.4.X. However, it - might be advisable as the easiest method of incorporating fixes for two - errors that have been found in the initial contents of 7.4.X system - catalogs. A dump/initdb/reload sequence using 7.4.2's initdb will - automatically correct these problems. - - The more severe of the two errors is that data type anyarray has the - wrong alignment label; this is a problem because the pg_statistic - system catalog uses anyarray columns. The mislabeling can cause planner - misestimations and even crashes when planning queries that involve - WHERE clauses on double-aligned columns (such as float8 and timestamp). - It is strongly recommended that all installations repair this error, - either by initdb or by following the manual repair procedure given - below. - - The lesser error is that the system view pg_settings ought to be marked - as having public update access, to allow UPDATE pg_settings to be used - as a substitute for "SET". This can also be fixed either by initdb or - manually, but it is not necessary to fix unless you want to use UPDATE - pg_settings. - - If you wish not to do an initdb, the following procedure will work for - fixing pg_statistic. As the database superuser, do: --- clear out old data in pg_statistic: -DELETE FROM pg_statistic; -VACUUM pg_statistic; --- this should update 1 row: -UPDATE pg_type SET typalign = 'd' WHERE oid = 2277; --- this should update 6 rows: -UPDATE pg_attribute SET attalign = 'd' WHERE atttypid = 2277; --- --- At this point you MUST start a fresh backend to avoid a crash! --- --- repopulate pg_statistic: -ANALYZE; - - This can be done in a live database, but beware that all backends - running in the altered database must be restarted before it is safe to - repopulate pg_statistic. - - To repair the pg_settings error, simply do: -GRANT SELECT, UPDATE ON pg_settings TO PUBLIC; - - The above procedures must be carried out in *each* database of an - installation, including template1, and ideally including template0 as - well. If you do not fix the template databases then any subsequently - created databases will contain the same errors. template1 can be fixed - in the same way as any other database, but fixing template0 requires - additional steps. First, from any database issue: -UPDATE pg_database SET datallowconn = true WHERE datname = 'template0'; - - Next connect to template0 and perform the above repair procedures. - Finally, do: --- re-freeze template0: -VACUUM FREEZE; --- and protect it against future alterations: -UPDATE pg_database SET datallowconn = false WHERE datname = 'template0'; - __________________________________________________________________ - -Changes - - Release 7.4.2 incorporates all the fixes included in release 7.3.6, - plus the following fixes: - - * Fix pg_statistics alignment bug that could crash optimizer - See above for details about this problem. - * Allow non-super users to update pg_settings - * Fix several optimizer bugs, most of which led to "variable not - found in subplan target lists" errors - * Avoid out-of-memory failure during startup of large multiple index - scan - * Fix multibyte problem that could lead to "out of memory" error - during "COPY IN" - * Fix problems with "SELECT INTO" / "CREATE TABLE AS" from tables - without OIDs - * Fix problems with "alter_table" regression test during parallel - testing - * Fix problems with hitting open file limit, especially on OS X (Tom) - * Partial fix for Turkish-locale issues - initdb will succeed now in Turkish locale, but there are still some - inconveniences associated with the i/I problem. - * Make pg_dump set client encoding on restore - * Other minor pg_dump fixes - * Allow ecpg to again use C keywords as column names (Michael) - * Added ecpg WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE - (Michael) - * Fix ecpg crash for queries calling set-returning functions - (Michael) - * Various other ecpg fixes (Michael) - * Fixes for Borland compiler - * Thread build improvements (Bruce) - * Various other build fixes - * Various JDBC fixes - __________________________________________________________________ - - Release 7.4.1 - - Release date: 2003-12-22 - - This release contains a variety of fixes from 7.4. For information - about new features in the 7.4 major release, see the Section called - Release 7.4. - __________________________________________________________________ - -Migration to Version 7.4.1 - - A dump/restore is *not* required for those running 7.4. - - If you want to install the fixes in the information schema you need to - reload it into the database. This is either accomplished by - initializing a new cluster by running "initdb", or by running the - following sequence of SQL commands in each database (ideally including - template1) as a superuser in psql, after installing the new release: -DROP SCHEMA information_schema CASCADE; -\i /usr/local/pgsql/share/information_schema.sql - - Substitute your installation path in the second command. - __________________________________________________________________ - -Changes - - * Fixed bug in "CREATE SCHEMA" parsing in ECPG (Michael) - * Fix compile error when "--enable-thread-safety" and "--with-perl" - are used together (Peter) - * Fix for subqueries that used hash joins (Tom) - Certain subqueries that used hash joins would crash because of - improperly shared structures. - * Fix free space map compaction bug (Tom) - This fixes a bug where compaction of the free space map could lead - to a database server shutdown. - * Fix for Borland compiler build of libpq (Bruce) - * Fix netmask() and hostmask() to return the maximum-length masklen - (Tom) - Fix these functions to return values consistent with pre-7.4 - releases. - * Several "contrib/pg_autovacuum" fixes - Fixes include improper variable initialization, missing vacuum - after "TRUNCATE", and duration computation overflow for long - vacuums. - * Allow compile of "contrib/cube" under Cygwin (Jason Tishler) - * Fix Solaris use of password file when no passwords are defined - (Tom) - Fix crash on Solaris caused by use of any type of password - authentication when no passwords were defined. - * JDBC fix for thread problems, other fixes - * Fix for bytea index lookups (Joe) - * Fix information schema for bit data types (Peter) - * Force zero_damaged_pages to be on during recovery from WAL - * Prevent some obscure cases of "variable not in subplan target - lists" - * Make PQescapeBytea and byteaout consistent with each other (Joe) - * Escape bytea output for bytes > 0x7e(Joe) - If different client encodings are used for bytea output and input, - it is possible for bytea values to be corrupted by the differing - encodings. This fix escapes all bytes that might be affected. - * Added missing SPI_finish() calls to dblink's - get_tuple_of_interest() (Joe) - * New Czech FAQ - * Fix information schema view constraint_column_usage for foreign - keys (Peter) - * ECPG fixes (Michael) - * Fix bug with multiple IN subqueries and joins in the subqueries - (Tom) - * Allow COUNT('x') to work (Tom) - * Install ECPG include files for Informix compatibility into separate - directory (Peter) - Some names of ECPG include files for Informix compatibility - conflicted with operating system include files. By installing them - in their own directory, name conflicts have been reduced. - * Fix SSL memory leak (Neil) - This release fixes a bug in 7.4 where SSL didn't free all memory it - allocated. - * Prevent "pg_service.conf" from using service name as default dbname - (Bruce) - * Fix local ident authentication on FreeBSD (Tom) - __________________________________________________________________ - - Release 7.4 - - Release date: 2003-11-17 - __________________________________________________________________ - -Overview - - Major changes in this release: - - IN / NOT IN subqueries are now much more efficient - In previous releases, IN/NOT IN subqueries were joined to the - upper query by sequentially scanning the subquery looking for a - match. The 7.4 code uses the same sophisticated techniques used - by ordinary joins and so is much faster. An IN will now usually - be as fast as or faster than an equivalent EXISTS subquery; this - reverses the conventional wisdom that applied to previous - releases. - - Improved GROUP BY processing by using hash buckets - In previous releases, rows to be grouped had to be sorted first. - The 7.4 code can do GROUP BY without sorting, by accumulating - results into a hash table with one entry per group. It will - still use the sort technique, however, if the hash table is - estimated to be too large to fit in sort_mem. - - New multikey hash join capability - In previous releases, hash joins could only occur on single - keys. This release allows multicolumn hash joins. - - Queries using the explicit JOIN syntax are now better optimized - Prior releases evaluated queries using the explicit JOIN syntax - only in the order implied by the syntax. 7.4 allows full - optimization of these queries, meaning the optimizer considers - all possible join orderings and chooses the most efficient. - Outer joins, however, must still follow the declared ordering. - - Faster and more powerful regular expression code - The entire regular expression module has been replaced with a - new version by Henry Spencer, originally written for Tcl. The - code greatly improves performance and supports several flavors - of regular expressions. - - Function-inlining for simple SQL functions - Simple SQL functions can now be inlined by including their SQL - in the main query. This improves performance by eliminating - per-call overhead. That means simple SQL functions now behave - like macros. - - Full support for IPv6 connections and IPv6 address data types - Previous releases allowed only IPv4 connections, and the IP data - types only supported IPv4 addresses. This release adds full IPv6 - support in both of these areas. - - Major improvements in SSL performance and reliability - Several people very familiar with the SSL API have overhauled - our SSL code to improve SSL key negotiation and error recovery. - - Make free space map efficiently reuse empty index pages, and other free - space management improvements - In previous releases, B-tree index pages that were left empty - because of deleted rows could only be reused by rows with index - values similar to the rows originally indexed on that page. In - 7.4, "VACUUM" records empty index pages and allows them to be - reused for any future index rows. - - SQL-standard information schema - The information schema provides a standardized and stable way to - access information about the schema objects defined in a - database. - - Cursors conform more closely to the SQL standard - The commands "FETCH" and "MOVE" have been overhauled to conform - more closely to the SQL standard. - - Cursors can exist outside transactions - These cursors are also called holdable cursors. - - New client-to-server protocol - The new protocol adds error codes, more status information, - faster startup, better support for binary data transmission, - parameter values separated from SQL commands, prepared - statements available at the protocol level, and cleaner recovery - from "COPY" failures. The older protocol is still supported by - both server and clients. - - libpq and ECPG applications are now fully thread-safe - While previous libpq releases already supported threads, this - release improves thread safety by fixing some non-thread-safe - code that was used during database connection startup. The - "configure" option "--enable-thread-safety" must be used to - enable this feature. - - New version of full-text indexing - A new full-text indexing suite is available in - "contrib/tsearch2". - - New autovacuum tool - The new autovacuum tool in "contrib/autovacuum" monitors the - database statistics tables for "INSERT"/"UPDATE"/"DELETE" - activity and automatically vacuums tables when needed. - - Array handling has been improved and moved into the server core - Many array limitations have been removed, and arrays behave more - like fully-supported data types. - __________________________________________________________________ - -Migration to Version 7.4 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - - * The server-side autocommit setting was removed and reimplemented in - client applications and languages. Server-side autocommit was - causing too many problems with languages and applications that - wanted to control their own autocommit behavior, so autocommit was - removed from the server and added to individual client APIs as - appropriate. - * Error message wording has changed substantially in this release. - Significant effort was invested to make the messages more - consistent and user-oriented. If your applications try to detect - different error conditions by parsing the error message, you are - strongly encouraged to use the new error code facility instead. - * Inner joins using the explicit JOIN syntax might behave differently - because they are now better optimized. - * A number of server configuration parameters have been renamed for - clarity, primarily those related to logging. - * FETCH 0 or MOVE 0 now does nothing. In prior releases, FETCH 0 - would fetch all remaining rows, and MOVE 0 would move to the end of - the cursor. - * "FETCH" and "MOVE" now return the actual number of rows - fetched/moved, or zero if at the beginning/end of the cursor. Prior - releases would return the row count passed to the command, not the - number of rows actually fetched or moved. - * "COPY" now can process files that use carriage-return or - carriage-return/line-feed end-of-line sequences. Literal - carriage-returns and line-feeds are no longer accepted in data - values; use \r and \n instead. - * Trailing spaces are now trimmed when converting from type char(n) - to varchar(n) or text. This is what most people always expected to - happen anyway. - * The data type float(p) now measures "p" in binary digits, not - decimal digits. The new behavior follows the SQL standard. - * Ambiguous date values now must match the ordering specified by the - datestyle setting. In prior releases, a date specification of - 10/20/03 was interpreted as a date in October even if datestyle - specified that the day should be first. 7.4 will throw an error if - a date specification is invalid for the current setting of - datestyle. - * The functions oidrand, oidsrand, and userfntest have been removed. - These functions were determined to be no longer useful. - * String literals specifying time-varying date/time values, such as - 'now' or 'today' will no longer work as expected in column default - expressions; they now cause the time of the table creation to be - the default, not the time of the insertion. Functions such as - now(), current_timestamp, or current_date should be used instead. - In previous releases, there was special code so that strings such - as 'now' were interpreted at "INSERT" time and not at table - creation time, but this work around didn't cover all cases. Release - 7.4 now requires that defaults be defined properly using functions - such as now() or current_timestamp. These will work in all - situations. - * The dollar sign ($) is no longer allowed in operator names. It can - instead be a non-first character in identifiers. This was done to - improve compatibility with other database systems, and to avoid - syntax problems when parameter placeholders ($n) are written - adjacent to operators. - __________________________________________________________________ - -Changes - - Below you will find a detailed account of the changes between release - 7.4 and the previous major release. - __________________________________________________________________ - -Server Operation Changes - - * Allow IPv6 server connections (Nigel Kukard, Johan Jordaan, Bruce, - Tom, Kurt Roeckx, Andrew Dunstan) - * Fix SSL to handle errors cleanly (Nathan Mueller) - In prior releases, certain SSL API error reports were not handled - correctly. This release fixes those problems. - * SSL protocol security and performance improvements (Sean - Chittenden) - SSL key renegotiation was happening too frequently, causing poor - SSL performance. Also, initial key handling was improved. - * Print lock information when a deadlock is detected (Tom) - This allows easier debugging of deadlock situations. - * Update "/tmp" socket modification times regularly to avoid their - removal (Tom) - This should help prevent "/tmp" directory cleaner administration - scripts from removing server socket files. - * Enable PAM for Mac OS X (Aaron Hillegass) - * Make B-tree indexes fully WAL-safe (Tom) - In prior releases, under certain rare cases, a server crash could - cause B-tree indexes to become corrupt. This release removes those - last few rare cases. - * Allow B-tree index compaction and empty page reuse (Tom) - * Fix inconsistent index lookups during split of first root page - (Tom) - In prior releases, when a single-page index split into two pages, - there was a brief period when another database session could miss - seeing an index entry. This release fixes that rare failure case. - * Improve free space map allocation logic (Tom) - * Preserve free space information between server restarts (Tom) - In prior releases, the free space map was not saved when the - postmaster was stopped, so newly started servers had no free space - information. This release saves the free space map, and reloads it - when the server is restarted. - * Add start time to pg_stat_activity (Neil) - * New code to detect corrupt disk pages; erase with - zero_damaged_pages (Tom) - * New client/server protocol: faster, no username length limit, allow - clean exit from "COPY" (Tom) - * Add transaction status, table ID, column ID to client/server - protocol (Tom) - * Add binary I/O to client/server protocol (Tom) - * Remove autocommit server setting; move to client applications (Tom) - * New error message wording, error codes, and three levels of error - detail (Tom, Joe, Peter) - __________________________________________________________________ - -Performance Improvements - - * Add hashing for GROUP BY aggregates (Tom) - * Make nested-loop joins be smarter about multicolumn indexes (Tom) - * Allow multikey hash joins (Tom) - * Improve constant folding (Tom) - * Add ability to inline simple SQL functions (Tom) - * Reduce memory usage for queries using complex functions (Tom) - In prior releases, functions returning allocated memory would not - free it until the query completed. This release allows the freeing - of function-allocated memory when the function call completes, - reducing the total memory used by functions. - * Improve GEQO optimizer performance (Tom) - This release fixes several inefficiencies in the way the GEQO - optimizer manages potential query paths. - * Allow IN/NOT IN to be handled via hash tables (Tom) - * Improve NOT IN (subquery) performance (Tom) - * Allow most IN subqueries to be processed as joins (Tom) - * Pattern matching operations can use indexes regardless of locale - (Peter) - There is no way for non-ASCII locales to use the standard indexes - for LIKE comparisons. This release adds a way to create a special - index for LIKE. - * Allow the postmaster to preload libraries using preload_libraries - (Joe) - For shared libraries that require a long time to load, this option - is available so the library can be preloaded in the postmaster and - inherited by all database sessions. - * Improve optimizer cost computations, particularly for subqueries - (Tom) - * Avoid sort when subquery ORDER BY matches upper query (Tom) - * Deduce that WHERE a.x = b.y AND b.y = 42 also means a.x = 42 (Tom) - * Allow hash/merge joins on complex joins (Tom) - * Allow hash joins for more data types (Tom) - * Allow join optimization of explicit inner joins, disable with - join_collapse_limit (Tom) - * Add parameter from_collapse_limit to control conversion of - subqueries to joins (Tom) - * Use faster and more powerful regular expression code from Tcl - (Henry Spencer, Tom) - * Use bit-mapped relation sets in the optimizer (Tom) - * Improve connection startup time (Tom) - The new client/server protocol requires fewer network packets to - start a database session. - * Improve trigger/constraint performance (Stephan) - * Improve speed of col IN (const, const, const, ...) (Tom) - * Fix hash indexes which were broken in rare cases (Tom) - * Improve hash index concurrency and speed (Tom) - Prior releases suffered from poor hash index performance, - particularly for high concurrency situations. This release fixes - that, and the development group is interested in reports comparing - B-tree and hash index performance. - * Align shared buffers on 32-byte boundary for copy speed improvement - (Manfred Spraul) - Certain CPU's perform faster data copies when addresses are 32-byte - aligned. - * Data type numeric reimplemented for better performance (Tom) - numeric used to be stored in base 100. The new code uses base - 10000, for significantly better performance. - __________________________________________________________________ - -Server Configuration Changes - - * Rename server parameter server_min_messages to log_min_messages - (Bruce) - This was done so most parameters that control the server logs begin - with log_. - * Rename show_*_stats to log_*_stats (Bruce) - * Rename show_source_port to log_source_port (Bruce) - * Rename hostname_lookup to log_hostname (Bruce) - * Add checkpoint_warning to warn of excessive checkpointing (Bruce) - In prior releases, it was difficult to determine if checkpoint was - happening too frequently. This feature adds a warning to the server - logs when excessive checkpointing happens. - * New read-only server parameters for localization (Tom) - * Change debug server log messages to output as DEBUG rather than LOG - (Bruce) - * Prevent server log variables from being turned off by - non-superusers (Bruce) - This is a security feature so non-superusers cannot disable logging - that was enabled by the administrator. - * log_min_messages/client_min_messages now controls debug_* output - (Bruce) - This centralizes client debug information so all debug output can - be sent to either the client or server logs. - * Add Mac OS X Rendezvous server support (Chris Campbell) - This allows Mac OS X hosts to query the network for available - PostgreSQL servers. - * Add ability to print only slow statements using - log_min_duration_statement (Christopher) - This is an often requested debugging feature that allows - administrators to see only slow queries in their server logs. - * Allow "pg_hba.conf" to accept netmasks in CIDR format (Andrew - Dunstan) - This allows administrators to merge the host IP address and netmask - fields into a single CIDR field in "pg_hba.conf". - * New read-only parameter is_superuser (Tom) - * New parameter log_error_verbosity to control error detail (Tom) - This works with the new error reporting feature to supply - additional error information like hints, file names and line - numbers. - * postgres --describe-config now dumps server config variables (Aizaz - Ahmed, Peter) - This option is useful for administration tools that need to know - the configuration variable names and their minimums, maximums, - defaults, and descriptions. - * Add new columns in pg_settings: context, type, source, min_val, - max_val (Joe) - * Make default shared_buffers 1000 and max_connections 100, if - possible (Tom) - Prior versions defaulted to 64 shared buffers so PostgreSQL would - start on even very old systems. This release tests the amount of - shared memory allowed by the platform and selects more reasonable - default values if possible. Of course, users are still encouraged - to evaluate their resource load and size shared_buffers - accordingly. - * New "pg_hba.conf" record type hostnossl to prevent SSL connections - (Jon Jensen) - In prior releases, there was no way to prevent SSL connections if - both the client and server supported SSL. This option allows that - capability. - * Remove parameter geqo_random_seed (Tom) - * Add server parameter regex_flavor to control regular expression - processing (Tom) - * Make "pg_ctl" better handle nonstandard ports (Greg) - __________________________________________________________________ - -Query Changes - - * New SQL-standard information schema (Peter) - * Add read-only transactions (Peter) - * Print key name and value in foreign-key violation messages (Dmitry - Tkach) - * Allow users to see their own queries in pg_stat_activity (Kevin - Brown) - In prior releases, only the superuser could see query strings using - pg_stat_activity. Now ordinary users can see their own query - strings. - * Fix aggregates in subqueries to match SQL standard (Tom) - The SQL standard says that an aggregate function appearing within a - nested subquery belongs to the outer query if its argument contains - only outer-query variables. Prior PostgreSQL releases did not - handle this fine point correctly. - * Add option to prevent auto-addition of tables referenced in query - (Nigel J. Andrews) - By default, tables mentioned in the query are automatically added - to the FROM clause if they are not already there. This is - compatible with historic POSTGRES behavior but is contrary to the - SQL standard. This option allows selecting standard-compatible - behavior. - * Allow UPDATE ... SET col = DEFAULT (Rod) - This allows "UPDATE" to set a column to its declared default value. - * Allow expressions to be used in LIMIT/OFFSET (Tom) - In prior releases, LIMIT/OFFSET could only use constants, not - expressions. - * Implement CREATE TABLE AS EXECUTE (Neil, Peter) - __________________________________________________________________ - -Object Manipulation Changes - - * Make "CREATE SEQUENCE" grammar more conforming to SQL:2003 (Neil) - * Add statement-level triggers (Neil) - While this allows a trigger to fire at the end of a statement, it - does not allow the trigger to access all rows modified by the - statement. This capability is planned for a future release. - * Add check constraints for domains (Rod) - This greatly increases the usefulness of domains by allowing them - to use check constraints. - * Add "ALTER DOMAIN" (Rod) - This allows manipulation of existing domains. - * Fix several zero-column table bugs (Tom) - PostgreSQL supports zero-column tables. This fixes various bugs - that occur when using such tables. - * Have ALTER TABLE ... ADD PRIMARY KEY add not-null constraint (Rod) - In prior releases, ALTER TABLE ... ADD PRIMARY would add a unique - index, but not a not-null constraint. That is fixed in this - release. - * Add ALTER TABLE ... WITHOUT OIDS (Rod) - This allows control over whether new and updated rows will have an - OID column. This is most useful for saving storage space. - * Add ALTER SEQUENCE to modify minimum, maximum, increment, cache, - cycle values (Rod) - * Add ALTER TABLE ... CLUSTER ON (Alvaro Herrera) - This command is used by "pg_dump" to record the cluster column for - each table previously clustered. This information is used by - database-wide cluster to cluster all previously clustered tables. - * Improve automatic type casting for domains (Rod, Tom) - * Allow dollar signs in identifiers, except as first character (Tom) - * Disallow dollar signs in operator names, so x=$1 works (Tom) - * Allow copying table schema using LIKE subtable, also SQL:2003 - feature INCLUDING DEFAULTS (Rod) - * Add WITH GRANT OPTION clause to "GRANT" (Peter) - This enabled "GRANT" to give other users the ability to grant - privileges on a object. - __________________________________________________________________ - -Utility Command Changes - - * Add ON COMMIT clause to "CREATE TABLE" for temporary tables (Gavin) - This adds the ability for a table to be dropped or all rows deleted - on transaction commit. - * Allow cursors outside transactions using WITH HOLD (Neil) - In previous releases, cursors were removed at the end of the - transaction that created them. Cursors can now be created with the - WITH HOLD option, which allows them to continue to be accessed - after the creating transaction has committed. - * FETCH 0 and MOVE 0 now do nothing (Bruce) - In previous releases, FETCH 0 fetched all remaining rows, and MOVE - 0 moved to the end of the cursor. - * Cause "FETCH" and "MOVE" to return the number of rows - fetched/moved, or zero if at the beginning/end of cursor, per SQL - standard (Bruce) - In prior releases, the row count returned by "FETCH" and "MOVE" did - not accurately reflect the number of rows processed. - * Properly handle SCROLL with cursors, or report an error (Neil) - Allowing random access (both forward and backward scrolling) to - some kinds of queries cannot be done without some additional work. - If SCROLL is specified when the cursor is created, this additional - work will be performed. Furthermore, if the cursor has been created - with NO SCROLL, no random access is allowed. - * Implement SQL-compatible options FIRST, LAST, ABSOLUTE n, RELATIVE - n for "FETCH" and "MOVE" (Tom) - * Allow "EXPLAIN" on "DECLARE CURSOR" (Tom) - * Allow "CLUSTER" to use index marked as pre-clustered by default - (Alvaro Herrera) - * Allow "CLUSTER" to cluster all tables (Alvaro Herrera) - This allows all previously clustered tables in a database to be - reclustered with a single command. - * Prevent "CLUSTER" on partial indexes (Tom) - * Allow DOS and Mac line-endings in "COPY" files (Bruce) - * Disallow literal carriage return as a data value, - backslash-carriage-return and \r are still allowed (Bruce) - * "COPY" changes (binary, \.) (Tom) - * Recover from "COPY" failure cleanly (Tom) - * Prevent possible memory leaks in "COPY" (Tom) - * Make "TRUNCATE" transaction-safe (Rod) - "TRUNCATE" can now be used inside a transaction. If the transaction - aborts, the changes made by the "TRUNCATE" are automatically rolled - back. - * Allow prepare/bind of utility commands like "FETCH" and "EXPLAIN" - (Tom) - * Add "EXPLAIN EXECUTE" (Neil) - * Improve "VACUUM" performance on indexes by reducing WAL traffic - (Tom) - * Functional indexes have been generalized into indexes on - expressions (Tom) - In prior releases, functional indexes only supported a simple - function applied to one or more column names. This release allows - any type of scalar expression. - * Have "SHOW TRANSACTION ISOLATION" match input to "SET TRANSACTION - ISOLATION" (Tom) - * Have "COMMENT ON DATABASE" on nonlocal database generate a warning, - rather than an error (Rod) - Database comments are stored in database-local tables so comments - on a database have to be stored in each database. - * Improve reliability of "LISTEN"/"NOTIFY" (Tom) - * Allow "REINDEX" to reliably reindex nonshared system catalog - indexes (Tom) - This allows system tables to be reindexed without the requirement - of a standalone session, which was necessary in previous releases. - The only tables that now require a standalone session for - reindexing are the global system tables pg_database, pg_shadow, and - pg_group. - __________________________________________________________________ - -Data Type and Function Changes - - * New server parameter extra_float_digits to control precision - display of floating-point numbers (Pedro Ferreira, Tom) - This controls output precision which was causing regression testing - problems. - * Allow +1300 as a numeric time-zone specifier, for FJST (Tom) - * Remove rarely used functions oidrand, oidsrand, and userfntest - functions (Neil) - * Add md5() function to main server, already in "contrib/pgcrypto" - (Joe) - An MD5 function was frequently requested. For more complex - encryption capabilities, use "contrib/pgcrypto". - * Increase date range of timestamp (John Cochran) - * Change EXTRACT(EPOCH FROM timestamp) so timestamp without time zone - is assumed to be in local time, not GMT (Tom) - * Trap division by zero in case the operating system doesn't prevent - it (Tom) - * Change the numeric data type internally to base 10000 (Tom) - * New hostmask() function (Greg Wickham) - * Fixes for to_char() and to_timestamp() (Karel) - * Allow functions that can take any argument data type and return any - data type, using anyelement and anyarray (Joe) - This allows the creation of functions that can work with any data - type. - * Arrays can now be specified as ARRAY[1,2,3], - ARRAY[['a','b'],['c','d']], or ARRAY[ARRAY[ARRAY[2]]] (Joe) - * Allow proper comparisons for arrays, including ORDER BY and - DISTINCT support (Joe) - * Allow indexes on array columns (Joe) - * Allow array concatenation with || (Joe) - * Allow WHERE qualification expr op ANY/SOME/ALL (array_expr) (Joe) - This allows arrays to behave like a list of values, for purposes - like SELECT * FROM tab WHERE col IN (array_val). - * New array functions array_append, array_cat, array_lower, - array_prepend, array_to_string, array_upper, string_to_array (Joe) - * Allow user defined aggregates to use polymorphic functions (Joe) - * Allow assignments to empty arrays (Joe) - * Allow 60 in seconds fields of time, timestamp, and interval input - values (Tom) - Sixty-second values are needed for leap seconds. - * Allow cidr data type to be cast to text (Tom) - * Disallow invalid time zone names in SET TIMEZONE - * Trim trailing spaces when char is cast to varchar or text (Tom) - * Make float(p) measure the precision "p" in binary digits, not - decimal digits (Tom) - * Add IPv6 support to the inet and cidr data types (Michael Graff) - * Add family() function to report whether address is IPv4 or IPv6 - (Michael Graff) - * Have SHOW datestyle generate output similar to that used by SET - datestyle (Tom) - * Make EXTRACT(TIMEZONE) and SET/SHOW TIME ZONE follow the SQL - convention for the sign of time zone offsets, i.e., positive is - east from UTC (Tom) - * Fix date_trunc('quarter', ...) (Böjthe Zoltán) - Prior releases returned an incorrect value for this function call. - * Make initcap() more compatible with Oracle (Mike Nolan) - initcap() now uppercases a letter appearing after any - non-alphanumeric character, rather than only after whitespace. - * Allow only datestyle field order for date values not in ISO-8601 - format (Greg) - * Add new datestyle values MDY, DMY, and YMD to set input field - order; honor US and European for backward compatibility (Tom) - * String literals like 'now' or 'today' will no longer work as a - column default. Use functions such as now(), current_timestamp - instead. (change required for prepared statements) (Tom) - * Treat NaN as larger than any other value in min()/max() (Tom) - NaN was already sorted after ordinary numeric values for most - purposes, but min() and max() didn't get this right. - * Prevent interval from suppressing :00 seconds display - * New functions pg_get_triggerdef(prettyprint) and - pg_conversion_is_visible() (Christopher) - * Allow time to be specified as 040506 or 0405 (Tom) - * Input date order must now be YYYY-MM-DD (with 4-digit year) or - match datestyle - * Make pg_get_constraintdef support unique, primary-key, and check - constraints (Christopher) - __________________________________________________________________ - -Server-Side Language Changes - - * Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row - record variable (Tom) - * Make PL/Python's spi_execute interface handle null values properly - (Andrew Bosma) - * Allow PL/pgSQL to declare variables of composite types without - %ROWTYPE (Tom) - * Fix PL/Python's _quote() function to handle big integers - * Make PL/Python an untrusted language, now called plpythonu (Kevin - Jacobs, Tom) - The Python language no longer supports a restricted execution - environment, so the trusted version of PL/Python was removed. If - this situation changes, a version of PL/Python that can be used by - non-superusers will be readded. - * Allow polymorphic PL/pgSQL functions (Joe, Tom) - * Allow polymorphic SQL functions (Joe) - * Improved compiled function caching mechanism in PL/pgSQL with full - support for polymorphism (Joe) - * Add new parameter $0 in PL/pgSQL representing the function's actual - return type (Joe) - * Allow PL/Tcl and PL/Python to use the same trigger on multiple - tables (Tom) - * Fixed PL/Tcl's spi_prepare to accept fully qualified type names in - the parameter type list (Jan) - __________________________________________________________________ - -psql Changes - - * Add \pset pager always to always use pager (Greg) - This forces the pager to be used even if the number of rows is less - than the screen height. This is valuable for rows that wrap across - several screen rows. - * Improve tab completion (Rod, Ross Reedstrom, Ian Barwick) - * Reorder \? help into groupings (Harald Armin Massa, Bruce) - * Add backslash commands for listing schemas, casts, and conversions - (Christopher) - * "\encoding" now changes based on the server parameter - client_encoding (Tom) - In previous versions, "\encoding" was not aware of encoding changes - made using SET client_encoding. - * Save editor buffer into readline history (Ross) - When "\e" is used to edit a query, the result is saved in the - readline history for retrieval using the up arrow. - * Improve "\d" display (Christopher) - * Enhance HTML mode to be more standards-conforming (Greg) - * New "\set AUTOCOMMIT off" capability (Tom) - This takes the place of the removed server parameter autocommit. - * New "\set VERBOSITY" to control error detail (Tom) - This controls the new error reporting details. - * New prompt escape sequence %x to show transaction status (Tom) - * Long options for psql are now available on all platforms - __________________________________________________________________ - -pg_dump Changes - - * Multiple pg_dump fixes, including tar format and large objects - * Allow pg_dump to dump specific schemas (Neil) - * Make pg_dump preserve column storage characteristics (Christopher) - This preserves ALTER TABLE ... SET STORAGE information. - * Make pg_dump preserve "CLUSTER" characteristics (Christopher) - * Have pg_dumpall use "GRANT"/"REVOKE" to dump database-level - privileges (Tom) - * Allow pg_dumpall to support the options "-a", "-s", "-x" of pg_dump - (Tom) - * Prevent pg_dump from lowercasing identifiers specified on the - command line (Tom) - * pg_dump options "--use-set-session-authorization" and - "--no-reconnect" now do nothing, all dumps use "SET SESSION - AUTHORIZATION" - pg_dump no longer reconnects to switch users, but instead always - uses "SET SESSION AUTHORIZATION". This will reduce password - prompting during restores. - * Long options for pg_dump are now available on all platforms - PostgreSQL now includes its own long-option processing routines. - __________________________________________________________________ - -libpq Changes - - * Add function PQfreemem for freeing memory on Windows, suggested for - "NOTIFY" (Bruce) - Windows requires that memory allocated in a library be freed by a - function in the same library, hence free() doesn't work for freeing - memory allocated by libpq. PQfreemem is the proper way to free - libpq memory, especially on Windows, and is recommended for other - platforms as well. - * Document service capability, and add sample file (Bruce) - This allows clients to look up connection information in a central - file on the client machine. - * Make PQsetdbLogin have the same defaults as PQconnectdb (Tom) - * Allow libpq to cleanly fail when result sets are too large (Tom) - * Improve performance of function PQunescapeBytea (Ben Lamb) - * Allow thread-safe libpq with "configure" option - "--enable-thread-safety" (Lee Kindness, Philip Yarra) - * Allow function pqInternalNotice to accept a format string and - arguments instead of just a preformatted message (Tom, Sean - Chittenden) - * Control SSL negotiation with sslmode values disable, allow, prefer, - and require (Jon Jensen) - * Allow new error codes and levels of text (Tom) - * Allow access to the underlying table and column of a query result - (Tom) - This is helpful for query-builder applications that want to know - the underlying table and column names associated with a specific - result set. - * Allow access to the current transaction status (Tom) - * Add ability to pass binary data directly to the server (Tom) - * Add function PQexecPrepared and PQsendQueryPrepared functions which - perform bind/execute of previously prepared statements (Tom) - __________________________________________________________________ - -JDBC Changes - - * Allow setNull on updateable result sets - * Allow executeBatch on a prepared statement (Barry) - * Support SSL connections (Barry) - * Handle schema names in result sets (Paul Sorenson) - * Add refcursor support (Nic Ferrier) - __________________________________________________________________ - -Miscellaneous Interface Changes - - * Prevent possible memory leak or core dump during libpgtcl shutdown - (Tom) - * Add Informix compatibility to ECPG (Michael) - This allows ECPG to process embedded C programs that were written - using certain Informix extensions. - * Add type decimal to ECPG that is fixed length, for Informix - (Michael) - * Allow thread-safe embedded SQL programs with "configure" option - "--enable-thread-safety" (Lee Kindness, Bruce) - This allows multiple threads to access the database at the same - time. - * Moved Python client PyGreSQL to http://www.pygresql.org (Marc) - __________________________________________________________________ - -Source Code Changes - - * Prevent need for separate platform geometry regression result files - (Tom) - * Improved PPC locking primitive (Reinhard Max) - * New function palloc0 to allocate and clear memory (Bruce) - * Fix locking code for s390x CPU (64-bit) (Tom) - * Allow OpenBSD to use local ident credentials (William Ahern) - * Make query plan trees read-only to executor (Tom) - * Add Darwin startup scripts (David Wheeler) - * Allow libpq to compile with Borland C++ compiler (Lester Godwin, - Karl Waclawek) - * Use our own version of getopt_long() if needed (Peter) - * Convert administration scripts to C (Peter) - * Bison >= 1.85 is now required to build the PostgreSQL grammar, if - building from CVS - * Merge documentation into one book (Peter) - * Add Windows compatibility functions (Bruce) - * Allow client interfaces to compile under MinGW (Bruce) - * New ereport() function for error reporting (Tom) - * Support Intel compiler on Linux (Peter) - * Improve Linux startup scripts (Slawomir Sudnik, Darko Prenosil) - * Add support for AMD Opteron and Itanium (Jeffrey W. Baker, Bruce) - * Remove "--enable-recode" option from "configure" - This was no longer needed now that we have "CREATE CONVERSION". - * Generate a compile error if spinlock code is not found (Bruce) - Platforms without spinlock code will now fail to compile, rather - than silently using semaphores. This failure can be disabled with a - new "configure" option. - __________________________________________________________________ - -Contrib Changes - - * Change dbmirror license to BSD - * Improve earthdistance (Bruno Wolff III) - * Portability improvements to pgcrypto (Marko Kreen) - * Prevent crash in xml (John Gray, Michael Richards) - * Update oracle - * Update mysql - * Update cube (Bruno Wolff III) - * Update earthdistance to use cube (Bruno Wolff III) - * Update btree_gist (Oleg) - * New tsearch2 full-text search module (Oleg, Teodor) - * Add hash-based crosstab function to tablefuncs (Joe) - * Add serial column to order connectby() siblings in tablefuncs - (Nabil Sayegh,Joe) - * Add named persistent connections to dblink (Shridhar Daithanka) - * New pg_autovacuum allows automatic "VACUUM" (Matthew T. O'Connor) - * Make pgbench honor environment variables PGHOST, PGPORT, PGUSER - (Tatsuo) - * Improve intarray (Teodor Sigaev) - * Improve pgstattuple (Rod) - * Fix bug in metaphone() in fuzzystrmatch - * Improve adddepend (Rod) - * Update spi/timetravel (Böjthe Zoltán) - * Fix dbase "-s" option and improve non-ASCII handling (Thomas Behr, - Márcio Smiderle) - * Remove array module because features now included by default (Joe) - __________________________________________________________________ - - Release 7.3.21 - - Release date: 2008-01-07 - - This release contains a variety of fixes from 7.3.20, including fixes - for significant security issues. - - This is expected to be the last PostgreSQL release in the 7.3.X series. - Users are encouraged to update to a newer release branch soon. - __________________________________________________________________ - -Migration to Version 7.3.21 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Prevent functions in indexes from executing with the privileges of - the user running "VACUUM", "ANALYZE", etc (Tom) - Functions used in index expressions and partial-index predicates - are evaluated whenever a new table entry is made. It has long been - understood that this poses a risk of trojan-horse code execution if - one modifies a table owned by an untrustworthy user. (Note that - triggers, defaults, check constraints, etc. pose the same type of - risk.) But functions in indexes pose extra danger because they will - be executed by routine maintenance operations such as "VACUUM - FULL", which are commonly performed automatically under a superuser - account. For example, a nefarious user can execute code with - superuser privileges by setting up a trojan-horse index definition - and waiting for the next routine vacuum. The fix arranges for - standard maintenance operations (including "VACUUM", "ANALYZE", - "REINDEX", and "CLUSTER") to execute as the table owner rather than - the calling user, using the same privilege-switching mechanism - already used for SECURITY DEFINER functions. To prevent bypassing - this security measure, execution of "SET SESSION AUTHORIZATION" and - "SET ROLE" is now forbidden within a SECURITY DEFINER context. - (CVE-2007-6600) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - The fix that appeared for this in 7.3.20 was incomplete, as it - plugged the hole for only some "dblink" functions. (CVE-2007-6601, - CVE-2007-3278) - * Fix potential crash in translate() when using a multibyte database - encoding (Tom) - * Make "contrib/tablefunc"'s crosstab() handle NULL rowid as a - category in its own right, rather than crashing (Joe) - * Require a specific version of Autoconf to be used when - re-generating the "configure" script (Peter) - This affects developers and packagers only. The change was made to - prevent accidental use of untested combinations of Autoconf and - PostgreSQL versions. You can remove the version check if you really - want to use a different Autoconf version, but it's your - responsibility whether the result works or not. - __________________________________________________________________ - - Release 7.3.20 - - Release date: 2007-09-17 - - This release contains fixes from 7.3.19. - __________________________________________________________________ - -Migration to Version 7.3.20 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Prevent index corruption when a transaction inserts rows and then - aborts close to the end of a concurrent "VACUUM" on the same table - (Tom) - * Make "CREATE DOMAIN ... DEFAULT NULL" work properly (Tom) - * Fix crash when log_min_error_statement logging runs out of memory - (Tom) - * Require non-superusers who use "/contrib/dblink" to use only - password authentication, as a security measure (Joe) - __________________________________________________________________ - - Release 7.3.19 - - Release date: 2007-04-23 - - This release contains fixes from 7.3.18, including a security fix. - __________________________________________________________________ - -Migration to Version 7.3.19 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Support explicit placement of the temporary-table schema within - search_path, and disable searching it for functions and operators - (Tom) - This is needed to allow a security-definer function to set a truly - secure value of search_path. Without it, an unprivileged SQL user - can use temporary objects to execute code with the privileges of - the security-definer function (CVE-2007-2138). See "CREATE - FUNCTION" for more information. - * Fix potential-data-corruption bug in how "VACUUM FULL" handles - "UPDATE" chains (Tom, Pavan Deolasee) - __________________________________________________________________ - - Release 7.3.18 - - Release date: 2007-02-05 - - This release contains a variety of fixes from 7.3.17, including a - security fix. - __________________________________________________________________ - -Migration to Version 7.3.18 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Remove security vulnerability that allowed connected users to read - backend memory (Tom) - The vulnerability involves changing the data type of a table column - used in a SQL function (CVE-2007-0555). This error can easily be - exploited to cause a backend crash, and in principle might be used - to read database content that the user should not be able to - access. - * Fix rare bug wherein btree index page splits could fail due to - choosing an infeasible split point (Heikki Linnakangas) - * Tighten security of multi-byte character processing for UTF8 - sequences over three bytes long (Tom) - __________________________________________________________________ - - Release 7.3.17 - - Release date: 2007-01-08 - - This release contains a variety of fixes from 7.3.16. - __________________________________________________________________ - -Migration to Version 7.3.17 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * to_number() and to_char(numeric) are now STABLE, not IMMUTABLE, for - new initdb installs (Tom) - This is because lc_numeric can potentially change the output of - these functions. - * Improve index usage of regular expressions that use parentheses - (Tom) - This improves psql \d performance also. - __________________________________________________________________ - - Release 7.3.16 - - Release date: 2006-10-16 - - This release contains a variety of fixes from 7.3.15. - __________________________________________________________________ - -Migration to Version 7.3.16 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Fix corner cases in pattern matching for psql's \d commands - * Fix index-corrupting bugs in /contrib/ltree (Teodor) - * Back-port 7.4 spinlock code to improve performance and support - 64-bit architectures better - * Fix SSL-related memory leak in libpq - * Fix backslash escaping in /contrib/dbmirror - * Adjust regression tests for recent changes in US DST laws - __________________________________________________________________ - - Release 7.3.15 - - Release date: 2006-05-23 - - This release contains a variety of fixes from 7.3.14, including patches - for extremely serious security issues. - __________________________________________________________________ - -Migration to Version 7.3.15 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - - Full security against the SQL-injection attacks described in - CVE-2006-2313 and CVE-2006-2314 might require changes in application - code. If you have applications that embed untrustworthy strings into - SQL commands, you should examine them as soon as possible to ensure - that they are using recommended escaping techniques. In most cases, - applications should be using subroutines provided by libraries or - drivers (such as libpq's PQescapeStringConn()) to perform string - escaping, rather than relying on ad hoc code to do it. - __________________________________________________________________ - -Changes - - * Change the server to reject invalidly-encoded multibyte characters - in all cases (Tatsuo, Tom) - While PostgreSQL has been moving in this direction for some time, - the checks are now applied uniformly to all encodings and all - textual input, and are now always errors not merely warnings. This - change defends against SQL-injection attacks of the type described - in CVE-2006-2313. - * Reject unsafe uses of \' in string literals - As a server-side defense against SQL-injection attacks of the type - described in CVE-2006-2314, the server now only accepts '' and not - \' as a representation of ASCII single quote in SQL string - literals. By default, \' is rejected only when client_encoding is - set to a client-only encoding (SJIS, BIG5, GBK, GB18030, or UHC), - which is the scenario in which SQL injection is possible. A new - configuration parameter backslash_quote is available to adjust this - behavior when needed. Note that full security against CVE-2006-2314 - might require client-side changes; the purpose of backslash_quote - is in part to make it obvious that insecure clients are insecure. - * Modify libpq's string-escaping routines to be aware of encoding - considerations - This fixes libpq-using applications for the security issues - described in CVE-2006-2313 and CVE-2006-2314. Applications that use - multiple PostgreSQL connections concurrently should migrate to - PQescapeStringConn() and PQescapeByteaConn() to ensure that - escaping is done correctly for the settings in use in each database - connection. Applications that do string escaping "by hand" should - be modified to rely on library routines instead. - * Fix some incorrect encoding conversion functions - win1251_to_iso, alt_to_iso, euc_tw_to_big5, euc_tw_to_mic, - mic_to_euc_tw were all broken to varying extents. - * Clean up stray remaining uses of \' in strings (Bruce, Jan) - * Fix server to use custom DH SSL parameters correctly (Michael Fuhr) - * Fix various minor memory leaks - __________________________________________________________________ - - Release 7.3.14 - - Release date: 2006-02-14 - - This release contains a variety of fixes from 7.3.13. - __________________________________________________________________ - -Migration to Version 7.3.14 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.13, see the release notes - for 7.3.13. - __________________________________________________________________ - -Changes - - * Fix potential crash in "SET SESSION AUTHORIZATION" (CVE-2006-0553) - An unprivileged user could crash the server process, resulting in - momentary denial of service to other users, if the server has been - compiled with Asserts enabled (which is not the default). Thanks to - Akio Ishida for reporting this problem. - * Fix bug with row visibility logic in self-inserted rows (Tom) - Under rare circumstances a row inserted by the current command - could be seen as already valid, when it should not be. Repairs bug - created in 7.3.11 release. - * Fix race condition that could lead to "file already exists" errors - during pg_clog file creation (Tom) - * Fix to allow restoring dumps that have cross-schema references to - custom operators (Tom) - * Portability fix for testing presence of finite and isinf during - configure (Tom) - __________________________________________________________________ - - Release 7.3.13 - - Release date: 2006-01-09 - - This release contains a variety of fixes from 7.3.12. - __________________________________________________________________ - -Migration to Version 7.3.13 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.10, see the release notes - for 7.3.10. Also, you might need to "REINDEX" indexes on textual - columns after updating, if you are affected by the locale or plperl - issues described below. - __________________________________________________________________ - -Changes - - * Fix character string comparison for locales that consider different - character combinations as equal, such as Hungarian (Tom) - This might require "REINDEX" to fix existing indexes on textual - columns. - * Set locale environment variables during postmaster startup to - ensure that plperl won't change the locale later - This fixes a problem that occurred if the postmaster was started - with environment variables specifying a different locale than what - initdb had been told. Under these conditions, any use of plperl was - likely to lead to corrupt indexes. You might need "REINDEX" to fix - existing indexes on textual columns if this has happened to you. - * Fix longstanding bug in strpos() and regular expression handling in - certain rarely used Asian multi-byte character sets (Tatsuo) - * Fix bug in "/contrib/pgcrypto" gen_salt, which caused it not to use - all available salt space for MD5 and XDES algorithms (Marko Kreen, - Solar Designer) - Salts for Blowfish and standard DES are unaffected. - * Fix "/contrib/dblink" to throw an error, rather than crashing, when - the number of columns specified is different from what's actually - returned by the query (Joe) - __________________________________________________________________ - - Release 7.3.12 - - Release date: 2005-12-12 - - This release contains a variety of fixes from 7.3.11. - __________________________________________________________________ - -Migration to Version 7.3.12 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.10, see the release notes - for 7.3.10. - __________________________________________________________________ - -Changes - - * Fix race condition in transaction log management - There was a narrow window in which an I/O operation could be - initiated for the wrong page, leading to an Assert failure or data - corruption. - * "/contrib/ltree" fixes (Teodor) - * Fix longstanding planning error for outer joins - This bug sometimes caused a bogus error "RIGHT JOIN is only - supported with merge-joinable join conditions". - * Prevent core dump in pg_autovacuum when a table has been dropped - __________________________________________________________________ - - Release 7.3.11 - - Release date: 2005-10-04 - - This release contains a variety of fixes from 7.3.10. - __________________________________________________________________ - -Migration to Version 7.3.11 - - A dump/restore is not required for those running 7.3.X. However, if you - are upgrading from a version earlier than 7.3.10, see the release notes - for 7.3.10. - __________________________________________________________________ - -Changes - - * Fix error that allowed "VACUUM" to remove ctid chains too soon, and - add more checking in code that follows ctid links - This fixes a long-standing problem that could cause crashes in very - rare circumstances. - * Fix CHAR() to properly pad spaces to the specified length when - using a multiple-byte character set (Yoshiyuki Asaba) - In prior releases, the padding of CHAR() was incorrect because it - only padded to the specified number of bytes without considering - how many characters were stored. - * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST - index on column a - * Improve checking for partially-written WAL pages - * Improve robustness of signal handling when SSL is enabled - * Various memory leakage fixes - * Various portability improvements - * Fix PL/PgSQL to handle var := var correctly when the variable is of - pass-by-reference type - __________________________________________________________________ - - Release 7.3.10 - - Release date: 2005-05-09 - - This release contains a variety of fixes from 7.3.9, including several - security-related issues. - __________________________________________________________________ - -Migration to Version 7.3.10 - - A dump/restore is not required for those running 7.3.X. However, it is - one possible way of handling a significant security problem that has - been found in the initial contents of 7.3.X system catalogs. A - dump/initdb/reload sequence using 7.3.10's initdb will automatically - correct this problem. - - The security problem is that the built-in character set encoding - conversion functions can be invoked from SQL commands by unprivileged - users, but the functions were not designed for such use and are not - secure against malicious choices of arguments. The fix involves - changing the declared parameter list of these functions so that they - can no longer be invoked from SQL commands. (This does not affect their - normal use by the encoding conversion machinery.) It is strongly - recommended that all installations repair this error, either by initdb - or by following the manual repair procedure given below. The error at - least allows unprivileged database users to crash their server process, - and might allow unprivileged users to gain the privileges of a database - superuser. - - If you wish not to do an initdb, perform the following procedure - instead. As the database superuser, do: -BEGIN; -UPDATE pg_proc SET proargtypes[3] = 'internal'::regtype -WHERE pronamespace = 11 AND pronargs = 5 - AND proargtypes[2] = 'cstring'::regtype; --- The command should report having updated 90 rows; --- if not, rollback and investigate instead of committing! -COMMIT; - - The above procedure must be carried out in *each* database of an - installation, including template1, and ideally including template0 as - well. If you do not fix the template databases then any subsequently - created databases will contain the same error. template1 can be fixed - in the same way as any other database, but fixing template0 requires - additional steps. First, from any database issue: -UPDATE pg_database SET datallowconn = true WHERE datname = 'template0'; - - Next connect to template0 and perform the above repair procedure. - Finally, do: --- re-freeze template0: -VACUUM FREEZE; --- and protect it against future alterations: -UPDATE pg_database SET datallowconn = false WHERE datname = 'template0'; - __________________________________________________________________ - -Changes - - * Change encoding function signature to prevent misuse - * Repair ancient race condition that allowed a transaction to be seen - as committed for some purposes (eg SELECT FOR UPDATE) slightly - sooner than for other purposes - This is an extremely serious bug since it could lead to apparent - data inconsistencies being briefly visible to applications. - * Repair race condition between relation extension and VACUUM - This could theoretically have caused loss of a page's worth of - freshly-inserted data, although the scenario seems of very low - probability. There are no known cases of it having caused more than - an Assert failure. - * Fix comparisons of TIME WITH TIME ZONE values - The comparison code was wrong in the case where the - --enable-integer-datetimes configuration switch had been used. - NOTE: if you have an index on a TIME WITH TIME ZONE column, it will - need to be "REINDEX"ed after installing this update, because the - fix corrects the sort order of column values. - * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values - * Fix mis-display of negative fractional seconds in INTERVAL values - This error only occurred when the --enable-integer-datetimes - configuration switch had been used. - * Additional buffer overrun checks in plpgsql (Neil) - * Fix pg_dump to dump trigger names containing % correctly (Neil) - * Prevent to_char(interval) from dumping core for month-related - formats - * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen) - * Still more 64-bit fixes for "contrib/intagg" - * Prevent incorrect optimization of functions returning RECORD - __________________________________________________________________ - - Release 7.3.9 - - Release date: 2005-01-31 - - This release contains a variety of fixes from 7.3.8, including several - security-related issues. - __________________________________________________________________ - -Migration to Version 7.3.9 - - A dump/restore is not required for those running 7.3.X. - __________________________________________________________________ - -Changes - - * Disallow "LOAD" to non-superusers - On platforms that will automatically execute initialization - functions of a shared library (this includes at least Windows and - ELF-based Unixen), "LOAD" can be used to make the server execute - arbitrary code. Thanks to NGS Software for reporting this. - * Check that creator of an aggregate function has the right to - execute the specified transition functions - This oversight made it possible to bypass denial of EXECUTE - permission on a function. - * Fix security and 64-bit issues in contrib/intagg - * Add needed STRICT marking to some contrib functions (Kris Jurka) - * Avoid buffer overrun when plpgsql cursor declaration has too many - parameters (Neil) - * Fix planning error for FULL and RIGHT outer joins - The result of the join was mistakenly supposed to be sorted the - same as the left input. This could not only deliver mis-sorted - output to the user, but in case of nested merge joins could give - outright wrong answers. - * Fix plperl for quote marks in tuple fields - * Fix display of negative intervals in SQL and GERMAN datestyles - __________________________________________________________________ - - Release 7.3.8 - - Release date: 2004-10-22 - - This release contains a variety of fixes from 7.3.7. - __________________________________________________________________ - -Migration to Version 7.3.8 - - A dump/restore is not required for those running 7.3.X. - __________________________________________________________________ - -Changes - - * Repair possible failure to update hint bits on disk - Under rare circumstances this oversight could lead to "could not - access transaction status" failures, which qualifies it as a - potential-data-loss bug. - * Ensure that hashed outer join does not miss tuples - Very large left joins using a hash join plan could fail to output - unmatched left-side rows given just the right data distribution. - * Disallow running pg_ctl as root - This is to guard against any possible security issues. - * Avoid using temp files in /tmp in make_oidjoins_check - This has been reported as a security issue, though it's hardly - worthy of concern since there is no reason for non-developers to - use this script anyway. - __________________________________________________________________ - - Release 7.3.7 - - Release date: 2004-08-16 - - This release contains one critical fix over 7.3.6, and some minor - items. - __________________________________________________________________ - -Migration to Version 7.3.7 - - A dump/restore is not required for those running 7.3.X. - __________________________________________________________________ - -Changes - - * Prevent possible loss of committed transactions during crash - Due to insufficient interlocking between transaction commit and - checkpointing, it was possible for transactions committed just - before the most recent checkpoint to be lost, in whole or in part, - following a database crash and restart. This is a serious bug that - has existed since PostgreSQL 7.1. - * Remove asymmetrical word processing in tsearch (Teodor) - * Properly schema-qualify function names when pg_dump'ing a CAST - __________________________________________________________________ - - Release 7.3.6 - - Release date: 2004-03-02 - - This release contains a variety of fixes from 7.3.5. - __________________________________________________________________ - -Migration to Version 7.3.6 - - A dump/restore is *not* required for those running 7.3.*. - __________________________________________________________________ - -Changes - - * Revert erroneous changes in rule permissions checking - A patch applied in 7.3.3 to fix a corner case in rule permissions - checks turns out to have disabled rule-related permissions checks - in many not-so-corner cases. This would for example allow users to - insert into views they weren't supposed to have permission to - insert into. We have therefore reverted the 7.3.3 patch. The - original bug will be fixed in 8.0. - * Repair incorrect order of operations in GetNewTransactionId() - This bug could result in failure under out-of-disk-space - conditions, including inability to restart even after disk space is - freed. - * Ensure configure selects -fno-strict-aliasing even when an external - value for CFLAGS is supplied - On some platforms, building with -fstrict-aliasing causes bugs. - * Make pg_restore handle 64-bit off_t correctly - This bug prevented proper restoration from archive files exceeding - 4 GB. - * Make contrib/dblink not assume that local and remote type OIDs - match (Joe) - * Quote connectby()'s start_with argument properly (Joe) - * Don't crash when a rowtype argument to a plpgsql function is NULL - * Avoid generating invalid character encoding sequences in corner - cases when planning LIKE operations - * Ensure text_position() cannot scan past end of source string in - multibyte cases (Korea PostgreSQL Users' Group) - * Fix index optimization and selectivity estimates for LIKE - operations on bytea columns (Joe) - __________________________________________________________________ - - Release 7.3.5 - - Release date: 2003-12-03 - - This has a variety of fixes from 7.3.4. - __________________________________________________________________ - -Migration to Version 7.3.5 - - A dump/restore is *not* required for those running 7.3.*. - __________________________________________________________________ - -Changes - - * Force zero_damaged_pages to be on during recovery from WAL - * Prevent some obscure cases of "variable not in subplan target - lists" - * Force stats processes to detach from shared memory, ensuring - cleaner shutdown - * Make PQescapeBytea and byteaout consistent with each other (Joe) - * Added missing SPI_finish() calls to dblink's - get_tuple_of_interest() (Joe) - * Fix for possible foreign key violation when rule rewrites INSERT - (Jan) - * Support qualified type names in PL/Tcl's spi_prepare command (Jan) - * Make pg_dump handle a procedural language handler located in - pg_catalog - * Make pg_dump handle cases where a custom opclass is in another - schema - * Make pg_dump dump binary-compatible casts correctly (Jan) - * Fix insertion of expressions containing subqueries into rule bodies - * Fix incorrect argument processing in clusterdb script (Anand - Ranganathan) - * Fix problems with dropped columns in plpython triggers - * Repair problems with to_char() reading past end of its input string - (Karel) - * Fix GB18030 mapping errors (Tatsuo) - * Fix several problems with SSL error handling and asynchronous SSL - I/O - * Remove ability to bind a list of values to a single parameter in - JDBC (prevents possible SQL-injection attacks) - * Fix some errors in HAVE_INT64_TIMESTAMP code paths - * Fix corner case for btree search in parallel with first root page - split - __________________________________________________________________ - - Release 7.3.4 - - Release date: 2003-07-24 - - This has a variety of fixes from 7.3.3. - __________________________________________________________________ - -Migration to Version 7.3.4 - - A dump/restore is *not* required for those running 7.3.*. - __________________________________________________________________ - -Changes - - * Repair breakage in timestamp-to-date conversion for dates before - 2000 - * Prevent rare possibility of server startup failure (Tom) - * Fix bugs in interval-to-time conversion (Tom) - * Add constraint names in a few places in pg_dump (Rod) - * Improve performance of functions with many parameters (Tom) - * Fix to_ascii() buffer overruns (Tom) - * Prevent restore of database comments from throwing an error (Tom) - * Work around buggy strxfrm() present in some Solaris releases (Tom) - * Properly escape jdbc setObject() strings to improve security - (Barry) - __________________________________________________________________ - - Release 7.3.3 - - Release date: 2003-05-22 - - This release contains a variety of fixes for version 7.3.2. - __________________________________________________________________ - -Migration to Version 7.3.3 - - A dump/restore is *not* required for those running version 7.3.*. - __________________________________________________________________ - -Changes - - * Repair sometimes-incorrect computation of StartUpID after a crash - * Avoid slowness with lots of deferred triggers in one transaction - (Stephan) - * Don't lock referenced row when "UPDATE" doesn't change foreign - key's value (Jan) - * Use "-fPIC" not "-fpic" on Sparc (Tom Callaway) - * Repair lack of schema-awareness in contrib/reindexdb - * Fix contrib/intarray error for zero-element result array (Teodor) - * Ensure createuser script will exit on control-C (Oliver) - * Fix errors when the type of a dropped column has itself been - dropped - * "CHECKPOINT" does not cause database panic on failure in - noncritical steps - * Accept 60 in seconds fields of timestamp, time, interval input - values - * Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision - too large - * Fix abstime-to-time cast function (fix is not applied unless you - initdb) - * Fix pg_proc entry for timestampt_izone (fix is not applied unless - you initdb) - * Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as - local time - * "'now'::timestamptz" gave wrong answer if timezone changed earlier - in transaction - * HAVE_INT64_TIMESTAMP code for time with timezone overwrote its - input - * Accept "GLOBAL TEMP/TEMPORARY" as a synonym for "TEMPORARY" - * Avoid improper schema-privilege-check failure in foreign-key - triggers - * Fix bugs in foreign-key triggers for "SET DEFAULT" action - * Fix incorrect time-qual check in row fetch for "UPDATE" and - "DELETE" triggers - * Foreign-key clauses were parsed but ignored in "ALTER TABLE ADD - COLUMN" - * Fix createlang script breakage for case where handler function - already exists - * Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE, - other places - * Fix misbehavior of func_error() on type names containing '%' - * Fix misbehavior of replace() on strings containing '%' - * Regular-expression patterns containing certain multibyte characters - failed - * Account correctly for "NULL"s in more cases in join size estimation - * Avoid conflict with system definition of isblank() function or - macro - * Fix failure to convert large code point values in EUC_TW - conversions (Tatsuo) - * Fix error recovery for SSL_read/SSL_write calls - * Don't do early constant-folding of type coercion expressions - * Validate page header fields immediately after reading in any page - * Repair incorrect check for ungrouped variables in unnamed joins - * Fix buffer overrun in to_ascii (Guido Notari) - * contrib/ltree fixes (Teodor) - * Fix core dump in deadlock detection on machines where char is - unsigned - * Avoid running out of buffers in many-way indexscan (bug introduced - in 7.3) - * Fix planner's selectivity estimation functions to handle domains - properly - * Fix dbmirror memory-allocation bug (Steven Singer) - * Prevent infinite loop in ln(numeric) due to roundoff error - * "GROUP BY" got confused if there were multiple equal GROUP BY items - * Fix bad plan when inherited "UPDATE"/"DELETE" references another - inherited table - * Prevent clustering on incomplete (partial or non-NULL-storing) - indexes - * Service shutdown request at proper time if it arrives while still - starting up - * Fix left-links in temporary indexes (could make backwards scans - miss entries) - * Fix incorrect handling of client_encoding setting in - postgresql.conf (Tatsuo) - * Fix failure to respond to "pg_ctl stop -m fast" after - Async_NotifyHandler runs - * Fix SPI for case where rule contains multiple statements of the - same type - * Fix problem with checking for wrong type of access privilege in - rule query - * Fix problem with "EXCEPT" in "CREATE RULE" - * Prevent problem with dropping temp tables having serial columns - * Fix replace_vars_with_subplan_refs failure in complex views - * Fix regexp slowness in single-byte encodings (Tatsuo) - * Allow qualified type names in "CREATE CAST" and " DROP CAST" - * Accept SETOF type[], which formerly had to be written SETOF _type - * Fix pg_dump core dump in some cases with procedural languages - * Force ISO datestyle in pg_dump output, for portability (Oliver) - * pg_dump failed to handle error return from lo_read (Oleg Drokin) - * pg_dumpall failed with groups having no members (Nick Eskelinen) - * pg_dumpall failed to recognize --globals-only switch - * pg_restore failed to restore blobs if -X disable-triggers is - specified - * Repair intrafunction memory leak in plpgsql - * pltcl's "elog" command dumped core if given wrong parameters (Ian - Harding) - * plpython used wrong value of atttypmod (Brad McLean) - * Fix improper quoting of boolean values in Python interface (D'Arcy) - * Added addDataType() method to PGConnection interface for JDBC - * Fixed various problems with updateable ResultSets for JDBC (Shawn - Green) - * Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka, - Peter Royal) - * Fixed problem with parsing table ACLs in JDBC - * Better error message for character set conversion problems in JDBC - __________________________________________________________________ - - Release 7.3.2 - - Release date: 2003-02-04 - - This release contains a variety of fixes for version 7.3.1. - __________________________________________________________________ - -Migration to Version 7.3.2 - - A dump/restore is *not* required for those running version 7.3.*. - __________________________________________________________________ - -Changes - - * Restore creation of OID column in CREATE TABLE AS / SELECT INTO - * Fix pg_dump core dump when dumping views having comments - * Dump DEFERRABLE/INITIALLY DEFERRED constraints properly - * Fix UPDATE when child table's column numbering differs from parent - * Increase default value of max_fsm_relations - * Fix problem when fetching backwards in a cursor for a single-row - query - * Make backward fetch work properly with cursor on SELECT DISTINCT - query - * Fix problems with loading pg_dump files containing contrib/lo usage - * Fix problem with all-numeric user names - * Fix possible memory leak and core dump during disconnect in - libpgtcl - * Make plpython's spi_execute command handle nulls properly (Andrew - Bosma) - * Adjust plpython error reporting so that its regression test passes - again - * Work with bison 1.875 - * Handle mixed-case names properly in plpgsql's %type (Neil) - * Fix core dump in pltcl when executing a query rewritten by a rule - * Repair array subscript overruns (per report from Yichen Xie) - * Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case - * Correctly case-fold variable names in per-database and per-user - settings - * Fix coredump in plpgsql's RETURN NEXT when SELECT into record - returns no rows - * Fix outdated use of pg_type.typprtlen in python client interface - * Correctly handle fractional seconds in timestamps in JDBC driver - * Improve performance of getImportedKeys() in JDBC - * Make shared-library symlinks work standardly on HPUX (Giles) - * Repair inconsistent rounding behavior for timestamp, time, interval - * SSL negotiation fixes (Nathan Mueller) - * Make libpq's ~/.pgpass feature work when connecting with - PQconnectDB - * Update my2pg, ora2pg - * Translation updates - * Add casts between types lo and oid in contrib/lo - * fastpath code now checks for privilege to call function - __________________________________________________________________ - - Release 7.3.1 - - Release date: 2002-12-18 - - This release contains a variety of fixes for version 7.3. - __________________________________________________________________ - -Migration to Version 7.3.1 - - A dump/restore is *not* required for those running version 7.3. - However, it should be noted that the main PostgreSQL interface library, - libpq, has a new major version number for this release, which might - require recompilation of client code in certain cases. - __________________________________________________________________ - -Changes - - * Fix a core dump of COPY TO when client/server encodings don't match - (Tom) - * Allow pg_dump to work with pre-7.2 servers (Philip) - * contrib/adddepend fixes (Tom) - * Fix problem with deletion of per-user/per-database config settings - (Tom) - * contrib/vacuumlo fix (Tom) - * Allow 'password' encryption even when pg_shadow contains MD5 - passwords (Bruce) - * contrib/dbmirror fix (Steven Singer) - * Optimizer fixes (Tom) - * contrib/tsearch fixes (Teodor Sigaev, Magnus) - * Allow locale names to be mixed case (Nicolai Tufar) - * Increment libpq library's major version number (Bruce) - * pg_hba.conf error reporting fixes (Bruce, Neil) - * Add SCO Openserver 5.0.4 as a supported platform (Bruce) - * Prevent EXPLAIN from crashing server (Tom) - * SSL fixes (Nathan Mueller) - * Prevent composite column creation via ALTER TABLE (Tom) - __________________________________________________________________ - - Release 7.3 - - Release date: 2002-11-27 - __________________________________________________________________ - -Overview - - Major changes in this release: - - Schemas - Schemas allow users to create objects in separate namespaces, so - two people or applications can have tables with the same name. - There is also a public schema for shared tables. Table/index - creation can be restricted by removing privileges on the public - schema. - - Drop Column - PostgreSQL now supports the ALTER TABLE ... DROP COLUMN - functionality. - - Table Functions - Functions returning multiple rows and/or multiple columns are - now much easier to use than before. You can call such a "table - function" in the SELECT FROM clause, treating its output like a - table. Also, PL/pgSQL functions can now return sets. - - Prepared Queries - PostgreSQL now supports prepared queries, for improved - performance. - - Dependency Tracking - PostgreSQL now records object dependencies, which allows - improvements in many areas. "DROP" statements now take either - CASCADE or RESTRICT to control whether dependent objects are - also dropped. - - Privileges - Functions and procedural languages now have privileges, and - functions can be defined to run with the privileges of their - creator. - - Internationalization - Both multibyte and locale support are now always enabled. - - Logging - A variety of logging options have been enhanced. - - Interfaces - A large number of interfaces have been moved to - http://gborg.postgresql.org where they can be developed and - released independently. - - Functions/Identifiers - By default, functions can now take up to 32 parameters, and - identifiers can be up to 63 bytes long. Also, OPAQUE is now - deprecated: there are specific "pseudo-datatypes" to represent - each of the former meanings of OPAQUE in function argument and - result types. - __________________________________________________________________ - -Migration to Version 7.3 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. If your application examines the system - catalogs, additional changes will be required due to the introduction - of schemas in 7.3; for more information, see: - http://developer.postgresql.org/~momjian/upgrade_tips_7.3. - - Observe the following incompatibilities: - - * Pre-6.3 clients are no longer supported. - * "pg_hba.conf" now has a column for the user name and additional - features. Existing files need to be adjusted. - * Several "postgresql.conf" logging parameters have been renamed. - * LIMIT #,# has been disabled; use LIMIT # OFFSET #. - * "INSERT" statements with column lists must specify a value for each - specified column. For example, INSERT INTO tab (col1, col2) VALUES - ('val1') is now invalid. It's still allowed to supply fewer columns - than expected if the "INSERT" does not have a column list. - * serial columns are no longer automatically UNIQUE; thus, an index - will not automatically be created. - * A "SET" command inside an aborted transaction is now rolled back. - * "COPY" no longer considers missing trailing columns to be null. All - columns need to be specified. (However, one can achieve a similar - effect by specifying a column list in the "COPY" command.) - * The data type timestamp is now equivalent to timestamp without time - zone, instead of timestamp with time zone. - * Pre-7.3 databases loaded into 7.3 will not have the new object - dependencies for serial columns, unique constraints, and foreign - keys. See the directory "contrib/adddepend/" for a detailed - description and a script that will add such dependencies. - * An empty string ('') is no longer allowed as the input into an - integer field. Formerly, it was silently interpreted as 0. - __________________________________________________________________ - -Changes - -Server Operation - - * Add pg_locks view to show locks (Neil) - * Security fixes for password negotiation memory allocation (Neil) - * Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and - earlier) (Tom) - * Reserve the last few backend slots for superusers, add parameter - superuser_reserved_connections to control this (Nigel J. Andrews) - __________________________________________________________________ - -Performance - - * Improve startup by calling localtime() only once (Tom) - * Cache system catalog information in flat files for faster startup - (Tom) - * Improve caching of index information (Tom) - * Optimizer improvements (Tom, Fernando Nasser) - * Catalog caches now store failed lookups (Tom) - * Hash function improvements (Neil) - * Improve performance of query tokenization and network handling - (Peter) - * Speed improvement for large object restore (Mario Weilguni) - * Mark expired index entries on first lookup, saving later heap - fetches (Tom) - * Avoid excessive NULL bitmap padding (Manfred Koizar) - * Add BSD-licensed qsort() for Solaris, for performance (Bruce) - * Reduce per-row overhead by four bytes (Manfred Koizar) - * Fix GEQO optimizer bug (Neil Conway) - * Make WITHOUT OID actually save four bytes per row (Manfred Koizar) - * Add default_statistics_target variable to specify ANALYZE buckets - (Neil) - * Use local buffer cache for temporary tables so no WAL overhead - (Tom) - * Improve free space map performance on large tables (Stephen - Marshall, Tom) - * Improved WAL write concurrency (Tom) - __________________________________________________________________ - -Privileges - - * Add privileges on functions and procedural languages (Peter) - * Add OWNER to CREATE DATABASE so superusers can create databases on - behalf of unprivileged users (Gavin Sherry, Tom) - * Add new object privilege bits EXECUTE and USAGE (Tom) - * Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION - AUTHORIZATION (Tom) - * Allow functions to be executed with the privilege of the function - owner (Peter) - __________________________________________________________________ - -Server Configuration - - * Server log messages now tagged with LOG, not DEBUG (Bruce) - * Add user column to pg_hba.conf (Bruce) - * Have log_connections output two lines in log file (Tom) - * Remove debug_level from postgresql.conf, now server_min_messages - (Bruce) - * New ALTER DATABASE/USER ... SET command for per-user/database - initialization (Peter) - * New parameters server_min_messages and client_min_messages to - control which messages are sent to the server logs or client - applications (Bruce) - * Allow pg_hba.conf to specify lists of users/databases separated by - commas, group names prepended with +, and file names prepended with - @ (Bruce) - * Remove secondary password file capability and pg_password utility - (Bruce) - * Add variable db_user_namespace for database-local user names - (Bruce) - * SSL improvements (Bear Giles) - * Make encryption of stored passwords the default (Bruce) - * Allow pg_statistics to be reset by calling pg_stat_reset() - (Christopher) - * Add log_duration parameter (Bruce) - * Rename debug_print_query to log_statement (Bruce) - * Rename show_query_stats to show_statement_stats (Bruce) - * Add param log_min_error_statement to print commands to logs on - error (Gavin) - __________________________________________________________________ - -Queries - - * Make cursors insensitive, meaning their contents do not change - (Tom) - * Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported - (Bruce) - * Increase identifier length to 63 (Neil, Bruce) - * UNION fixes for merging >= 3 columns of different lengths (Tom) - * Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT, - ...) (Rod) - * Allow views to have default values using ALTER COLUMN ... SET - DEFAULT (Neil) - * Fail on INSERTs with column lists that don't supply all column - values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod) - * Fix for join aliases (Tom) - * Fix for FULL OUTER JOINs (Tom) - * Improve reporting of invalid identifier and location (Tom, Gavin) - * Fix OPEN cursor(args) (Tom) - * Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi) - * Fix for CREATE TABLE AS with UNION (Tom) - * SQL99 syntax improvements (Thomas) - * Add statement_timeout variable to cancel queries (Bruce) - * Allow prepared queries with PREPARE/EXECUTE (Neil) - * Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce) - * Add variable autocommit (Tom, David Van Wie) - __________________________________________________________________ - -Object Manipulation - - * Make equals signs optional in CREATE DATABASE (Gavin Sherry) - * Make ALTER TABLE OWNER change index ownership too (Neil) - * New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls - TOAST storage, compression (John Gray) - * Add schema support, CREATE/DROP SCHEMA (Tom) - * Create schema for temporary tables (Tom) - * Add variable search_path for schema search (Tom) - * Add ALTER TABLE SET/DROP NOT NULL (Christopher) - * New CREATE FUNCTION volatility levels (Tom) - * Make rule names unique only per table (Tom) - * Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom) - * Add ALTER TRIGGER RENAME (Joe) - * New current_schema() and current_schemas() inquiry functions (Tom) - * Allow functions to return multiple rows (table functions) (Joe) - * Make WITH optional in CREATE DATABASE, for consistency (Bruce) - * Add object dependency tracking (Rod, Tom) - * Add RESTRICT/CASCADE to DROP commands (Rod) - * Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod) - * Autodestroy sequence on DROP of table with SERIAL (Rod) - * Prevent column dropping if column is used by foreign key (Rod) - * Automatically drop constraints/functions when object is dropped - (Rod) - * Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom) - * Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi) - * Prevent inherited columns from being removed or renamed (Alvaro - Herrera) - * Fix foreign key constraints to not error on intermediate database - states (Stephan) - * Propagate column or table renaming to foreign key constraints - * Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom) - * Add CREATE OR REPLACE RULE (Gavin, Neil, Tom) - * Have rules execute alphabetically, returning more predictable - values (Tom) - * Triggers are now fired in alphabetical order (Tom) - * Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod) - * Allow better casting when inserting/updating values (Tom) - __________________________________________________________________ - -Utility Commands - - * Have COPY TO output embedded carriage returns and newlines as \r - and \n (Tom) - * Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo) - * Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance - (Neil) - * Disable brackets in multistatement rules (Bruce) - * Disable VACUUM from being called inside a function (Bruce) - * Allow dropdb and other scripts to use identifiers with spaces - (Bruce) - * Restrict database comment changes to the current database - * Allow comments on operators, independent of the underlying function - (Rod) - * Rollback SET commands in aborted transactions (Tom) - * EXPLAIN now outputs as a query (Tom) - * Display condition expressions and sort keys in EXPLAIN (Tom) - * Add 'SET LOCAL var = value' to set configuration variables for a - single transaction (Tom) - * Allow ANALYZE to run in a transaction (Bruce) - * Improve COPY syntax using new WITH clauses, keep backward - compatibility (Bruce) - * Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce) - * Make foreign key constraints clearer in dump file (Rod) - * Add COMMENT ON CONSTRAINT (Rod) - * Allow COPY TO/FROM to specify column names (Brent Verner) - * Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod) - * Have SHOW output a query result (Joe) - * Generate failure on short COPY lines rather than pad NULLs (Neil) - * Fix CLUSTER to preserve all table attributes (Alvaro Herrera) - * New pg_settings table to view/modify GUC settings (Joe) - * Add smart quoting, portability improvements to pg_dump output - (Peter) - * Dump serial columns out as SERIAL (Tom) - * Enable large file support, >2G for pg_dump (Peter, Philip Warner, - Bruce) - * Disallow TRUNCATE on tables that are involved in referential - constraints (Rod) - * Have TRUNCATE also auto-truncate the toast table of the relation - (Tom) - * Add clusterdb utility that will auto-cluster an entire database - based on previous CLUSTER operations (Alvaro Herrera) - * Overhaul pg_dumpall (Peter) - * Allow REINDEX of TOAST tables (Tom) - * Implemented START TRANSACTION, per SQL99 (Neil) - * Fix rare index corruption when a page split affects bulk delete - (Tom) - * Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera) - __________________________________________________________________ - -Data Types and Functions - - * Fix factorial(0) to return 1 (Bruce) - * Date/time/timezone improvements (Thomas) - * Fix for array slice extraction (Tom) - * Fix extract/date_part to report proper microseconds for timestamp - (Tatsuo) - * Allow text_substr() and bytea_substr() to read TOAST values more - efficiently (John Gray) - * Add domain support (Rod) - * Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data - types (Thomas) - * Allow alternate storage scheme of 64-bit integers for date/time - types using --enable-integer-datetimes in configure (Thomas) - * Make timezone(timestamptz) return timestamp rather than a string - (Thomas) - * Allow fractional seconds in date/time types for dates prior to 1BC - (Thomas) - * Limit timestamp data types to 6 decimal places of precision - (Thomas) - * Change timezone conversion functions from timetz() to timezone() - (Thomas) - * Add configuration variables datestyle and timezone (Tom) - * Add OVERLAY(), which allows substitution of a substring in a string - (Thomas) - * Add SIMILAR TO (Thomas, Tom) - * Add regular expression SUBSTRING(string FROM pat FOR escape) - (Thomas) - * Add LOCALTIME and LOCALTIMESTAMP functions (Thomas) - * Add named composite types using CREATE TYPE typename AS (column) - (Joe) - * Allow composite type definition in the table alias clause (Joe) - * Add new API to simplify creation of C language table functions - (Joe) - * Remove ODBC-compatible empty parentheses from calls to SQL99 - functions for which these parentheses do not match the standard - (Thomas) - * Allow macaddr data type to accept 12 hex digits with no separators - (Mike Wyer) - * Add CREATE/DROP CAST (Peter) - * Add IS DISTINCT FROM operator (Thomas) - * Add SQL99 TREAT() function, synonym for CAST() (Thomas) - * Add pg_backend_pid() to output backend pid (Bruce) - * Add IS OF / IS NOT OF type predicate (Thomas) - * Allow bit string constants without fully-specified length (Thomas) - * Allow conversion between 8-byte integers and bit strings (Thomas) - * Implement hex literal conversion to bit string literal (Thomas) - * Allow table functions to appear in the FROM clause (Joe) - * Increase maximum number of function parameters to 32 (Bruce) - * No longer automatically create index for SERIAL column (Tom) - * Add current_database() (Rod) - * Fix cash_words() to not overflow buffer (Tom) - * Add functions replace(), split_part(), to_hex() (Joe) - * Fix LIKE for bytea as a right-hand argument (Joe) - * Prevent crashes caused by SELECT cash_out(2) (Tom) - * Fix to_char(1,'FM999.99') to return a period (Karel) - * Fix trigger/type/language functions returning OPAQUE to return - proper type (Tom) - __________________________________________________________________ - -Internationalization - - * Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese - (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) - (Eiji Tokuya) - * Enable locale support by default (Peter) - * Add locale variables (Peter) - * Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea - (Tatsuo) - * Add locale awareness to regular expression character classes - * Enable multibyte support by default (Tatsuo) - * Add GB18030 multibyte support (Bill Huang) - * Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo, - Kaori) - * Add pg_conversion table (Tatsuo) - * Add SQL99 CONVERT() function (Tatsuo) - * pg_dumpall, pg_controldata, and pg_resetxlog now national-language - aware (Peter) - * New and updated translations - __________________________________________________________________ - -Server-side Languages - - * Allow recursive SQL function (Peter) - * Change PL/Tcl build to use configured compiler and Makefile.shlib - (Peter) - * Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible - (Neil, Tom) - * Allow PL/pgSQL to handle quoted identifiers (Tom) - * Allow set-returning PL/pgSQL functions (Neil) - * Make PL/pgSQL schema-aware (Joe) - * Remove some memory leaks (Nigel J. Andrews, Tom) - __________________________________________________________________ - -psql - - * Don't lowercase psql \connect database name for 7.2.0 compatibility - (Tom) - * Add psql \timing to time user queries (Greg Sabino Mullane) - * Have psql \d show index information (Greg Sabino Mullane) - * New psql \dD shows domains (Jonathan Eisler) - * Allow psql to show rules on views (Paul ?) - * Fix for psql variable substitution (Tom) - * Allow psql \d to show temporary table structure (Tom) - * Allow psql \d to show foreign keys (Rod) - * Fix \? to honor \pset pager (Bruce) - * Have psql reports its version number on startup (Tom) - * Allow \copy to specify column names (Tom) - __________________________________________________________________ - -libpq - - * Add ~/.pgpass to store host/user password combinations (Alvaro - Herrera) - * Add PQunescapeBytea() function to libpq (Patrick Welche) - * Fix for sending large queries over non-blocking connections - (Bernhard Herzog) - * Fix for libpq using timers on Win9X (David Ford) - * Allow libpq notify to handle servers with different-length - identifiers (Tom) - * Add libpq PQescapeString() and PQescapeBytea() to Windows (Bruce) - * Fix for SSL with non-blocking connections (Jack Bates) - * Add libpq connection timeout parameter (Denis A Ustimenko) - __________________________________________________________________ - -JDBC - - * Allow JDBC to compile with JDK 1.4 (Dave) - * Add JDBC 3 support (Barry) - * Allows JDBC to set loglevel by adding ?loglevel=X to the connection - URL (Barry) - * Add Driver.info() message that prints out the version number - (Barry) - * Add updateable result sets (Raghu Nidagal, Dave) - * Add support for callable statements (Paul Bethe) - * Add query cancel capability - * Add refresh row (Dave) - * Fix MD5 encryption handling for multibyte servers (Jun Kawai) - * Add support for prepared statements (Barry) - __________________________________________________________________ - -Miscellaneous Interfaces - - * Fixed ECPG bug concerning octal numbers in single quotes (Michael) - * Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc, - Bruce) - * Improve Python interface (Elliot Lee, Andrew Johnson, Greg - Copeland) - * Add libpgtcl connection close event (Gerhard Hintermayer) - * Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc, - Bruce) - * Move src/interfaces/odbc to http://gborg.postgresql.org (Marc) - * Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc, - Bruce) - * Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc, - Bruce) - * Remove src/bin/pgaccess from main tree, now at - http://www.pgaccess.org (Bruce) - * Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer, - Tom) - __________________________________________________________________ - -Source Code - - * Fix for parallel make (Peter) - * AIX fixes for linking Tcl (Andreas Zeugswetter) - * Allow PL/Perl to build under Cygwin (Jason Tishler) - * Improve MIPS compiles (Peter, Oliver Elphick) - * Require Autoconf version 2.53 (Peter) - * Require readline and zlib by default in configure (Peter) - * Allow Solaris to use Intimate Shared Memory (ISM), for performance - (Scott Brunza, P.J. Josh Rovero) - * Always enable syslog in compile, remove --enable-syslog option - (Tatsuo) - * Always enable multibyte in compile, remove --enable-multibyte - option (Tatsuo) - * Always enable locale in compile, remove --enable-locale option - (Peter) - * Fix for Win9x DLL creation (Magnus Naeslund) - * Fix for link() usage by WAL code on Windows, BeOS (Jason Tishler) - * Add sys/types.h to c.h, remove from main files (Peter, Bruce) - * Fix AIX hang on SMP machines (Tomoyuki Niijima) - * AIX SMP hang fix (Tomoyuki Niijima) - * Fix pre-1970 date handling on newer glibc libraries (Tom) - * Fix PowerPC SMP locking (Tom) - * Prevent gcc -ffast-math from being used (Peter, Tom) - * Bison >= 1.50 now required for developer builds - * Kerberos 5 support now builds with Heimdal (Peter) - * Add appendix in the User's Guide which lists SQL features (Thomas) - * Improve loadable module linking to use RTLD_NOW (Tom) - * New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce) - * New src/port directory holds replaced libc functions (Peter, Bruce) - * New pg_namespace system catalog for schemas (Tom) - * Add pg_class.relnamespace for schemas (Tom) - * Add pg_type.typnamespace for schemas (Tom) - * Add pg_proc.pronamespace for schemas (Tom) - * Restructure aggregates to have pg_proc entries (Tom) - * System relations now have their own namespace, pg_* test not - required (Fernando Nasser) - * Rename TOAST index names to be *_index rather than *_idx (Neil) - * Add namespaces for operators, opclasses (Tom) - * Add additional checks to server control file (Thomas) - * New Polish FAQ (Marcin Mazurek) - * Add Posix semaphore support (Tom) - * Document need for reindex (Bruce) - * Rename some internal identifiers to simplify Windows compile (Jan, - Katherine Ward) - * Add documentation on computing disk space (Bruce) - * Remove KSQO from GUC (Bruce) - * Fix memory leak in rtree (Kenneth Been) - * Modify a few error messages for consistency (Bruce) - * Remove unused system table columns (Peter) - * Make system columns NOT NULL where appropriate (Tom) - * Clean up use of sprintf in favor of snprintf() (Neil, Jukka - Holappa) - * Remove OPAQUE and create specific subtypes (Tom) - * Cleanups in array internal handling (Joe, Tom) - * Disallow pg_atoi('') (Bruce) - * Remove parameter wal_files because WAL files are now recycled - (Bruce) - * Add version numbers to heap pages (Tom) - __________________________________________________________________ - -Contrib - - * Allow inet arrays in /contrib/array (Neil) - * GiST fixes (Teodor Sigaev, Neil) - * Upgrade /contrib/mysql - * Add /contrib/dbsize which shows table sizes without vacuum (Peter) - * Add /contrib/intagg, integer aggregator routines (mlw) - * Improve /contrib/oid2name (Neil, Bruce) - * Improve /contrib/tsearch (Oleg, Teodor Sigaev) - * Cleanups of /contrib/rserver (Alexey V. Borzov) - * Update /contrib/oracle conversion utility (Gilles Darold) - * Update /contrib/dblink (Joe) - * Improve options supported by /contrib/vacuumlo (Mario Weilguni) - * Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey - Oktyabrski) - * Add /contrib/reindexdb utility (Shaun Thomas) - * Add indexing to /contrib/isbn_issn (Dan Weston) - * Add /contrib/dbmirror (Steven Singer) - * Improve /contrib/pgbench (Neil) - * Add /contrib/tablefunc table function examples (Joe) - * Add /contrib/ltree data type for tree structures (Teodor Sigaev, - Oleg Bartunov) - * Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce) - * Fixes to /contrib/cube (Bruno Wolff) - * Improve /contrib/fulltextindex (Christopher) - __________________________________________________________________ - - Release 7.2.8 - - Release date: 2005-05-09 - - This release contains a variety of fixes from 7.2.7, including one - security-related issue. - __________________________________________________________________ - -Migration to Version 7.2.8 - - A dump/restore is not required for those running 7.2.X. - __________________________________________________________________ - -Changes - - * Repair ancient race condition that allowed a transaction to be seen - as committed for some purposes (eg SELECT FOR UPDATE) slightly - sooner than for other purposes - This is an extremely serious bug since it could lead to apparent - data inconsistencies being briefly visible to applications. - * Repair race condition between relation extension and VACUUM - This could theoretically have caused loss of a page's worth of - freshly-inserted data, although the scenario seems of very low - probability. There are no known cases of it having caused more than - an Assert failure. - * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values - * Additional buffer overrun checks in plpgsql (Neil) - * Fix pg_dump to dump index names and trigger names containing % - correctly (Neil) - * Prevent to_char(interval) from dumping core for month-related - formats - * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen) - __________________________________________________________________ - - Release 7.2.7 - - Release date: 2005-01-31 - - This release contains a variety of fixes from 7.2.6, including several - security-related issues. - __________________________________________________________________ - -Migration to Version 7.2.7 - - A dump/restore is not required for those running 7.2.X. - __________________________________________________________________ - -Changes - - * Disallow "LOAD" to non-superusers - On platforms that will automatically execute initialization - functions of a shared library (this includes at least Windows and - ELF-based Unixen), "LOAD" can be used to make the server execute - arbitrary code. Thanks to NGS Software for reporting this. - * Add needed STRICT marking to some contrib functions (Kris Jurka) - * Avoid buffer overrun when plpgsql cursor declaration has too many - parameters (Neil) - * Fix planning error for FULL and RIGHT outer joins - The result of the join was mistakenly supposed to be sorted the - same as the left input. This could not only deliver mis-sorted - output to the user, but in case of nested merge joins could give - outright wrong answers. - * Fix display of negative intervals in SQL and GERMAN datestyles - __________________________________________________________________ - - Release 7.2.6 - - Release date: 2004-10-22 - - This release contains a variety of fixes from 7.2.5. - __________________________________________________________________ - -Migration to Version 7.2.6 - - A dump/restore is not required for those running 7.2.X. - __________________________________________________________________ - -Changes - - * Repair possible failure to update hint bits on disk - Under rare circumstances this oversight could lead to "could not - access transaction status" failures, which qualifies it as a - potential-data-loss bug. - * Ensure that hashed outer join does not miss tuples - Very large left joins using a hash join plan could fail to output - unmatched left-side rows given just the right data distribution. - * Disallow running pg_ctl as root - This is to guard against any possible security issues. - * Avoid using temp files in /tmp in make_oidjoins_check - This has been reported as a security issue, though it's hardly - worthy of concern since there is no reason for non-developers to - use this script anyway. - * Update to newer versions of Bison - __________________________________________________________________ - - Release 7.2.5 - - Release date: 2004-08-16 - - This release contains a variety of fixes from 7.2.4. - __________________________________________________________________ - -Migration to Version 7.2.5 - - A dump/restore is not required for those running 7.2.X. - __________________________________________________________________ - -Changes - - * Prevent possible loss of committed transactions during crash - Due to insufficient interlocking between transaction commit and - checkpointing, it was possible for transactions committed just - before the most recent checkpoint to be lost, in whole or in part, - following a database crash and restart. This is a serious bug that - has existed since PostgreSQL 7.1. - * Fix corner case for btree search in parallel with first root page - split - * Fix buffer overrun in to_ascii (Guido Notari) - * Fix core dump in deadlock detection on machines where char is - unsigned - * Fix failure to respond to "pg_ctl stop -m fast" after - Async_NotifyHandler runs - * Repair memory leaks in pg_dump - * Avoid conflict with system definition of isblank() function or - macro - __________________________________________________________________ - - Release 7.2.4 - - Release date: 2003-01-30 - - This release contains a variety of fixes for version 7.2.3, including - fixes to prevent possible data loss. - __________________________________________________________________ - -Migration to Version 7.2.4 - - A dump/restore is *not* required for those running version 7.2.*. - __________________________________________________________________ - -Changes - - * Fix some additional cases of VACUUM "No one parent tuple was found" - error - * Prevent VACUUM from being called inside a function (Bruce) - * Ensure pg_clog updates are sync'd to disk before marking checkpoint - complete - * Avoid integer overflow during large hash joins - * Make GROUP commands work when pg_group.grolist is large enough to - be toasted - * Fix errors in datetime tables; some timezone names weren't being - recognized - * Fix integer overflows in circle_poly(), path_encode(), path_add() - (Neil) - * Repair long-standing logic errors in lseg_eq(), lseg_ne(), - lseg_center() - __________________________________________________________________ - - Release 7.2.3 - - Release date: 2002-10-01 - - This release contains a variety of fixes for version 7.2.2, including - fixes to prevent possible data loss. - __________________________________________________________________ - -Migration to Version 7.2.3 - - A dump/restore is *not* required for those running version 7.2.*. - __________________________________________________________________ - -Changes - - * Prevent possible compressed transaction log loss (Tom) - * Prevent non-superuser from increasing most recent vacuum info (Tom) - * Handle pre-1970 date values in newer versions of glibc (Tom) - * Fix possible hang during server shutdown - * Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima) - * Fix pg_dump to properly dump FULL JOIN USING (Tom) - __________________________________________________________________ - - Release 7.2.2 - - Release date: 2002-08-23 - - This release contains a variety of fixes for version 7.2.1. - __________________________________________________________________ - -Migration to Version 7.2.2 - - A dump/restore is *not* required for those running version 7.2.*. - __________________________________________________________________ - -Changes - - * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) - * Fix for compressed transaction log id wraparound (Tom) - * Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f - (Tatsuo) - * Fix for psql and pg_dump crashing when invoked with non-existent - long options (Tatsuo) - * Fix crash when invoking geometric operators (Tom) - * Allow OPEN cursor(args) (Tom) - * Fix for rtree_gist index build (Teodor) - * Fix for dumping user-defined aggregates (Tom) - * contrib/intarray fixes (Oleg) - * Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom) - * Fix to pg_convert (Tatsuo) - * Fix for crash with long DATA strings (Thomas, Neil) - * Fix for repeat(), lpad(), rpad() and long strings (Neil) - __________________________________________________________________ - - Release 7.2.1 - - Release date: 2002-03-21 - - This release contains a variety of fixes for version 7.2. - __________________________________________________________________ - -Migration to Version 7.2.1 - - A dump/restore is *not* required for those running version 7.2. - __________________________________________________________________ - -Changes - - * Ensure that sequence counters do not go backwards after a crash - (Tom) - * Fix pgaccess kanji-conversion key binding (Tatsuo) - * Optimizer improvements (Tom) - * Cash I/O improvements (Tom) - * New Russian FAQ - * Compile fix for missing AuthBlockSig (Heiko) - * Additional time zones and time zone fixes (Thomas) - * Allow psql \connect to handle mixed case database and user names - (Tom) - * Return proper OID on command completion even with ON INSERT rules - (Tom) - * Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo) - * Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo) - * Improve handling of multiple UNIONs with different lengths (Tom) - * contrib/btree_gist improvements (Teodor Sigaev) - * contrib/tsearch dictionary improvements, see README.tsearch for an - additional installation step (Thomas T. Thai, Teodor Sigaev) - * Fix for array subscripts handling (Tom) - * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) - __________________________________________________________________ - - Release 7.2 - - Release date: 2002-02-04 - __________________________________________________________________ - -Overview - - This release improves PostgreSQL for use in high-volume applications. - - Major changes in this release: - - VACUUM - Vacuuming no longer locks tables, thus allowing normal user - access during the vacuum. A new "VACUUM FULL" command does - old-style vacuum by locking the table and shrinking the on-disk - copy of the table. - - Transactions - There is no longer a problem with installations that exceed four - billion transactions. - - OIDs - OIDs are now optional. Users can now create tables without OIDs - for cases where OID usage is excessive. - - Optimizer - The system now computes histogram column statistics during - "ANALYZE", allowing much better optimizer choices. - - Security - A new MD5 encryption option allows more secure storage and - transfer of passwords. A new Unix-domain socket authentication - option is available on Linux and BSD systems. - - Statistics - Administrators can use the new table access statistics module to - get fine-grained information about table and index usage. - - Internationalization - Program and library messages can now be displayed in several - languages. - __________________________________________________________________ - -Migration to Version 7.2 - - A dump/restore using "pg_dump" is required for those wishing to migrate - data from any previous release. - - Observe the following incompatibilities: - - * The semantics of the "VACUUM" command have changed in this release. - You might wish to update your maintenance procedures accordingly. - * In this release, comparisons using = NULL will always return false - (or NULL, more precisely). Previous releases automatically - transformed this syntax to IS NULL. The old behavior can be - re-enabled using a "postgresql.conf" parameter. - * The "pg_hba.conf" and "pg_ident.conf" configuration is now only - reloaded after receiving a SIGHUP signal, not with each connection. - * The function "octet_length()" now returns the uncompressed data - length. - * The date/time value 'current' is no longer available. You will need - to rewrite your applications. - * The timestamp(), time(), and interval() functions are no longer - available. Instead of timestamp(), use timestamp 'string' or CAST. - - The SELECT ... LIMIT #,# syntax will be removed in the next release. - You should change your queries to use separate LIMIT and OFFSET - clauses, e.g. LIMIT 10 OFFSET 20. - __________________________________________________________________ - -Changes - -Server Operation - - * Create temporary files in a separate directory (Bruce) - * Delete orphaned temporary files on postmaster startup (Bruce) - * Added unique indexes to some system tables (Tom) - * System table operator reorganization (Oleg Bartunov, Teodor Sigaev, - Tom) - * Renamed pg_log to pg_clog (Tom) - * Enable SIGTERM, SIGQUIT to kill backends (Jan) - * Removed compile-time limit on number of backends (Tom) - * Better cleanup for semaphore resource failure (Tatsuo, Tom) - * Allow safe transaction ID wraparound (Tom) - * Removed OIDs from some system tables (Tom) - * Removed "triggered data change violation" error check (Tom) - * SPI portal creation of prepared/saved plans (Jan) - * Allow SPI column functions to work for system columns (Tom) - * Long value compression improvement (Tom) - * Statistics collector for table, index access (Jan) - * Truncate extra-long sequence names to a reasonable value (Tom) - * Measure transaction times in milliseconds (Thomas) - * Fix TID sequential scans (Hiroshi) - * Superuser ID now fixed at 1 (Peter E) - * New pg_ctl "reload" option (Tom) - __________________________________________________________________ - -Performance - - * Optimizer improvements (Tom) - * New histogram column statistics for optimizer (Tom) - * Reuse write-ahead log files rather than discarding them (Tom) - * Cache improvements (Tom) - * IS NULL, IS NOT NULL optimizer improvement (Tom) - * Improve lock manager to reduce lock contention (Tom) - * Keep relcache entries for index access support functions (Tom) - * Allow better selectivity with NaN and infinities in NUMERIC (Tom) - * R-tree performance improvements (Kenneth Been) - * B-tree splits more efficient (Tom) - __________________________________________________________________ - -Privileges - - * Change UPDATE, DELETE privileges to be distinct (Peter E) - * New REFERENCES, TRIGGER privileges (Peter E) - * Allow GRANT/REVOKE to/from more than one user at a time (Peter E) - * New has_table_privilege() function (Joe Conway) - * Allow non-superuser to vacuum database (Tom) - * New SET SESSION AUTHORIZATION command (Peter E) - * Fix bug in privilege modifications on newly created tables (Tom) - * Disallow access to pg_statistic for non-superuser, add - user-accessible views (Tom) - __________________________________________________________________ - -Client Authentication - - * Fork postmaster before doing authentication to prevent hangs (Peter - E) - * Add ident authentication over Unix domain sockets on Linux, *BSD - (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce) - * Add a password authentication method that uses MD5 encryption - (Bruce) - * Allow encryption of stored passwords using MD5 (Bruce) - * PAM authentication (Dominic J. Eidson) - * Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP - (Bruce) - __________________________________________________________________ - -Server Configuration - - * Interpretation of some time zone abbreviations as Australian rather - than North American now settable at run time (Bruce) - * New parameter to set default transaction isolation level (Peter E) - * New parameter to enable conversion of "expr = NULL" into "expr IS - NULL", off by default (Peter E) - * New parameter to control memory usage by VACUUM (Tom) - * New parameter to set client authentication timeout (Tom) - * New parameter to set maximum number of open files (Tom) - __________________________________________________________________ - -Queries - - * Statements added by INSERT rules now execute after the INSERT (Jan) - * Prevent unadorned relation names in target list (Bruce) - * NULLs now sort after all normal values in ORDER BY (Tom) - * New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom) - * New SHARE UPDATE EXCLUSIVE lock mode (Tom) - * New EXPLAIN ANALYZE command that shows run times and row counts - (Martijn van Oosterhout) - * Fix problem with LIMIT and subqueries (Tom) - * Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom) - * Fix nested EXCEPT/INTERSECT (Tom) - __________________________________________________________________ - -Schema Manipulation - - * Fix SERIAL in temporary tables (Bruce) - * Allow temporary sequences (Bruce) - * Sequences now use int8 internally (Tom) - * New SERIAL8 creates int8 columns with sequences, default still - SERIAL4 (Tom) - * Make OIDs optional using WITHOUT OIDS (Tom) - * Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor) - * Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints - (Christopher Kings-Lynne) - * New CREATE OR REPLACE FUNCTION to alter existing function - (preserving the function OID) (Gavin Sherry) - * Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher - Kings-Lynne) - * Allow column renaming in views - * Make ALTER TABLE / RENAME COLUMN update column names of indexes - (Brent Verner) - * Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited - tables (Stephan Szabo) - * ALTER TABLE RENAME update foreign-key trigger arguments correctly - (Brent Verner) - * DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom) - * Add automatic return type data casting for SQL functions (Tom) - * Allow GiST indexes to handle NULLs and multikey indexes (Oleg - Bartunov, Teodor Sigaev, Tom) - * Enable partial indexes (Martijn van Oosterhout) - __________________________________________________________________ - -Utility Commands - - * Add RESET ALL, SHOW ALL (Marko Kreen) - * CREATE/ALTER USER/GROUP now allow options in any order (Vince) - * Add LOCK A, B, C functionality (Neil Padgett) - * New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce) - * New light-weight VACUUM does not lock table; old semantics are - available as VACUUM FULL (Tom) - * Disable COPY TO/FROM on views (Bruce) - * COPY DELIMITERS string must be exactly one character (Tom) - * VACUUM warning about index tuples fewer than heap now only appears - when appropriate (Martijn van Oosterhout) - * Fix privilege checks for CREATE INDEX (Tom) - * Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom) - __________________________________________________________________ - -Data Types and Functions - - * SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom) - * Add convert(), convert2() (Tatsuo) - * New function bit_length() (Peter E) - * Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes - (Tatsuo) - * CHAR(), VARCHAR() now reject strings that are too long (Peter E) - * BIT VARYING now rejects bit strings that are too long (Peter E) - * BIT now rejects bit strings that do not match declared size (Peter - E) - * INET, CIDR text conversion functions (Alex Pilosov) - * INET, CIDR operators << and <<= indexable (Alex Pilosov) - * Bytea \### now requires valid three digit octal number - * Bytea comparison improvements, now supports =, <>, >, >=, <, and <= - * Bytea now supports B-tree indexes - * Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE - * Bytea now supports concatenation - * New bytea functions: position, substring, trim, btrim, and length - * New encode() function mode, "escaped", converts minimally escaped - bytea to/from text - * Add pg_database_encoding_max_length() (Tatsuo) - * Add pg_client_encoding() function (Tatsuo) - * now() returns time with millisecond precision (Thomas) - * New TIMESTAMP WITHOUT TIMEZONE data type (Thomas) - * Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss - (Thomas) - * New xid/int comparison functions (Hiroshi) - * Add precision to TIME, TIMESTAMP, and INTERVAL data types (Thomas) - * Modify type coercion logic to attempt binary-compatible functions - first (Tom) - * New encode() function installed by default (Marko Kreen) - * Improved to_*() conversion functions (Karel Zak) - * Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo) - * New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), - gen_salt() (Marko Kreen) - * Correct description of translate() function (Bruce) - * Add INTERVAL argument for SET TIME ZONE (Thomas) - * Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas) - * Optimize length functions when using single-byte encodings (Tatsuo) - * Fix path_inter, path_distance, path_length, dist_ppath to handle - closed paths (Curtis Barrett, Tom) - * octet_length(text) now returns non-compressed length (Tatsuo, - Bruce) - * Handle "July" full name in date/time literals (Greg Sabino Mullane) - * Some datatype() function calls now evaluated differently - * Add support for Julian and ISO time specifications (Thomas) - __________________________________________________________________ - -Internationalization - - * National language support in psql, pg_dump, libpq, and server - (Peter E) - * Message translations in Chinese (simplified, traditional), Czech, - French, German, Hungarian, Russian, Swedish (Peter E, Serguei A. - Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan) - * Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte - aware (Tatsuo) - * Add LATIN5,6,7,8,9,10 support (Tatsuo) - * Add ISO 8859-5,6,7,8 support (Tatsuo) - * Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo) - * Make mic2ascii() non-ASCII aware (Tatsuo) - * Reject invalid multibyte character sequences (Tatsuo) - __________________________________________________________________ - -PL/pgSQL - - * Now uses portals for SELECT loops, allowing huge result sets (Jan) - * CURSOR and REFCURSOR support (Jan) - * Can now return open cursors (Jan) - * Add ELSEIF (Klaus Reger) - * Improve PL/pgSQL error reporting, including location of error (Tom) - * Allow IS or FOR key words in cursor declaration, for compatibility - (Bruce) - * Fix for SELECT ... FOR UPDATE (Tom) - * Fix for PERFORM returning multiple rows (Tom) - * Make PL/pgSQL use the server's type coercion code (Tom) - * Memory leak fix (Jan, Tom) - * Make trailing semicolon optional (Tom) - __________________________________________________________________ - -PL/Perl - - * New untrusted PL/Perl (Alex Pilosov) - * PL/Perl is now built on some platforms even if libperl is not - shared (Peter E) - __________________________________________________________________ - -PL/Tcl - - * Now reports errorInfo (Vsevolod Lobko) - * Add spi_lastoid function (bob@redivi.com) - __________________________________________________________________ - -PL/Python - - * ...is new (Andrew Bosma) - __________________________________________________________________ - -psql - - * \d displays indexes in unique, primary groupings (Christopher - Kings-Lynne) - * Allow trailing semicolons in backslash commands (Greg Sabino - Mullane) - * Read password from /dev/tty if possible - * Force new password prompt when changing user and database (Tatsuo, - Tom) - * Format the correct number of columns for Unicode (Patrice) - __________________________________________________________________ - -libpq - - * New function PQescapeString() to escape quotes in command strings - (Florian Weimer) - * New function PQescapeBytea() escapes binary strings for use as SQL - string literals - __________________________________________________________________ - -JDBC - - * Return OID of INSERT (Ken K) - * Handle more data types (Ken K) - * Handle single quotes and newlines in strings (Ken K) - * Handle NULL variables (Ken K) - * Fix for time zone handling (Barry Lind) - * Improved Druid support - * Allow eight-bit characters with non-multibyte server (Barry Lind) - * Support BIT, BINARY types (Ned Wolpert) - * Reduce memory usage (Michael Stephens, Dave Cramer) - * Update DatabaseMetaData (Peter E) - * Add DatabaseMetaData.getCatalogs() (Peter E) - * Encoding fixes (Anders Bengtsson) - * Get/setCatalog methods (Jason Davies) - * DatabaseMetaData.getColumns() now returns column defaults (Jason - Davies) - * DatabaseMetaData.getColumns() performance improvement (Jeroen van - Vianen) - * Some JDBC1 and JDBC2 merging (Anders Bengtsson) - * Transaction performance improvements (Barry Lind) - * Array fixes (Greg Zoller) - * Serialize addition - * Fix batch processing (Rene Pijlman) - * ExecSQL method reorganization (Anders Bengtsson) - * GetColumn() fixes (Jeroen van Vianen) - * Fix isWriteable() function (Rene Pijlman) - * Improved passage of JDBC2 conformance tests (Rene Pijlman) - * Add bytea type capability (Barry Lind) - * Add isNullable() (Rene Pijlman) - * JDBC date/time test suite fixes (Liam Stewart) - * Fix for SELECT 'id' AS xxx FROM table (Dave Cramer) - * Fix DatabaseMetaData to show precision properly (Mark Lillywhite) - * New getImported/getExported keys (Jason Davies) - * MD5 password encryption support (Jeremy Wohl) - * Fix to actually use type cache (Ned Wolpert) - __________________________________________________________________ - -ODBC - - * Remove query size limit (Hiroshi) - * Remove text field size limit (Hiroshi) - * Fix for SQLPrimaryKeys in multibyte mode (Hiroshi) - * Allow ODBC procedure calls (Hiroshi) - * Improve boolean handing (Aidan Mountford) - * Most configuration options now settable via DSN (Hiroshi) - * Multibyte, performance fixes (Hiroshi) - * Allow driver to be used with iODBC or unixODBC (Peter E) - * MD5 password encryption support (Bruce) - * Add more compatibility functions to odbc.sql (Peter E) - __________________________________________________________________ - -ECPG - - * EXECUTE ... INTO implemented (Christof Petig) - * Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig) - * Fix for GRANT parameters (Lee Kindness) - * Fix INITIALLY DEFERRED bug - * Various bug fixes (Michael, Christof Petig) - * Auto allocation for indicator variable arrays (int *ind_p=NULL) - * Auto allocation for string arrays (char **foo_pp=NULL) - * ECPGfree_auto_mem fixed - * All function names with external linkage are now prefixed by ECPG - * Fixes for arrays of structures (Michael) - __________________________________________________________________ - -Misc. Interfaces - - * Python fix fetchone() (Gerhard Haring) - * Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard - Max) - * Add Tcl COPY TO/FROM (ljb) - * Prevent output of default index op class in pg_dump (Tom) - * Fix libpgeasy memory leak (Bruce) - __________________________________________________________________ - -Build and Install - - * Configure, dynamic loader, and shared library fixes (Peter E) - * Fixes in QNX 4 port (Bernd Tegge) - * Fixes in Cygwin and Windows ports (Jason Tishler, Gerhard Haring, - Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov) - * Fix for Windows socket communication failures (Magnus, Mikhail - Terekhov) - * Hurd compile fix (Oliver Elphick) - * BeOS fixes (Cyril Velter) - * Remove configure --enable-unicode-conversion, now enabled by - multibyte (Tatsuo) - * AIX fixes (Tatsuo, Andreas) - * Fix parallel make (Peter E) - * Install SQL language manual pages into OS-specific directories - (Peter E) - * Rename config.h to pg_config.h (Peter E) - * Reorganize installation layout of header files (Peter E) - __________________________________________________________________ - -Source Code - - * Remove SEP_CHAR (Bruce) - * New GUC hooks (Tom) - * Merge GUC and command line handling (Marko Kreen) - * Remove EXTEND INDEX (Martijn van Oosterhout, Tom) - * New pgjindent utility to indent java code (Bruce) - * Remove define of true/false when compiling under C++ (Leandro - Fanzone, Tom) - * pgindent fixes (Bruce, Tom) - * Replace strcasecmp() with strcmp() where appropriate (Peter E) - * Dynahash portability improvements (Tom) - * Add 'volatile' usage in spinlock structures - * Improve signal handling logic (Tom) - __________________________________________________________________ - -Contrib - - * New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev) - * New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev) - * Add contrib/dblink for remote database access (Joe Conway) - * contrib/ora2pg Oracle conversion utility (Gilles Darold) - * contrib/xml XML conversion utility (John Gray) - * contrib/fulltextindex fixes (Christopher Kings-Lynne) - * New contrib/fuzzystrmatch with levenshtein and metaphone, soundex - merged (Joe Conway) - * Add contrib/intarray boolean queries, binary search, fixes (Oleg - Bartunov) - * New pg_upgrade utility (Bruce) - * Add new pg_resetxlog options (Bruce, Tom) - __________________________________________________________________ - - Release 7.1.3 - - Release date: 2001-08-15 - __________________________________________________________________ - -Migration to Version 7.1.3 - - A dump/restore is *not* required for those running 7.1.X. - __________________________________________________________________ - -Changes - -Remove unused WAL segments of large transactions (Tom) -Multiaction rule fix (Tom) -PL/pgSQL memory allocation fix (Jan) -VACUUM buffer fix (Tom) -Regression test fixes (Tom) -pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom) -Fix subselects with DISTINCT ON or LIMIT (Tom) -BeOS fix -Disable COPY TO/FROM a view (Tom) -Cygwin build (Jason Tishler) - __________________________________________________________________ - - Release 7.1.2 - - Release date: 2001-05-11 - - This has one fix from 7.1.1. - __________________________________________________________________ - -Migration to Version 7.1.2 - - A dump/restore is *not* required for those running 7.1.X. - __________________________________________________________________ - -Changes - -Fix PL/pgSQL SELECTs when returning no rows -Fix for psql backslash core dump -Referential integrity privilege fix -Optimizer fixes -pg_dump cleanups - __________________________________________________________________ - - Release 7.1.1 - - Release date: 2001-05-05 - - This has a variety of fixes from 7.1. - __________________________________________________________________ - -Migration to Version 7.1.1 - - A dump/restore is *not* required for those running 7.1. - __________________________________________________________________ - -Changes - -Fix for numeric MODULO operator (Tom) -pg_dump fixes (Philip) -pg_dump can dump 7.0 databases (Philip) -readline 4.2 fixes (Peter E) -JOIN fixes (Tom) -AIX, MSWIN, VAX, N32K fixes (Tom) -Multibytes fixes (Tom) -Unicode fixes (Tatsuo) -Optimizer improvements (Tom) -Fix for whole rows in functions (Tom) -Fix for pg_ctl and option strings with spaces (Peter E) -ODBC fixes (Hiroshi) -EXTRACT can now take string argument (Thomas) -Python fixes (Darcy) - __________________________________________________________________ - - Release 7.1 - - Release date: 2001-04-13 - - This release focuses on removing limitations that have existed in the - PostgreSQL code for many years. - - Major changes in this release: - - Write-ahead Log (WAL) - To maintain database consistency in case of an operating system - crash, previous releases of PostgreSQL have forced all data - modifications to disk before each transaction commit. With WAL, - only one log file must be flushed to disk, greatly improving - performance. If you have been using -F in previous releases to - disable disk flushes, you might want to consider discontinuing - its use. - - TOAST - TOAST - Previous releases had a compiled-in row length limit, - typically 8k - 32k. This limit made storage of long text fields - difficult. With TOAST, long rows of any length can be stored - with good performance. - - Outer Joins - We now support outer joins. The UNION/NOT IN workaround for - outer joins is no longer required. We use the SQL92 outer join - syntax. - - Function Manager - The previous C function manager did not handle null values - properly, nor did it support 64-bit CPU's (Alpha). The new - function manager does. You can continue using your old custom - functions, but you might want to rewrite them in the future to - use the new function manager call interface. - - Complex Queries - A large number of complex queries that were unsupported in - previous releases now work. Many combinations of views, - aggregates, UNION, LIMIT, cursors, subqueries, and inherited - tables now work properly. Inherited tables are now accessed by - default. Subqueries in FROM are now supported. - __________________________________________________________________ - -Migration to Version 7.1 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Many multibyte/Unicode/locale fixes (Tatsuo and others) -More reliable ALTER TABLE RENAME (Tom) -Kerberos V fixes (David Wragg) -Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom) -Prompt username/password on standard error (Bruce) -Large objects inv_read/inv_write fixes (Tom) -Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel, - Daniel Baldoni) -Prevent query expressions from leaking memory (Tom) -Allow UPDATE of arrays elements (Tom) -Wake up lock waiters during cancel (Hiroshi) -Fix rare cursor crash when using hash join (Tom) -Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi) -Fix psql crash from \l+ if MULTIBYTE enabled (Peter E) -Fix truncation of rule names during CREATE VIEW (Ross Reedstrom) -Fix PL/perl (Alex Kapranoff) -Disallow LOCK on views (Mark Hollomon) -Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon) -Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon) -Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo) -Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom) -Fix rare failure with TRUNCATE command (Tom) -Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views, - DISTINCT, ORDER BY, SELECT...INTO (Tom) -Fix parser failures during aborted transactions (Tom) -Allow temporary relations to properly clean up indexes (Bruce) -Fix VACUUM problem with moving rows in same page (Tom) -Modify pg_dump to better handle user-defined items in template1 (Philip) -Allow LIMIT in VIEW (Tom) -Require cursor FETCH to honor LIMIT (Tom) -Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan) -Allow ORDER BY, LIMIT in subqueries (Tom) -Allow UNION in CREATE RULE (Tom) -Make ALTER/DROP TABLE rollback-able (Vadim, Tom) -Store initdb collation in pg_control so collation cannot be changed (Tom) -Fix INSERT...SELECT with rules (Tom) -Fix FOR UPDATE inside views and subselects (Tom) -Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom) -Fix lpad() and rpad() to handle length less than input string (Tom) -Fix use of NOTIFY in some rules (Tom) -Overhaul btree code (Tom) -Fix NOT NULL use in Pl/pgSQL variables (Tom) -Overhaul GIST code (Oleg) -Fix CLUSTER to preserve constraints and column default (Tom) -Improved deadlock detection handling (Tom) -Allow multiple SERIAL columns in a table (Tom) -Prevent occasional index corruption (Vadim) - -Enhancements ------------- -Add OUTER JOINs (Tom) -Function manager overhaul (Tom) -Allow ALTER TABLE RENAME on indexes (Tom) -Improve CLUSTER (Tom) -Improve ps status display for more platforms (Peter E, Marc) -Improve CREATE FUNCTION failure message (Ross) -JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber, - Gunnar) -Grand Unified Configuration scheme/GUC. Many options can now be set in - data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E) -Improved handling of file descriptor cache (Tom) -New warning code about auto-created table alias entries (Bruce) -Overhaul initdb process (Tom, Peter E) -Overhaul of inherited tables; inherited tables now accessed by default; - new ONLY key word prevents it (Chris Bitmead, Tom) -ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs, - Michael Fork) -Allow renaming of temp tables (Tom) -Overhaul memory manager contexts (Tom) -pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E) -Overhaul pg_dump (Philip Warner) -Allow pg_hba.conf secondary password file to specify only username (Peter E) -Allow TEMPORARY or TEMP key word when creating temporary tables (Bruce) -New memory leak checker (Karel) -New SET SESSION CHARACTERISTICS (Thomas) -Allow nested block comments (Thomas) -Add WITHOUT TIME ZONE type qualifier (Thomas) -New ALTER TABLE ADD CONSTRAINT (Stephan) -Use NUMERIC accumulators for INTEGER aggregates (Tom) -Overhaul aggregate code (Tom) -New VARIANCE and STDDEV() aggregates -Improve dependency ordering of pg_dump (Philip) -New pg_restore command (Philip) -New pg_dump tar output option (Philip) -New pg_dump of large objects (Philip) -New ESCAPE option to LIKE (Thomas) -New case-insensitive LIKE - ILIKE (Thomas) -Allow functional indexes to use binary-compatible type (Tom) -Allow SQL functions to be used in more contexts (Tom) -New pg_config utility (Peter E) -New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements - (Jan) -New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan) -New quote_identifiers() and quote_literal() functions (Jan) -New ALTER TABLE table OWNER TO user command (Mark Hollomon) -Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom) -Update PyGreSQL to version 3.1 (D'Arcy) -Store tables as files named by OID (Vadim) -New SQL function setval(seq,val,bool) for use in pg_dump (Philip) -Require DROP VIEW to remove views, no DROP TABLE (Mark) -Allow DROP VIEW view1, view2 (Mark) -Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom) -Allow automatic conversion to/from Unicode (Tatsuo, Eiji) -New /contrib/pgcrypto hashing functions (Marko Kreen) -New pg_dumpall --globals-only option (Peter E) -New CHECKPOINT command for WAL which creates new WAL log file (Vadim) -New AT TIME ZONE syntax (Thomas) -Allow location of Unix domain socket to be configurable (David J. MacKenzie) -Allow postmaster to listen on a specific IP address (David J. MacKenzie) -Allow socket path name to be specified in hostname by using leading slash - (David J. MacKenzie) -Allow CREATE DATABASE to specify template database (Tom) -New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas) -New /contrib/rserv replication toolkit (Vadim) -New file format for COPY BINARY (Tom) -New /contrib/oid2name to map numeric files to table names (B Palmer) -New "idle in transaction" ps status message (Marc) -Update to pgaccess 0.98.7 (Constantin Teodorescu) -pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option -Add rudimentary dependency checking to pg_dump (Philip) - -Types ------ -Fix INET/CIDR type ordering and add new functions (Tom) -Make OID behave as an unsigned type (Tom) -Allow BIGINT as synonym for INT8 (Peter E) -New int2 and int8 comparison operators (Tom) -New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E) -CHAR() no longer faster than VARCHAR() because of TOAST (Tom) -New GIST seg/cube examples (Gene Selkov) -Improved round(numeric) handling (Tom) -Fix CIDR output formatting (Tom) -New CIDR abbrev() function (Tom) - -Performance ------------ -Write-Ahead Log (WAL) to provide crash recovery with less performance - overhead (Vadim) -ANALYZE stage of VACUUM no longer exclusively locks table (Bruce) -Reduced file seeks (Denis Perchine) -Improve BTREE code for duplicate keys (Tom) -Store all large objects in a single table (Denis Perchine, Tom) -Improve memory allocation performance (Karel, Tom) - -Source Code ------------ -New function manager call conventions (Tom) -SGI portability fixes (David Kaelbling) -New configure --enable-syslog option (Peter E) -New BSDI README (Bruce) -configure script moved to top level, not /src (Peter E) -Makefile/configuration/compilation overhaul (Peter E) -New configure --with-python option (Peter E) -Solaris cleanups (Peter E) -Overhaul /contrib Makefiles (Karel) -New OpenSSL configuration option (Magnus, Peter E) -AIX fixes (Andreas) -QNX fixes (Maurizio) -New heap_open(), heap_openr() API (Tom) -Remove colon and semi-colon operators (Thomas) -New pg_class.relkind value for views (Mark Hollomon) -Rename ichar() to chr() (Karel) -New documentation for btrim(), ascii(), chr(), repeat() (Karel) -Fixes for NT/Cygwin (Pete Forman) -AIX port fixes (Andreas) -New BeOS port (David Reid, Cyril Velter) -Add proofreader's changes to docs (Addison-Wesley, Bruce) -New Alpha spinlock code (Adriaan Joubert, Compaq) -UnixWare port overhaul (Peter E) -New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler) -New FreeBSD Alpha port (Alfred) -Overhaul shared memory segments (Tom) -Add IBM S/390 support (Neale Ferguson) -Moved macmanuf to /contrib (Larry Rosenman) -Syslog improvements (Larry Rosenman) -New template0 database that contains no user additions (Tom) -New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov) -Allow NetBSD's libedit instead of readline (Peter) -Improved assembly language source code format (Bruce) -New contrib/pg_logger -New --template option to createdb -New contrib/pg_control utility (Oliver) -New FreeBSD tools ipc_check, start-scripts/freebsd - __________________________________________________________________ - - Release 7.0.3 - - Release date: 2000-11-11 - - This has a variety of fixes from 7.0.2. - __________________________________________________________________ - -Migration to Version 7.0.3 - - A dump/restore is *not* required for those running 7.0.*. - __________________________________________________________________ - -Changes - -Jdbc fixes (Peter) -Large object fix (Tom) -Fix lean in COPY WITH OIDS leak (Tom) -Fix backwards-index-scan (Tom) -Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi) -Add --enable-syslog to configure (Marc) -Fix abort transaction at backend exit in rare cases (Tom) -Fix for psql \l+ when multibyte enabled (Tatsuo) -Allow PL/pgSQL to accept non ascii identifiers (Tatsuo) -Make vacuum always flush buffers (Tom) -Fix to allow cancel while waiting for a lock (Hiroshi) -Fix for memory allocation problem in user authentication code (Tom) -Remove bogus use of int4out() (Tom) -Fixes for multiple subqueries in COALESCE or BETWEEN (Tom) -Fix for failure of triggers on heap open in certain cases (Jeroen van - Vianen) -Fix for erroneous selectivity of not-equals (Tom) -Fix for erroneous use of strcmp() (Tom) -Fix for bug where storage manager accesses items beyond end of file - (Tom) -Fix to include kernel errno message in all smgr elog messages (Tom) -Fix for '.' not in PATH at build time (SL Baur) -Fix for out-of-file-descriptors error (Tom) -Fix to make pg_dump dump 'iscachable' flag for functions (Tom) -Fix for subselect in targetlist of Append node (Tom) -Fix for mergejoin plans (Tom) -Fix TRUNCATE failure on relations with indexes (Tom) -Avoid database-wide restart on write error (Hiroshi) -Fix nodeMaterial to honor chgParam by recomputing its output (Tom) -Fix VACUUM problem with moving chain of update row versions when source - and destination of a row version lie on the same page (Tom) -Fix user.c CommandCounterIncrement (Tom) -Fix for AM/PM boundary problem in to_char() (Karel Zak) -Fix TIME aggregate handling (Tom) -Fix to_char() to avoid coredump on NULL input (Tom) -Buffer fix (Tom) -Fix for inserting/copying longer multibyte strings into char() data - types (Tatsuo) -Fix for crash of backend, on abort (Tom) - __________________________________________________________________ - - Release 7.0.2 - - Release date: 2000-06-05 - - This is a repackaging of 7.0.1 with added documentation. - __________________________________________________________________ - -Migration to Version 7.0.2 - - A dump/restore is *not* required for those running 7.*. - __________________________________________________________________ - -Changes - -Added documentation to tarball. - __________________________________________________________________ - - Release 7.0.1 - - Release date: 2000-06-01 - - This is a cleanup release for 7.0. - __________________________________________________________________ - -Migration to Version 7.0.1 - - A dump/restore is *not* required for those running 7.0. - __________________________________________________________________ - -Changes - -Fix many CLUSTER failures (Tom) -Allow ALTER TABLE RENAME works on indexes (Tom) -Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce) -New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce) -Fix the off by one errors in ResultSet from 6.5.3, and more. -jdbc ResultSet fixes (Joseph Shraibman) -optimizer tunings (Tom) -Fix create user for pgaccess -Fix for UNLISTEN failure -IRIX fixes (David Kaelbling) -QNX fixes (Andreas Kardos) -Reduce COPY IN lock level (Tom) -Change libpqeasy to use PQconnectdb() style parameters (Bruce) -Fix pg_dump to handle OID indexes (Tom) -Fix small memory leak (Tom) -Solaris fix for createdb/dropdb (Tatsuo) -Fix for non-blocking connections (Alfred Perlstein) -Fix improper recovery after RENAME TABLE failures (Tom) -Copy pg_ident.conf.sample into /lib directory in install (Bruce) -Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya) -Fix too long syslog message (Tatsuo) -Fix problem with quoted indexes that are too long (Tom) -JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu) -ecpg changes (Michael) - __________________________________________________________________ - - Release 7.0 - - Release date: 2000-05-08 - - This release contains improvements in many areas, demonstrating the - continued growth of PostgreSQL. There are more improvements and fixes - in 7.0 than in any previous release. The developers have confidence - that this is the best release yet; we do our best to put out only solid - releases, and this one is no exception. - - Major changes in this release: - - Foreign Keys - Foreign keys are now implemented, with the exception of PARTIAL - MATCH foreign keys. Many users have been asking for this - feature, and we are pleased to offer it. - - Optimizer Overhaul - Continuing on work started a year ago, the optimizer has been - improved, allowing better query plan selection and faster - performance with less memory usage. - - Updated psql - psql, our interactive terminal monitor, has been updated with a - variety of new features. See the psql manual page for details. - - Join Syntax - SQL92 join syntax is now supported, though only as INNER JOIN - for this release. JOIN, NATURAL JOIN, JOIN/USING, and JOIN/ON - are available, as are column correlation names. - __________________________________________________________________ - -Migration to Version 7.0 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release of PostgreSQL. For those upgrading from - 6.5.*, you can instead use pg_upgrade to upgrade to this release; - however, a full dump/reload installation is always the most robust - method for upgrades. - - Interface and compatibility issues to consider for the new release - include: - - * The date/time types datetime and timespan have been superseded by - the SQL92-defined types timestamp and interval. Although there has - been some effort to ease the transition by allowing PostgreSQL to - recognize the deprecated type names and translate them to the new - type names, this mechanism cannot be completely transparent to your - existing application. - * The optimizer has been substantially improved in the area of query - cost estimation. In some cases, this will result in decreased query - times as the optimizer makes a better choice for the preferred - plan. However, in a small number of cases, usually involving - pathological distributions of data, your query times might go up. - If you are dealing with large amounts of data, you might want to - check your queries to verify performance. - * The JDBC and ODBC interfaces have been upgraded and extended. - * The string function CHAR_LENGTH is now a native function. Previous - versions translated this into a call to LENGTH, which could result - in ambiguity with other types implementing LENGTH such as the - geometric types. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Prevent function calls exceeding maximum number of arguments (Tom) -Improve CASE construct (Tom) -Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom) -Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom) -Fix GROUP BY scan bug (Tom) -Improvements in SQL grammar processing (Tom) -Fix for views involved in INSERT ... SELECT ... (Tom) -Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom) -Fix for subselects in INSERT ... SELECT (Tom) -Prevent INSERT ... SELECT ... ORDER BY (Tom) -Fixes for relations greater than 2GB, including vacuum -Improve propagating system table changes to other backends (Tom) -Improve propagating user table changes to other backends (Tom) -Fix handling of temp tables in complex situations (Bruce, Tom) -Allow table locking at table open, improving concurrent reliability (Tom) -Properly quote sequence names in pg_dump (Ross J. Reedstrom) -Prevent DROP DATABASE while others accessing -Prevent any rows from being returned by GROUP BY if no rows processed (Tom) -Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom) -Fix pg_upgrade so it works for MVCC (Tom) -Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom) -Fix for "f1 datetime DEFAULT 'now'" (Tom) -Fix problems with CURRENT_DATE used in DEFAULT (Tom) -Allow comment-only lines, and ;;; lines too. (Tom) -Improve recovery after failed disk writes, disk full (Hiroshi) -Fix cases where table is mentioned in FROM but not joined (Tom) -Allow HAVING clause without aggregate functions (Tom) -Fix for "--" comment and no trailing newline, as seen in perl interface -Improve pg_dump failure error reports (Bruce) -Allow sorts and hashes to exceed 2GB file sizes (Tom) -Fix for pg_dump dumping of inherited rules (Tom) -Fix for NULL handling comparisons (Tom) -Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi) -Fix for dbname with dash -Prevent DROP INDEX from interfering with other backends (Tom) -Fix file descriptor leak in verify_password() -Fix for "Unable to identify an operator =$" problem -Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann) -Fix for recursive exit call (Massimo) -Fix for extra-long timezones (Jeroen van Vianen) -Make pg_dump preserve primary key information (Peter E) -Prevent databases with single quotes (Peter E) -Prevent DROP DATABASE inside transaction (Peter E) -ecpg memory leak fixes (Stephen Birch) -Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom) -Y2K timestamp fix (Massimo) -Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom) -Fix for views with tables/columns containing spaces (Tom) -Prevent privileges on indexes (Peter E) -Fix for spinlock stuck problem when error is generated (Hiroshi) -Fix ipcclean on Linux -Fix handling of NULL constraint conditions (Tom) -Fix memory leak in odbc driver (Nick Gorham) -Fix for privilege check on UNION tables (Tom) -Fix to allow SELECT 'a' LIKE 'a' (Tom) -Fix for SELECT 1 + NULL (Tom) -Fixes to CHAR -Fix log() on numeric type (Tom) -Deprecate ':' and ';' operators -Allow vacuum of temporary tables -Disallow inherited columns with the same name as new columns -Recover or force failure when disk space is exhausted (Hiroshi) -Fix INSERT INTO ... SELECT with AS columns matching result columns -Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns ( -Tom) -Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom) -Fix UNION with LIMIT -Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2 -Fix CREATE TABLE test(col char(2) DEFAULT user) -Fix mismatched types in CREATE TABLE ... DEFAULT -Fix SELECT * FROM pg_class where oid in (0,-1) -Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12 -Prevent user who can create databases can modifying pg_database table (Peter E) -Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom) -Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom) - -Enhancements ------------- -New CLI interface include file sqlcli.h, based on SQL3/SQL98 -Remove all limits on query length, row length limit still exists (Tom) -Update jdbc protocol to 2.0 (Jens Glaser ) -Add TRUNCATE command to quickly truncate relation (Mike Mascari) -Fix to give super user and createdb user proper update catalog rights (Peter E) -Allow ecpg bool variables to have NULL values (Christof) -Issue ecpg error if NULL value for variable with no NULL indicator (Christof) -Allow ^C to cancel COPY command (Massimo) -Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo) -Function name overloading for dynamically-loaded C functions (Frankpitt) -Add CmdTuples() to libpq++(Vince) -New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan) -Allow CREATE FUNCTION/WITH clause to be used for all language types -configure --enable-debug adds -g (Peter E) -configure --disable-debug removes -g (Peter E) -Allow more complex default expressions (Tom) -First real FOREIGN KEY constraint trigger functionality (Jan) -Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan) -Add FOREIGN KEY ... MATCH referential actions (Don Baccus) -Allow WHERE restriction on ctid (physical heap location) (Hiroshi) -Move pginterface from contrib to interface directory, rename to pgeasy (Bruce) -Change pgeasy connectdb() parameter ordering (Bruce) -Require SELECT DISTINCT target list to have all ORDER BY columns (Tom) -Add Oracle's COMMENT ON command (Mike Mascari ) -libpq's PQsetNoticeProcessor function now returns previous hook(Peter E) -Prevent PQsetNoticeProcessor from being set to NULL (Peter E) -Make USING in COPY optional (Bruce) -Allow subselects in the target list (Tom) -Allow subselects on the left side of comparison operators (Tom) -New parallel regression test (Jan) -Change backend-side COPY to write files with permissions 644 not 666 (Tom) -Force permissions on PGDATA directory to be secure, even if it exists (Tom) -Added psql LASTOID variable to return last inserted oid (Peter E) -Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom) -Add privilege check for vacuum (Peter E) -New libpq functions to allow asynchronous connections: PQconnectStart(), - PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(), - PQsetenvPoll(), PQsetenvAbort (Ewan Mellor) -New libpq PQsetenv() function (Ewan Mellor) -create/alter user extension (Peter E) -New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo) -New scripts for create/drop user/db (Peter E) -Major psql overhaul (Peter E) -Add const to libpq interface (Peter E) -New libpq function PQoidValue (Peter E) -Show specific non-aggregate causing problem with GROUP BY (Tom) -Make changes to pg_shadow recreate pg_pwd file (Peter E) -Add aggregate(DISTINCT ...) (Tom) -Allow flag to control COPY input/output of NULLs (Peter E) -Make postgres user have a password by default (Peter E) -Add CREATE/ALTER/DROP GROUP (Peter E) -All administration scripts now support --long options (Peter E, Karel) -Vacuumdb script now supports --all option (Peter E) -ecpg new portable FETCH syntax -Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF - and EXEC SQL ENDIF directives -Add pg_ctl script to control backend start-up (Tatsuo) -Add postmaster.opts.default file to store start-up flags (Tatsuo) -Allow --with-mb=SQL_ASCII -Increase maximum number of index keys to 16 (Bruce) -Increase maximum number of function arguments to 16 (Bruce) -Allow configuration of maximum number of index keys and arguments (Bruce) -Allow unprivileged users to change their passwords (Peter E) -Password authentication enabled; required for new users (Peter E) -Disallow dropping a user who owns a database (Peter E) -Change initdb option --with-mb to --enable-multibyte -Add option for initdb to prompts for superuser password (Peter E) -Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom) -Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E) -New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo) -libpq non-blocking mode (Alfred Perlstein) -Improve conversion of types in casts that don't specify a length -New plperl internal programming language (Mark Hollomon) -Allow COPY IN to read file that do not end with a newline (Tom) -Indicate when long identifiers are truncated (Tom) -Allow aggregates to use type equivalency (Peter E) -Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number() - conversion functions (Karel Zak ) -Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom) -Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom) -Add NUMERIC and int8 types to ODBC -Improve EXPLAIN results for Append, Group, Agg, Unique (Tom) -Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo) -Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi) -Enable backward sequential scan even after reaching EOF (Hiroshi) -Add btree indexing of boolean values, >= and <= (Don Baccus) -Print current line number when COPY FROM fails (Massimo) -Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas) -Add DEC as synonym for DECIMAL (Thomas) -Add SESSION_USER as SQL92 key word, same as CURRENT_USER (Thomas) -Implement SQL92 column aliases (aka correlation names) (Thomas) -Implement SQL92 join syntax (Thomas) -Make INTERVAL reserved word allowed as a column identifier (Thomas) -Implement REINDEX command (Hiroshi) -Accept ALL in aggregate function SUM(ALL col) (Tom) -Prevent GROUP BY from using column aliases (Tom) -New psql \encoding option (Tatsuo) -Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi) -Allow negation of a negative number in all cases -Add ecpg descriptors (Christof, Michael) -Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl -Allow casts with length, like foo::char(8) -New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo) -Add support for SJIS user defined characters (Tatsuo) -Larger views/rules supported -Make libpq's PQconndefaults() thread-safe (Tom) -Disable // as comment to be ANSI conforming, should use -- (Tom) -Allow column aliases on views CREATE VIEW name (collist) -Fixes for views with subqueries (Tom) -Allow UPDATE table SET fld = (SELECT ...) (Tom) -SET command options no longer require quotes -Update pgaccess to 0.98.6 -New SET SEED command -New pg_options.sample file -New SET FSYNC command (Massimo) -Allow pg_descriptions when creating tables -Allow pg_descriptions when creating types, columns, and functions -Allow psql \copy to allow delimiters (Peter E) -Allow psql to print nulls as distinct from "" [null] (Peter E) - -Types ------ -Many array fixes (Tom) -Allow bare column names to be subscripted as arrays (Tom) -Improve type casting of int and float constants (Tom) -Cleanups for int8 inputs, range checking, and type conversion (Tom) -Fix for SELECT timespan('21:11:26'::time) (Tom) -netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko) -Add btree index on NUMERIC (Jan) -Perl fix for large objects containing NUL characters (Douglas Thomson) -ODBC fix for large objects (free) -Fix indexing of cidr data type -Fix for Ethernet MAC addresses (macaddr type) comparisons -Fix for date/time types when overflows happened in computations (Tom) -Allow array on int8 (Peter E) -Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom) -Allow NUMERIC arrays -Fix bugs in NUMERIC ceil() and floor() functions (Tom) -Make char_length()/octet_length including trailing blanks (Tom) -Made abstime/reltime use int4 instead of time_t (Peter E) -New lztext data type for compressed text fields -Revise code to handle coercion of int and float constants (Tom) -Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert) -NUMERIC now accepts scientific notation (Tom) -NUMERIC to int4 rounds (Tom) -Convert float4/8 to NUMERIC properly (Tom) -Allow type conversion with NUMERIC (Thomas) -Make ISO date style (2000-02-16 09:33) the default (Thomas) -Add NATIONAL CHAR [ VARYING ] (Thomas) -Allow NUMERIC round and trunc to accept negative scales (Tom) -New TIME WITH TIME ZONE type (Thomas) -Add MAX()/MIN() on time type (Thomas) -Add abs(), mod(), fac() for int8 (Thomas) -Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas) -Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas) -Add exp() and ln() for NUMERIC type -Rename NUMERIC power() to pow() (Thomas) -Improved TRANSLATE() function (Edwin Ramirez, Tom) -Allow X=-Y operators (Tom) -Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom) -Allow LOCALE to use indexes in regular expression searches (Tom) -Allow creation of functional indexes to use default types - -Performance ------------ -Prevent exponential space consumption with many AND's and OR's (Tom) -Collect attribute selectivity values for system columns (Tom) -Reduce memory usage of aggregates (Tom) -Fix for LIKE optimization to use indexes with multibyte encodings (Tom) -Fix r-tree index optimizer selectivity (Thomas) -Improve optimizer selectivity computations and functions (Tom) -Optimize btree searching for cases where many equal keys exist (Tom) -Enable fast LIKE index processing only if index present (Tom) -Re-use free space on index pages with duplicates (Tom) -Improve hash join processing (Tom) -Prevent descending sort if result is already sorted(Hiroshi) -Allow commuting of index scan query qualifications (Tom) -Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom) -Allocate large memory requests in fix-sized chunks for performance (Tom) -Fix vacuum's performance by reducing memory allocation requests (Tom) -Implement constant-expression simplification (Bernard Frankpitt, Tom) -Use secondary columns to be used to determine start of index scan (Hiroshi) -Prevent quadruple use of disk space when doing internal sorting (Tom) -Faster sorting by calling fewer functions (Tom) -Create system indexes to match all system caches (Bruce, Hiroshi) -Make system caches use system indexes (Bruce) -Make all system indexes unique (Bruce) -Improve pg_statistics management for VACUUM speed improvement (Tom) -Flush backend cache less frequently (Tom, Hiroshi) -COPY now reuses previous memory allocation, improving performance (Tom) -Improve optimization cost estimation (Tom) -Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom) -Use DNF instead of CNF where appropriate (Tom, Taral) -Further cleanup for OR-of-AND WHERE-clauses (Tom) -Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom) -Smarter optimizer computations for random index page access (Tom) -New SET variable to control optimizer costs (Tom) -Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom) -Reduce optimizer internal housekeeping of join paths for speedup (Tom) -Major subquery speedup (Tom) -Fewer fsync writes when fsync is not disabled (Tom) -Improved LIKE optimizer estimates (Tom) -Prevent fsync in SELECT-only queries (Vadim) -Make index creation use psort code, because it is now faster (Tom) -Allow creation of sort temp tables > 1 Gig - -Source Tree Changes -------------------- -Fix for linux PPC compile -New generic expression-tree-walker subroutine (Tom) -Change form() to varargform() to prevent portability problems -Improved range checking for large integers on Alphas -Clean up #include in /include directory (Bruce) -Add scripts for checking includes (Bruce) -Remove un-needed #include's from *.c files (Bruce) -Change #include's to use <> and "" as appropriate (Bruce) -Enable Windows compilation of libpq -Alpha spinlock fix from Uncle George -Overhaul of optimizer data structures (Tom) -Fix to cygipc library (Yutaka Tanida) -Allow pgsql to work on newer Cygwin snapshots (Dan) -New catalog version number (Tom) -Add Linux ARM -Rename heap_replace to heap_update -Update for QNX (Dr. Andreas Kardos) -New platform-specific regression handling (Tom) -Rename oid8 -> oidvector and int28 -> int2vector (Bruce) -Included all yacc and lex files into the distribution (Peter E.) -Remove lextest, no longer needed (Peter E) -Fix for libpq and psql on Windows (Magnus) -Internally change datetime and timespan into timestamp and interval (Thomas) -Fix for plpgsql on BSD/OS -Add SQL_ASCII test case to the regression test (Tatsuo) -configure --with-mb now deprecated (Tatsuo) -NT fixes -NetBSD fixes (Johnny C. Lam ) -Fixes for Alpha compiles -New multibyte encodings - __________________________________________________________________ - - Release 6.5.3 - - Release date: 1999-10-13 - - This is basically a cleanup release for 6.5.2. We have added a new - PgAccess that was missing in 6.5.2, and installed an NT-specific fix. - __________________________________________________________________ - -Migration to Version 6.5.3 - - A dump/restore is *not* required for those running 6.5.*. - __________________________________________________________________ - -Changes - -Updated version of pgaccess 0.98 -NT-specific patch -Fix dumping rules on inherited tables - __________________________________________________________________ - - Release 6.5.2 - - Release date: 1999-09-15 - - This is basically a cleanup release for 6.5.1. We have fixed a variety - of problems reported by 6.5.1 users. - __________________________________________________________________ - -Migration to Version 6.5.2 - - A dump/restore is *not* required for those running 6.5.*. - __________________________________________________________________ - -Changes - -subselect+CASE fixes(Tom) -Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik) -Fixes for CASE in WHERE join clauses(Tom) -Fix BTScan abort(Tom) -Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas) -Improve it so that it checks for multicolumn constraints(Thomas) -Fix for Windows making problem with MB enabled(Hiroki Kataoka) -Allow BSD yacc and bison to compile pl code(Bruce) -Fix SET NAMES working -int8 fixes(Thomas) -Fix vacuum's memory consumption(Hiroshi,Tatsuo) -Reduce the total memory consumption of vacuum(Tom) -Fix for timestamp(datetime) -Rule deparsing bugfixes(Tom) -Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom -) -This is to re-use space on index pages freed by vacuum(Vadim) -document -x for pg_dump(Bruce) -Fix for unary operators in rule deparser(Tom) -Comment out FileUnlink of excess segments during mdtruncate()(Tom) -IRIX linking fix from Yu Cao >yucao@falcon.kla-tencor.com< -Repair logic error in LIKE: should not return LIKE_ABORT - when reach end of pattern before end of text(Tom) -Repair incorrect cleanup of heap memory allocation during transaction abort(Tom) -Updated version of pgaccess 0.98 - __________________________________________________________________ - - Release 6.5.1 - - Release date: 1999-07-15 - - This is basically a cleanup release for 6.5. We have fixed a variety of - problems reported by 6.5 users. - __________________________________________________________________ - -Migration to Version 6.5.1 - - A dump/restore is *not* required for those running 6.5. - __________________________________________________________________ - -Changes - -Add NT README file -Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha -Remove QUERY_LIMIT, use SELECT...LIMIT -Fix for EXPLAIN on inheritance(Tom) -Patch to allow vacuum on multisegment tables(Hiroshi) -R-Tree optimizer selectivity fix(Tom) -ACL file descriptor leak fix(Atsushi Ogawa) -New expression subtree code(Tom) -Avoid disk writes for read-only transactions(Vadim) -Fix for removal of temp tables if last transaction was aborted(Bruce) -Fix to prevent too large row from being created(Bruce) -plpgsql fixes -Allow port numbers 32k - 64k(Bruce) -Add ^ precedence(Bruce) -Rename sort files called pg_temp to pg_sorttemp(Bruce) -Fix for microseconds in time values(Tom) -Tutorial source cleanup -New linux_m68k port -Fix for sorting of NULL's in some cases(Tom) -Shared library dependencies fixed (Tom) -Fixed glitches affecting GROUP BY in subselects(Tom) -Fix some compiler warnings (Tomoaki Nishiyama) -Add Win1250 (Czech) support (Pavel Behal) - __________________________________________________________________ - - Release 6.5 - - Release date: 1999-06-09 - - This release marks a major step in the development team's mastery of - the source code we inherited from Berkeley. You will see we are now - easily adding major features, thanks to the increasing size and - experience of our world-wide development team. - - Here is a brief summary of the more notable changes: - - Multiversion concurrency control(MVCC) - This removes our old table-level locking, and replaces it with a - locking system that is superior to most commercial database - systems. In a traditional system, each row that is modified is - locked until committed, preventing reads by other users. MVCC - uses the natural multiversion nature of PostgreSQL to allow - readers to continue reading consistent data during writer - activity. Writers continue to use the compact pg_log transaction - system. This is all performed without having to allocate a lock - for every row like traditional database systems. So, basically, - we no longer are restricted by simple table-level locking; we - have something better than row-level locking. - - Hot backups from pg_dump - pg_dump takes advantage of the new MVCC features to give a - consistent database dump/backup while the database stays online - and available for queries. - - Numeric data type - We now have a true numeric data type, with user-specified - precision. - - Temporary tables - Temporary tables are guaranteed to have unique names within a - database session, and are destroyed on session exit. - - New SQL features - We now have CASE, INTERSECT, and EXCEPT statement support. We - have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT - ... FOR UPDATE, and an improved LOCK TABLE command. - - Speedups - We continue to speed up PostgreSQL, thanks to the variety of - talents within our team. We have sped up memory allocation, - optimization, table joins, and row transfer routines. - - Ports - We continue to expand our port list, this time including Windows - NT/ix86 and NetBSD/arm32. - - Interfaces - Most interfaces have new versions, and existing functionality - has been improved. - - Documentation - New and updated material is present throughout the - documentation. New FAQs have been contributed for SGI and AIX - platforms. The Tutorial has introductory information on SQL from - Stefan Simkovics. For the User's Guide, there are reference - pages covering the postmaster and more utility programs, and a - new appendix contains details on date/time behavior. The - Administrator's Guide has a new chapter on troubleshooting from - Tom Lane. And the Programmer's Guide has a description of query - processing, also from Stefan, and details on obtaining the - PostgreSQL source tree via anonymous CVS and CVSup. - __________________________________________________________________ - -Migration to Version 6.5 - - A dump/restore using pg_dump is required for those wishing to migrate - data from any previous release of PostgreSQL. pg_upgrade can *not* be - used to upgrade to this release because the on-disk structure of the - tables has changed compared to previous releases. - - The new Multiversion Concurrency Control (MVCC) features can give - somewhat different behaviors in multiuser environments. *Read and - understand the following section to ensure that your existing - applications will give you the behavior you need.* - __________________________________________________________________ - -Multiversion Concurrency Control - - Because readers in 6.5 don't lock data, regardless of transaction - isolation level, data read by one transaction can be overwritten by - another. In other words, if a row is returned by "SELECT" it doesn't - mean that this row really exists at the time it is returned (i.e. - sometime after the statement or transaction began) nor that the row is - protected from being deleted or updated by concurrent transactions - before the current transaction does a commit or rollback. - - To ensure the actual existence of a row and protect it against - concurrent updates one must use "SELECT FOR UPDATE" or an appropriate - "LOCK TABLE" statement. This should be taken into account when porting - applications from previous releases of PostgreSQL and other - environments. - - Keep the above in mind if you are using "contrib/refint.*" triggers for - referential integrity. Additional techniques are required now. One way - is to use "LOCK parent_table IN SHARE ROW EXCLUSIVE MODE" command if a - transaction is going to update/delete a primary key and use "LOCK - parent_table IN SHARE MODE" command if a transaction is going to - update/insert a foreign key. - - Note: Note that if you run a transaction in SERIALIZABLE mode then - you must execute the "LOCK" commands above before execution of any - DML statement ("SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO") in the - transaction. - - These inconveniences will disappear in the future when the ability to - read dirty (uncommitted) data (regardless of isolation level) and true - referential integrity will be implemented. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Fix text<->float8 and text<->float4 conversion functions(Thomas) -Fix for creating tables with mixed-case constraints(Billy) -Change exp()/pow() behavior to generate error on underflow/overflow(Jan) -Fix bug in pg_dump -z -Memory overrun cleanups(Tatsuo) -Fix for lo_import crash(Tatsuo) -Adjust handling of data type names to suppress double quotes(Thomas) -Use type coercion for matching columns and DEFAULT(Thomas) -Fix deadlock so it only checks once after one second of sleep(Bruce) -Fixes for aggregates and PL/pgsql(Hiroshi) -Fix for subquery crash(Vadim) -Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo) -Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo) -Fix for pg_dump -d or -D and quote special characters in INSERT -Repair serious problems with dynahash(Tom) -Fix INET/CIDR portability problems -Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce) -Fix executor so mergejoin of different column types works(Tom) -Fix for Alpha OR selectivity bug -Fix OR index selectivity problem(Bruce) -Fix so \d shows proper length for char()/varchar()(Ryan) -Fix tutorial code(Clark) -Improve destroyuser checking(Oliver) -Fix for Kerberos(Rodney McDuff) -Fix for dropping database while dirty buffers(Bruce) -Fix so sequence nextval() can be case-sensitive(Bruce) -Fix !!= operator -Drop buffers before destroying database files(Bruce) -Fix case where executor evaluates functions twice(Tatsuo) -Allow sequence nextval actions to be case-sensitive(Bruce) -Fix optimizer indexing not working for negative numbers(Bruce) -Fix for memory leak in executor with fjIsNull -Fix for aggregate memory leaks(Erik Riedel) -Allow user name containing a dash to grant privileges -Cleanup of NULL in inet types -Clean up system table bugs(Tom) -Fix problems of PAGER and \? command(Masaaki Sakaida) -Reduce default multisegment file size limit to 1GB(Peter) -Fix for dumping of CREATE OPERATOR(Tom) -Fix for backward scanning of cursors(Hiroshi Inoue) -Fix for COPY FROM STDIN when using \i(Tom) -Fix for subselect is compared inside an expression(Jan) -Fix handling of error reporting while returning rows(Tom) -Fix problems with reference to array types(Tom,Jan) -Prevent UPDATE SET oid(Jan) -Fix pg_dump so -t option can handle case-sensitive tablenames -Fixes for GROUP BY in special cases(Tom, Jan) -Fix for memory leak in failed queries(Tom) -DEFAULT now supports mixed-case identifiers(Tom) -Fix for multisegment uses of DROP/RENAME table, indexes(Ole Gjerde) -Disable use of pg_dump with both -o and -d options(Bruce) -Allow pg_dump to properly dump group privileges(Bruce) -Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan) -Fix for computations in views(Jan) -Fix for aggregates on array indexes(Tom) -Fix for DEFAULT handles single quotes in value requiring too many quotes -Fix security problem with non-super users importing/exporting large objects(Tom) -Rollback of transaction that creates table cleaned up properly(Tom) -Fix to allow long table and column names to generate proper serial names(Tom) - -Enhancements ------------- -Add "vacuumdb" utility -Speed up libpq by allocating memory better(Tom) -EXPLAIN all indexes used(Tom) -Implement CASE, COALESCE, NULLIF expression(Thomas) -New pg_dump table output format(Constantin) -Add string min()/max() functions(Thomas) -Extend new type coercion techniques to aggregates(Thomas) -New moddatetime contrib(Terry) -Update to pgaccess 0.96(Constantin) -Add routines for single-byte "char" type(Thomas) -Improved substr() function(Thomas) -Improved multibyte handling(Tatsuo) -Multiversion concurrency control/MVCC(Vadim) -New Serialized mode(Vadim) -Fix for tables over 2gigs(Peter) -New SET TRANSACTION ISOLATION LEVEL(Vadim) -New LOCK TABLE IN ... MODE(Vadim) -Update ODBC driver(Byron) -New NUMERIC data type(Jan) -New SELECT FOR UPDATE(Vadim) -Handle "NaN" and "Infinity" for input values(Jan) -Improved date/year handling(Thomas) -Improved handling of backend connections(Magnus) -New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo) -New TCL_ARRAYS option(Massimo) -New INTERSECT and EXCEPT(Stefan) -New pg_index.indisprimary for primary key tracking(D'Arcy) -New pg_dump option to allow dropping of tables before creation(Brook) -Speedup of row output routines(Tom) -New READ COMMITTED isolation level(Vadim) -New TEMP tables/indexes(Bruce) -Prevent sorting if result is already sorted(Jan) -New memory allocation optimization(Jan) -Allow psql to do \p\g(Bruce) -Allow multiple rule actions(Jan) -Added LIMIT/OFFSET functionality(Jan) -Improve optimizer when joining a large number of tables(Bruce) -New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas) -New intro to backend processing from S. Simkovics' Master's Thesis (Stefan) -Improved int8 support(Ryan Bradetich, Thomas, Tom) -New routines to convert between int8 and text/varchar types(Thomas) -New bushy plans, where meta-tables are joined(Bruce) -Enable right-hand queries by default(Bruce) -Allow reliable maximum number of backends to be set at configure time - (--with-maxbackends and postmaster switch (-N backends))(Tom) -GEQO default now 10 tables because of optimizer speedups(Tom) -Allow NULL=Var for MS-SQL portability(Michael, Bruce) -Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand) -Allow psql \d on a view show query(Ryan) -Speedup for LIKE(Bruce) -Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael) -JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter) -Make % operator have precedence like /(Bruce) -Add new postgres -O option to allow system table structure changes(Bruce) -Update contrib/pginterface/findoidjoins script(Tom) -Major speedup in vacuum of deleted rows with indexes(Vadim) -Allow non-SQL functions to run different versions based on arguments(Tom) -Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida) -Add version number in start-up banners for psql(Masaaki Sakaida) -New contrib/vacuumlo removes large objects not referenced(Peter) -New initialization for table sizes so non-vacuumed tables perform better(Tom) -Improve error messages when a connection is rejected(Tom) -Support for arrays of char() and varchar() fields(Massimo) -Overhaul of hash code to increase reliability and performance(Tom) -Update to PyGreSQL 2.4(D'Arcy) -Changed debug options so -d4 and -d5 produce different node displays(Jan) -New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan) -Better optimization statistics for system table access(Tom) -Better handling of non-default block sizes(Massimo) -Improve GEQO optimizer memory consumption(Tom) -UNION now supports ORDER BY of columns not in target list(Jan) -Major libpq++ improvements(Vince Vielhaber) -pg_dump now uses -z(ACL's) as default(Bruce) -backend cache, memory speedups(Tom) -have pg_dump do everything in one snapshot transaction(Vadim) -fix for large object memory leakage, fix for pg_dumping(Tom) -INET type now respects netmask for comparisons -Make VACUUM ANALYZE only use a readlock(Vadim) -Allow VIEWs on UNIONS(Jan) -pg_dump now can generate consistent snapshots on active databases(Vadim) - -Source Tree Changes -------------------- -Improve port matching(Tom) -Portability fixes for SunOS -Add Windows NT backend port and enable dynamic loading(Magnus and Daniel Horak) -New port to Cobalt Qube(Mips) running Linux(Tatsuo) -Port to NetBSD/m68k(Mr. Mutsuki Nakajima) -Port to NetBSD/sun3(Mr. Mutsuki Nakajima) -Port to NetBSD/macppc(Toshimi Aoki) -Fix for tcl/tk configuration(Vince) -Removed CURRENT key word for rule queries(Jan) -NT dynamic loading now works(Daniel Horak) -Add ARM32 support(Andrew McMurry) -Better support for HP-UX 11 and UnixWare -Improve file handling to be more uniform, prevent file descriptor leak(Tom) -New install commands for plpgsql(Jan) - __________________________________________________________________ - - Release 6.4.2 - - Release date: 1998-12-20 - - The 6.4.1 release was improperly packaged. This also has one additional - bug fix. - __________________________________________________________________ - -Migration to Version 6.4.2 - - A dump/restore is *not* required for those running 6.4.*. - __________________________________________________________________ - -Changes - -Fix for datetime constant problem on some platforms(Thomas) - __________________________________________________________________ - - Release 6.4.1 - - Release date: 1998-12-18 - - This is basically a cleanup release for 6.4. We have fixed a variety of - problems reported by 6.4 users. - __________________________________________________________________ - -Migration to Version 6.4.1 - - A dump/restore is *not* required for those running 6.4. - __________________________________________________________________ - -Changes - -Add pg_dump -N flag to force double quotes around identifiers. This is - the default(Thomas) -Fix for NOT in where clause causing crash(Bruce) -EXPLAIN VERBOSE coredump fix(Vadim) -Fix shared-library problems on Linux -Fix test for table existence to allow mixed-case and whitespace in - the table name(Thomas) -Fix a couple of pg_dump bugs -Configure matches template/.similar entries better(Tom) -Change builtin function names from SPI_* to spi_* -OR WHERE clause fix(Vadim) -Fixes for mixed-case table names(Billy) -contrib/linux/postgres.init.csh/sh fix(Thomas) -libpq memory overrun fix -SunOS fixes(Tom) -Change exp() behavior to generate error on underflow(Thomas) -pg_dump fixes for memory leak, inheritance constraints, layout change -update pgaccess to 0.93 -Fix prototype for 64-bit platforms -Multibyte fixes(Tatsuo) -New ecpg man page -Fix memory overruns(Tatsuo) -Fix for lo_import() crash(Bruce) -Better search for install program(Tom) -Timezone fixes(Tom) -HP-UX fixes(Tom) -Use implicit type coercion for matching DEFAULT values(Thomas) -Add routines to help with single-byte (internal) character type(Thomas) -Compilation of libpq for Windows fixes(Magnus) -Upgrade to PyGreSQL 2.2(D'Arcy) - __________________________________________________________________ - - Release 6.4 - - Release date: 1998-10-30 - - There are *many* new features and improvements in this release. Thanks - to our developers and maintainers, nearly every aspect of the system - has received some attention since the previous release. Here is a - brief, incomplete summary: - - * Views and rules are now functional thanks to extensive new code in - the rewrite rules system from Jan Wieck. He also wrote a chapter on - it for the Programmer's Guide. - * Jan also contributed a second procedural language, PL/pgSQL, to go - with the original PL/pgTCL procedural language he contributed last - release. - * We have optional multiple-byte character set support from Tatsuo - Ishii to complement our existing locale support. - * Client/server communications has been cleaned up, with better - support for asynchronous messages and interrupts thanks to Tom - Lane. - * The parser will now perform automatic type coercion to match - arguments to available operators and functions, and to match - columns and expressions with target columns. This uses a generic - mechanism which supports the type extensibility features of - PostgreSQL. There is a new chapter in the User's Guide which covers - this topic. - * Three new data types have been added. Two types, inet and cidr, - support various forms of IP network, subnet, and machine - addressing. There is now an 8-byte integer type available on some - platforms. See the chapter on data types in the User's Guide for - details. A fourth type, serial, is now supported by the parser as - an amalgam of the int4 type, a sequence, and a unique index. - * Several more SQL92-compatible syntax features have been added, - including "INSERT DEFAULT VALUES" - * The automatic configuration and installation system has received - some attention, and should be more robust for more platforms than - it has ever been. - __________________________________________________________________ - -Migration to Version 6.4 - - A dump/restore using pg_dump or pg_dumpall is required for those - wishing to migrate data from any previous release of PostgreSQL. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan) -Remove char2-16 data types, use char/varchar(Darren) -Pqfn not handles a NOTICE message(Anders) -Reduced busywaiting overhead for spinlocks with many backends (dg) -Stuck spinlock detection (dg) -Fix up "ISO-style" timespan decoding and encoding(Thomas) -Fix problem with table drop after rollback of transaction(Vadim) -Change error message and remove non-functional update message(Vadim) -Fix for COPY array checking -Fix for SELECT 1 UNION SELECT NULL -Fix for buffer leaks in large object calls(Pascal) -Change owner from oid to int4 type(Bruce) -Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim() -Fix for shared invalidation cache overflow(Massimo) -Prevent file descriptor leaks in failed COPY's(Bruce) -Fix memory leak in libpgtcl's pg_select(Constantin) -Fix problems with username/passwords over 8 characters(Tom) -Fix problems with handling of asynchronous NOTIFY in backend(Tom) -Fix of many bad system table entries(Tom) - -Enhancements ------------- -Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael) -Show the index used in an EXPLAIN(Zeugswetter) -EXPLAIN invokes rule system and shows plan(s) for rewritten queries(Jan) -Multibyte awareness of many data types and functions, via configure(Tatsuo) -New configure --with-mb option(Tatsuo) -New initdb --pgencoding option(Tatsuo) -New createdb -E multibyte option(Tatsuo) -Select version(); now returns PostgreSQL version(Jeroen) -libpq now allows asynchronous clients(Tom) -Allow cancel from client of backend query(Tom) -psql now cancels query with Control-C(Tom) -libpq users need not issue dummy queries to get NOTIFY messages(Tom) -NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom) -PGresult struct now includes associated error message, if any(Tom) -Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas) -Add routines to convert between varchar and bpchar(Thomas) -Add routines to allow sizing of varchar and bpchar into target columns(Thomas) -Add bit flags to support timezonehour and minute in data retrieval(Thomas) -Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas) -Fixes for unary minus parsing with leading spaces(Thomas) -Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas) -Check for and properly ignore FOREIGN KEY column constraints(Thomas) -Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas) -Enable HAVING clause but no fixes elsewhere yet. -Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas -) -Save string type if specified for DEFAULT clause handling(Thomas) -Coerce operations involving different data types(Thomas) -Allow some index use for columns of different types(Thomas) -Add capabilities for automatic type conversion(Thomas) -Cleanups for large objects, so file is truncated on open(Peter) -Readline cleanups(Tom) -Allow psql \f \ to make spaces as delimiter(Bruce) -Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce) -Msql compatibility library in /contrib(Aldrin) -Remove the requirement that ORDER/GROUP BY clause identifiers be -included in the target list(David) -Convert columns to match columns in UNION clauses(Thomas) -Remove fork()/exec() and only do fork()(Bruce) -Jdbc cleanups(Peter) -Show backend status on ps command line(only works on some platforms)(Bruce) -Pg_hba.conf now has a sameuser option in the database field -Make lo_unlink take oid param, not int4 -New DISABLE_COMPLEX_MACRO for compilers that cannot handle our macros(Bruce) -Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom) -libpgtcl cleanups(Tom) -Add -error option to libpgtcl's pg_result command(Tom) -New locale patch, see docs/README/locale(Oleg) -Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb) -New contrib/lo code for large object orphan removal(Peter) -New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes -feature, see /doc/README.mb(Tatsuo) -contrib/noupdate code to revoke update permission on a column -libpq can now be compiled on Windows(Magnus) -Add PQsetdbLogin() in libpq -New 8-byte integer type, checked by configure for OS support(Thomas) -Better support for quoted table/column names(Thomas) -Surround table and column names with double-quotes in pg_dump(Thomas) -PQreset() now works with passwords(Tom) -Handle case of GROUP BY target list column number out of range(David) -Allow UNION in subselects -Add auto-size to screen to \d? commands(Bruce) -Use UNION to show all \d? results in one query(Bruce) -Add \d? field search feature(Bruce) -Pg_dump issues fewer \connect requests(Tom) -Make pg_dump -z flag work better, document it in manual page(Tom) -Add HAVING clause with full support for subselects and unions(Stephan) -Full text indexing routines in contrib/fulltextindex(Maarten) -Transaction ids now stored in shared memory(Vadim) -New PGCLIENTENCODING when issuing COPY command(Tatsuo) -Support for SQL92 syntax "SET NAMES"(Tatsuo) -Support for LATIN2-5(Tatsuo) -Add UNICODE regression test case(Tatsuo) -Lock manager cleanup, new locking modes for LLL(Vadim) -Allow index use with OR clauses(Bruce) -Allows "SELECT NULL ORDER BY 1;" -Explain VERBOSE prints the plan, and now pretty-prints the plan to -the postmaster log file(Bruce) -Add indexes display to \d command(Bruce) -Allow GROUP BY on functions(David) -New pg_class.relkind for large objects(Bruce) -New way to send libpq NOTICE messages to a different location(Tom) -New \w write command to psql(Bruce) -New /contrib/findoidjoins scans oid columns to find join relationships(Bruce) -Allow binary-compatible indexes to be considered when checking for valid -Indexes for restriction clauses containing a constant(Thomas) -New ISBN/ISSN code in /contrib/isbn_issn -Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas) -New rewrite system fixes many problems with rules and views(Jan) - * Rules on relations work - * Event qualifications on insert/update/delete work - * New OLD variable to reference CURRENT, CURRENT will be remove in future - * Update rules can reference NEW and OLD in rule qualifications/actions - * Insert/update/delete rules on views work - * Multiple rule actions are now supported, surrounded by parentheses - * Regular users can create views/rules on tables they have RULE permits - * Rules and views inherit the privileges of the creator - * No rules at the column level - * No UPDATE NEW/OLD rules - * New pg_tables, pg_indexes, pg_rules and pg_views system views - * Only a single action on SELECT rules - * Total rewrite overhaul, perhaps for 6.5 - * handle subselects - * handle aggregates on views - * handle insert into select from view works -System indexes are now multikey(Bruce) -Oidint2, oidint4, and oidname types are removed(Bruce) -Use system cache for more system table lookups(Bruce) -New backend programming language PL/pgSQL in backend/pl(Jan) -New SERIAL data type, auto-creates sequence/index(Thomas) -Enable assert checking without a recompile(Massimo) -User lock enhancements(Massimo) -New setval() command to set sequence value(Massimo) -Auto-remove unix socket file on start-up if no postmaster running(Massimo) -Conditional trace package(Massimo) -New UNLISTEN command(Massimo) -psql and libpq now compile under Windows using win32.mak(Magnus) -Lo_read no longer stores trailing NULL(Bruce) -Identifiers are now truncated to 31 characters internally(Bruce) -Createuser options now available on the command line -Code for 64-bit integer supported added, configure tested, int8 type(Thomas) -Prevent file descriptor leaf from failed COPY(Bruce) -New pg_upgrade command(Bruce) -Updated /contrib directories(Massimo) -New CREATE TABLE DEFAULT VALUES statement available(Thomas) -New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas) -New DECLARE and FETCH feature(Thomas) -libpq's internal structures now not exported(Tom) -Allow up to 8 key indexes(Bruce) -Remove ARCHIVE key word, that is no longer used(Thomas) -pg_dump -n flag to suppress quotes around indentifiers -disable system columns for views(Jan) -new INET and CIDR types for network addresses(TomH, Paul) -no more double quotes in psql output -pg_dump now dumps views(Terry) -new SET QUERY_LIMIT(Tatsuo,Jan) - -Source Tree Changes -------------------- -/contrib cleanup(Jun) -Inline some small functions called for every row(Bruce) -Alpha/linux fixes -HP-UX cleanups(Tom) -Multibyte regression tests(Soonmyung.) -Remove --disabled options from configure -Define PGDOC to use POSTGRESDIR by default -Make regression optional -Remove extra braces code to pgindent(Bruce) -Add bsdi shared library support(Bruce) -New --without-CXX support configure option(Brook) -New FAQ_CVS -Update backend flowchart in tools/backend(Bruce) -Change atttypmod from int16 to int32(Bruce, Tom) -Getrusage() fix for platforms that do not have it(Tom) -Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page -NS32K platform fixes(Phil Nelson, John Buller) -SCO 7/UnixWare 2.x fixes(Billy,others) -Sparc/Solaris 2.5 fixes(Ryan) -Pgbuiltin.3 is obsolete, move to doc files(Thomas) -Even more documentation(Thomas) -Nextstep support(Jacek) -Aix support(David) -pginterface manual page(Bruce) -shared libraries all have version numbers -merged all OS-specific shared library defines into one file -smarter TCL/TK configuration checking(Billy) -smarter perl configuration(Brook) -configure uses supplied install-sh if no install script found(Tom) -new Makefile.shlib for shared library configuration(Tom) - __________________________________________________________________ - - Release 6.3.2 - - Release date: 1998-04-07 - - This is a bug-fix release for 6.3.x. Refer to the release notes for - version 6.3 for a more complete summary of new features. - - Summary: - - * Repairs automatic configuration support for some platforms, - including Linux, from breakage inadvertently introduced in version - 6.3.1. - * Correctly handles function calls on the left side of BETWEEN and - LIKE clauses. - - A dump/restore is NOT required for those running 6.3 or 6.3.1. A make - distclean, make, and make install is all that is required. This last - step should be performed while the postmaster is not running. You - should re-link any custom applications that use PostgreSQL libraries. - - For upgrades from pre-6.3 installations, refer to the installation and - migration instructions for version 6.3. - __________________________________________________________________ - -Changes - -Configure detection improvements for tcl/tk(Brook Milligan, Alvin) -Manual page improvements(Bruce) -BETWEEN and LIKE fix(Thomas) -fix for psql \connect used by pg_dump(Oliver Elphick) -New odbc driver -pgaccess, version 0.86 -qsort removed, now uses libc version, cleanups(Jeroen) -fix for buffer over-runs detected(Maurice Gittens) -fix for buffer overrun in libpgtcl(Randy Kunkee) -fix for UNION with DISTINCT or ORDER BY(Bruce) -gettimeofday configure check(Doug Winterburn) -Fix "indexes not used" bug(Vadim) -docs additions(Thomas) -Fix for backend memory leak(Bruce) -libreadline cleanup(Erwan MAS) -Remove DISTDIR(Bruce) -Makefile dependency cleanup(Jeroen van Vianen) -ASSERT fixes(Bruce) - __________________________________________________________________ - - Release 6.3.1 - - Release date: 1998-03-23 - - Summary: - - * Additional support for multibyte character sets. - * Repair byte ordering for mixed-endian clients and servers. - * Minor updates to allowed SQL syntax. - * Improvements to the configuration autodetection for installation. - - A dump/restore is NOT required for those running 6.3. A make distclean, - make, and make install is all that is required. This last step should - be performed while the postmaster is not running. You should re-link - any custom applications that use PostgreSQL libraries. - - For upgrades from pre-6.3 installations, refer to the installation and - migration instructions for version 6.3. - __________________________________________________________________ - -Changes - -ecpg cleanup/fixes, now version 1.1(Michael Meskes) -pg_user cleanup(Bruce) -large object fix for pg_dump and tclsh (alvin) -LIKE fix for multiple adjacent underscores -fix for redefining builtin functions(Thomas) -ultrix4 cleanup -upgrade to pg_access 0.83 -updated CLUSTER manual page -multibyte character set support, see doc/README.mb(Tatsuo) -configure --with-pgport fix -pg_ident fix -big-endian fix for backend communications(Kataoka) -SUBSTR() and substring() fix(Jan) -several jdbc fixes(Peter) -libpgtcl improvements, see libptcl/README(Randy Kunkee) -Fix for "Datasize = 0" error(Vadim) -Prevent \do from wrapping(Bruce) -Remove duplicate Russian character set entries -Sunos4 cleanup -Allow optional TABLE key word in LOCK and SELECT INTO(Thomas) -CREATE SEQUENCE options to allow a negative integer(Thomas) -Add "PASSWORD" as an allowed column identifier(Thomas) -Add checks for UNION target fields(Bruce) -Fix Alpha port(Dwayne Bailey) -Fix for text arrays containing quotes(Doug Gibson) -Solaris compile fix(Albert Chin-A-Young) -Better identify tcl and tk libs and includes(Bruce) - __________________________________________________________________ - - Release 6.3 - - Release date: 1998-03-01 - - There are *many* new features and improvements in this release. Here is - a brief, incomplete summary: - - * Many new SQL features, including full SQL92 subselect capability - (everything is here but target-list subselects). - * Support for client-side environment variables to specify time zone - and date style. - * Socket interface for client/server connection. This is the default - now so you might need to start postmaster with the "-i" flag. - * Better password authorization mechanisms. Default table privileges - have changed. - * Old-style time travel has been removed. Performance has been - improved. - - Note: Bruce Momjian wrote the following notes to introduce the new - release. - - There are some general 6.3 issues that I want to mention. These are - only the big items that cannot be described in one sentence. A review - of the detailed changes list is still needed. - - First, we now have subselects. Now that we have them, I would like to - mention that without subselects, SQL is a very limited language. - Subselects are a major feature, and you should review your code for - places where subselects provide a better solution for your queries. I - think you will find that there are more uses for subselects than you - might think. Vadim has put us on the big SQL map with subselects, and - fully functional ones too. The only thing you cannot do with subselects - is to use them in the target list. - - Second, 6.3 uses Unix domain sockets rather than TCP/IP by default. To - enable connections from other machines, you have to use the new - postmaster -i option, and of course edit "pg_hba.conf". Also, for this - reason, the format of "pg_hba.conf" has changed. - - Third, char() fields will now allow faster access than varchar() or - text. Specifically, the text and varchar() have a penalty for access to - any columns after the first column of this type. char() used to also - have this access penalty, but it no longer does. This might suggest - that you redesign some of your tables, especially if you have short - character columns that you have defined as varchar() or text. This and - other changes make 6.3 even faster than earlier releases. - - We now have passwords definable independent of any Unix file. There are - new SQL USER commands. See the Administrator's Guide for more - information. There is a new table, pg_shadow, which is used to store - user information and user passwords, and it by default only SELECT-able - by the postgres super-user. pg_user is now a view of pg_shadow, and is - SELECT-able by PUBLIC. You should keep using pg_user in your - application without changes. - - User-created tables now no longer have SELECT privilege to PUBLIC by - default. This was done because the ANSI standard requires it. You can - of course GRANT any privileges you want after the table is created. - System tables continue to be SELECT-able by PUBLIC. - - We also have real deadlock detection code. No more sixty-second - timeouts. And the new locking code implements a FIFO better, so there - should be less resource starvation during heavy use. - - Many complaints have been made about inadequate documentation in - previous releases. Thomas has put much effort into many new manuals for - this release. Check out the doc/ directory. - - For performance reasons, time travel is gone, but can be implemented - using triggers (see "pgsql/contrib/spi/README"). Please check out the - new \d command for types, operators, etc. Also, views have their own - privileges now, not based on the underlying tables, so privileges on - them have to be set separately. Check "/pgsql/interfaces" for some new - ways to talk to PostgreSQL. - - This is the first release that really required an explanation for - existing users. In many ways, this was necessary because the new - release removes many limitations, and the work-arounds people were - using are no longer needed. - __________________________________________________________________ - -Migration to Version 6.3 - - A dump/restore using pg_dump or pg_dumpall is required for those - wishing to migrate data from any previous release of PostgreSQL. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Fix binary cursors broken by MOVE implementation(Vadim) -Fix for tcl library crash(Jan) -Fix for array handling, from Gerhard Hintermayer -Fix acl error, and remove duplicate pqtrace(Bruce) -Fix psql \e for empty file(Bruce) -Fix for textcat on varchar() fields(Bruce) -Fix for DBT Sendproc (Zeugswetter Andres) -Fix vacuum analyze syntax problem(Bruce) -Fix for international identifiers(Tatsuo) -Fix aggregates on inherited tables(Bruce) -Fix substr() for out-of-bounds data -Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce) -Fix notty output to show status result. -q option still turns it off(Bruce) -Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce) -Fix cluster(Bruce) -Fix for PQtrace start/stop several times(Bruce) -Fix a variety of locking problems like newer lock waiters getting - lock before older waiters, and having readlock people not share - locks if a writer is waiting for a lock, and waiting writers not - getting priority over waiting readers(Bruce) -Fix crashes in psql when executing queries from external files(James) -Fix problem with multiple order by columns, with the first one having - NULL values(Jeroen) -Use correct hash table support functions for float8 and int4(Thomas) -Re-enable JOIN= option in CREATE OPERATOR statement (Thomas) -Change precedence for boolean operators to match expected behavior(Thomas) -Generate elog(ERROR) on over-large integer(Bruce) -Allow multiple-argument functions in constraint clauses(Thomas) -Check boolean input literals for 'true','false','yes','no','1','0' - and throw elog(ERROR) if unrecognized(Thomas) -Major large objects fix -Fix for GROUP BY showing duplicates(Vadim) -Fix for index scans in MergeJoin(Vadim) - -Enhancements ------------- -Subselects with EXISTS, IN, ALL, ANY key words (Vadim, Bruce, Thomas) -New User Manual(Thomas, others) -Speedup by inlining some frequently-called functions -Real deadlock detection, no more timeouts(Bruce) -Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, - CURRENT_USER(Thomas) -Modify constraint syntax to be SQL92-compliant(Thomas) -Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas) -Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas) -Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas) -Allow PostgreSQL-style casting ("::") of non-constants(Thomas) -Add support for SQL3 TRUE and FALSE boolean constants(Thomas) -Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas) -Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas) -Allow SQL92 delimited identifiers(Thomas) -Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas) -Support SQL92 syntax for type coercion of literal strings - (e.g. "DATETIME 'now'")(Thomas) -Add conversions for int2, int4, and OID types to and from text(Thomas) -Use shared lock when building indexes(Vadim) -Free memory allocated for an user query inside transaction block after - this query is done, was turned off in <= 6.2.1(Vadim) -New SQL statement CREATE PROCEDURAL LANGUAGE(Jan) -New PostgreSQL Procedural Language (PL) backend interface(Jan) -Rename pg_dump -H option to -h(Bruce) -Add Java support for passwords, European dates(Peter) -Use indexes for LIKE and ~, !~ operations(Bruce) -Add hash functions for datetime and timespan(Thomas) -Time Travel removed(Vadim, Bruce) -Add paging for \d and \z, and fix \i(Bruce) -Add Unix domain socket support to backend and to frontend library(Goran) -Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas) -Allow more SQL92 and/or PostgreSQL reserved words as column identifiers(Thomas) -Augment support for SQL92 SET TIME ZONE...(Thomas) -SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas) -Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas) -Enable SET TIME ZONE using TZ environment variable(Thomas) -Add PGDATESTYLE environment variable to frontend and backend initialization(Thom -as) -Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO - frontend library initialization environment variables(Thomas) -Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas) -Add pg_description table for info on tables, columns, operators, types, and - aggregates(Bruce) -Increase 16 char limit on system table/index names to 32 characters(Bruce) -Rename system indexes(Bruce) -Add 'GERMAN' option to SET DATESTYLE(Thomas) -Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas) -Allow fractional values for delta times (e.g. '2.5 days')(Thomas) -Validate numeric input more carefully for delta times(Thomas) -Implement day of year as possible input to date_part()(Thomas) -Define timespan_finite() and text_timespan() functions(Thomas) -Remove archive stuff(Bruce) -Allow for a pg_password authentication database that is separate from - the system password file(Todd) -Dump ACLs, GRANT, REVOKE privileges(Matt) -Define text, varchar, and bpchar string length functions(Thomas) -Fix Query handling for inheritance, and cost computations(Bruce) -Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas) -Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas) -Implement UNIONs for SELECT(Bruce) -Add UNION, GROUP, DISTINCT to INSERT(Bruce) -varchar() stores only necessary bytes on disk(Bruce) -Fix for BLOBs(Peter) -Mega-Patch for JDBC...see README_6.3 for list of changes(Peter) -Remove unused "option" from PQconnectdb() -New LOCK command and lock manual page describing deadlocks(Bruce) -Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce) -Enhance psql \z to show sequences(Bruce) -Show NOT NULL and DEFAULT in psql \d table(Bruce) -New psql .psqlrc file start-up(Andrew) -Modify sample start-up script in contrib/linux to show syslog(Thomas) -New types for IP and MAC addresses in contrib/ip_and_mac(TomH) -Unix system time conversions with date/time types in contrib/unixdate(Thomas) -Update of contrib stuff(Massimo) -Add Unix socket support to DBD::Pg(Goran) -New python interface (PyGreSQL 2.0)(D'Arcy) -New frontend/backend protocol has a version number, network byte order(Phil) -Security features in pg_hba.conf enhanced and documented, many cleanups(Phil) -CHAR() now faster access than VARCHAR() or TEXT -ecpg embedded SQL preprocessor -Reduce system column overhead(Vadmin) -Remove pg_time table(Vadim) -Add pg_type attribute to identify types that need length (bpchar, varchar) -Add report of offending line when COPY command fails -Allow VIEW privileges to be set separately from the underlying tables. - For security, use GRANT/REVOKE on views as appropriate(Jan) -Tables now have no default GRANT SELECT TO PUBLIC. You must - explicitly grant such privileges. -Clean up tutorial examples(Darren) - -Source Tree Changes -------------------- -Add new html development tools, and flow chart in /tools/backend -Fix for SCO compiles -Stratus computer port Robert Gillies -Added support for shlib for BSD44_derived & i386_solaris -Make configure more automated(Brook) -Add script to check regression test results -Break parser functions into smaller files, group together(Bruce) -Rename heap_create to heap_create_and_catalog, rename heap_creatr - to heap_create()(Bruce) -Sparc/Linux patch for locking(TomS) -Remove PORTNAME and reorganize port-specific stuff(Marc) -Add optimizer README file(Bruce) -Remove some recursion in optimizer and clean up some code there(Bruce) -Fix for NetBSD locking(Henry) -Fix for libptcl make(Tatsuo) -AIX patch(Darren) -Change IS TRUE, IS FALSE, ... to expressions using "=" rather than - function calls to istrue() or isfalse() to allow optimization(Thomas) -Various fixes NetBSD/Sparc related(TomH) -Alpha linux locking(Travis,Ryan) -Change elog(WARN) to elog(ERROR)(Bruce) -FAQ for FreeBSD(Marc) -Bring in the PostODBC source tree as part of our standard distribution(Marc) -A minor patch for HP/UX 10 vs 9(Stan) -New pg_attribute.atttypmod for type-specific info like varchar length(Bruce) -UnixWare patches(Billy) -New i386 'lock' for spinlock asm(Billy) -Support for multiplexed backends is removed -Start an OpenBSD port -Start an AUX port -Start a Cygnus port -Add string functions to regression suite(Thomas) -Expand a few function names formerly truncated to 16 characters(Thomas) -Remove un-needed malloc() calls and replace with palloc()(Bruce) - __________________________________________________________________ - - Release 6.2.1 - - Release date: 1997-10-17 - - 6.2.1 is a bug-fix and usability release on 6.2. - - Summary: - - * Allow strings to span lines, per SQL92. - * Include example trigger function for inserting user names on table - updates. - - This is a minor bug-fix release on 6.2. For upgrades from pre-6.2 - systems, a full dump/reload is required. Refer to the 6.2 release notes - for instructions. - __________________________________________________________________ - -Migration from version 6.2 to version 6.2.1 - - This is a minor bug-fix release. A dump/reload is not required from - version 6.2, but is required from any release prior to 6.2. - - In upgrading from version 6.2, if you choose to dump/reload you will - find that avg(money) is now calculated correctly. All other bug fixes - take effect upon updating the executables. - - Another way to avoid dump/reload is to use the following SQL command - from "psql" to update the existing system table: - update pg_aggregate set aggfinalfn = 'cash_div_flt8' - where aggname = 'avg' and aggbasetype = 790; - - This will need to be done to every existing database, including - template1. - __________________________________________________________________ - -Changes - -Allow TIME and TYPE column names(Thomas) -Allow larger range of true/false as boolean values(Thomas) -Support output of "now" and "current"(Thomas) -Handle DEFAULT with INSERT of NULL properly(Vadim) -Fix for relation reference counts problem in buffer manager(Vadim) -Allow strings to span lines, like ANSI(Thomas) -Fix for backward cursor with ORDER BY(Vadim) -Fix avg(cash) computation(Thomas) -Fix for specifying a column twice in ORDER/GROUP BY(Vadim) -Documented new libpq function to return affected rows, PQcmdTuples(Bruce) -Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan) - __________________________________________________________________ - - Release 6.2 - - Release date: 1997-10-02 - - A dump/restore is required for those wishing to migrate data from - previous releases of PostgreSQL. - __________________________________________________________________ - -Migration from version 6.1 to version 6.2 - - This migration requires a complete dump of the 6.1 database and a - restore of the database in 6.2. - - Note that the "pg_dump" and "pg_dumpall" utility from 6.2 should be - used to dump the 6.1 database. - __________________________________________________________________ - -Migration from version 1.x to version 6.2 - - Those migrating from earlier 1.* releases should first upgrade to 1.09 - because the COPY output format was improved from the 1.02 release. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce) -Fix compile errors on overflow due to shifts, unsigned, and bad prototypes - from Solaris(Diab Jerius) -Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas) -Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas -) -Catch non-functional delete attempts(Vadim) -Change time function names to be more consistent(Michael Reifenberg) -Check for zero divides(Michael Reifenberg) -Fix very old bug which made rows changed/inserted by a command - visible to the command itself (so we had multiple update of - updated rows, etc.)(Vadim) -Fix for SELECT null, 'fail' FROM pg_am (Patrick) -SELECT NULL as EMPTY_FIELD now allowed(Patrick) -Remove un-needed signal stuff from contrib/pginterface -Fix OR (where x != 1 or x isnull didn't return rows with x NULL) (Vadim) -Fix time_cmp function (Vadim) -Fix handling of functions with non-attribute first argument in - WHERE clauses (Vadim) -Fix GROUP BY when order of entries is different from order - in target list (Vadim) -Fix pg_dump for aggregates without sfunc1 (Vadim) - -Enhancements ------------- -Default genetic optimizer GEQO parameter is now 8(Bruce) -Allow use parameters in target list having aggregates in functions(Vadim) -Added JDBC driver as an interface(Adrian & Peter) -pg_password utility -Return number of rows inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim) -Triggers implemented with CREATE TRIGGER (SQL3)(Vadim) -SPI (Server Programming Interface) allows execution of queries inside - C-functions (Vadim) -NOT NULL implemented (SQL92)(Robson Paniago de Miranda) -Include reserved words for string handling, outer joins, and unions(Thomas) -Implement extended comments ("/* ... */") using exclusive states(Thomas) -Add "//" single-line comments(Bruce) -Remove some restrictions on characters in operator names(Thomas) -DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas) -Add text concatenation operator and function (SQL92)(Thomas) -Support WITH TIME ZONE syntax (SQL92)(Thomas) -Support INTERVAL unit TO unit syntax (SQL92)(Thomas) -Define types DOUBLE PRECISION, INTERVAL, CHARACTER, - and CHARACTER VARYING (SQL92)(Thomas) -Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas) -Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas) -Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas) -Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas) -Add more reserved words, mostly for SQL92 compliance(Thomas) -Allow hh:mm:ss time entry for timespan/reltime types(Thomas) -Add center() routines for lseg, path, polygon(Thomas) -Add distance() routines for circle-polygon, polygon-polygon(Thomas) -Check explicitly for points and polygons contained within polygons - using an axis-crossing algorithm(Thomas) -Add routine to convert circle-box(Thomas) -Merge conflicting operators for different geometric data types(Thomas) -Replace distance operator "<===>" with "<->"(Thomas) -Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thom -as) -Add routines for text trimming on both ends, substring, and string position(Thom -as) -Added conversion routines circle(box) and poly(circle)(Thomas) -Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim) -Allow functions and operators on internally-identical types to succeed(Bruce) -Speed up backend start-up after profiling analysis(Bruce) -Inline frequently called functions for performance(Bruce) -Reduce open() calls(Bruce) -psql: Add PAGER for \h and \?,\C fix -Fix for psql pager when no tty(Bruce) -New entab utility(Bruce) -General trigger functions for referential integrity (Vadim) -General trigger functions for time travel (Vadim) -General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim) -MOVE implementation (Vadim) - -Source Tree Changes -------------------- -HP-UX 10 patches (Vladimir Turin) -Added SCO support, (Daniel Harris) -MkLinux patches (Tatsuo Ishii) -Change geometric box terminology from "length" to "width"(Thomas) -Deprecate temporary unstored slope fields in geometric code(Thomas) -Remove restart instructions from INSTALL(Bruce) -Look in /usr/ucb first for install(Bruce) -Fix c++ copy example code(Thomas) -Add -o to psql manual page(Bruce) -Prevent relname unallocated string length from being copied into database(Bruce) -Cleanup for NAMEDATALEN use(Bruce) -Fix pg_proc names over 15 chars in output(Bruce) -Add strNcpy() function(Bruce) -remove some (void) casts that are unnecessary(Bruce) -new interfaces directory(Marc) -Replace fopen() calls with calls to fd.c functions(Bruce) -Make functions static where possible(Bruce) -enclose unused functions in #ifdef NOT_USED(Bruce) -Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas) -Changes for Digital Unix -Portability fix for pg_dumpall(Bruce) -Rename pg_attribute.attnvals to attdispersion(Bruce) -"intro/unix" manual page now "pgintro"(Bruce) -"built-in" manual page now "pgbuiltin"(Bruce) -"drop" manual page now "drop_table"(Bruce) -Add "create_trigger", "drop_trigger" manual pages(Thomas) -Add constraints regression test(Vadim & Thomas) -Add comments syntax regression test(Thomas) -Add PGINDENT and support program(Bruce) -Massive commit to run PGINDENT on all *.c and *.h files(Bruce) -Files moved to /src/tools directory(Bruce) -SPI and Trigger programming guides (Vadim & D'Arcy) - __________________________________________________________________ - - Release 6.1.1 - - Release date: 1997-07-22 - __________________________________________________________________ - -Migration from version 6.1 to version 6.1.1 - - This is a minor bug-fix release. A dump/reload is not required from - version 6.1, but is required from any release prior to 6.1. Refer to - the release notes for 6.1 for more details. - __________________________________________________________________ - -Changes - -fix for SET with options (Thomas) -allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce) -new psql \connect option allows changing usernames without changing databases -fix for initdb --debug option(Yoshihiko Ichikawa)) -lextest cleanup(Bruce) -hash fixes(Vadim) -fix date/time month boundary arithmetic(Thomas) -fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo) -timestamp overhauled to use standard functions(Thomas) -other code cleanup in date/time routines(Thomas) -psql's \d now case-insensitive(Bruce) -psql's backslash commands can now have trailing semicolon(Bruce) -fix memory leak in psql when using \g(Bruce) -major fix for endian handling of communication to server(Thomas, Tatsuo) -Fix for Solaris assembler and include files(Yoshihiko Ichikawa) -allow underscores in usernames(Bruce) -pg_dumpall now returns proper status, portability fix(Bruce) - __________________________________________________________________ - - Release 6.1 - - Release date: 1997-06-08 - - The regression tests have been adapted and extensively modified for the - 6.1 release of PostgreSQL. - - Three new data types (datetime, timespan, and circle) have been added - to the native set of PostgreSQL types. Points, boxes, paths, and - polygons have had their output formats made consistent across the data - types. The polygon output in misc.out has only been spot-checked for - correctness relative to the original regression output. - - PostgreSQL 6.1 introduces a new, alternate optimizer which uses genetic - algorithms. These algorithms introduce a random behavior in the - ordering of query results when the query contains multiple qualifiers - or multiple tables (giving the optimizer a choice on order of - evaluation). Several regression tests have been modified to explicitly - order the results, and hence are insensitive to optimizer choices. A - few regression tests are for data types which are inherently unordered - (e.g. points and time intervals) and tests involving those types are - explicitly bracketed with "set geqo to 'off'" and "reset geqo". - - The interpretation of array specifiers (the curly braces around atomic - values) appears to have changed sometime after the original regression - tests were generated. The current "./expected/*.out" files reflect this - new interpretation, which might not be correct! - - The float8 regression test fails on at least some platforms. This is - due to differences in implementations of pow() and exp() and the - signaling mechanisms used for overflow and underflow conditions. - - The "random" results in the random test should cause the "random" test - to be "failed", since the regression tests are evaluated using a simple - diff. However, "random" does not seem to produce random results on my - test machine (Linux/gcc/i686). - __________________________________________________________________ - -Migration to Version 6.1 - - This migration requires a complete dump of the 6.0 database and a - restore of the database in 6.1. - - Those migrating from earlier 1.* releases should first upgrade to 1.09 - because the COPY output format was improved from the 1.02 release. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -packet length checking in library routines -lock manager priority patch -check for under/over flow of float8(Bruce) -multitable join fix(Vadim) -SIGPIPE crash fix(Darren) -large object fixes(Sven) -allow btree indexes to handle NULLs(Vadim) -timezone fixes(D'Arcy) -select SUM(x) can return NULL on no rows(Thomas) -internal optimizer, executor bug fixes(Vadim) -fix problem where inner loop in < or <= has no rows(Vadim) -prevent re-commuting join index clauses(Vadim) -fix join clauses for multiple tables(Vadim) -fix hash, hashjoin for arrays(Vadim) -fix btree for abstime type(Vadim) -large object fixes(Raymond) -fix buffer leak in hash indexes (Vadim) -fix rtree for use in inner scan (Vadim) -fix gist for use in inner scan, cleanups (Vadim, Andrea) -avoid unnecessary local buffers allocation (Vadim, Massimo) -fix local buffers leak in transaction aborts (Vadim) -fix file manager memmory leaks, cleanups (Vadim, Massimo) -fix storage manager memmory leaks (Vadim) -fix btree duplicates handling (Vadim) -fix deleted rows reincarnation caused by vacuum (Vadim) -fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce) -many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor) - -Enhancements ------------- -attribute optimization statistics(Bruce) -much faster new btree bulk load code(Paul) -BTREE UNIQUE added to bulk load code(Vadim) -new lock debug code(Massimo) -massive changes to libpg++(Leo) -new GEQO optimizer speeds table multitable optimization(Martin) -new WARN message for non-unique insert into unique key(Marc) -update x=-3, no spaces, now valid(Bruce) -remove case-sensitive identifier handling(Bruce,Thomas,Dan) -debug backend now pretty-prints tree(Darren) -new Oracle character functions(Edmund) -new plaintext password functions(Dan) -no such class or insufficient privilege changed to distinct messages(Dan) -new ANSI timestamp function(Dan) -new ANSI Time and Date types (Thomas) -move large chunks of data in backend(Martin) -multicolumn btree indexes(Vadim) -new SET var TO value command(Martin) -update transaction status on reads(Dan) -new locale settings for character types(Oleg) -new SEQUENCE serial number generator(Vadim) -GROUP BY function now possible(Vadim) -re-organize regression test(Thomas,Marc) -new optimizer operation weights(Vadim) -new psql \z grant/permit option(Marc) -new MONEY data type(D'Arcy,Thomas) -tcp socket communication speed improved(Vadim) -new VACUUM option for attribute statistics, and for certain columns (Vadim) -many geometric type improvements(Thomas,Keith) -additional regression tests(Thomas) -new datestyle variable(Thomas,Vadim,Martin) -more comparison operators for sorting types(Thomas) -new conversion functions(Thomas) -new more compact btree format(Vadim) -allow pg_dumpall to preserve database ownership(Bruce) -new SET GEQO=# and R_PLANS variable(Vadim) -old (!GEQO) optimizer can use right-sided plans (Vadim) -typechecking improvement in SQL parser(Bruce) -new SET, SHOW, RESET commands(Thomas,Vadim) -new \connect database USER option -new destroydb -i option (Igor) -new \dt and \di psql commands (Darren) -SELECT "\n" now escapes newline (A. Duursma) -new geometry conversion functions from old format (Thomas) - -Source tree changes -------------------- -new configuration script(Marc) -readline configuration option added(Marc) -OS-specific configuration options removed(Marc) -new OS-specific template files(Marc) -no more need to edit Makefile.global(Marc) -re-arrange include files(Marc) -nextstep patches (Gregor Hoffleit) -removed Windows-specific code(Bruce) -removed postmaster -e option, now only postgres -e option (Bruce) -merge duplicate library code in front/backends(Martin) -now works with eBones, international Kerberos(Jun) -more shared library support -c++ include file cleanup(Bruce) -warn about buggy flex(Bruce) -DG/UX, Ultrix, IRIX, AIX portability fixes - __________________________________________________________________ - - Release 6.0 - - Release date: 1997-01-29 - - A dump/restore is required for those wishing to migrate data from - previous releases of PostgreSQL. - __________________________________________________________________ - -Migration from version 1.09 to version 6.0 - - This migration requires a complete dump of the 1.09 database and a - restore of the database in 6.0. - __________________________________________________________________ - -Migration from pre-1.09 to version 6.0 - - Those migrating from earlier 1.* releases should first upgrade to 1.09 - because the COPY output format was improved from the 1.02 release. - __________________________________________________________________ - -Changes - -Bug Fixes ---------- -ALTER TABLE bug - running postgres process needs to re-read table definition -Allow vacuum to be run on one table or entire database(Bruce) -Array fixes -Fix array over-runs of memory writes(Kurt) -Fix elusive btree range/non-range bug(Dan) -Fix for hash indexes on some types like time and date -Fix for pg_log size explosion -Fix permissions on lo_export()(Bruce) -Fix uninitialized reads of memory(Kurt) -Fixed ALTER TABLE ... char(3) bug(Bruce) -Fixed a few small memory leaks -Fixed EXPLAIN handling of options and changed full_path option name -Fixed output of group acl privileges -Memory leaks (hunt and destroy with tools like Purify(Kurt) -Minor improvements to rules system -NOTIFY fixes -New asserts for run-checking -Overhauled parser/analyze code to properly report errors and increase speed -Pg_dump -d now handles NULL's properly(Bruce) -Prevent SELECT NULL from crashing server (Bruce) -Properly report errors when INSERT ... SELECT columns did not match -Properly report errors when insert column names were not correct -psql \g filename now works(Bruce) -psql fixed problem with multiple statements on one line with multiple outputs -Removed duplicate system OIDs -SELECT * INTO TABLE . GROUP/ORDER BY gives unlink error if table exists(Bruce) -Several fixes for queries that crashed the backend -Starting quote in insert string errors(Bruce) -Submitting an empty query now returns empty status, not just " " query(Bruce) - -Enhancements ------------- -Add EXPLAIN manual page(Bruce) -Add UNIQUE index capability(Dan) -Add hostname/user level access control rather than just hostname and user -Add synonym of != for <>(Bruce) -Allow "select oid,* from table" -Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bru -ce) -Allow COPY from the frontend(Bryan) -Allow GROUP BY to use alias column name(Bruce) -Allow actual compression, not just reuse on the same page(Vadim) -Allow installation-configuration option to auto-add all local users(Bryan) -Allow libpq to distinguish between text value '' and null(Bruce) -Allow non-postgres users with createdb privs to destroydb's -Allow restriction on who can create C functions(Bryan) -Allow restriction on who can do backend COPY(Bryan) -Can shrink tables, pg_time and pg_log(Vadim & Erich) -Change debug level 2 to print queries only, changed debug heading layout(Bruce) -Change default decimal constant representation from float4 to float8(Bruce) -European date format now set when postmaster is started -Execute lowercase function names if not found with exact case -Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z' -Gist now included in the distribution(Marc) -Idend authentication of local users(Bryan) -Implement BETWEEN qualifier(Bruce) -Implement IN qualifier(Bruce) -libpq has PQgetisnull()(Bruce) -libpq++ improvements -New options to initdb(Bryan) -Pg_dump allow dump of OIDs(Bruce) -Pg_dump create indexes after tables are loaded for speed(Bruce) -Pg_dumpall dumps all databases, and the user table -Pginterface additions for NULL values(Bruce) -Prevent postmaster from being run as root -psql \h and \? is now readable(Bruce) -psql allow backslashed, semicolons anywhere on the line(Bruce) -psql changed command prompt for lines in query or in quotes(Bruce) -psql char(3) now displays as (bp)char in \d output(Bruce) -psql return code now more accurate(Bryan?) -psql updated help syntax(Bruce) -Re-visit and fix vacuum(Vadim) -Reduce size of regression diffs, remove timezone name difference(Bruce) -Remove compile-time parameters to enable binary distributions(Bryan) -Reverse meaning of HBA masks(Bryan) -Secure Authentication of local users(Bryan) -Speed up vacuum(Vadim) -Vacuum now had VERBOSE option(Bruce) - -Source tree changes -------------------- -All functions now have prototypes that are compared against the calls -Allow asserts to be disabled easily from Makefile.global(Bruce) -Change oid constants used in code to #define names -Decoupled sparc and solaris defines(Kurt) -Gcc -Wall compiles cleanly with warnings only from unfixable constructs -Major include file reorganization/reduction(Marc) -Make now stops on compile failure(Bryan) -Makefile restructuring(Bryan, Marc) -Merge bsdi_2_1 to bsdi(Bruce) -Monitor program removed -Name change from Postgres95 to PostgreSQL -New config.h file(Marc, Bryan) -PG_VERSION now set to 6.0 and used by postmaster -Portability additions, including Ultrix, DG/UX, AIX, and Solaris -Reduced the number of #define's, centralized #define's -Remove duplicate OIDS in system tables(Dan) -Remove duplicate system catalog info or report mismatches(Dan) -Removed many os-specific #define's -Restructured object file generation/location(Bryan, Marc) -Restructured port-specific file locations(Bryan, Marc) -Unused/uninitialized variables corrected - __________________________________________________________________ - - Release 1.09 - - Release date: 1996-11-04 - - Sorry, we didn't keep track of changes from 1.02 to 1.09. Some of the - changes listed in 6.0 were actually included in the 1.02.1 to 1.09 - releases. - __________________________________________________________________ - - Release 1.02 - - Release date: 1996-08-01 - __________________________________________________________________ - -Migration from version 1.02 to version 1.02.1 - - Here is a new migration file for 1.02.1. It includes the 'copy' change - and a script to convert old ASCII files. - - Note: The following notes are for the benefit of users who want to - migrate databases from Postgres95 1.01 and 1.02 to Postgres95 - 1.02.1. - - If you are starting afresh with Postgres95 1.02.1 and do not need to - migrate old databases, you do not need to read any further. - - In order to upgrade older Postgres95 version 1.01 or 1.02 databases to - version 1.02.1, the following steps are required: - 1. Start up a new 1.02.1 postmaster - 2. Add the new built-in functions and operators of 1.02.1 to 1.01 or - 1.02 databases. This is done by running the new 1.02.1 server - against your own 1.01 or 1.02 database and applying the queries - attached at the end of the file. This can be done easily through - "psql". If your 1.01 or 1.02 database is named testdb and you have - cut the commands from the end of this file and saved them in - "addfunc.sql": - % psql testdb -f addfunc.sql - Those upgrading 1.02 databases will get a warning when executing - the last two statements in the file because they are already - present in 1.02. This is not a cause for concern. - __________________________________________________________________ - -Dump/Reload Procedure - - If you are trying to reload a pg_dump or text-mode, copy tablename to - stdout generated with a previous version, you will need to run the - attached "sed" script on the ASCII file before loading it into the - database. The old format used '.' as end-of-data, while '\.' is now the - end-of-data marker. Also, empty strings are now loaded in as '' rather - than NULL. See the copy manual page for full details. - sed 's/^\.$/\\./g' out_file - - If you are loading an older binary copy or non-stdout copy, there is no - end-of-data character, and hence no conversion necessary. --- following lines added by agc to reflect the case-insensitive --- regexp searching for varchar (in 1.02), and bpchar (in 1.02.1) -create operator ~* (leftarg = bpchar, rightarg = text, procedure = texticregexeq -); -create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregexn -e); -create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregexe -q); -create operator !~* (leftarg = varchar, rightarg = text, procedure = texticregex -ne); - __________________________________________________________________ - -Changes - -Source code maintenance and development - * worldwide team of volunteers - * the source tree now in CVS at ftp.ki.net - -Enhancements - * psql (and underlying libpq library) now has many more options for - formatting output, including HTML - * pg_dump now output the schema and/or the data, with many fixes to - enhance completeness. - * psql used in place of monitor in administration shell scripts. - monitor to be deprecated in next release. - * date/time functions enhanced - * NULL insert/update/comparison fixed/enhanced - * TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1 - -Bug Fixes (almost too numerous to mention) - * indexes - * storage management - * check for NULL pointer before dereferencing - * Makefile fixes - -New Ports - * added SolarisX86 port - * added BSD/OS 2.1 port - * added DG/UX port - __________________________________________________________________ - - Release 1.01 - - Release date: 1996-02-23 - __________________________________________________________________ - -Migration from version 1.0 to version 1.01 - - The following notes are for the benefit of users who want to migrate - databases from Postgres95 1.0 to Postgres95 1.01. - - If you are starting afresh with Postgres95 1.01 and do not need to - migrate old databases, you do not need to read any further. - - In order to Postgres95 version 1.01 with databases created with - Postgres95 version 1.0, the following steps are required: - 1. Set the definition of NAMEDATALEN in "src/Makefile.global" to 16 - and OIDNAMELEN to 20. - 2. Decide whether you want to use Host based authentication. - a. If you do, you must create a file name pg_hba in your - top-level data directory (typically the value of your - $PGDATA). "src/libpq/pg_hba" shows an example syntax. - b. If you do not want host-based authentication, you can comment - out the line: - HBA = 1 - in "src/Makefile.global" - Note that host-based authentication is turned on by default, - and if you do not take steps A or B above, the out-of-the-box - 1.01 will not allow you to connect to 1.0 databases. - 3. Compile and install 1.01, but DO NOT do the "initdb" step. - 4. Before doing anything else, terminate your 1.0 postmaster, and - backup your existing $PGDATA directory. - 5. Set your PGDATA environment variable to your 1.0 databases, but set - up path up so that 1.01 binaries are being used. - 6. Modify the file "$PGDATA/PG_VERSION" from 5.0 to 5.1 - 7. Start up a new 1.01 postmaster - 8. Add the new built-in functions and operators of 1.01 to 1.0 - databases. This is done by running the new 1.01 server against your - own 1.0 database and applying the queries attached and saving in - the file 1.0_to_1.01.sql. This can be done easily through "psql". - If your 1.0 database is name testdb: - % psql testdb -f 1.0_to_1.01.sql - and then execute the following commands (cut and paste from here): --- add builtin functions that are new to 1.01 - -create function int4eqoid (int4, oid) returns bool as 'foo' -language 'internal'; -create function oideqint4 (oid, int4) returns bool as 'foo' -language 'internal'; -create function char2icregexeq (char2, text) returns bool as 'foo' -language 'internal'; -create function char2icregexne (char2, text) returns bool as 'foo' -language 'internal'; -create function char4icregexeq (char4, text) returns bool as 'foo' -language 'internal'; -create function char4icregexne (char4, text) returns bool as 'foo' -language 'internal'; -create function char8icregexeq (char8, text) returns bool as 'foo' -language 'internal'; -create function char8icregexne (char8, text) returns bool as 'foo' -language 'internal'; -create function char16icregexeq (char16, text) returns bool as 'foo' -language 'internal'; -create function char16icregexne (char16, text) returns bool as 'foo' -language 'internal'; -create function texticregexeq (text, text) returns bool as 'foo' -language 'internal'; -create function texticregexne (text, text) returns bool as 'foo' -language 'internal'; - --- add builtin functions that are new to 1.01 - -create operator = (leftarg = int4, rightarg = oid, procedure = int4eqoid); -create operator = (leftarg = oid, rightarg = int4, procedure = oideqint4); -create operator ~* (leftarg = char2, rightarg = text, procedure = char2icregexeq -); -create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregexn -e); -create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexeq -); -create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregexn -e); -create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexeq -); -create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregexn -e); -create operator ~* (leftarg = char16, rightarg = text, procedure = char16icregex -eq); -create operator !~* (leftarg = char16, rightarg = text, procedure = char16icrege -xne); -create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq); -create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne) -; - __________________________________________________________________ - -Changes - -Incompatibilities: - * 1.01 is backwards compatible with 1.0 database provided the user - follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file. - If those steps are not taken, 1.01 is not compatible with 1.0 database. - -Enhancements: - * added PQdisplayTuples() to libpq and changed monitor and psql to use it - * added NeXT port (requires SysVIPC implementation) - * added CAST .. AS ... syntax - * added ASC and DESC key words - * added 'internal' as a possible language for CREATE FUNCTION - internal functions are C functions which have been statically linked - into the postgres backend. - * a new type "name" has been added for system identifiers (table names, - attribute names, etc.) This replaces the old char16 type. The - of name is set by the NAMEDATALEN #define in src/Makefile.global - * a readable reference manual that describes the query language. - * added host-based access control. A configuration file ($PGDATA/pg_hba) - is used to hold the configuration data. If host-based access control - is not desired, comment out HBA=1 in src/Makefile.global. - * changed regex handling to be uniform use of Henry Spencer's regex code - regardless of platform. The regex code is included in the distribution - * added functions and operators for case-insensitive regular expressions. - The operators are ~* and !~*. - * pg_dump uses COPY instead of SELECT loop for better performance - -Bug fixes: - * fixed an optimizer bug that was causing core dumps when - functions calls were used in comparisons in the WHERE clause - * changed all uses of getuid to geteuid so that effective uids are used - * psql now returns non-zero status on errors when using -c - * applied public patches 1-14 - __________________________________________________________________ - - Release 1.0 - - Release date: 1995-09-05 - __________________________________________________________________ - -Changes - -Copyright change: - * The copyright of Postgres 1.0 has been loosened to be freely modifiable - and modifiable for any purpose. Please read the COPYRIGHT file. - Thanks to Professor Michael Stonebraker for making this possible. - -Incompatibilities: - * date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using - EUROPEAN STYLE). This follows SQL-92 specs. - * "delimiters" is now a key word - -Enhancements: - * sql LIKE syntax has been added - * copy command now takes an optional USING DELIMITER specification. - delimiters can be any single-character string. - * IRIX 5.3 port has been added. - Thanks to Paul Walmsley and others. - * updated pg_dump to work with new libpq - * \d has been added psql - Thanks to Keith Parks - * regexp performance for architectures that use POSIX regex has been - improved due to caching of precompiled patterns. - Thanks to Alistair Crooks - * a new version of libpq++ - Thanks to William Wanders - -Bug fixes: - * arbitrary userids can be specified in the createuser script - * \c to connect to other databases in psql now works. - * bad pg_proc entry for float4inc() is fixed - * users with usecreatedb field set can now create databases without - having to be usesuper - * remove access control entries when the entry no longer has any - privileges - * fixed non-portable datetimes implementation - * added kerberos flags to the src/backend/Makefile - * libpq now works with kerberos - * typographic errors in the user manual have been corrected. - * btrees with multiple index never worked, now we tell you they don't - work when you try to use them - __________________________________________________________________ - - Postgres95 Release 0.03 - - Release date: 1995-07-21 - __________________________________________________________________ - -Changes - -Incompatible changes: - * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS - (due to system catalog changes and indexing structure changes). - * double-quote (") is deprecated as a quoting character for string literals; - you need to convert them to single quotes ('). - * name of aggregates (eg. int4sum) are renamed in accordance with the - SQL standard (eg. sum). - * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax. - * float literals (eg. 3.14) are now of type float4 (instead of float8 in - previous releases); you might have to do typecasting if you depend on it - being of type float8. If you neglect to do the typecasting and you assign - a float literal to a field of type float8, you might get incorrect values - stored! - * LIBPQ has been totally revamped so that frontend applications - can connect to multiple backends - * the usesysid field in pg_user has been changed from int2 to int4 to - allow wider range of Unix user ids. - * the netbsd/freebsd/bsd o/s ports have been consolidated into a - single BSD44_derived port. (thanks to Alistair Crooks) - -SQL standard-compliance (the following details changes that makes postgres95 -more compliant to the SQL-92 standard): - * the following SQL types are now built-in: smallint, int(eger), float, real, - char(N), varchar(N), date and time. - - The following are aliases to existing postgres types: - smallint -> int2 - integer, int -> int4 - float, real -> float4 - char(N) and varchar(N) are implemented as truncated text types. In - addition, char(N) does blank-padding. - * single-quote (') is used for quoting string literals; '' (in addition to - \') is supported as means of inserting a single quote in a string - * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used - (Also, aggregates can now be overloaded, i.e. you can define your - own MAX aggregate to take in a user-defined type.) - * CHANGE ACL removed. GRANT/REVOKE syntax added. - - Privileges can be given to a group using the "GROUP" key word. - For example: - GRANT SELECT ON foobar TO GROUP my_group; - The key word 'PUBLIC' is also supported to mean all users. - - Privileges can only be granted or revoked to one user or group - at a time. - - "WITH GRANT OPTION" is not supported. Only class owners can change - access control - - The default access control is to grant users readonly access. - You must explicitly grant insert/update access to users. To change - this, modify the line in - src/backend/utils/acl.h - that defines ACL_WORLD_DEFAULT - -Bug fixes: - * the bug where aggregates of empty tables were not run has been fixed. Now, - aggregates run on empty tables will return the initial conditions of the - aggregates. Thus, COUNT of an empty table will now properly return 0. - MAX/MIN of an empty table will return a row of value NULL. - * allow the use of \; inside the monitor - * the LISTEN/NOTIFY asynchronous notification mechanism now work - * NOTIFY in rule action bodies now work - * hash indexes work, and access methods in general should perform better. - creation of large btree indexes should be much faster. (thanks to Paul - Aoki) - -Other changes and enhancements: - * addition of an EXPLAIN statement used for explaining the query execution - plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for - the query). - * WARN and NOTICE messages no longer have timestamps on them. To turn on - timestamps of error messages, uncomment the line in - src/backend/utils/elog.h: - /* define ELOG_TIMESTAMPS */ - * On an access control violation, the message - "Either no such class or insufficient privilege" - will be given. This is the same message that is returned when - a class is not found. This dissuades non-privileged users from - guessing the existence of privileged classes. - * some additional system catalog changes have been made that are not - visible to the user. - -libpgtcl changes: - * The -oid option has been added to the "pg_result" tcl command. - pg_result -oid returns oid of the last row inserted. If the - last command was not an INSERT, then pg_result -oid returns "". - * the large object interface is available as pg_lo* tcl commands: - pg_lo_open, pg_lo_close, pg_lo_creat, etc. - -Portability enhancements and New Ports: - * flex/lex problems have been cleared up. Now, you should be able to use - flex instead of lex on any platforms. We no longer make assumptions of - what lexer you use based on the platform you use. - * The Linux-ELF port is now supported. Various configuration have been - tested: The following configuration is known to work: - kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24 - with everything in ELF format, - -New utilities: - * ipcclean added to the distribution - ipcclean usually does not need to be run, but if your backend crashes - and leaves shared memory segments hanging around, ipcclean will - clean them up for you. - -New documentation: - * the user manual has been revised and libpq documentation added. - __________________________________________________________________ - - Postgres95 Release 0.02 - - Release date: 1995-05-25 - __________________________________________________________________ - -Changes - -Incompatible changes: - * The SQL statement for creating a database is 'CREATE DATABASE' instead - of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead - of 'DESTROYDB'. However, the names of the executables 'createdb' and - 'destroydb' remain the same. - -New tools: - * pgperl - a Perl (4.036) interface to Postgres95 - * pg_dump - a utility for dumping out a postgres database into a - script file containing query commands. The script files are in a ASCII - format and can be used to reconstruct the database, even on other - machines and other architectures. (Also good for converting - a Postgres 4.2 database to Postgres95 database.) - -The following ports have been incorporated into postgres95-beta-0.02: - * the NetBSD port by Alistair Crooks - * the AIX port by Mike Tung - * the Windows NT port by Jon Forrest (more stuff but not done yet) - * the Linux ELF port by Brian Gallew - -The following bugs have been fixed in postgres95-beta-0.02: - * new lines not escaped in COPY OUT and problem with COPY OUT when first - attribute is a '.' - * cannot type return to use the default user id in createuser - * SELECT DISTINCT on big tables crashes - * Linux installation problems - * monitor doesn't allow use of 'localhost' as PGHOST - * psql core dumps when doing \c or \l - * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile - * libpgtcl has a hard-wired default port number - * SELECT DISTINCT INTO TABLE hangs - * CREATE TYPE doesn't accept 'variable' as the internallength - * wrong result using more than 1 aggregate in a SELECT - __________________________________________________________________ - - Postgres95 Release 0.01 - - Release date: 1995-05-01 - - Initial release. +Distribution file sets include release notes for their version and preceding +versions. Unpack the file doc/postgres.tar.gz, then visit the contained +file release.html in an HTML browser. diff -Nru postgresql-8.4-8.4.17/INSTALL postgresql-8.4-8.4.20/INSTALL --- postgresql-8.4-8.4.17/INSTALL 2013-04-01 18:44:47.000000000 +0000 +++ postgresql-8.4-8.4.20/INSTALL 2014-02-17 20:07:41.000000000 +0000 @@ -173,7 +173,7 @@ keys), then use the "-o" option when running pg_dumpall. To make the backup, you can use the pg_dumpall command from the version you are currently running. For best results, however, try - to use the pg_dumpall command from PostgreSQL 8.4.17, since this + to use the pg_dumpall command from PostgreSQL 8.4.20, since this version contains bug fixes and improvements over older versions. While this advice might seem idiosyncratic since you haven't installed the new version yet, it is advisable to follow it if you diff -Nru postgresql-8.4-8.4.17/README postgresql-8.4-8.4.20/README --- postgresql-8.4-8.4.17/README 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/README 2014-02-17 19:44:07.000000000 +0000 @@ -17,8 +17,7 @@ PostgreSQL. That file also lists supported operating systems and hardware platforms and contains information regarding any other software packages that are required to build or run the PostgreSQL -system. Changes between all PostgreSQL releases are recorded in the -file HISTORY. Copyright and license information can be found in the +system. Copyright and license information can be found in the file COPYRIGHT. A comprehensive documentation set is included in this distribution; it can be read as described in the installation instructions. diff -Nru postgresql-8.4-8.4.17/src/backend/access/common/tupdesc.c postgresql-8.4-8.4.20/src/backend/access/common/tupdesc.c --- postgresql-8.4-8.4.17/src/backend/access/common/tupdesc.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/common/tupdesc.c 2014-02-17 19:44:07.000000000 +0000 @@ -427,6 +427,12 @@ * TupleDescInitEntry * This function initializes a single attribute structure in * a previously allocated tuple descriptor. + * + * If attributeName is NULL, the attname field is set to an empty string + * (this is for cases where we don't know or need a name for the field). + * Also, some callers use this function to change the datatype-related fields + * in an existing tupdesc; they pass attributeName = NameStr(att->attname) + * to indicate that the attname field shouldn't be modified. */ void TupleDescInitEntry(TupleDesc desc, @@ -457,12 +463,12 @@ /* * Note: attributeName can be NULL, because the planner doesn't always * fill in valid resname values in targetlists, particularly for resjunk - * attributes. + * attributes. Also, do nothing if caller wants to re-use the old attname. */ - if (attributeName != NULL) - namestrcpy(&(att->attname), attributeName); - else + if (attributeName == NULL) MemSet(NameStr(att->attname), 0, NAMEDATALEN); + else if (attributeName != NameStr(att->attname)) + namestrcpy(&(att->attname), attributeName); att->attstattarget = -1; att->attcacheoff = -1; diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/ginbtree.c postgresql-8.4-8.4.20/src/backend/access/gin/ginbtree.c --- postgresql-8.4-8.4.17/src/backend/access/gin/ginbtree.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/ginbtree.c 2014-02-17 19:44:07.000000000 +0000 @@ -112,10 +112,8 @@ /* rightmost page */ break; + stack->buffer = ginStepRight(stack->buffer, btree->index, access); stack->blkno = rightlink; - LockBuffer(stack->buffer, GIN_UNLOCK); - stack->buffer = ReleaseAndReadBuffer(stack->buffer, btree->index, stack->blkno); - LockBuffer(stack->buffer, access); page = BufferGetPage(stack->buffer); } @@ -151,6 +149,41 @@ return NULL; } +/* + * Step right from current page. + * + * The next page is locked first, before releasing the current page. This is + * crucial to protect from concurrent page deletion (see comment in + * ginDeletePage). + */ +Buffer +ginStepRight(Buffer buffer, Relation index, int lockmode) +{ + Buffer nextbuffer; + Page page = BufferGetPage(buffer); + bool isLeaf = GinPageIsLeaf(page); + bool isData = GinPageIsData(page); + BlockNumber blkno = GinPageGetOpaque(page)->rightlink; + + nextbuffer = ReadBuffer(index, blkno); + LockBuffer(nextbuffer, lockmode); + UnlockReleaseBuffer(buffer); + + /* Sanity check that the page we stepped to is of similar kind. */ + page = BufferGetPage(nextbuffer); + if (isLeaf != GinPageIsLeaf(page) || isData != GinPageIsData(page)) + elog(ERROR, "right sibling of GIN page is of different type"); + + /* + * Given the proper lock sequence above, we should never land on a + * deleted page. + */ + if (GinPageIsDeleted(page)) + elog(ERROR, "right sibling of GIN page was deleted"); + + return nextbuffer; +} + void freeGinBtreeStack(GinBtreeStack *stack) { @@ -240,12 +273,12 @@ while ((offset = btree->findChildPtr(btree, page, stack->blkno, InvalidOffsetNumber)) == InvalidOffsetNumber) { blkno = GinPageGetOpaque(page)->rightlink; - LockBuffer(buffer, GIN_UNLOCK); - ReleaseBuffer(buffer); if (blkno == InvalidBlockNumber) + { + UnlockReleaseBuffer(buffer); break; - buffer = ReadBuffer(btree->index, blkno); - LockBuffer(buffer, GIN_EXCLUSIVE); + } + buffer = ginStepRight(buffer, btree->index, GIN_EXCLUSIVE); page = BufferGetPage(buffer); } @@ -425,23 +458,21 @@ { BlockNumber rightlink = GinPageGetOpaque(page)->rightlink; - LockBuffer(parent->buffer, GIN_UNLOCK); - if (rightlink == InvalidBlockNumber) { /* * rightmost page, but we don't find parent, we should use * plain search... */ + LockBuffer(parent->buffer, GIN_UNLOCK); findParents(btree, stack, rootBlkno); parent = stack->parent; page = BufferGetPage(parent->buffer); break; } + parent->buffer = ginStepRight(parent->buffer, btree->index, GIN_EXCLUSIVE); parent->blkno = rightlink; - parent->buffer = ReleaseAndReadBuffer(parent->buffer, btree->index, parent->blkno); - LockBuffer(parent->buffer, GIN_EXCLUSIVE); page = BufferGetPage(parent->buffer); } diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/gindatapage.c postgresql-8.4-8.4.20/src/backend/access/gin/gindatapage.c --- postgresql-8.4-8.4.17/src/backend/access/gin/gindatapage.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/gindatapage.c 2014-02-17 19:44:07.000000000 +0000 @@ -375,7 +375,6 @@ static XLogRecData rdata[3]; int sizeofitem = GinSizeOfItem(page); static ginxlogInsert data; - int cnt = 0; *prdata = rdata; Assert(GinPageIsData(page)); @@ -391,32 +390,25 @@ data.isLeaf = GinPageIsLeaf(page) ? TRUE : FALSE; /* - * Prevent full page write if child's split occurs. That is needed to - * remove incomplete splits while replaying WAL - * - * data.updateBlkno contains new block number (of newly created right - * page) for recently splited page. + * For incomplete-split tracking, we need updateBlkno information and the + * inserted item even when we make a full page image of the page, so put + * the buffer reference in a separate XLogRecData entry. */ - if (data.updateBlkno == InvalidBlockNumber) - { - rdata[0].buffer = buf; - rdata[0].buffer_std = FALSE; - rdata[0].data = NULL; - rdata[0].len = 0; - rdata[0].next = &rdata[1]; - cnt++; - } - - rdata[cnt].buffer = InvalidBuffer; - rdata[cnt].data = (char *) &data; - rdata[cnt].len = sizeof(ginxlogInsert); - rdata[cnt].next = &rdata[cnt + 1]; - cnt++; - - rdata[cnt].buffer = InvalidBuffer; - rdata[cnt].data = (GinPageIsLeaf(page)) ? ((char *) (btree->items + btree->curitem)) : ((char *) &(btree->pitem)); - rdata[cnt].len = sizeofitem; - rdata[cnt].next = NULL; + rdata[0].buffer = buf; + rdata[0].buffer_std = FALSE; + rdata[0].data = NULL; + rdata[0].len = 0; + rdata[0].next = &rdata[1]; + + rdata[1].buffer = InvalidBuffer; + rdata[1].data = (char *) &data; + rdata[1].len = sizeof(ginxlogInsert); + rdata[1].next = &rdata[2]; + + rdata[2].buffer = InvalidBuffer; + rdata[2].data = (GinPageIsLeaf(page)) ? ((char *) (btree->items + btree->curitem)) : ((char *) &(btree->pitem)); + rdata[2].len = sizeofitem; + rdata[2].next = NULL; if (GinPageIsLeaf(page)) { @@ -432,7 +424,7 @@ btree->curitem++; } data.nitem = btree->curitem - savedPos; - rdata[cnt].len = sizeofitem * data.nitem; + rdata[2].len = sizeofitem * data.nitem; } else { diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/ginentrypage.c postgresql-8.4-8.4.20/src/backend/access/gin/ginentrypage.c --- postgresql-8.4-8.4.17/src/backend/access/gin/ginentrypage.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/ginentrypage.c 2014-02-17 19:44:07.000000000 +0000 @@ -423,7 +423,6 @@ static XLogRecData rdata[3]; OffsetNumber placed; static ginxlogInsert data; - int cnt = 0; *prdata = rdata; data.updateBlkno = entryPreparePage(btree, page, off); @@ -442,32 +441,25 @@ data.isLeaf = GinPageIsLeaf(page) ? TRUE : FALSE; /* - * Prevent full page write if child's split occurs. That is needed to - * remove incomplete splits while replaying WAL - * - * data.updateBlkno contains new block number (of newly created right - * page) for recently splited page. + * For incomplete-split tracking, we need updateBlkno information and the + * inserted item even when we make a full page image of the page, so put + * the buffer reference in a separate XLogRecData entry. */ - if (data.updateBlkno == InvalidBlockNumber) - { - rdata[0].buffer = buf; - rdata[0].buffer_std = TRUE; - rdata[0].data = NULL; - rdata[0].len = 0; - rdata[0].next = &rdata[1]; - cnt++; - } - - rdata[cnt].buffer = InvalidBuffer; - rdata[cnt].data = (char *) &data; - rdata[cnt].len = sizeof(ginxlogInsert); - rdata[cnt].next = &rdata[cnt + 1]; - cnt++; - - rdata[cnt].buffer = InvalidBuffer; - rdata[cnt].data = (char *) btree->entry; - rdata[cnt].len = IndexTupleSize(btree->entry); - rdata[cnt].next = NULL; + rdata[0].buffer = buf; + rdata[0].buffer_std = TRUE; + rdata[0].data = NULL; + rdata[0].len = 0; + rdata[0].next = &rdata[1]; + + rdata[1].buffer = InvalidBuffer; + rdata[1].data = (char *) &data; + rdata[1].len = sizeof(ginxlogInsert); + rdata[1].next = &rdata[2]; + + rdata[2].buffer = InvalidBuffer; + rdata[2].data = (char *) btree->entry; + rdata[2].len = IndexTupleSize(btree->entry); + rdata[2].next = NULL; btree->entry = NULL; } diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/ginget.c postgresql-8.4-8.4.20/src/backend/access/gin/ginget.c --- postgresql-8.4-8.4.17/src/backend/access/gin/ginget.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/ginget.c 2014-02-17 19:44:07.000000000 +0000 @@ -73,14 +73,11 @@ /* * We scanned the whole page, so we should take right page */ - stack->blkno = GinPageGetOpaque(page)->rightlink; - if (GinPageRightMost(page)) return false; /* no more pages */ - LockBuffer(stack->buffer, GIN_UNLOCK); - stack->buffer = ReleaseAndReadBuffer(stack->buffer, btree->index, stack->blkno); - LockBuffer(stack->buffer, GIN_SHARE); + stack->buffer = ginStepRight(stack->buffer, btree->index, GIN_SHARE); + stack->blkno = BufferGetBlockNumber(stack->buffer); stack->off = FirstOffsetNumber; } @@ -97,7 +94,6 @@ GinPostingTreeScan *gdi; Buffer buffer; Page page; - BlockNumber blkno; gdi = prepareScanPostingTree(index, rootPostingTree, TRUE); @@ -122,16 +118,13 @@ scanEntry->predictNumberResult += GinPageGetOpaque(page)->maxoff; } - blkno = GinPageGetOpaque(page)->rightlink; if (GinPageRightMost(page)) { UnlockReleaseBuffer(buffer); return; /* no more pages */ } - LockBuffer(buffer, GIN_UNLOCK); - buffer = ReleaseAndReadBuffer(buffer, index, blkno); - LockBuffer(buffer, GIN_SHARE); + buffer = ginStepRight(buffer, index, GIN_SHARE); } } @@ -455,7 +448,6 @@ entryGetNextItem(Relation index, GinScanEntry entry) { Page page; - BlockNumber blkno; for (;;) { @@ -473,21 +465,16 @@ * It's needed to go by right link. During that we should refind * first ItemPointer greater that stored */ - - blkno = GinPageGetOpaque(page)->rightlink; - - LockBuffer(entry->buffer, GIN_UNLOCK); - if (blkno == InvalidBlockNumber) + if (GinPageRightMost(page)) { - ReleaseBuffer(entry->buffer); + UnlockReleaseBuffer(entry->buffer); ItemPointerSetInvalid(&entry->curItem); entry->buffer = InvalidBuffer; entry->isFinished = TRUE; return; } - entry->buffer = ReleaseAndReadBuffer(entry->buffer, index, blkno); - LockBuffer(entry->buffer, GIN_SHARE); + entry->buffer = ginStepRight(entry->buffer, index, GIN_SHARE); page = BufferGetPage(entry->buffer); entry->offset = InvalidOffsetNumber; diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/ginvacuum.c postgresql-8.4-8.4.20/src/backend/access/gin/ginvacuum.c --- postgresql-8.4-8.4.17/src/backend/access/gin/ginvacuum.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/ginvacuum.c 2014-02-17 19:44:07.000000000 +0000 @@ -242,6 +242,9 @@ return hasVoidPage; } +/* + * Delete a posting tree page. + */ static void ginDeletePage(GinVacuumState *gvs, BlockNumber deleteBlkno, BlockNumber leftBlkno, BlockNumber parentBlkno, OffsetNumber myoff, bool isParentRoot) @@ -251,39 +254,35 @@ Buffer pBuffer; Page page, parentPage; + BlockNumber rightlink; + /* + * Lock the pages in the same order as an insertion would, to avoid + * deadlocks: left, then right, then parent. + */ + lBuffer = ReadBufferExtended(gvs->index, MAIN_FORKNUM, leftBlkno, + RBM_NORMAL, gvs->strategy); dBuffer = ReadBufferExtended(gvs->index, MAIN_FORKNUM, deleteBlkno, RBM_NORMAL, gvs->strategy); - - if (leftBlkno != InvalidBlockNumber) - lBuffer = ReadBufferExtended(gvs->index, MAIN_FORKNUM, leftBlkno, - RBM_NORMAL, gvs->strategy); - else - lBuffer = InvalidBuffer; - pBuffer = ReadBufferExtended(gvs->index, MAIN_FORKNUM, parentBlkno, RBM_NORMAL, gvs->strategy); + LockBuffer(lBuffer, GIN_EXCLUSIVE); LockBuffer(dBuffer, GIN_EXCLUSIVE); if (!isParentRoot) /* parent is already locked by * LockBufferForCleanup() */ LockBuffer(pBuffer, GIN_EXCLUSIVE); - if (leftBlkno != InvalidBlockNumber) - LockBuffer(lBuffer, GIN_EXCLUSIVE); START_CRIT_SECTION(); - if (leftBlkno != InvalidBlockNumber) - { - BlockNumber rightlink; + /* Unlink the page by changing left sibling's rightlink */ + page = BufferGetPage(dBuffer); + rightlink = GinPageGetOpaque(page)->rightlink; - page = BufferGetPage(dBuffer); - rightlink = GinPageGetOpaque(page)->rightlink; - - page = BufferGetPage(lBuffer); - GinPageGetOpaque(page)->rightlink = rightlink; - } + page = BufferGetPage(lBuffer); + GinPageGetOpaque(page)->rightlink = rightlink; + /* Delete downlink from parent */ parentPage = BufferGetPage(pBuffer); #ifdef USE_ASSERT_CHECKING do @@ -368,10 +367,7 @@ if (!isParentRoot) LockBuffer(pBuffer, GIN_UNLOCK); ReleaseBuffer(pBuffer); - - if (leftBlkno != InvalidBlockNumber) - UnlockReleaseBuffer(lBuffer); - + UnlockReleaseBuffer(lBuffer); UnlockReleaseBuffer(dBuffer); END_CRIT_SECTION(); @@ -439,15 +435,12 @@ if (GinPageGetOpaque(page)->maxoff < FirstOffsetNumber) { - if (!(me->leftBlkno == InvalidBlockNumber && GinPageRightMost(page))) + /* we never delete the left- or rightmost branch */ + if (me->leftBlkno != InvalidBlockNumber && !GinPageRightMost(page)) { - /* we never delete right most branch */ Assert(!isRoot); - if (GinPageGetOpaque(page)->maxoff < FirstOffsetNumber) - { - ginDeletePage(gvs, blkno, me->leftBlkno, me->parent->blkno, myoff, me->parent->isRoot); - meDelete = TRUE; - } + ginDeletePage(gvs, blkno, me->leftBlkno, me->parent->blkno, myoff, me->parent->isRoot); + meDelete = TRUE; } } diff -Nru postgresql-8.4-8.4.17/src/backend/access/gin/README postgresql-8.4-8.4.20/src/backend/access/gin/README --- postgresql-8.4-8.4.17/src/backend/access/gin/README 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/gin/README 2014-02-17 19:44:07.000000000 +0000 @@ -80,6 +80,56 @@ have no effect for queries returning a result set with less tuples than this number. +Concurrency +----------- + +The entry tree and each posting tree is a B-tree, with right-links connecting +sibling pages at the same level. This is the same structure that is used in +the regular B-tree indexam (invented by Lehman & Yao), but we don't support +scanning a GIN trees backwards, so we don't need left-links. + +To avoid deadlocks, B-tree pages must always be locked in the same order: +left to right, and bottom to top. When searching, the tree is traversed from +top to bottom, so the lock on the parent page must be released before +descending to the next level. Concurrent page splits move the keyspace to +right, so after following a downlink, the page actually containing the key +we're looking for might be somewhere to the right of the page we landed on. +In that case, we follow the right-links until we find the page we're looking +for. + +To delete a page, the page's left sibling, the target page, and its parent, +are locked in that order, and the page is marked as deleted. However, a +concurrent search might already have read a pointer to the page, and might be +just about to follow it. A page can be reached via the right-link of its left +sibling, or via its downlink in the parent. + +To prevent a backend from reaching a deleted page via a right-link, when +following a right-link the lock on the previous page is not released until +the lock on next page has been acquired. + +The downlink is more tricky. A search descending the tree must release the +lock on the parent page before locking the child, or it could deadlock with +a concurrent split of the child page; a page split locks the parent, while +already holding a lock on the child page. However, posting trees are only +fully searched from left to right, starting from the leftmost leaf. (The +tree-structure is only needed by insertions, to quickly find the correct +insert location). So as long as we don't delete the leftmost page on each +level, a search can never follow a downlink to page that's about to be +deleted. + +The previous paragraph's reasoning only applies to searches, and only to +posting trees. To protect from inserters following a downlink to a deleted +page, vacuum simply locks out all concurrent insertions to the posting tree, +by holding a super-exclusive lock on the posting tree root. Inserters hold a +pin on the root page, but searches do not, so while new searches cannot begin +while root page is locked, any already-in-progress scans can continue +concurrently with vacuum. In the entry tree, we never delete pages. + +(This is quite different from the mechanism the btree indexam uses to make +page-deletions safe; it stamps the deleted pages with an XID and keeps the +deleted pages around with the right-link intact until all concurrent scans +have finished.) + Limitations ----------- diff -Nru postgresql-8.4-8.4.17/src/backend/access/heap/visibilitymap.c postgresql-8.4-8.4.20/src/backend/access/heap/visibilitymap.c --- postgresql-8.4-8.4.17/src/backend/access/heap/visibilitymap.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/heap/visibilitymap.c 2014-02-17 19:44:07.000000000 +0000 @@ -344,11 +344,15 @@ /* Clear out the unwanted bytes. */ MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1)); - /* + /*---- * Mask out the unwanted bits of the last remaining byte. * - * ((1 << 0) - 1) = 00000000 ((1 << 1) - 1) = 00000001 ... ((1 << 6) - - * 1) = 00111111 ((1 << 7) - 1) = 01111111 + * ((1 << 0) - 1) = 00000000 + * ((1 << 1) - 1) = 00000001 + * ... + * ((1 << 6) - 1) = 00111111 + * ((1 << 7) - 1) = 01111111 + *---- */ map[truncByte] &= (1 << truncBit) - 1; diff -Nru postgresql-8.4-8.4.17/src/backend/access/transam/transam.c postgresql-8.4-8.4.20/src/backend/access/transam/transam.c --- postgresql-8.4-8.4.17/src/backend/access/transam/transam.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/transam/transam.c 2014-02-17 19:44:07.000000000 +0000 @@ -305,7 +305,7 @@ { /* * If either ID is a permanent XID then we can just do unsigned - * comparison. If both are normal, do a modulo-2^31 comparison. + * comparison. If both are normal, do a modulo-2^32 comparison. */ int32 diff; diff -Nru postgresql-8.4-8.4.17/src/backend/access/transam/varsup.c postgresql-8.4-8.4.20/src/backend/access/transam/varsup.c --- postgresql-8.4-8.4.17/src/backend/access/transam/varsup.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/transam/varsup.c 2014-02-17 19:44:07.000000000 +0000 @@ -333,18 +333,18 @@ * iterations in GetNewOid.) Note we are relying on unsigned comparison. * * During initdb, we start the OID generator at FirstBootstrapObjectId, so - * we only enforce wrapping to that point when in bootstrap or standalone - * mode. The first time through this routine after normal postmaster - * start, the counter will be forced up to FirstNormalObjectId. This - * mechanism leaves the OIDs between FirstBootstrapObjectId and - * FirstNormalObjectId available for automatic assignment during initdb, - * while ensuring they will never conflict with user-assigned OIDs. + * we only wrap if before that point when in bootstrap or standalone mode. + * The first time through this routine after normal postmaster start, the + * counter will be forced up to FirstNormalObjectId. This mechanism + * leaves the OIDs between FirstBootstrapObjectId and FirstNormalObjectId + * available for automatic assignment during initdb, while ensuring they + * will never conflict with user-assigned OIDs. */ if (ShmemVariableCache->nextOid < ((Oid) FirstNormalObjectId)) { if (IsPostmasterEnvironment) { - /* wraparound in normal environment */ + /* wraparound, or first post-initdb assignment, in normal mode */ ShmemVariableCache->nextOid = FirstNormalObjectId; ShmemVariableCache->oidCount = 0; } @@ -353,8 +353,8 @@ /* we may be bootstrapping, so don't enforce the full range */ if (ShmemVariableCache->nextOid < ((Oid) FirstBootstrapObjectId)) { - /* wraparound in standalone environment? */ - ShmemVariableCache->nextOid = FirstBootstrapObjectId; + /* wraparound in standalone mode (unlikely but possible) */ + ShmemVariableCache->nextOid = FirstNormalObjectId; ShmemVariableCache->oidCount = 0; } } diff -Nru postgresql-8.4-8.4.17/src/backend/access/transam/xlogutils.c postgresql-8.4-8.4.20/src/backend/access/transam/xlogutils.c --- postgresql-8.4-8.4.17/src/backend/access/transam/xlogutils.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/access/transam/xlogutils.c 2014-02-17 19:44:07.000000000 +0000 @@ -310,15 +310,21 @@ /* we do this in recovery only - no rel-extension lock needed */ Assert(InRecovery); buffer = InvalidBuffer; - while (blkno >= lastblock) + do { if (buffer != InvalidBuffer) ReleaseBuffer(buffer); buffer = ReadBufferWithoutRelcache(rnode, false, forknum, P_NEW, mode, NULL); - lastblock++; } - Assert(BufferGetBlockNumber(buffer) == blkno); + while (BufferGetBlockNumber(buffer) < blkno); + /* Handle the corner case that P_NEW returns non-consecutive pages */ + if (BufferGetBlockNumber(buffer) != blkno) + { + ReleaseBuffer(buffer); + buffer = ReadBufferWithoutRelcache(rnode, false, forknum, blkno, + mode, NULL); + } } if (mode == RBM_NORMAL) diff -Nru postgresql-8.4-8.4.17/src/backend/bootstrap/bootparse.c postgresql-8.4-8.4.20/src/backend/bootstrap/bootparse.c --- postgresql-8.4-8.4.17/src/backend/bootstrap/bootparse.c 2013-04-01 18:44:27.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/bootstrap/bootparse.c 2014-02-17 20:07:34.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,7 +73,7 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 1 "bootparse.y" /*------------------------------------------------------------------------- @@ -106,6 +104,7 @@ #include "bootstrap/bootstrap.h" #include "catalog/catalog.h" #include "catalog/heap.h" +#include "catalog/namespace.h" #include "catalog/pg_am.h" #include "catalog/pg_attribute.h" #include "catalog/pg_authid.h" @@ -170,8 +169,8 @@ -/* Line 189 of yacc.c */ -#line 175 "bootparse.c" +/* Line 268 of yacc.c */ +#line 174 "bootparse.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -232,8 +231,8 @@ typedef union YYSTYPE { -/* Line 214 of yacc.c */ -#line 98 "bootparse.y" +/* Line 293 of yacc.c */ +#line 99 "bootparse.y" List *list; IndexElem *ielem; @@ -243,8 +242,8 @@ -/* Line 214 of yacc.c */ -#line 248 "bootparse.c" +/* Line 293 of yacc.c */ +#line 247 "bootparse.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -255,8 +254,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 260 "bootparse.c" +/* Line 343 of yacc.c */ +#line 259 "bootparse.c" #ifdef short # undef short @@ -306,7 +305,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -359,11 +358,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -386,24 +385,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -432,23 +431,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -468,6 +451,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 29 /* YYLAST -- Last index in YYTABLE. */ @@ -558,11 +561,11 @@ /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 126, 126, 127, 131, 132, 136, 137, 138, 139, - 140, 141, 142, 143, 147, 156, 162, 172, 182, 171, - 237, 236, 258, 276, 294, 304, 314, 315, 319, 332, - 333, 337, 338, 342, 343, 347, 348, 352, 361, 365, - 366, 370, 371, 372, 376, 378, 380, 385, 389 + 0, 127, 127, 128, 132, 133, 137, 138, 139, 140, + 141, 142, 143, 144, 148, 157, 163, 173, 183, 172, + 238, 237, 259, 282, 305, 315, 325, 326, 330, 343, + 344, 348, 349, 353, 354, 358, 359, 363, 372, 376, + 377, 381, 382, 383, 387, 389, 391, 396, 400 }; #endif @@ -617,8 +620,8 @@ 0, 1, 2, 3, 1, 1, 1, 1, 1 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { @@ -669,8 +672,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 static const yytype_uint8 yytable[] = { @@ -685,6 +687,12 @@ 80, 0, 0, 0, 80 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-43)) + +#define yytable_value_is_error(yytable_value) \ + YYID (0) + static const yytype_int8 yycheck[] = { 1, 2, 4, 3, 4, 3, 4, 49, 33, 22, @@ -726,9 +734,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -738,7 +755,6 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ @@ -780,19 +796,10 @@ #endif -/* YY_LOCATION_PRINT -- Print the location on the stream. - This macro was not mandated originally: define only if we know - we won't break user code: when these are the locations we know. */ +/* This macro is provided for backward compatibility. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL -# define YY_LOCATION_PRINT(File, Loc) \ - fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) -# else -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -# endif +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) #endif @@ -984,7 +991,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -1087,115 +1093,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -1228,6 +1261,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -1254,10 +1288,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -1281,8 +1314,6 @@ #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1437,7 +1468,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -1468,8 +1499,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -1524,41 +1555,41 @@ { case 14: -/* Line 1455 of yacc.c */ -#line 148 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 149 "bootparse.y" { do_start(); boot_openrel(LexIDStr((yyvsp[(2) - (2)].ival))); do_end(); - ;} + } break; case 15: -/* Line 1455 of yacc.c */ -#line 157 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 158 "bootparse.y" { do_start(); closerel(LexIDStr((yyvsp[(2) - (2)].ival))); do_end(); - ;} + } break; case 16: -/* Line 1455 of yacc.c */ -#line 163 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 164 "bootparse.y" { do_start(); closerel(NULL); do_end(); - ;} + } break; case 17: -/* Line 1455 of yacc.c */ -#line 172 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 173 "bootparse.y" { do_start(); numattr = 0; @@ -1567,22 +1598,22 @@ (yyvsp[(3) - (7)].ival) ? " shared" : "", LexIDStr((yyvsp[(5) - (7)].ival)), (yyvsp[(6) - (7)].oidval)); - ;} + } break; case 18: -/* Line 1455 of yacc.c */ -#line 182 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 183 "bootparse.y" { do_end(); - ;} + } break; case 19: -/* Line 1455 of yacc.c */ -#line 186 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 187 "bootparse.y" { TupleDesc tupdesc; @@ -1629,13 +1660,13 @@ elog(DEBUG4, "relation created with oid %u", id); } do_end(); - ;} + } break; case 20: -/* Line 1455 of yacc.c */ -#line 237 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 238 "bootparse.y" { do_start(); if ((yyvsp[(2) - (2)].oidval)) @@ -1643,13 +1674,13 @@ else elog(DEBUG4, "inserting row"); num_columns_read = 0; - ;} + } break; case 21: -/* Line 1455 of yacc.c */ -#line 246 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 247 "bootparse.y" { if (num_columns_read != numattr) elog(ERROR, "incorrect number of columns in row (expected %d, got %d)", @@ -1658,17 +1689,22 @@ elog(FATAL, "relation not open"); InsertOneTuple((yyvsp[(2) - (6)].oidval)); do_end(); - ;} + } break; case 22: -/* Line 1455 of yacc.c */ -#line 259 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 260 "bootparse.y" { + Oid relationId; + do_start(); - DefineIndex(makeRangeVar(NULL, LexIDStr((yyvsp[(6) - (11)].ival)), -1), + relationId = RangeVarGetRelid(makeRangeVar(NULL, LexIDStr((yyvsp[(6) - (11)].ival)), -1), + false); + + DefineIndex(relationId, LexIDStr((yyvsp[(3) - (11)].ival)), (yyvsp[(4) - (11)].oidval), LexIDStr((yyvsp[(8) - (11)].ival)), @@ -1678,17 +1714,22 @@ false, false, false, false, false, true, false, false); do_end(); - ;} + } break; case 23: -/* Line 1455 of yacc.c */ -#line 277 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 283 "bootparse.y" { + Oid relationId; + do_start(); - DefineIndex(makeRangeVar(NULL, LexIDStr((yyvsp[(7) - (12)].ival)), -1), + relationId = RangeVarGetRelid(makeRangeVar(NULL, LexIDStr((yyvsp[(7) - (12)].ival)), -1), + false); + + DefineIndex(relationId, LexIDStr((yyvsp[(4) - (12)].ival)), (yyvsp[(5) - (12)].oidval), LexIDStr((yyvsp[(9) - (12)].ival)), @@ -1698,50 +1739,50 @@ true, false, false, false, false, true, false, false); do_end(); - ;} + } break; case 24: -/* Line 1455 of yacc.c */ -#line 295 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 306 "bootparse.y" { do_start(); BootstrapToastTable(LexIDStr((yyvsp[(6) - (6)].ival)), (yyvsp[(3) - (6)].oidval), (yyvsp[(4) - (6)].oidval)); do_end(); - ;} + } break; case 25: -/* Line 1455 of yacc.c */ -#line 305 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 316 "bootparse.y" { do_start(); build_indices(); do_end(); - ;} + } break; case 26: -/* Line 1455 of yacc.c */ -#line 314 "bootparse.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); ;} +/* Line 1806 of yacc.c */ +#line 325 "bootparse.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); } break; case 27: -/* Line 1455 of yacc.c */ -#line 315 "bootparse.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); ;} +/* Line 1806 of yacc.c */ +#line 326 "bootparse.y" + { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); } break; case 28: -/* Line 1455 of yacc.c */ -#line 320 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 331 "bootparse.y" { IndexElem *n = makeNode(IndexElem); n->name = LexIDStr((yyvsp[(1) - (2)].ival)); @@ -1750,124 +1791,135 @@ n->ordering = SORTBY_DEFAULT; n->nulls_ordering = SORTBY_NULLS_DEFAULT; (yyval.ielem) = n; - ;} + } break; case 29: -/* Line 1455 of yacc.c */ -#line 332 "bootparse.y" - { (yyval.ival) = 1; ;} +/* Line 1806 of yacc.c */ +#line 343 "bootparse.y" + { (yyval.ival) = 1; } break; case 30: -/* Line 1455 of yacc.c */ -#line 333 "bootparse.y" - { (yyval.ival) = 0; ;} +/* Line 1806 of yacc.c */ +#line 344 "bootparse.y" + { (yyval.ival) = 0; } break; case 31: -/* Line 1455 of yacc.c */ -#line 337 "bootparse.y" - { (yyval.ival) = 1; ;} +/* Line 1806 of yacc.c */ +#line 348 "bootparse.y" + { (yyval.ival) = 1; } break; case 32: -/* Line 1455 of yacc.c */ -#line 338 "bootparse.y" - { (yyval.ival) = 0; ;} +/* Line 1806 of yacc.c */ +#line 349 "bootparse.y" + { (yyval.ival) = 0; } break; case 33: -/* Line 1455 of yacc.c */ -#line 342 "bootparse.y" - { (yyval.ival) = 1; ;} +/* Line 1806 of yacc.c */ +#line 353 "bootparse.y" + { (yyval.ival) = 1; } break; case 34: -/* Line 1455 of yacc.c */ -#line 343 "bootparse.y" - { (yyval.ival) = 0; ;} +/* Line 1806 of yacc.c */ +#line 354 "bootparse.y" + { (yyval.ival) = 0; } break; case 37: -/* Line 1455 of yacc.c */ -#line 353 "bootparse.y" +/* Line 1806 of yacc.c */ +#line 364 "bootparse.y" { if (++numattr > MAXATTR) elog(FATAL, "too many columns"); DefineAttr(LexIDStr((yyvsp[(1) - (3)].ival)),LexIDStr((yyvsp[(3) - (3)].ival)),numattr-1); - ;} + } break; case 38: -/* Line 1455 of yacc.c */ -#line 361 "bootparse.y" - { (yyval.oidval) = atooid(LexIDStr((yyvsp[(1) - (1)].ival))); ;} +/* Line 1806 of yacc.c */ +#line 372 "bootparse.y" + { (yyval.oidval) = atooid(LexIDStr((yyvsp[(1) - (1)].ival))); } break; case 39: -/* Line 1455 of yacc.c */ -#line 365 "bootparse.y" - { (yyval.oidval) = (yyvsp[(3) - (3)].oidval); ;} +/* Line 1806 of yacc.c */ +#line 376 "bootparse.y" + { (yyval.oidval) = (yyvsp[(3) - (3)].oidval); } break; case 40: -/* Line 1455 of yacc.c */ -#line 366 "bootparse.y" - { (yyval.oidval) = (Oid) 0; ;} +/* Line 1806 of yacc.c */ +#line 377 "bootparse.y" + { (yyval.oidval) = (Oid) 0; } break; case 44: -/* Line 1455 of yacc.c */ -#line 377 "bootparse.y" - { InsertOneValue(LexIDStr((yyvsp[(1) - (1)].ival)), num_columns_read++); ;} +/* Line 1806 of yacc.c */ +#line 388 "bootparse.y" + { InsertOneValue(LexIDStr((yyvsp[(1) - (1)].ival)), num_columns_read++); } break; case 45: -/* Line 1455 of yacc.c */ -#line 379 "bootparse.y" - { InsertOneValue(LexIDStr((yyvsp[(1) - (1)].ival)), num_columns_read++); ;} +/* Line 1806 of yacc.c */ +#line 390 "bootparse.y" + { InsertOneValue(LexIDStr((yyvsp[(1) - (1)].ival)), num_columns_read++); } break; case 46: -/* Line 1455 of yacc.c */ -#line 381 "bootparse.y" - { InsertOneNull(num_columns_read++); ;} +/* Line 1806 of yacc.c */ +#line 392 "bootparse.y" + { InsertOneNull(num_columns_read++); } break; case 47: -/* Line 1455 of yacc.c */ -#line 385 "bootparse.y" - { (yyval.ival)=yylval.ival; ;} +/* Line 1806 of yacc.c */ +#line 396 "bootparse.y" + { (yyval.ival)=yylval.ival; } break; case 48: -/* Line 1455 of yacc.c */ -#line 389 "bootparse.y" - { (yyval.ival)=yylval.ival; ;} +/* Line 1806 of yacc.c */ +#line 400 "bootparse.y" + { (yyval.ival)=yylval.ival; } break; -/* Line 1455 of yacc.c */ -#line 1869 "bootparse.c" +/* Line 1806 of yacc.c */ +#line 1910 "bootparse.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -1895,6 +1947,10 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { @@ -1902,37 +1958,36 @@ #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } @@ -1991,7 +2046,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -2050,8 +2105,13 @@ yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -2076,8 +2136,8 @@ -/* Line 1675 of yacc.c */ -#line 391 "bootparse.y" +/* Line 2067 of yacc.c */ +#line 402 "bootparse.y" #include "bootscanner.c" diff -Nru postgresql-8.4-8.4.17/src/backend/bootstrap/bootparse.y postgresql-8.4-8.4.20/src/backend/bootstrap/bootparse.y --- postgresql-8.4-8.4.17/src/backend/bootstrap/bootparse.y 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/bootstrap/bootparse.y 2014-02-17 19:44:07.000000000 +0000 @@ -27,6 +27,7 @@ #include "bootstrap/bootstrap.h" #include "catalog/catalog.h" #include "catalog/heap.h" +#include "catalog/namespace.h" #include "catalog/pg_am.h" #include "catalog/pg_attribute.h" #include "catalog/pg_authid.h" @@ -257,9 +258,14 @@ Boot_DeclareIndexStmt: XDECLARE INDEX boot_ident oidspec ON boot_ident USING boot_ident LPAREN boot_index_params RPAREN { + Oid relationId; + do_start(); - DefineIndex(makeRangeVar(NULL, LexIDStr($6), -1), + relationId = RangeVarGetRelid(makeRangeVar(NULL, LexIDStr($6), -1), + false); + + DefineIndex(relationId, LexIDStr($3), $4, LexIDStr($8), @@ -275,9 +281,14 @@ Boot_DeclareUniqueIndexStmt: XDECLARE UNIQUE INDEX boot_ident oidspec ON boot_ident USING boot_ident LPAREN boot_index_params RPAREN { + Oid relationId; + do_start(); - DefineIndex(makeRangeVar(NULL, LexIDStr($7), -1), + relationId = RangeVarGetRelid(makeRangeVar(NULL, LexIDStr($7), -1), + false); + + DefineIndex(relationId, LexIDStr($4), $5, LexIDStr($9), diff -Nru postgresql-8.4-8.4.17/src/backend/bootstrap/bootstrap.c postgresql-8.4-8.4.20/src/backend/bootstrap/bootstrap.c --- postgresql-8.4-8.4.17/src/backend/bootstrap/bootstrap.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/bootstrap/bootstrap.c 2014-02-17 19:44:07.000000000 +0000 @@ -216,14 +216,6 @@ MyStartTime = time(NULL); - /* - * Fire up essential subsystems: error and memory management - * - * If we are running under the postmaster, this is done already. - */ - if (!IsUnderPostmaster) - MemoryContextInit(); - /* Compute paths, if we didn't inherit them from postmaster */ if (my_exec_path[0] == '\0') { diff -Nru postgresql-8.4-8.4.17/src/backend/catalog/index.c postgresql-8.4-8.4.20/src/backend/catalog/index.c --- postgresql-8.4-8.4.17/src/backend/catalog/index.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/catalog/index.c 2014-02-17 19:44:07.000000000 +0000 @@ -96,7 +96,6 @@ IndexInfo *indexInfo, Snapshot snapshot, v_i_state *state); -static Oid IndexGetRelation(Oid indexId); /* @@ -2319,7 +2318,7 @@ * IndexGetRelation: given an index's relation OID, get the OID of the * relation it is an index on. Uses the system cache. */ -static Oid +Oid IndexGetRelation(Oid indexId) { HeapTuple tuple; diff -Nru postgresql-8.4-8.4.17/src/backend/catalog/pg_constraint.c postgresql-8.4-8.4.20/src/backend/catalog/pg_constraint.c --- postgresql-8.4-8.4.17/src/backend/catalog/pg_constraint.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/catalog/pg_constraint.c 2014-02-17 19:44:07.000000000 +0000 @@ -699,3 +699,22 @@ heap_close(conRel, RowExclusiveLock); } + +/* + * get_constraint_relation_oids + * Find the IDs of the relations to which a constraint refers. + */ +void +get_constraint_relation_oids(Oid constraint_oid, Oid *conrelid, Oid *confrelid) +{ + HeapTuple tup; + Form_pg_constraint con; + + tup = SearchSysCache(CONSTROID, ObjectIdGetDatum(constraint_oid), 0, 0, 0); + if (!HeapTupleIsValid(tup)) /* should not happen */ + elog(ERROR, "cache lookup failed for constraint %u", constraint_oid); + con = (Form_pg_constraint) GETSTRUCT(tup); + *conrelid = con->conrelid; + *confrelid = con->confrelid; + ReleaseSysCache(tup); +} diff -Nru postgresql-8.4-8.4.17/src/backend/catalog/pg_proc.c postgresql-8.4-8.4.20/src/backend/catalog/pg_proc.c --- postgresql-8.4-8.4.17/src/backend/catalog/pg_proc.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/catalog/pg_proc.c 2014-02-17 19:44:07.000000000 +0000 @@ -283,6 +283,12 @@ } } + /* Guard against a case the planner doesn't handle yet */ + if (isWindowFunc && parameterDefaults != NIL) + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("window functions cannot have default arguments"))); + /* * All seems OK; prepare the data to be inserted into pg_proc. */ @@ -561,24 +567,34 @@ /* Verify function body */ if (OidIsValid(languageValidator)) { - ArrayType *set_items; - int save_nestlevel; + ArrayType *set_items = NULL; + int save_nestlevel = 0; /* Advance command counter so new tuple can be seen by validator */ CommandCounterIncrement(); - /* Set per-function configuration parameters */ - set_items = (ArrayType *) DatumGetPointer(proconfig); - if (set_items) /* Need a new GUC nesting level */ + /* + * Set per-function configuration parameters so that the validation is + * done with the environment the function expects. However, if + * check_function_bodies is off, we don't do this, because that would + * create dump ordering hazards that pg_dump doesn't know how to deal + * with. (For example, a SET clause might refer to a not-yet-created + * text search configuration.) This means that the validator + * shouldn't complain about anything that might depend on a GUC + * parameter when check_function_bodies is off. + */ + if (check_function_bodies) { - save_nestlevel = NewGUCNestLevel(); - ProcessGUCArray(set_items, - (superuser() ? PGC_SUSET : PGC_USERSET), - PGC_S_SESSION, - GUC_ACTION_SAVE); + set_items = (ArrayType *) DatumGetPointer(proconfig); + if (set_items) /* Need a new GUC nesting level */ + { + save_nestlevel = NewGUCNestLevel(); + ProcessGUCArray(set_items, + (superuser() ? PGC_SUSET : PGC_USERSET), + PGC_S_SESSION, + GUC_ACTION_SAVE); + } } - else - save_nestlevel = 0; /* keep compiler quiet */ OidFunctionCall1(languageValidator, ObjectIdGetDatum(retval)); @@ -607,6 +623,9 @@ Datum tmp; char *prosrc; + if (!CheckFunctionValidatorAccess(fcinfo->flinfo->fn_oid, funcoid)) + PG_RETURN_VOID(); + /* * We do not honor check_function_bodies since it's unlikely the function * name will be found later if it isn't there now. @@ -656,6 +675,9 @@ char *prosrc; char *probin; + if (!CheckFunctionValidatorAccess(fcinfo->flinfo->fn_oid, funcoid)) + PG_RETURN_VOID(); + /* * It'd be most consistent to skip the check if !check_function_bodies, * but the purpose of that switch is to be helpful for pg_dump loading, @@ -708,6 +730,9 @@ bool haspolyarg; int i; + if (!CheckFunctionValidatorAccess(fcinfo->flinfo->fn_oid, funcoid)) + PG_RETURN_VOID(); + tuple = SearchSysCache(PROCOID, ObjectIdGetDatum(funcoid), 0, 0, 0); diff -Nru postgresql-8.4-8.4.17/src/backend/commands/alter.c postgresql-8.4-8.4.20/src/backend/commands/alter.c --- postgresql-8.4-8.4.17/src/backend/commands/alter.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/alter.c 2014-02-17 19:44:07.000000000 +0000 @@ -91,9 +91,8 @@ { Oid relid; - CheckRelationOwnership(stmt->relation, true); - relid = RangeVarGetRelid(stmt->relation, false); + CheckRelationOwnership(relid, true); switch (stmt->renameType) { @@ -186,7 +185,6 @@ case OBJECT_SEQUENCE: case OBJECT_TABLE: case OBJECT_VIEW: - CheckRelationOwnership(stmt->relation, true); AlterTableNamespace(stmt->relation, stmt->newschema, stmt->objectType); break; diff -Nru postgresql-8.4-8.4.17/src/backend/commands/analyze.c postgresql-8.4-8.4.20/src/backend/commands/analyze.c --- postgresql-8.4-8.4.17/src/backend/commands/analyze.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/analyze.c 2014-02-17 19:44:07.000000000 +0000 @@ -2392,7 +2392,21 @@ slot_idx++; } } - else if (nonnull_cnt == 0 && null_cnt > 0) + else if (nonnull_cnt > 0) + { + /* We found some non-null values, but they were all too wide */ + Assert(nonnull_cnt == toowide_cnt); + stats->stats_valid = true; + /* Do the simple null-frac and width stats */ + stats->stanullfrac = (double) null_cnt / (double) samplerows; + if (is_varwidth) + stats->stawidth = total_width / (double) nonnull_cnt; + else + stats->stawidth = stats->attrtype->typlen; + /* Assume all too-wide values are distinct, so it's a unique column */ + stats->stadistinct = -1.0; + } + else if (null_cnt > 0) { /* We found only nulls; assume the column is entirely null */ stats->stats_valid = true; diff -Nru postgresql-8.4-8.4.17/src/backend/commands/async.c postgresql-8.4-8.4.20/src/backend/commands/async.c --- postgresql-8.4-8.4.17/src/backend/commands/async.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/async.c 2014-02-17 19:44:07.000000000 +0000 @@ -807,11 +807,15 @@ /* * We may be called while ImmediateInterruptOK is true; turn it off - * while messing with the NOTIFY state. (We would have to save and - * restore it anyway, because PGSemaphore operations inside - * ProcessIncomingNotify() might reset it.) + * while messing with the NOTIFY state. This prevents problems if + * SIGINT or similar arrives while we're working. Just to be real + * sure, bump the interrupt holdoff counter as well. That way, even + * if something inside ProcessIncomingNotify() transiently sets + * ImmediateInterruptOK (eg while waiting on a lock), we won't get + * interrupted until we're done with the notify interrupt. */ ImmediateInterruptOK = false; + HOLD_INTERRUPTS(); /* * I'm not sure whether some flavors of Unix might allow another @@ -841,8 +845,10 @@ } /* - * Restore ImmediateInterruptOK, and check for interrupts if needed. + * Restore the holdoff level and ImmediateInterruptOK, and check for + * interrupts if needed. */ + RESUME_INTERRUPTS(); ImmediateInterruptOK = save_ImmediateInterruptOK; if (save_ImmediateInterruptOK) CHECK_FOR_INTERRUPTS(); diff -Nru postgresql-8.4-8.4.17/src/backend/commands/functioncmds.c postgresql-8.4-8.4.20/src/backend/commands/functioncmds.c --- postgresql-8.4-8.4.17/src/backend/commands/functioncmds.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/functioncmds.c 2014-02-17 19:44:07.000000000 +0000 @@ -929,7 +929,6 @@ prorows); } - /* * RemoveFunction * Deletes a function. diff -Nru postgresql-8.4-8.4.17/src/backend/commands/indexcmds.c postgresql-8.4-8.4.20/src/backend/commands/indexcmds.c --- postgresql-8.4-8.4.17/src/backend/commands/indexcmds.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/indexcmds.c 2014-02-17 19:44:07.000000000 +0000 @@ -72,7 +72,8 @@ * DefineIndex * Creates a new index. * - * 'heapRelation': the relation the index will apply to. + * 'relationId': the OID of the heap relation on which the index is to be + * created * 'indexRelationName': the name for the new index, or NULL to indicate * that a nonconflicting default name should be picked. * 'indexRelationId': normally InvalidOid, but during bootstrap can be @@ -97,7 +98,7 @@ * 'concurrent': avoid blocking writers to the table while building. */ void -DefineIndex(RangeVar *heapRelation, +DefineIndex(Oid relationId, char *indexRelationName, Oid indexRelationId, char *accessMethodName, @@ -116,7 +117,6 @@ { Oid *classObjectId; Oid accessMethodId; - Oid relationId; Oid namespaceId; Oid tablespaceId; Relation rel; @@ -129,11 +129,13 @@ int16 *coloptions; IndexInfo *indexInfo; int numberOfAttributes; + TransactionId limitXmin; VirtualTransactionId *old_lockholders; VirtualTransactionId *old_snapshots; int n_old_snapshots; LockRelId heaprelid; LOCKTAG heaplocktag; + LOCKMODE lockmode; Snapshot snapshot; int i; @@ -152,14 +154,18 @@ INDEX_MAX_KEYS))); /* - * Open heap relation, acquire a suitable lock on it, remember its OID - * * Only SELECT ... FOR UPDATE/SHARE are allowed while doing a standard * index build; but for concurrent builds we allow INSERT/UPDATE/DELETE * (but not VACUUM). + * + * NB: Caller is responsible for making sure that relationId refers + * to the relation on which the index should be built; except in bootstrap + * mode, this will typically require the caller to have already locked + * the relation. To avoid lock upgrade hazards, that lock should be at + * least as strong as the one we take here. */ - rel = heap_openrv(heapRelation, - (concurrent ? ShareUpdateExclusiveLock : ShareLock)); + lockmode = concurrent ? ShareUpdateExclusiveLock : ShareLock; + rel = heap_open(relationId, lockmode); relationId = RelationGetRelid(rel); namespaceId = RelationGetNamespace(rel); @@ -170,7 +176,7 @@ ereport(ERROR, (errcode(ERRCODE_WRONG_OBJECT_TYPE), errmsg("\"%s\" is not a table", - heapRelation->relname))); + RelationGetRelationName(rel)))); /* * Don't try to CREATE INDEX on temp tables of other backends. @@ -536,7 +542,7 @@ */ /* Open and lock the parent heap relation */ - rel = heap_openrv(heapRelation, ShareUpdateExclusiveLock); + rel = heap_open(relationId, ShareUpdateExclusiveLock); /* And the target index relation */ indexRelation = index_open(indexRelationId, RowExclusiveLock); @@ -611,6 +617,18 @@ validate_index(relationId, indexRelationId, snapshot); /* + * Drop the reference snapshot. We must do this before waiting out other + * snapshot holders, else we will deadlock against other processes also + * doing CREATE INDEX CONCURRENTLY, which would see our snapshot as one + * they must wait for. But first, save the snapshot's xmin to use as + * limitXmin for GetCurrentVirtualXIDs(). + */ + limitXmin = snapshot->xmin; + + PopActiveSnapshot(); + UnregisterSnapshot(snapshot); + + /* * The index is now valid in the sense that it contains all currently * interesting tuples. But since it might not contain tuples deleted just * before the reference snap was taken, we have to wait out any @@ -642,7 +660,7 @@ * GetCurrentVirtualXIDs. If, during any iteration, a particular vxid * doesn't show up in the output, we know we can forget about it. */ - old_snapshots = GetCurrentVirtualXIDs(snapshot->xmin, true, false, + old_snapshots = GetCurrentVirtualXIDs(limitXmin, true, false, PROC_IS_AUTOVACUUM | PROC_IN_VACUUM, &n_old_snapshots); @@ -659,7 +677,7 @@ int j; int k; - newer_snapshots = GetCurrentVirtualXIDs(snapshot->xmin, + newer_snapshots = GetCurrentVirtualXIDs(limitXmin, true, false, PROC_IS_AUTOVACUUM | PROC_IN_VACUUM, &n_newer_snapshots); @@ -698,12 +716,6 @@ */ CacheInvalidateRelcacheByRelid(heaprelid.relId); - /* we can now do away with our active snapshot */ - PopActiveSnapshot(); - - /* And we can remove the validating snapshot too */ - UnregisterSnapshot(snapshot); - /* * Last thing to do is release the session-level lock on the parent table. */ diff -Nru postgresql-8.4-8.4.17/src/backend/commands/portalcmds.c postgresql-8.4-8.4.20/src/backend/commands/portalcmds.c --- postgresql-8.4-8.4.17/src/backend/commands/portalcmds.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/portalcmds.c 2014-02-17 19:44:07.000000000 +0000 @@ -263,7 +263,8 @@ saveResourceOwner = CurrentResourceOwner; PG_TRY(); { - CurrentResourceOwner = portal->resowner; + if (portal->resowner) + CurrentResourceOwner = portal->resowner; /* we do not need AfterTriggerEndQuery() here */ ExecutorEnd(queryDesc); FreeQueryDesc(queryDesc); @@ -338,7 +339,8 @@ PG_TRY(); { ActivePortal = portal; - CurrentResourceOwner = portal->resowner; + if (portal->resowner) + CurrentResourceOwner = portal->resowner; PortalContext = PortalGetHeapMemory(portal); MemoryContextSwitchTo(PortalContext); diff -Nru postgresql-8.4-8.4.17/src/backend/commands/tablecmds.c postgresql-8.4-8.4.20/src/backend/commands/tablecmds.c --- postgresql-8.4-8.4.17/src/backend/commands/tablecmds.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/tablecmds.c 2014-02-17 19:44:07.000000000 +0000 @@ -66,6 +66,7 @@ #include "storage/bufmgr.h" #include "storage/lmgr.h" #include "storage/smgr.h" +#include "tcop/utility.h" #include "utils/acl.h" #include "utils/builtins.h" #include "utils/fmgroids.h" @@ -249,8 +250,8 @@ static void checkFkeyPermissions(Relation rel, int16 *attnums, int natts); static void validateForeignKeyConstraint(FkConstraint *fkconstraint, Relation rel, Relation pkrel, Oid constraintOid); -static void createForeignKeyTriggers(Relation rel, FkConstraint *fkconstraint, - Oid constraintOid); +static void createForeignKeyTriggers(Relation rel, Oid refRelOid, + FkConstraint *fkconstraint, Oid constraintOid); static void ATController(Relation rel, List *cmds, bool recurse); static void ATPrepCmd(List **wqueue, Relation rel, AlterTableCmd *cmd, bool recurse, bool recursing); @@ -308,7 +309,8 @@ static void ATExecAlterColumnType(AlteredTableInfo *tab, Relation rel, const char *colName, TypeName *typename); static void ATPostAlterTypeCleanup(List **wqueue, AlteredTableInfo *tab); -static void ATPostAlterTypeParse(char *cmd, List **wqueue); +static void ATPostAlterTypeParse(Oid oldRelId, Oid refRelId, char *cmd, + List **wqueue); static void change_owner_fix_column_acls(Oid relationOid, Oid oldOwnerId, Oid newOwnerId); static void change_owner_recurse_to_sequences(Oid relationOid, @@ -2159,9 +2161,12 @@ * the whole operation; we don't have to do anything special to clean up. */ void -AlterTable(AlterTableStmt *stmt) +AlterTable(Oid relid, AlterTableStmt *stmt) { - Relation rel = relation_openrv(stmt->relation, AccessExclusiveLock); + Relation rel; + + /* Caller is required to provide an adequate lock. */ + rel = relation_open(relid, NoLock); CheckTableNotInUse(rel, "ALTER TABLE"); @@ -4291,7 +4296,7 @@ /* The IndexStmt has already been through transformIndexStmt */ - DefineIndex(stmt->relation, /* relation */ + DefineIndex(RelationGetRelid(rel), /* relation */ stmt->idxname, /* index name */ InvalidOid, /* no predefined OID */ stmt->accessMethod, /* am name */ @@ -4540,7 +4545,10 @@ * table; trying to start with a lesser lock will just create a risk of * deadlock.) */ - pkrel = heap_openrv(fkconstraint->pktable, AccessExclusiveLock); + if (OidIsValid(fkconstraint->old_pktable_oid)) + pkrel = heap_open(fkconstraint->old_pktable_oid, AccessExclusiveLock); + else + pkrel = heap_openrv(fkconstraint->pktable, AccessExclusiveLock); /* * Validity checks (permission checks wait till we have the column @@ -4776,7 +4784,8 @@ /* * Create the triggers that will enforce the constraint. */ - createForeignKeyTriggers(rel, fkconstraint, constrOid); + createForeignKeyTriggers(rel, RelationGetRelid(pkrel), fkconstraint, + constrOid); /* * Tell Phase 3 to check that the constraint is satisfied by existing rows @@ -5148,14 +5157,14 @@ } static void -CreateFKCheckTrigger(RangeVar *myRel, FkConstraint *fkconstraint, +CreateFKCheckTrigger(Oid myRelOid, Oid refRelOid, FkConstraint *fkconstraint, Oid constraintOid, bool on_insert) { CreateTrigStmt *fk_trigger; fk_trigger = makeNode(CreateTrigStmt); fk_trigger->trigname = fkconstraint->constr_name; - fk_trigger->relation = myRel; + fk_trigger->relation = NULL; fk_trigger->before = false; fk_trigger->row = true; @@ -5174,10 +5183,11 @@ fk_trigger->isconstraint = true; fk_trigger->deferrable = fkconstraint->deferrable; fk_trigger->initdeferred = fkconstraint->initdeferred; - fk_trigger->constrrel = fkconstraint->pktable; + fk_trigger->constrrel = NULL; fk_trigger->args = NIL; - (void) CreateTrigger(fk_trigger, constraintOid, false); + (void) CreateTrigger(fk_trigger, myRelOid, refRelOid, + constraintOid, false); /* Make changes-so-far visible */ CommandCounterIncrement(); @@ -5187,18 +5197,13 @@ * Create the triggers that implement an FK constraint. */ static void -createForeignKeyTriggers(Relation rel, FkConstraint *fkconstraint, - Oid constraintOid) +createForeignKeyTriggers(Relation rel, Oid refRelOid, + FkConstraint *fkconstraint, Oid constraintOid) { - RangeVar *myRel; + Oid myRelOid; CreateTrigStmt *fk_trigger; - /* - * Reconstruct a RangeVar for my relation (not passed in, unfortunately). - */ - myRel = makeRangeVar(get_namespace_name(RelationGetNamespace(rel)), - pstrdup(RelationGetRelationName(rel)), - -1); + myRelOid = RelationGetRelid(rel); /* Make changes-so-far visible */ CommandCounterIncrement(); @@ -5209,12 +5214,12 @@ */ fk_trigger = makeNode(CreateTrigStmt); fk_trigger->trigname = fkconstraint->constr_name; - fk_trigger->relation = fkconstraint->pktable; + fk_trigger->relation = NULL; fk_trigger->before = false; fk_trigger->row = true; fk_trigger->events = TRIGGER_TYPE_DELETE; fk_trigger->isconstraint = true; - fk_trigger->constrrel = myRel; + fk_trigger->constrrel = NULL; switch (fkconstraint->fk_del_action) { case FKCONSTR_ACTION_NOACTION: @@ -5249,7 +5254,8 @@ } fk_trigger->args = NIL; - (void) CreateTrigger(fk_trigger, constraintOid, false); + (void) CreateTrigger(fk_trigger, refRelOid, myRelOid, + constraintOid, false); /* Make changes-so-far visible */ CommandCounterIncrement(); @@ -5260,12 +5266,12 @@ */ fk_trigger = makeNode(CreateTrigStmt); fk_trigger->trigname = fkconstraint->constr_name; - fk_trigger->relation = fkconstraint->pktable; + fk_trigger->relation = NULL; fk_trigger->before = false; fk_trigger->row = true; fk_trigger->events = TRIGGER_TYPE_UPDATE; fk_trigger->isconstraint = true; - fk_trigger->constrrel = myRel; + fk_trigger->constrrel = NULL; switch (fkconstraint->fk_upd_action) { case FKCONSTR_ACTION_NOACTION: @@ -5300,7 +5306,8 @@ } fk_trigger->args = NIL; - (void) CreateTrigger(fk_trigger, constraintOid, false); + (void) CreateTrigger(fk_trigger, refRelOid, myRelOid, + constraintOid, false); /* Make changes-so-far visible */ CommandCounterIncrement(); @@ -5320,8 +5327,10 @@ * and the use of self-referential FKs is rare enough, that we live with * it for now. There will be a real fix in PG 9.2. */ - CreateFKCheckTrigger(myRel, fkconstraint, constraintOid, true); - CreateFKCheckTrigger(myRel, fkconstraint, constraintOid, false); + CreateFKCheckTrigger(myRelOid, refRelOid, fkconstraint, + constraintOid, true); + CreateFKCheckTrigger(myRelOid, refRelOid, fkconstraint, + constraintOid, false); } /* @@ -6000,7 +6009,8 @@ ATPostAlterTypeCleanup(List **wqueue, AlteredTableInfo *tab) { ObjectAddress obj; - ListCell *l; + ListCell *def_item; + ListCell *oid_item; /* * Re-parse the index and constraint definitions, and attach them to the @@ -6009,11 +6019,36 @@ * lock on the table the constraint is attached to, and we need to get * that before dropping. It's safe because the parser won't actually look * at the catalogs to detect the existing entry. - */ - foreach(l, tab->changedIndexDefs) - ATPostAlterTypeParse((char *) lfirst(l), wqueue); - foreach(l, tab->changedConstraintDefs) - ATPostAlterTypeParse((char *) lfirst(l), wqueue); + * + * We can't rely on the output of deparsing to tell us which relation + * to operate on, because concurrent activity might have made the name + * resolve differently. Instead, we've got to use the OID of the + * constraint or index we're processing to figure out which relation + * to operate on. + */ + forboth(oid_item, tab->changedConstraintOids, + def_item, tab->changedConstraintDefs) + { + Oid oldId = lfirst_oid(oid_item); + Oid relid; + Oid confrelid; + + get_constraint_relation_oids(oldId, &relid, &confrelid); + ATPostAlterTypeParse(relid, confrelid, + (char *) lfirst(def_item), + wqueue); + } + forboth(oid_item, tab->changedIndexOids, + def_item, tab->changedIndexDefs) + { + Oid oldId = lfirst_oid(oid_item); + Oid relid; + + relid = IndexGetRelation(oldId); + ATPostAlterTypeParse(relid, InvalidOid, + (char *) lfirst(def_item), + wqueue); + } /* * Now we can drop the existing constraints and indexes --- constraints @@ -6023,18 +6058,18 @@ * should be okay to use DROP_RESTRICT here, since nothing else should be * depending on these objects. */ - foreach(l, tab->changedConstraintOids) + foreach(oid_item, tab->changedConstraintOids) { obj.classId = ConstraintRelationId; - obj.objectId = lfirst_oid(l); + obj.objectId = lfirst_oid(oid_item); obj.objectSubId = 0; performDeletion(&obj, DROP_RESTRICT); } - foreach(l, tab->changedIndexOids) + foreach(oid_item, tab->changedIndexOids) { obj.classId = RelationRelationId; - obj.objectId = lfirst_oid(l); + obj.objectId = lfirst_oid(oid_item); obj.objectSubId = 0; performDeletion(&obj, DROP_RESTRICT); } @@ -6046,11 +6081,12 @@ } static void -ATPostAlterTypeParse(char *cmd, List **wqueue) +ATPostAlterTypeParse(Oid oldRelId, Oid refRelId, char *cmd, List **wqueue) { List *raw_parsetree_list; List *querytree_list; ListCell *list_item; + Relation rel; /* * We expect that we will get only ALTER TABLE and CREATE INDEX @@ -6066,16 +6102,21 @@ if (IsA(stmt, IndexStmt)) querytree_list = lappend(querytree_list, - transformIndexStmt((IndexStmt *) stmt, + transformIndexStmt(oldRelId, + (IndexStmt *) stmt, cmd)); else if (IsA(stmt, AlterTableStmt)) querytree_list = list_concat(querytree_list, - transformAlterTableStmt((AlterTableStmt *) stmt, + transformAlterTableStmt(oldRelId, + (AlterTableStmt *) stmt, cmd)); else querytree_list = lappend(querytree_list, stmt); } + /* Caller should already have acquired whatever lock we need. */ + rel = relation_open(oldRelId, NoLock); + /* * Attach each generated command to the proper place in the work queue. * Note this could result in creation of entirely new work-queue entries. @@ -6087,7 +6128,6 @@ foreach(list_item, querytree_list) { Node *stm = (Node *) lfirst(list_item); - Relation rel; AlteredTableInfo *tab; switch (nodeTag(stm)) @@ -6097,14 +6137,12 @@ IndexStmt *stmt = (IndexStmt *) stm; AlterTableCmd *newcmd; - rel = relation_openrv(stmt->relation, AccessExclusiveLock); tab = ATGetQueueEntry(wqueue, rel); newcmd = makeNode(AlterTableCmd); newcmd->subtype = AT_ReAddIndex; newcmd->def = (Node *) stmt; tab->subcmds[AT_PASS_OLD_INDEX] = lappend(tab->subcmds[AT_PASS_OLD_INDEX], newcmd); - relation_close(rel, NoLock); break; } case T_AlterTableStmt: @@ -6112,7 +6150,6 @@ AlterTableStmt *stmt = (AlterTableStmt *) stm; ListCell *lcmd; - rel = relation_openrv(stmt->relation, AccessExclusiveLock); tab = ATGetQueueEntry(wqueue, rel); foreach(lcmd, stmt->cmds) { @@ -6135,7 +6172,6 @@ (int) cmd->subtype); } } - relation_close(rel, NoLock); break; } default: @@ -6143,8 +6179,9 @@ (int) nodeTag(stm)); } } -} + relation_close(rel, NoLock); +} /* * ALTER TABLE OWNER @@ -6557,7 +6594,6 @@ ATPrepSetTableSpace(AlteredTableInfo *tab, Relation rel, char *tablespacename) { Oid tablespaceId; - AclResult aclresult; /* Check that the tablespace exists */ tablespaceId = get_tablespace_oid(tablespacename); @@ -6566,16 +6602,22 @@ (errcode(ERRCODE_UNDEFINED_OBJECT), errmsg("tablespace \"%s\" does not exist", tablespacename))); - /* Check its permissions */ - aclresult = pg_tablespace_aclcheck(tablespaceId, GetUserId(), ACL_CREATE); - if (aclresult != ACLCHECK_OK) - aclcheck_error(aclresult, ACL_KIND_TABLESPACE, tablespacename); + /* Check permissions except when moving to database's default */ + if (OidIsValid(tablespaceId) && tablespaceId != MyDatabaseTableSpace) + { + AclResult aclresult; + + aclresult = pg_tablespace_aclcheck(tablespaceId, GetUserId(), ACL_CREATE); + if (aclresult != ACLCHECK_OK) + aclcheck_error(aclresult, ACL_KIND_TABLESPACE, tablespacename); + } /* Save info for Phase 3 to do the real work */ if (OidIsValid(tab->newTableSpace)) ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), errmsg("cannot have multiple SET TABLESPACE subcommands"))); + tab->newTableSpace = tablespaceId; } @@ -7537,7 +7579,8 @@ /* * Execute ALTER TABLE SET SCHEMA * - * Note: caller must have checked ownership of the relation already + * WARNING WARNING WARNING: In previous *minor* releases the caller was + * responsible for checking ownership of the relation, but now we do it here. */ void AlterTableNamespace(RangeVar *relation, const char *newschema, @@ -7552,6 +7595,7 @@ rel = relation_openrv(relation, AccessExclusiveLock); relid = RelationGetRelid(rel); + CheckRelationOwnership(relid, true); oldNspOid = RelationGetNamespace(rel); /* Check relation type against type specified in the ALTER command */ diff -Nru postgresql-8.4-8.4.17/src/backend/commands/trigger.c postgresql-8.4-8.4.20/src/backend/commands/trigger.c --- postgresql-8.4-8.4.17/src/backend/commands/trigger.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/trigger.c 2014-02-17 19:44:07.000000000 +0000 @@ -69,6 +69,13 @@ /* * Create a trigger. Returns the OID of the created trigger. * + * relOid, if nonzero, is the relation on which the trigger should be + * created. If zero, the name provided in the statement will be looked up. + * + * refRelOid, if nonzero, is the relation to which the constraint trigger + * refers. If zero, the constraint relation name provided in the statement + * will be looked up as needed. + * * constraintOid, if nonzero, says that this trigger is being created * internally to implement that constraint. A suitable pg_depend entry will * be made to link the trigger to that constraint. constraintOid is zero when @@ -83,7 +90,8 @@ * but a foreign-key constraint. This is a kluge for backwards compatibility. */ Oid -CreateTrigger(CreateTrigStmt *stmt, Oid constraintOid, bool checkPermissions) +CreateTrigger(CreateTrigStmt *stmt, Oid relOid, Oid refRelOid, + Oid constraintOid, bool checkPermissions) { int16 tgtype; int2vector *tgattr; @@ -107,7 +115,10 @@ ObjectAddress myself, referenced; - rel = heap_openrv(stmt->relation, AccessExclusiveLock); + if (OidIsValid(relOid)) + rel = heap_open(relOid, AccessExclusiveLock); + else + rel = heap_openrv(stmt->relation, AccessExclusiveLock); if (rel->rd_rel->relkind != RELKIND_RELATION) ereport(ERROR, @@ -121,8 +132,13 @@ errmsg("permission denied: \"%s\" is a system catalog", RelationGetRelationName(rel)))); - if (stmt->isconstraint && stmt->constrrel != NULL) - constrrelid = RangeVarGetRelid(stmt->constrrel, false); + if (stmt->isconstraint) + { + if (OidIsValid(refRelOid)) + constrrelid = refRelOid; + else if (stmt->constrrel != NULL) + constrrelid = RangeVarGetRelid(stmt->constrrel, false); + } /* permission checks */ if (checkPermissions) @@ -261,7 +277,7 @@ ereport(ERROR, (errcode(ERRCODE_DUPLICATE_OBJECT), errmsg("trigger \"%s\" for relation \"%s\" already exists", - trigname, stmt->relation->relname))); + trigname, RelationGetRelationName(rel)))); } systable_endscan(tgscan); diff -Nru postgresql-8.4-8.4.17/src/backend/commands/user.c postgresql-8.4-8.4.20/src/backend/commands/user.c --- postgresql-8.4-8.4.17/src/backend/commands/user.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/user.c 2014-02-17 19:44:07.000000000 +0000 @@ -1321,7 +1321,16 @@ rolename))); } - /* XXX not sure about this check */ + /* + * The role membership grantor of record has little significance at + * present. Nonetheless, inasmuch as users might look to it for a crude + * audit trail, let only superusers impute the grant to a third party. + * + * Before lifting this restriction, give the member == role case of + * is_admin_of_role() a fresh look. Ensure that the current role cannot + * use an explicit grantor specification to take advantage of the session + * user's self-admin right. + */ if (grantorId != GetUserId() && !superuser()) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), diff -Nru postgresql-8.4-8.4.17/src/backend/commands/vacuumlazy.c postgresql-8.4-8.4.20/src/backend/commands/vacuumlazy.c --- postgresql-8.4-8.4.17/src/backend/commands/vacuumlazy.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/vacuumlazy.c 2014-02-17 19:44:07.000000000 +0000 @@ -156,7 +156,8 @@ BlockNumber possibly_freeable; PGRUsage ru0; TimestampTz starttime = 0; - bool scan_all; + bool scan_all; /* should we scan all pages? */ + bool scanned_all; /* did we actually scan all pages? */ TransactionId freezeTableLimit; BlockNumber new_rel_pages; double new_rel_tuples; @@ -199,6 +200,21 @@ vac_close_indexes(nindexes, Irel, NoLock); /* + * Compute whether we actually scanned the whole relation. If we did, we + * can adjust relfrozenxid. + * + * NB: We need to check this before truncating the relation, because that + * will change ->rel_pages. + */ + if (vacrelstats->scanned_pages < vacrelstats->rel_pages) + { + Assert(!scan_all); + scanned_all = false; + } + else + scanned_all = true; + + /* * Optionally truncate the relation. * * Don't even think about it unless we have a shot at releasing a goodly @@ -244,9 +260,7 @@ new_rel_tuples = vacrelstats->old_rel_tuples; } - new_frozen_xid = FreezeLimit; - if (vacrelstats->scanned_pages < vacrelstats->rel_pages) - new_frozen_xid = InvalidTransactionId; + new_frozen_xid = scanned_all ? FreezeLimit : InvalidTransactionId; vac_update_relstats(onerel, new_rel_pages, new_rel_tuples, @@ -720,6 +734,8 @@ { /* Remove tuples from heap */ lazy_vacuum_page(onerel, blkno, buf, 0, vacrelstats); + has_dead_tuples = false; + /* Forget the now-vacuumed tuples, and press on */ vacrelstats->num_dead_tuples = 0; vacuumed_pages++; diff -Nru postgresql-8.4-8.4.17/src/backend/commands/variable.c postgresql-8.4-8.4.20/src/backend/commands/variable.c --- postgresql-8.4-8.4.17/src/backend/commands/variable.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/commands/variable.c 2014-02-17 19:44:07.000000000 +0000 @@ -302,6 +302,7 @@ #else CTimeZone = -interval->time; #endif + session_timezone = pg_tzset_offset(CTimeZone); HasCTZSet = true; } @@ -319,6 +320,7 @@ { /* Here we change from SQL to Unix sign convention */ CTimeZone = -hours * SECS_PER_HOUR; + session_timezone = pg_tzset_offset(CTimeZone); HasCTZSet = true; } } diff -Nru postgresql-8.4-8.4.17/src/backend/executor/execQual.c postgresql-8.4-8.4.20/src/backend/executor/execQual.c --- postgresql-8.4-8.4.17/src/backend/executor/execQual.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/executor/execQual.c 2014-02-17 19:44:07.000000000 +0000 @@ -1557,9 +1557,7 @@ * init_fcache is presumed already run on the FuncExprState. * * This function handles the most general case, wherein the function or - * one of its arguments might (or might not) return a set. If we find - * no sets involved, we will change the FuncExprState's function pointer - * to use a simpler method on subsequent calls. + * one of its arguments can return a set. */ static Datum ExecMakeFunctionResult(FuncExprState *fcache, @@ -1838,13 +1836,12 @@ /* * Non-set case: much easier. * - * We change the ExprState function pointer to use the simpler - * ExecMakeFunctionResultNoSets on subsequent calls. This amounts to - * assuming that no argument can return a set if it didn't do so the - * first time. + * In common cases, this code path is unreachable because we'd have + * selected ExecMakeFunctionResultNoSets instead. However, it's + * possible to get here if an argument sometimes produces set results + * and sometimes scalar results. For example, a CASE expression might + * call a set-returning function in only some of its arms. */ - fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResultNoSets; - if (isDone) *isDone = ExprSingleResult; @@ -2300,10 +2297,22 @@ /* Initialize function lookup info */ init_fcache(func->funcid, fcache, econtext->ecxt_per_query_memory, true); - /* Go directly to ExecMakeFunctionResult on subsequent uses */ - fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult; - - return ExecMakeFunctionResult(fcache, econtext, isNull, isDone); + /* + * We need to invoke ExecMakeFunctionResult if either the function itself + * or any of its input expressions can return a set. Otherwise, invoke + * ExecMakeFunctionResultNoSets. In either case, change the evalfunc + * pointer to go directly there on subsequent uses. + */ + if (fcache->func.fn_retset || expression_returns_set((Node *) func->args)) + { + fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult; + return ExecMakeFunctionResult(fcache, econtext, isNull, isDone); + } + else + { + fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResultNoSets; + return ExecMakeFunctionResultNoSets(fcache, econtext, isNull, isDone); + } } /* ---------------------------------------------------------------- @@ -2322,10 +2331,22 @@ /* Initialize function lookup info */ init_fcache(op->opfuncid, fcache, econtext->ecxt_per_query_memory, true); - /* Go directly to ExecMakeFunctionResult on subsequent uses */ - fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult; - - return ExecMakeFunctionResult(fcache, econtext, isNull, isDone); + /* + * We need to invoke ExecMakeFunctionResult if either the function itself + * or any of its input expressions can return a set. Otherwise, invoke + * ExecMakeFunctionResultNoSets. In either case, change the evalfunc + * pointer to go directly there on subsequent uses. + */ + if (fcache->func.fn_retset || expression_returns_set((Node *) op->args)) + { + fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult; + return ExecMakeFunctionResult(fcache, econtext, isNull, isDone); + } + else + { + fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResultNoSets; + return ExecMakeFunctionResultNoSets(fcache, econtext, isNull, isDone); + } } /* ---------------------------------------------------------------- diff -Nru postgresql-8.4-8.4.17/src/backend/libpq/be-secure.c postgresql-8.4-8.4.20/src/backend/libpq/be-secure.c --- postgresql-8.4-8.4.17/src/backend/libpq/be-secure.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/libpq/be-secure.c 2014-02-17 19:44:07.000000000 +0000 @@ -405,8 +405,10 @@ * non-reentrant libc facilities. We also need to call send() and recv() * directly so it gets passed through the socket/signals layer on Win32. * - * They are closely modelled on the original socket implementations in OpenSSL. - * + * These functions are closely modelled on the standard socket BIO in OpenSSL; + * see sock_read() and sock_write() in OpenSSL's crypto/bio/bss_sock.c. + * XXX OpenSSL 1.0.1e considers many more errcodes than just EINTR as reasons + * to retry; do we need to adopt their logic for that? */ static bool my_bio_initialized = false; @@ -444,6 +446,7 @@ int res = 0; res = send(h->num, buf, size, 0); + BIO_clear_retry_flags(h); if (res <= 0) { if (errno == EINTR) diff -Nru postgresql-8.4-8.4.17/src/backend/main/main.c postgresql-8.4-8.4.20/src/backend/main/main.c --- postgresql-8.4-8.4.17/src/backend/main/main.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/main/main.c 2014-02-17 19:44:07.000000000 +0000 @@ -38,6 +38,7 @@ #include "postmaster/postmaster.h" #include "tcop/tcopprot.h" #include "utils/help_config.h" +#include "utils/memutils.h" #include "utils/pg_locale.h" #include "utils/ps_status.h" #ifdef WIN32 @@ -79,6 +80,15 @@ argv = save_ps_display_args(argc, argv); /* + * Fire up essential subsystems: error and memory management + * + * Code after this point is allowed to use elog/ereport, though + * localization of messages may not work right away, and messages won't go + * anywhere but stderr until GUC settings get loaded. + */ + MemoryContextInit(); + + /* * Set up locale information from environment. Note that LC_CTYPE and * LC_COLLATE will be overridden later from pg_control if we are in an * already-initialized database. We set them here so that they will be diff -Nru postgresql-8.4-8.4.17/src/backend/nodes/copyfuncs.c postgresql-8.4-8.4.20/src/backend/nodes/copyfuncs.c --- postgresql-8.4-8.4.17/src/backend/nodes/copyfuncs.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/nodes/copyfuncs.c 2014-02-17 19:44:07.000000000 +0000 @@ -1756,6 +1756,7 @@ COPY_SCALAR_FIELD(deferrable); COPY_SCALAR_FIELD(initdeferred); COPY_SCALAR_FIELD(skip_validation); + COPY_SCALAR_FIELD(old_pktable_oid); return newnode; } diff -Nru postgresql-8.4-8.4.17/src/backend/nodes/equalfuncs.c postgresql-8.4-8.4.20/src/backend/nodes/equalfuncs.c --- postgresql-8.4-8.4.17/src/backend/nodes/equalfuncs.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/nodes/equalfuncs.c 2014-02-17 19:44:07.000000000 +0000 @@ -2199,6 +2199,7 @@ COMPARE_SCALAR_FIELD(deferrable); COMPARE_SCALAR_FIELD(initdeferred); COMPARE_SCALAR_FIELD(skip_validation); + COMPARE_SCALAR_FIELD(old_pktable_oid); return true; } diff -Nru postgresql-8.4-8.4.17/src/backend/nodes/outfuncs.c postgresql-8.4-8.4.20/src/backend/nodes/outfuncs.c --- postgresql-8.4-8.4.17/src/backend/nodes/outfuncs.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/nodes/outfuncs.c 2014-02-17 19:44:07.000000000 +0000 @@ -2345,6 +2345,7 @@ WRITE_BOOL_FIELD(deferrable); WRITE_BOOL_FIELD(initdeferred); WRITE_BOOL_FIELD(skip_validation); + WRITE_OID_FIELD(old_pktable_oid); } diff -Nru postgresql-8.4-8.4.17/src/backend/nodes/tidbitmap.c postgresql-8.4-8.4.20/src/backend/nodes/tidbitmap.c --- postgresql-8.4-8.4.17/src/backend/nodes/tidbitmap.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/nodes/tidbitmap.c 2014-02-17 19:44:07.000000000 +0000 @@ -362,7 +362,7 @@ if (bpage->ischunk) { /* Scan b's chunk, mark each indicated page lossy in a */ - for (wordnum = 0; wordnum < WORDS_PER_PAGE; wordnum++) + for (wordnum = 0; wordnum < WORDS_PER_CHUNK; wordnum++) { bitmapword w = bpage->words[wordnum]; @@ -474,7 +474,7 @@ /* Scan each bit in chunk, try to clear */ bool candelete = true; - for (wordnum = 0; wordnum < WORDS_PER_PAGE; wordnum++) + for (wordnum = 0; wordnum < WORDS_PER_CHUNK; wordnum++) { bitmapword w = apage->words[wordnum]; diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/path/allpaths.c postgresql-8.4-8.4.20/src/backend/optimizer/path/allpaths.c --- postgresql-8.4-8.4.17/src/backend/optimizer/path/allpaths.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/path/allpaths.c 2014-02-17 19:44:07.000000000 +0000 @@ -64,13 +64,14 @@ RangeTblEntry *rte); static RelOptInfo *make_rel_from_joinlist(PlannerInfo *root, List *joinlist); static bool subquery_is_pushdown_safe(Query *subquery, Query *topquery, - bool *differentTypes); + bool *unsafeColumns); static bool recurse_pushdown_safe(Node *setOp, Query *topquery, - bool *differentTypes); + bool *unsafeColumns); +static void check_output_expressions(Query *subquery, bool *unsafeColumns); static void compare_tlist_datatypes(List *tlist, List *colTypes, - bool *differentTypes); + bool *unsafeColumns); static bool qual_is_pushdown_safe(Query *subquery, Index rti, Node *qual, - bool *differentTypes); + bool *unsafeColumns); static void subquery_push_qual(Query *subquery, RangeTblEntry *rte, Index rti, Node *qual); static void recurse_push_qual(Node *setOp, Query *topquery, @@ -545,7 +546,7 @@ { Query *parse = root->parse; Query *subquery = rte->subquery; - bool *differentTypes; + bool *unsafeColumns; double tuple_fraction; PlannerInfo *subroot; List *pathkeys; @@ -557,8 +558,12 @@ */ subquery = copyObject(subquery); - /* We need a workspace for keeping track of set-op type coercions */ - differentTypes = (bool *) + /* + * We need a workspace for keeping track of unsafe-to-reference columns. + * unsafeColumns[i] is set TRUE if we've found that output column i of the + * subquery is unsafe to use in a pushed-down qual. + */ + unsafeColumns = (bool *) palloc0((list_length(subquery->targetList) + 1) * sizeof(bool)); /* @@ -582,7 +587,7 @@ * push down a pushable qual, because it'd result in a worse plan? */ if (rel->baserestrictinfo != NIL && - subquery_is_pushdown_safe(subquery, subquery, differentTypes)) + subquery_is_pushdown_safe(subquery, subquery, unsafeColumns)) { /* OK to consider pushing down individual quals */ List *upperrestrictlist = NIL; @@ -594,7 +599,7 @@ Node *clause = (Node *) rinfo->clause; if (!rinfo->pseudoconstant && - qual_is_pushdown_safe(subquery, rti, clause, differentTypes)) + qual_is_pushdown_safe(subquery, rti, clause, unsafeColumns)) { /* Push it down */ subquery_push_qual(subquery, rte, rti, clause); @@ -608,7 +613,7 @@ rel->baserestrictinfo = upperrestrictlist; } - pfree(differentTypes); + pfree(unsafeColumns); /* * We can safely pass the outer tuple_fraction down to the subquery if the @@ -986,17 +991,19 @@ * 3. If the subquery contains EXCEPT or EXCEPT ALL set ops we cannot push * quals into it, because that would change the results. * - * 4. For subqueries using UNION/UNION ALL/INTERSECT/INTERSECT ALL, we can - * push quals into each component query, but the quals can only reference - * subquery columns that suffer no type coercions in the set operation. - * Otherwise there are possible semantic gotchas. So, we check the - * component queries to see if any of them have different output types; - * differentTypes[k] is set true if column k has different type in any - * component. + * In addition, we make several checks on the subquery's output columns + * to see if it is safe to reference them in pushed-down quals. If output + * column k is found to be unsafe to reference, we set unsafeColumns[k] to + * TRUE, but we don't reject the subquery overall since column k might + * not be referenced by some/all quals. The unsafeColumns[] array will be + * consulted later by qual_is_pushdown_safe(). It's better to do it this + * way than to make the checks directly in qual_is_pushdown_safe(), because + * when the subquery involves set operations we have to check the output + * expressions in each arm of the set op. */ static bool subquery_is_pushdown_safe(Query *subquery, Query *topquery, - bool *differentTypes) + bool *unsafeColumns) { SetOperationStmt *topop; @@ -1008,13 +1015,22 @@ if (subquery->hasWindowFuncs) return false; + /* + * If we're at a leaf query, check for unsafe expressions in its target + * list, and mark any unsafe ones in unsafeColumns[]. (Non-leaf nodes in + * setop trees have only simple Vars in their tlists, so no need to check + * them.) + */ + if (subquery->setOperations == NULL) + check_output_expressions(subquery, unsafeColumns); + /* Are we at top level, or looking at a setop component? */ if (subquery == topquery) { /* Top level, so check any component queries */ if (subquery->setOperations != NULL) if (!recurse_pushdown_safe(subquery->setOperations, topquery, - differentTypes)) + unsafeColumns)) return false; } else @@ -1027,7 +1043,7 @@ Assert(topop && IsA(topop, SetOperationStmt)); compare_tlist_datatypes(subquery->targetList, topop->colTypes, - differentTypes); + unsafeColumns); } return true; } @@ -1037,7 +1053,7 @@ */ static bool recurse_pushdown_safe(Node *setOp, Query *topquery, - bool *differentTypes) + bool *unsafeColumns) { if (IsA(setOp, RangeTblRef)) { @@ -1046,19 +1062,19 @@ Query *subquery = rte->subquery; Assert(subquery != NULL); - return subquery_is_pushdown_safe(subquery, topquery, differentTypes); + return subquery_is_pushdown_safe(subquery, topquery, unsafeColumns); } else if (IsA(setOp, SetOperationStmt)) { SetOperationStmt *op = (SetOperationStmt *) setOp; - /* EXCEPT is no good */ + /* EXCEPT is no good (point 3 for subquery_is_pushdown_safe) */ if (op->op == SETOP_EXCEPT) return false; /* Else recurse */ - if (!recurse_pushdown_safe(op->larg, topquery, differentTypes)) + if (!recurse_pushdown_safe(op->larg, topquery, unsafeColumns)) return false; - if (!recurse_pushdown_safe(op->rarg, topquery, differentTypes)) + if (!recurse_pushdown_safe(op->rarg, topquery, unsafeColumns)) return false; } else @@ -1070,17 +1086,92 @@ } /* - * Compare tlist's datatypes against the list of set-operation result types. - * For any items that are different, mark the appropriate element of - * differentTypes[] to show that this column will have type conversions. + * check_output_expressions - check subquery's output expressions for safety + * + * There are several cases in which it's unsafe to push down an upper-level + * qual if it references a particular output column of a subquery. We check + * each output column of the subquery and set unsafeColumns[k] to TRUE if + * that column is unsafe for a pushed-down qual to reference. The conditions + * checked here are: + * + * 1. We must not push down any quals that refer to subselect outputs that + * return sets, else we'd introduce functions-returning-sets into the + * subquery's WHERE/HAVING quals. + * + * 2. We must not push down any quals that refer to subselect outputs that + * contain volatile functions, for fear of introducing strange results due + * to multiple evaluation of a volatile function. + * + * 3. If the subquery uses DISTINCT ON, we must not push down any quals that + * refer to non-DISTINCT output columns, because that could change the set + * of rows returned. (This condition is vacuous for DISTINCT, because then + * there are no non-DISTINCT output columns, so we needn't check. But note + * we are assuming that the qual can't distinguish values that the DISTINCT + * operator sees as equal. This is a bit shaky but we have no way to test + * for the case, and it's unlikely enough that we shouldn't refuse the + * optimization just because it could theoretically happen.) + */ +static void +check_output_expressions(Query *subquery, bool *unsafeColumns) +{ + ListCell *lc; + + foreach(lc, subquery->targetList) + { + TargetEntry *tle = (TargetEntry *) lfirst(lc); + + if (tle->resjunk) + continue; /* ignore resjunk columns */ + + /* We need not check further if output col is already known unsafe */ + if (unsafeColumns[tle->resno]) + continue; + + /* Functions returning sets are unsafe (point 1) */ + if (expression_returns_set((Node *) tle->expr)) + { + unsafeColumns[tle->resno] = true; + continue; + } + + /* Volatile functions are unsafe (point 2) */ + if (contain_volatile_functions((Node *) tle->expr)) + { + unsafeColumns[tle->resno] = true; + continue; + } + + /* If subquery uses DISTINCT ON, check point 3 */ + if (subquery->hasDistinctOn && + !targetIsInSortList(tle, InvalidOid, subquery->distinctClause)) + { + /* non-DISTINCT column, so mark it unsafe */ + unsafeColumns[tle->resno] = true; + continue; + } + } +} + +/* + * For subqueries using UNION/UNION ALL/INTERSECT/INTERSECT ALL, we can + * push quals into each component query, but the quals can only reference + * subquery columns that suffer no type coercions in the set operation. + * Otherwise there are possible semantic gotchas. So, we check the + * component queries to see if any of them have output types different from + * the top-level setop outputs. unsafeColumns[k] is set true if column k + * has different type in any component. * * We don't have to care about typmods here: the only allowed difference * between set-op input and output typmods is input is a specific typmod * and output is -1, and that does not require a coercion. + * + * tlist is a subquery tlist. + * colTypes is an OID list of the top-level setop's output column types. + * unsafeColumns[] is the result array. */ static void compare_tlist_datatypes(List *tlist, List *colTypes, - bool *differentTypes) + bool *unsafeColumns) { ListCell *l; ListCell *colType = list_head(colTypes); @@ -1094,7 +1185,7 @@ if (colType == NULL) elog(ERROR, "wrong number of tlist entries"); if (exprType((Node *) tle->expr) != lfirst_oid(colType)) - differentTypes[tle->resno] = true; + unsafeColumns[tle->resno] = true; colType = lnext(colType); } if (colType != NULL) @@ -1117,34 +1208,15 @@ * (since there is no easy way to name that within the subquery itself). * * 3. The qual must not refer to any subquery output columns that were - * found to have inconsistent types across a set operation tree by - * subquery_is_pushdown_safe(). - * - * 4. If the subquery uses DISTINCT ON, we must not push down any quals that - * refer to non-DISTINCT output columns, because that could change the set - * of rows returned. (This condition is vacuous for DISTINCT, because then - * there are no non-DISTINCT output columns, so we needn't check. But note - * we are assuming that the qual can't distinguish values that the DISTINCT - * operator sees as equal. This is a bit shaky but we have no way to test - * for the case, and it's unlikely enough that we shouldn't refuse the - * optimization just because it could theoretically happen.) - * - * 5. We must not push down any quals that refer to subselect outputs that - * return sets, else we'd introduce functions-returning-sets into the - * subquery's WHERE/HAVING quals. - * - * 6. We must not push down any quals that refer to subselect outputs that - * contain volatile functions, for fear of introducing strange results due - * to multiple evaluation of a volatile function. + * found to be unsafe to reference by subquery_is_pushdown_safe(). */ static bool qual_is_pushdown_safe(Query *subquery, Index rti, Node *qual, - bool *differentTypes) + bool *unsafeColumns) { bool safe = true; List *vars; ListCell *vl; - Bitmapset *tested = NULL; /* Refuse subselects (point 1) */ if (contain_subplans(qual)) @@ -1164,7 +1236,6 @@ foreach(vl, vars) { Var *var = (Var *) lfirst(vl); - TargetEntry *tle; /* * XXX Punt if we find any PlaceHolderVars in the restriction clause. @@ -1180,6 +1251,7 @@ } Assert(var->varno == rti); + Assert(var->varattno >= 0); /* Check point 2 */ if (var->varattno == 0) @@ -1188,45 +1260,8 @@ break; } - /* - * We use a bitmapset to avoid testing the same attno more than once. - * (NB: this only works because subquery outputs can't have negative - * attnos.) - */ - if (bms_is_member(var->varattno, tested)) - continue; - tested = bms_add_member(tested, var->varattno); - /* Check point 3 */ - if (differentTypes[var->varattno]) - { - safe = false; - break; - } - - /* Must find the tlist element referenced by the Var */ - tle = get_tle_by_resno(subquery->targetList, var->varattno); - Assert(tle != NULL); - Assert(!tle->resjunk); - - /* If subquery uses DISTINCT ON, check point 4 */ - if (subquery->hasDistinctOn && - !targetIsInSortList(tle, InvalidOid, subquery->distinctClause)) - { - /* non-DISTINCT column, so fail */ - safe = false; - break; - } - - /* Refuse functions returning sets (point 5) */ - if (expression_returns_set((Node *) tle->expr)) - { - safe = false; - break; - } - - /* Refuse volatile functions (point 6) */ - if (contain_volatile_functions((Node *) tle->expr)) + if (unsafeColumns[var->varattno]) { safe = false; break; @@ -1234,7 +1269,6 @@ } list_free(vars); - bms_free(tested); return safe; } diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/plan/planner.c postgresql-8.4-8.4.20/src/backend/optimizer/plan/planner.c --- postgresql-8.4-8.4.17/src/backend/optimizer/plan/planner.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/plan/planner.c 2014-02-17 19:44:07.000000000 +0000 @@ -2201,7 +2201,8 @@ * 'groupColIdx' receives an array of column numbers for the GROUP BY * expressions (if there are any) in the subplan's target list. * 'need_tlist_eval' is set true if we really need to evaluate the - * result tlist. + * returned tlist as-is. (Note: locate_grouping_columns assumes + * that if this is FALSE, all grouping columns are simple Vars.) * * The result is the targetlist to be passed to the subplan. *--------------- @@ -2299,6 +2300,7 @@ * This is only needed if we don't use the sub_tlist chosen by * make_subplanTargetList. We have to forget the column indexes found * by that routine and re-locate the grouping exprs in the real sub_tlist. + * We assume the grouping exprs are just Vars (see make_subplanTargetList). */ static void locate_grouping_columns(PlannerInfo *root, @@ -2322,11 +2324,24 @@ foreach(gl, root->parse->groupClause) { SortGroupClause *grpcl = (SortGroupClause *) lfirst(gl); - Node *groupexpr = get_sortgroupclause_expr(grpcl, tlist); - TargetEntry *te = tlist_member(groupexpr, sub_tlist); + Var *groupexpr = (Var *) get_sortgroupclause_expr(grpcl, tlist); + TargetEntry *te; + /* + * The grouping column returned by create_plan might not have the same + * typmod as the original Var. (This can happen in cases where a + * set-returning function has been inlined, so that we now have more + * knowledge about what it returns than we did when the original Var + * was created.) So we can't use tlist_member() to search the tlist; + * instead use tlist_member_match_var. For safety, still check that + * the vartype matches. + */ + if (!(groupexpr && IsA(groupexpr, Var))) + elog(ERROR, "grouping column is not a Var as expected"); + te = tlist_member_match_var(groupexpr, sub_tlist); if (!te) elog(ERROR, "failed to locate grouping columns"); + Assert(((Var *) te->expr)->vartype == groupexpr->vartype); groupColIdx[keyno++] = te->resno; } } diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/plan/subselect.c postgresql-8.4-8.4.20/src/backend/optimizer/plan/subselect.c --- postgresql-8.4-8.4.17/src/backend/optimizer/plan/subselect.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/plan/subselect.c 2014-02-17 19:44:07.000000000 +0000 @@ -772,11 +772,6 @@ * with Params or Vars representing the results of the sub-select. The * nodes to be substituted are passed in as the List result from * generate_subquery_params or generate_subquery_vars. - * - * The given testexpr has already been recursively processed by - * process_sublinks_mutator. Hence it can no longer contain any - * PARAM_SUBLINK Params for lower SubLink nodes; we can safely assume that - * any we find are for our own level of SubLink. */ static Node * convert_testexpr(PlannerInfo *root, @@ -815,6 +810,28 @@ param->paramid - 1)); } } + if (IsA(node, SubLink)) + { + /* + * If we come across a nested SubLink, it is neither necessary nor + * correct to recurse into it: any PARAM_SUBLINKs we might find inside + * belong to the inner SubLink not the outer. So just return it as-is. + * + * This reasoning depends on the assumption that nothing will pull + * subexpressions into or out of the testexpr field of a SubLink, at + * least not without replacing PARAM_SUBLINKs first. If we did want + * to do that we'd need to rethink the parser-output representation + * altogether, since currently PARAM_SUBLINKs are only unique per + * SubLink not globally across the query. The whole point of + * replacing them with Vars or PARAM_EXEC nodes is to make them + * globally unique before they escape from the SubLink's testexpr. + * + * Note: this can't happen when called during SS_process_sublinks, + * because that recursively processes inner SubLinks first. It can + * happen when called from convert_ANY_sublink_to_join, though. + */ + return node; + } return expression_tree_mutator(node, convert_testexpr_mutator, (void *) context); diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/prep/prepjointree.c postgresql-8.4-8.4.20/src/backend/optimizer/prep/prepjointree.c --- postgresql-8.4-8.4.17/src/backend/optimizer/prep/prepjointree.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/prep/prepjointree.c 2014-02-17 19:44:07.000000000 +0000 @@ -729,6 +729,18 @@ } /* + * We must flatten any join alias Vars in the subquery's targetlist, + * because pulling up the subquery's subqueries might have changed their + * expansions into arbitrary expressions, which could affect + * pullup_replace_vars' decisions about whether PlaceHolderVar wrappers + * are needed for tlist entries. (Likely it'd be better to do + * flatten_join_alias_vars on the whole query tree at some earlier stage, + * maybe even in the rewriter; but for now let's just fix this case here.) + */ + subquery->targetList = (List *) + flatten_join_alias_vars(subroot, (Node *) subquery->targetList); + + /* * Adjust level-0 varnos in subquery so that we can append its rangetable * to upper query's. We have to fix the subquery's append_rel_list as * well. diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/util/clauses.c postgresql-8.4-8.4.20/src/backend/optimizer/util/clauses.c --- postgresql-8.4-8.4.17/src/backend/optimizer/util/clauses.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/util/clauses.c 2014-02-17 19:44:07.000000000 +0000 @@ -779,8 +779,8 @@ * mistakenly think that something like "WHERE random() < 0.5" can be treated * as a constant qualification. * - * XXX we do not examine sub-selects to see if they contain uses of - * mutable functions. It's not real clear if that is correct or not... + * We will recursively look into Query nodes (i.e., SubLink sub-selects) + * but not into SubPlans. See comments for contain_volatile_functions(). */ bool contain_mutable_functions(Node *clause) @@ -877,6 +877,13 @@ } /* else fall through to check args */ } + else if (IsA(node, Query)) + { + /* Recurse into subselects */ + return query_tree_walker((Query *) node, + contain_mutable_functions_walker, + context, 0); + } return expression_tree_walker(node, contain_mutable_functions_walker, context); } @@ -891,11 +898,18 @@ * Recursively search for volatile functions within a clause. * * Returns true if any volatile function (or operator implemented by a - * volatile function) is found. This test prevents invalid conversions - * of volatile expressions into indexscan quals. + * volatile function) is found. This test prevents, for example, + * invalid conversions of volatile expressions into indexscan quals. * - * XXX we do not examine sub-selects to see if they contain uses of - * volatile functions. It's not real clear if that is correct or not... + * We will recursively look into Query nodes (i.e., SubLink sub-selects) + * but not into SubPlans. This is a bit odd, but intentional. If we are + * looking at a SubLink, we are probably deciding whether a query tree + * transformation is safe, and a contained sub-select should affect that; + * for example, duplicating a sub-select containing a volatile function + * would be bad. However, once we've got to the stage of having SubPlans, + * subsequent planning need not consider volatility within those, since + * the executor won't change its evaluation rules for a SubPlan based on + * volatility. */ bool contain_volatile_functions(Node *clause) @@ -993,6 +1007,13 @@ } /* else fall through to check args */ } + else if (IsA(node, Query)) + { + /* Recurse into subselects */ + return query_tree_walker((Query *) node, + contain_volatile_functions_walker, + context, 0); + } return expression_tree_walker(node, contain_volatile_functions_walker, context); } diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/util/tlist.c postgresql-8.4-8.4.20/src/backend/optimizer/util/tlist.c --- postgresql-8.4-8.4.17/src/backend/optimizer/util/tlist.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/util/tlist.c 2014-02-17 19:44:07.000000000 +0000 @@ -74,6 +74,35 @@ } /* + * tlist_member_match_var + * Same as above, except that we match the provided Var on the basis + * of varno/varattno/varlevelsup only, rather than using full equal(). + * + * This is needed in some cases where we can't be sure of an exact typmod + * match. It's probably a good idea to check the vartype anyway, but + * we leave it to the caller to apply any suitable sanity checks. + */ +TargetEntry * +tlist_member_match_var(Var *var, List *targetlist) +{ + ListCell *temp; + + foreach(temp, targetlist) + { + TargetEntry *tlentry = (TargetEntry *) lfirst(temp); + Var *tlvar = (Var *) tlentry->expr; + + if (!tlvar || !IsA(tlvar, Var)) + continue; + if (var->varno == tlvar->varno && + var->varattno == tlvar->varattno && + var->varlevelsup == tlvar->varlevelsup) + return tlentry; + } + return NULL; +} + +/* * flatten_tlist * Create a target list that only contains unique variables. * diff -Nru postgresql-8.4-8.4.17/src/backend/optimizer/util/var.c postgresql-8.4-8.4.20/src/backend/optimizer/util/var.c --- postgresql-8.4-8.4.17/src/backend/optimizer/util/var.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/optimizer/util/var.c 2014-02-17 19:44:07.000000000 +0000 @@ -748,18 +748,16 @@ newvar = (Node *) lfirst(l); attnum++; /* Ignore dropped columns */ - if (IsA(newvar, Const)) + if (newvar == NULL) continue; + newvar = copyObject(newvar); /* * If we are expanding an alias carried down from an upper * query, must adjust its varlevelsup fields. */ if (context->sublevels_up != 0) - { - newvar = copyObject(newvar); IncrementVarSublevelsUp(newvar, context->sublevels_up, 0); - } /* Recurse in case join input is itself a join */ /* (also takes care of setting inserted_sublink if needed) */ newvar = flatten_join_alias_vars_mutator(newvar, context); @@ -778,16 +776,15 @@ /* Expand join alias reference */ Assert(var->varattno > 0); newvar = (Node *) list_nth(rte->joinaliasvars, var->varattno - 1); + Assert(newvar != NULL); + newvar = copyObject(newvar); /* * If we are expanding an alias carried down from an upper query, must * adjust its varlevelsup fields. */ if (context->sublevels_up != 0) - { - newvar = copyObject(newvar); IncrementVarSublevelsUp(newvar, context->sublevels_up, 0); - } /* Recurse in case join input is itself a join */ newvar = flatten_join_alias_vars_mutator(newvar, context); diff -Nru postgresql-8.4-8.4.17/src/backend/parser/gram.c postgresql-8.4-8.4.20/src/backend/parser/gram.c --- postgresql-8.4-8.4.17/src/backend/parser/gram.c 2013-04-01 18:44:27.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/gram.c 2014-02-17 20:07:34.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,7 +73,7 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 1 "gram.y" @@ -219,8 +217,8 @@ -/* Line 189 of yacc.c */ -#line 224 "gram.c" +/* Line 268 of yacc.c */ +#line 222 "gram.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -662,7 +660,7 @@ typedef union YYSTYPE { -/* Line 214 of yacc.c */ +/* Line 293 of yacc.c */ #line 148 "gram.y" int ival; @@ -701,8 +699,8 @@ -/* Line 214 of yacc.c */ -#line 706 "gram.c" +/* Line 293 of yacc.c */ +#line 704 "gram.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -726,8 +724,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 731 "gram.c" +/* Line 343 of yacc.c */ +#line 729 "gram.c" #ifdef short # undef short @@ -777,7 +775,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -830,11 +828,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -857,24 +855,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -905,23 +903,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ + 2 * YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -941,6 +923,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 660 /* YYLAST -- Last index in YYTABLE. */ @@ -2767,8 +2769,8 @@ 1, 1, 1, 1, 1, 1, 1 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint16 yydefact[] = { @@ -3613,8 +3615,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1889 static const yytype_int16 yytable[] = { @@ -9260,6 +9261,12 @@ 0, 0, 1216 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-3205)) + +#define yytable_value_is_error(yytable_value) \ + ((yytable_value) == (-1889)) + static const yytype_int16 yycheck[] = { 0, 48, 670, 501, 0, 822, 670, 620, 1111, 829, @@ -15284,9 +15291,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -15296,7 +15312,6 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ @@ -15343,7 +15358,7 @@ we won't break user code: when these are the locations we know. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL +# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL # define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ @@ -15548,7 +15563,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -15651,115 +15665,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -15794,6 +15835,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -15823,10 +15865,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -15850,8 +15891,6 @@ #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -15880,7 +15919,7 @@ YYLTYPE *yylsp; /* The locations where the error started and ended. */ - YYLTYPE yyerror_range[2]; + YYLTYPE yyerror_range[3]; YYSIZE_T yystacksize; @@ -15927,7 +15966,7 @@ yyvsp = yyvs; yylsp = yyls; -#if YYLTYPE_IS_TRIVIAL +#if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL /* Initialize the default location before parsing starts. */ yylloc.first_line = yylloc.last_line = 1; yylloc.first_column = yylloc.last_column = 1; @@ -16029,7 +16068,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -16060,8 +16099,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -16117,43 +16156,43 @@ { case 2: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 582 "gram.y" - { parsetree = (yyvsp[(1) - (1)].list); ;} + { parsetree = (yyvsp[(1) - (1)].list); } break; case 3: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 587 "gram.y" { if ((yyvsp[(3) - (3)].node) != NULL) (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); else (yyval.list) = (yyvsp[(1) - (3)].list); - ;} + } break; case 4: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 593 "gram.y" { if ((yyvsp[(1) - (1)].node) != NULL) (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); else (yyval.list) = NIL; - ;} + } break; case 105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 702 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 713 "gram.y" { CreateRoleStmt *n = makeNode(CreateRoleStmt); @@ -16161,260 +16200,260 @@ n->role = (yyvsp[(3) - (5)].str); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 723 "gram.y" - {;} + {} break; case 108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 724 "gram.y" - {;} + {} break; case 109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 733 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 734 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 739 "gram.y" { (yyval.defelt) = makeDefElem("password", (Node *)makeString((yyvsp[(2) - (2)].str))); - ;} + } break; case 112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 744 "gram.y" { (yyval.defelt) = makeDefElem("password", NULL); - ;} + } break; case 113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 748 "gram.y" { (yyval.defelt) = makeDefElem("encryptedPassword", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 753 "gram.y" { (yyval.defelt) = makeDefElem("unencryptedPassword", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 758 "gram.y" { (yyval.defelt) = makeDefElem("superuser", (Node *)makeInteger(TRUE)); - ;} + } break; case 116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 762 "gram.y" { (yyval.defelt) = makeDefElem("superuser", (Node *)makeInteger(FALSE)); - ;} + } break; case 117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 766 "gram.y" { (yyval.defelt) = makeDefElem("inherit", (Node *)makeInteger(TRUE)); - ;} + } break; case 118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 770 "gram.y" { (yyval.defelt) = makeDefElem("inherit", (Node *)makeInteger(FALSE)); - ;} + } break; case 119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 774 "gram.y" { (yyval.defelt) = makeDefElem("createdb", (Node *)makeInteger(TRUE)); - ;} + } break; case 120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 778 "gram.y" { (yyval.defelt) = makeDefElem("createdb", (Node *)makeInteger(FALSE)); - ;} + } break; case 121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 782 "gram.y" { (yyval.defelt) = makeDefElem("createrole", (Node *)makeInteger(TRUE)); - ;} + } break; case 122: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 786 "gram.y" { (yyval.defelt) = makeDefElem("createrole", (Node *)makeInteger(FALSE)); - ;} + } break; case 123: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 790 "gram.y" { /* For backwards compatibility, synonym for SUPERUSER */ (yyval.defelt) = makeDefElem("superuser", (Node *)makeInteger(TRUE)); - ;} + } break; case 124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 795 "gram.y" { (yyval.defelt) = makeDefElem("superuser", (Node *)makeInteger(FALSE)); - ;} + } break; case 125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 799 "gram.y" { (yyval.defelt) = makeDefElem("canlogin", (Node *)makeInteger(TRUE)); - ;} + } break; case 126: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 803 "gram.y" { (yyval.defelt) = makeDefElem("canlogin", (Node *)makeInteger(FALSE)); - ;} + } break; case 127: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 807 "gram.y" { (yyval.defelt) = makeDefElem("connectionlimit", (Node *)makeInteger((yyvsp[(3) - (3)].ival))); - ;} + } break; case 128: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 811 "gram.y" { (yyval.defelt) = makeDefElem("validUntil", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 129: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 816 "gram.y" { (yyval.defelt) = makeDefElem("rolemembers", (Node *)(yyvsp[(2) - (2)].list)); - ;} + } break; case 130: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 821 "gram.y" { (yyval.defelt) = makeDefElem("sysid", (Node *)makeInteger((yyvsp[(2) - (2)].ival))); - ;} + } break; case 131: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 825 "gram.y" { (yyval.defelt) = makeDefElem("adminmembers", (Node *)(yyvsp[(2) - (2)].list)); - ;} + } break; case 132: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 829 "gram.y" { (yyval.defelt) = makeDefElem("rolemembers", (Node *)(yyvsp[(2) - (2)].list)); - ;} + } break; case 133: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 833 "gram.y" { (yyval.defelt) = makeDefElem("addroleto", (Node *)(yyvsp[(3) - (3)].list)); - ;} + } break; case 134: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 837 "gram.y" { (yyval.defelt) = makeDefElem("addroleto", (Node *)(yyvsp[(3) - (3)].list)); - ;} + } break; case 135: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 851 "gram.y" { CreateRoleStmt *n = makeNode(CreateRoleStmt); @@ -16422,12 +16461,12 @@ n->role = (yyvsp[(3) - (5)].str); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 136: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 869 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -16435,24 +16474,24 @@ n->action = +1; /* add, if there are members */ n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 137: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 880 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); n->role = (yyvsp[(3) - (4)].str); n->setstmt = (yyvsp[(4) - (4)].vsetstmt); (yyval.node) = (Node *)n; - ;} + } break; case 138: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 897 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -16460,72 +16499,72 @@ n->action = +1; /* add, if there are members */ n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 139: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 909 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); n->role = (yyvsp[(3) - (4)].str); n->setstmt = (yyvsp[(4) - (4)].vsetstmt); (yyval.node) = (Node *)n; - ;} + } break; case 140: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 929 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->missing_ok = FALSE; n->roles = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 141: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 936 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->missing_ok = TRUE; n->roles = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 142: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 955 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->missing_ok = FALSE; n->roles = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 143: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 962 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->roles = (yyvsp[(5) - (5)].list); n->missing_ok = TRUE; (yyval.node) = (Node *)n; - ;} + } break; case 144: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 979 "gram.y" { CreateRoleStmt *n = makeNode(CreateRoleStmt); @@ -16533,12 +16572,12 @@ n->role = (yyvsp[(3) - (5)].str); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 145: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 997 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -16547,50 +16586,50 @@ n->options = list_make1(makeDefElem("rolemembers", (Node *)(yyvsp[(6) - (6)].list))); (yyval.node) = (Node *)n; - ;} + } break; case 146: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1007 "gram.y" - { (yyval.ival) = +1; ;} + { (yyval.ival) = +1; } break; case 147: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1008 "gram.y" - { (yyval.ival) = -1; ;} + { (yyval.ival) = -1; } break; case 148: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1021 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->missing_ok = FALSE; n->roles = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 149: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1028 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); n->missing_ok = TRUE; n->roles = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 150: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1045 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -16602,12 +16641,12 @@ n->authid = (yyvsp[(5) - (6)].str); n->schemaElts = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 151: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1057 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -16616,73 +16655,73 @@ n->authid = NULL; n->schemaElts = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 152: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1068 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 153: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1069 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 154: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1073 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 155: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1074 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 162: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1102 "gram.y" { VariableSetStmt *n = (yyvsp[(2) - (2)].vsetstmt); n->is_local = false; (yyval.node) = (Node *) n; - ;} + } break; case 163: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1108 "gram.y" { VariableSetStmt *n = (yyvsp[(3) - (3)].vsetstmt); n->is_local = true; (yyval.node) = (Node *) n; - ;} + } break; case 164: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1114 "gram.y" { VariableSetStmt *n = (yyvsp[(3) - (3)].vsetstmt); n->is_local = false; (yyval.node) = (Node *) n; - ;} + } break; case 165: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1123 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16690,12 +16729,12 @@ n->name = (yyvsp[(1) - (3)].str); n->args = (yyvsp[(3) - (3)].list); (yyval.vsetstmt) = n; - ;} + } break; case 166: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1131 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16703,48 +16742,48 @@ n->name = (yyvsp[(1) - (3)].str); n->args = (yyvsp[(3) - (3)].list); (yyval.vsetstmt) = n; - ;} + } break; case 167: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1139 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_DEFAULT; n->name = (yyvsp[(1) - (3)].str); (yyval.vsetstmt) = n; - ;} + } break; case 168: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1146 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_DEFAULT; n->name = (yyvsp[(1) - (3)].str); (yyval.vsetstmt) = n; - ;} + } break; case 169: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1153 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_CURRENT; n->name = (yyvsp[(1) - (3)].str); (yyval.vsetstmt) = n; - ;} + } break; case 170: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1161 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16755,12 +16794,12 @@ else n->kind = VAR_SET_DEFAULT; (yyval.vsetstmt) = n; - ;} + } break; case 171: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1172 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16768,12 +16807,12 @@ n->name = "TRANSACTION"; n->args = (yyvsp[(2) - (2)].list); (yyval.vsetstmt) = n; - ;} + } break; case 172: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1180 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16781,12 +16820,12 @@ n->name = "SESSION CHARACTERISTICS"; n->args = (yyvsp[(5) - (5)].list); (yyval.vsetstmt) = n; - ;} + } break; case 173: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1188 "gram.y" { ereport(ERROR, @@ -16794,12 +16833,12 @@ errmsg("current database cannot be changed"), scanner_errposition((yylsp[(2) - (2)])))); (yyval.vsetstmt) = NULL; /*not reached*/ - ;} + } break; case 174: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1196 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16807,12 +16846,12 @@ n->name = "search_path"; n->args = list_make1(makeStringConst((yyvsp[(2) - (2)].str), (yylsp[(2) - (2)]))); (yyval.vsetstmt) = n; - ;} + } break; case 175: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1204 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16823,12 +16862,12 @@ else n->kind = VAR_SET_DEFAULT; (yyval.vsetstmt) = n; - ;} + } break; case 176: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1215 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16836,12 +16875,12 @@ n->name = "role"; n->args = list_make1(makeStringConst((yyvsp[(2) - (2)].str), (yylsp[(2) - (2)]))); (yyval.vsetstmt) = n; - ;} + } break; case 177: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1223 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16849,24 +16888,24 @@ n->name = "session_authorization"; n->args = list_make1(makeStringConst((yyvsp[(3) - (3)].str), (yylsp[(3) - (3)]))); (yyval.vsetstmt) = n; - ;} + } break; case 178: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1231 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_DEFAULT; n->name = "session_authorization"; (yyval.vsetstmt) = n; - ;} + } break; case 179: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1238 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -16874,138 +16913,138 @@ n->name = "xmloption"; n->args = list_make1(makeStringConst((yyvsp[(3) - (3)].ival) == XMLOPTION_DOCUMENT ? "DOCUMENT" : "CONTENT", (yylsp[(3) - (3)]))); (yyval.vsetstmt) = n; - ;} + } break; case 180: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1247 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 181: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1249 "gram.y" { (yyval.str) = palloc(strlen((yyvsp[(1) - (3)].str)) + strlen((yyvsp[(3) - (3)].str)) + 2); sprintf((yyval.str), "%s.%s", (yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].str)); - ;} + } break; case 182: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1255 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 183: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1256 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 184: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1260 "gram.y" - { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} + { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); } break; case 185: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1262 "gram.y" - { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} + { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); } break; case 186: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1264 "gram.y" - { (yyval.node) = makeAConst((yyvsp[(1) - (1)].value), (yylsp[(1) - (1)])); ;} + { (yyval.node) = makeAConst((yyvsp[(1) - (1)].value), (yylsp[(1) - (1)])); } break; case 187: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1267 "gram.y" - { (yyval.str) = "read uncommitted"; ;} + { (yyval.str) = "read uncommitted"; } break; case 188: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1268 "gram.y" - { (yyval.str) = "read committed"; ;} + { (yyval.str) = "read committed"; } break; case 189: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1269 "gram.y" - { (yyval.str) = "repeatable read"; ;} + { (yyval.str) = "repeatable read"; } break; case 190: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1270 "gram.y" - { (yyval.str) = "serializable"; ;} + { (yyval.str) = "serializable"; } break; case 191: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1274 "gram.y" - { (yyval.str) = "true"; ;} + { (yyval.str) = "true"; } break; case 192: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1275 "gram.y" - { (yyval.str) = "false"; ;} + { (yyval.str) = "false"; } break; case 193: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1276 "gram.y" - { (yyval.str) = "on"; ;} + { (yyval.str) = "on"; } break; case 194: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1277 "gram.y" - { (yyval.str) = "off"; ;} + { (yyval.str) = "off"; } break; case 195: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1290 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 196: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1294 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 197: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1298 "gram.y" { TypeName *t = (yyvsp[(1) - (3)].typnam); @@ -17020,12 +17059,12 @@ } t->typmods = (yyvsp[(3) - (3)].list); (yyval.node) = makeStringConstCast((yyvsp[(2) - (3)].str), (yylsp[(2) - (3)]), t); - ;} + } break; case 198: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1313 "gram.y" { TypeName *t = (yyvsp[(1) - (6)].typnam); @@ -17048,290 +17087,290 @@ t->typmods = list_make2(makeIntConst(INTERVAL_FULL_RANGE, -1), makeIntConst((yyvsp[(3) - (6)].ival), (yylsp[(3) - (6)]))); (yyval.node) = makeStringConstCast((yyvsp[(5) - (6)].str), (yylsp[(5) - (6)]), t); - ;} + } break; case 199: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1335 "gram.y" - { (yyval.node) = makeAConst((yyvsp[(1) - (1)].value), (yylsp[(1) - (1)])); ;} + { (yyval.node) = makeAConst((yyvsp[(1) - (1)].value), (yylsp[(1) - (1)])); } break; case 200: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1336 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 201: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1337 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 202: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1341 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 203: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1342 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 204: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1343 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 205: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1347 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 206: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1348 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 207: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1353 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_RESET; n->name = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *) n; - ;} + } break; case 208: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1360 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_RESET; n->name = "timezone"; (yyval.node) = (Node *) n; - ;} + } break; case 209: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1367 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_RESET; n->name = "transaction_isolation"; (yyval.node) = (Node *) n; - ;} + } break; case 210: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1374 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_RESET; n->name = "session_authorization"; (yyval.node) = (Node *) n; - ;} + } break; case 211: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1381 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_RESET_ALL; (yyval.node) = (Node *) n; - ;} + } break; case 212: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1390 "gram.y" - { (yyval.vsetstmt) = (yyvsp[(2) - (2)].vsetstmt); ;} + { (yyval.vsetstmt) = (yyvsp[(2) - (2)].vsetstmt); } break; case 213: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1391 "gram.y" - { (yyval.vsetstmt) = (VariableSetStmt *) (yyvsp[(1) - (1)].node); ;} + { (yyval.vsetstmt) = (VariableSetStmt *) (yyvsp[(1) - (1)].node); } break; case 214: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1397 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); n->name = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *) n; - ;} + } break; case 215: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1403 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); n->name = "timezone"; (yyval.node) = (Node *) n; - ;} + } break; case 216: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1409 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); n->name = "transaction_isolation"; (yyval.node) = (Node *) n; - ;} + } break; case 217: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1415 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); n->name = "session_authorization"; (yyval.node) = (Node *) n; - ;} + } break; case 218: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1421 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); n->name = "all"; (yyval.node) = (Node *) n; - ;} + } break; case 219: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1431 "gram.y" { ConstraintsSetStmt *n = makeNode(ConstraintsSetStmt); n->constraints = (yyvsp[(3) - (4)].list); n->deferred = (yyvsp[(4) - (4)].boolean); (yyval.node) = (Node *) n; - ;} + } break; case 220: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1440 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 221: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1441 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 222: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1445 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 223: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1446 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 224: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1455 "gram.y" { CheckPointStmt *n = makeNode(CheckPointStmt); (yyval.node) = (Node *)n; - ;} + } break; case 225: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1470 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); n->target = DISCARD_ALL; (yyval.node) = (Node *) n; - ;} + } break; case 226: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1476 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); n->target = DISCARD_TEMP; (yyval.node) = (Node *) n; - ;} + } break; case 227: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1482 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); n->target = DISCARD_TEMP; (yyval.node) = (Node *) n; - ;} + } break; case 228: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1488 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); n->target = DISCARD_PLANS; (yyval.node) = (Node *) n; - ;} + } break; case 229: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1506 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -17339,12 +17378,12 @@ n->cmds = (yyvsp[(4) - (4)].list); n->relkind = OBJECT_TABLE; (yyval.node) = (Node *)n; - ;} + } break; case 230: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1514 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -17352,12 +17391,12 @@ n->cmds = (yyvsp[(4) - (4)].list); n->relkind = OBJECT_INDEX; (yyval.node) = (Node *)n; - ;} + } break; case 231: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1522 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -17365,12 +17404,12 @@ n->cmds = (yyvsp[(4) - (4)].list); n->relkind = OBJECT_SEQUENCE; (yyval.node) = (Node *)n; - ;} + } break; case 232: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1530 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -17378,38 +17417,38 @@ n->cmds = (yyvsp[(4) - (4)].list); n->relkind = OBJECT_VIEW; (yyval.node) = (Node *)n; - ;} + } break; case 233: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1540 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 234: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1541 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 235: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1547 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_AddColumn; n->def = (yyvsp[(3) - (3)].node); (yyval.node) = (Node *)n; - ;} + } break; case 236: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1555 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17417,36 +17456,36 @@ n->name = (yyvsp[(3) - (4)].str); n->def = (yyvsp[(4) - (4)].node); (yyval.node) = (Node *)n; - ;} + } break; case 237: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1564 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DropNotNull; n->name = (yyvsp[(3) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 238: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1572 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_SetNotNull; n->name = (yyvsp[(3) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 239: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1580 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17454,12 +17493,12 @@ n->name = (yyvsp[(3) - (6)].str); n->def = (Node *) makeInteger((yyvsp[(6) - (6)].ival)); (yyval.node) = (Node *)n; - ;} + } break; case 240: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1589 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17467,12 +17506,12 @@ n->name = (yyvsp[(3) - (6)].str); n->def = (Node *) makeString((yyvsp[(6) - (6)].str)); (yyval.node) = (Node *)n; - ;} + } break; case 241: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1598 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17480,12 +17519,12 @@ n->name = (yyvsp[(3) - (4)].str); n->behavior = (yyvsp[(4) - (4)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 242: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1610 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17494,24 +17533,24 @@ n->def = (Node *) (yyvsp[(6) - (7)].typnam); n->transform = (yyvsp[(7) - (7)].node); (yyval.node) = (Node *)n; - ;} + } break; case 243: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1620 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_AddConstraint; n->def = (yyvsp[(2) - (2)].node); (yyval.node) = (Node *)n; - ;} + } break; case 244: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1628 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -17519,413 +17558,413 @@ n->name = (yyvsp[(3) - (4)].str); n->behavior = (yyvsp[(4) - (4)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 245: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1637 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_AddOids; (yyval.node) = (Node *)n; - ;} + } break; case 246: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1644 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DropOids; (yyval.node) = (Node *)n; - ;} + } break; case 247: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1651 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_ClusterOn; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 248: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1659 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DropCluster; n->name = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 249: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1667 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableTrig; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 250: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1675 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableAlwaysTrig; n->name = (yyvsp[(4) - (4)].str); (yyval.node) = (Node *)n; - ;} + } break; case 251: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1683 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableReplicaTrig; n->name = (yyvsp[(4) - (4)].str); (yyval.node) = (Node *)n; - ;} + } break; case 252: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1691 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableTrigAll; (yyval.node) = (Node *)n; - ;} + } break; case 253: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1698 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableTrigUser; (yyval.node) = (Node *)n; - ;} + } break; case 254: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1705 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DisableTrig; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 255: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1713 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DisableTrigAll; (yyval.node) = (Node *)n; - ;} + } break; case 256: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1720 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DisableTrigUser; (yyval.node) = (Node *)n; - ;} + } break; case 257: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1727 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableRule; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 258: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1735 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableAlwaysRule; n->name = (yyvsp[(4) - (4)].str); (yyval.node) = (Node *)n; - ;} + } break; case 259: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1743 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_EnableReplicaRule; n->name = (yyvsp[(4) - (4)].str); (yyval.node) = (Node *)n; - ;} + } break; case 260: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1751 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DisableRule; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 261: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1759 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_AddInherit; n->def = (Node *) (yyvsp[(2) - (2)].range); (yyval.node) = (Node *)n; - ;} + } break; case 262: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1767 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_DropInherit; n->def = (Node *) (yyvsp[(3) - (3)].range); (yyval.node) = (Node *)n; - ;} + } break; case 263: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1775 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_ChangeOwner; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 264: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1783 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_SetTableSpace; n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 265: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1791 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_SetRelOptions; n->def = (Node *)(yyvsp[(2) - (2)].list); (yyval.node) = (Node *)n; - ;} + } break; case 266: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1799 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); n->subtype = AT_ResetRelOptions; n->def = (Node *)(yyvsp[(2) - (2)].list); (yyval.node) = (Node *)n; - ;} + } break; case 267: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1808 "gram.y" - { (yyval.node) = (yyvsp[(3) - (3)].node); ;} + { (yyval.node) = (yyvsp[(3) - (3)].node); } break; case 268: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1809 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 269: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1813 "gram.y" - { (yyval.dbehavior) = DROP_CASCADE; ;} + { (yyval.dbehavior) = DROP_CASCADE; } break; case 270: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1814 "gram.y" - { (yyval.dbehavior) = DROP_RESTRICT; ;} + { (yyval.dbehavior) = DROP_RESTRICT; } break; case 271: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1815 "gram.y" - { (yyval.dbehavior) = DROP_RESTRICT; /* default */ ;} + { (yyval.dbehavior) = DROP_RESTRICT; /* default */ } break; case 272: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1819 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 273: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1820 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 274: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1824 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 275: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1827 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 276: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1828 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 277: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1832 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 278: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1833 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); } break; case 279: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1839 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node)); - ;} + } break; case 280: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1843 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (1)].str), NULL); - ;} + } break; case 281: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1847 "gram.y" { (yyval.defelt) = makeDefElemExtended((yyvsp[(1) - (5)].str), (yyvsp[(3) - (5)].str), (Node *) (yyvsp[(5) - (5)].node), DEFELEM_UNSPEC); - ;} + } break; case 282: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1852 "gram.y" { (yyval.defelt) = makeDefElemExtended((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].str), NULL, DEFELEM_UNSPEC); - ;} + } break; case 283: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1867 "gram.y" { ClosePortalStmt *n = makeNode(ClosePortalStmt); n->portalname = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 284: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1873 "gram.y" { ClosePortalStmt *n = makeNode(ClosePortalStmt); n->portalname = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 285: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1897 "gram.y" { CopyStmt *n = makeNode(CopyStmt); @@ -17946,12 +17985,12 @@ if ((yyvsp[(10) - (10)].list)) n->options = list_concat(n->options, (yyvsp[(10) - (10)].list)); (yyval.node) = (Node *)n; - ;} + } break; case 286: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1919 "gram.y" { CopyStmt *n = makeNode(CopyStmt); @@ -17962,213 +18001,213 @@ n->filename = (yyvsp[(4) - (6)].str); n->options = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 287: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1932 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 288: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1933 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 289: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1942 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 290: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1943 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 291: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1944 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 292: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1950 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 293: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1951 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 294: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1957 "gram.y" { (yyval.defelt) = makeDefElem("binary", (Node *)makeInteger(TRUE)); - ;} + } break; case 295: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1961 "gram.y" { (yyval.defelt) = makeDefElem("oids", (Node *)makeInteger(TRUE)); - ;} + } break; case 296: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1965 "gram.y" { (yyval.defelt) = makeDefElem("delimiter", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 297: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1969 "gram.y" { (yyval.defelt) = makeDefElem("null", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 298: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1973 "gram.y" { (yyval.defelt) = makeDefElem("csv", (Node *)makeInteger(TRUE)); - ;} + } break; case 299: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1977 "gram.y" { (yyval.defelt) = makeDefElem("header", (Node *)makeInteger(TRUE)); - ;} + } break; case 300: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1981 "gram.y" { (yyval.defelt) = makeDefElem("quote", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 301: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1985 "gram.y" { (yyval.defelt) = makeDefElem("escape", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 302: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1989 "gram.y" { (yyval.defelt) = makeDefElem("force_quote", (Node *)(yyvsp[(3) - (3)].list)); - ;} + } break; case 303: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1993 "gram.y" { (yyval.defelt) = makeDefElem("force_notnull", (Node *)(yyvsp[(4) - (4)].list)); - ;} + } break; case 304: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2002 "gram.y" { (yyval.defelt) = makeDefElem("binary", (Node *)makeInteger(TRUE)); - ;} + } break; case 305: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2005 "gram.y" - { (yyval.defelt) = NULL; ;} + { (yyval.defelt) = NULL; } break; case 306: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2010 "gram.y" { (yyval.defelt) = makeDefElem("oids", (Node *)makeInteger(TRUE)); - ;} + } break; case 307: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2013 "gram.y" - { (yyval.defelt) = NULL; ;} + { (yyval.defelt) = NULL; } break; case 308: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2019 "gram.y" { (yyval.defelt) = makeDefElem("delimiter", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 309: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2022 "gram.y" - { (yyval.defelt) = NULL; ;} + { (yyval.defelt) = NULL; } break; case 310: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2026 "gram.y" - {;} + {} break; case 311: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2027 "gram.y" - {;} + {} break; case 312: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2040 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -18181,12 +18220,12 @@ n->oncommit = (yyvsp[(10) - (11)].oncommit); n->tablespacename = (yyvsp[(11) - (11)].str); (yyval.node) = (Node *)n; - ;} + } break; case 313: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2054 "gram.y" { /* SQL99 CREATE TABLE OF (cols) seems to be satisfied @@ -18202,114 +18241,114 @@ n->oncommit = (yyvsp[(11) - (12)].oncommit); n->tablespacename = (yyvsp[(12) - (12)].str); (yyval.node) = (Node *)n; - ;} + } break; case 314: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2078 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 315: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2079 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 316: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2080 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 317: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2081 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 318: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2082 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 319: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2083 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 320: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2084 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 321: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2088 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 322: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2089 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 323: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2094 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); - ;} + } break; case 324: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2098 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); - ;} + } break; case 325: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2104 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 326: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2105 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 327: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2106 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 328: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2110 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -18318,26 +18357,26 @@ n->constraints = (yyvsp[(3) - (3)].list); n->is_local = true; (yyval.node) = (Node *)n; - ;} + } break; case 329: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2121 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 330: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2122 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 331: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2127 "gram.y" { switch (nodeTag((yyvsp[(3) - (3)].node))) @@ -18358,26 +18397,26 @@ break; } (yyval.node) = (yyvsp[(3) - (3)].node); - ;} + } break; case 332: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2147 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 333: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2148 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 334: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2168 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18388,12 +18427,12 @@ n->keys = NULL; n->indexspace = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 335: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2179 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18404,12 +18443,12 @@ n->keys = NULL; n->indexspace = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 336: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2190 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18421,12 +18460,12 @@ n->options = (yyvsp[(2) - (3)].list); n->indexspace = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 337: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2202 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18438,12 +18477,12 @@ n->options = (yyvsp[(3) - (4)].list); n->indexspace = (yyvsp[(4) - (4)].str); (yyval.node) = (Node *)n; - ;} + } break; case 338: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2214 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18454,12 +18493,12 @@ n->keys = NULL; n->indexspace = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 339: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2225 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18470,12 +18509,12 @@ n->keys = NULL; n->indexspace = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 340: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2236 "gram.y" { FkConstraint *n = makeNode(FkConstraint); @@ -18489,124 +18528,124 @@ n->deferrable = FALSE; n->initdeferred = FALSE; (yyval.node) = (Node *)n; - ;} + } break; case 341: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2265 "gram.y" { Constraint *n = makeNode(Constraint); n->contype = CONSTR_ATTR_DEFERRABLE; (yyval.node) = (Node *)n; - ;} + } break; case 342: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2271 "gram.y" { Constraint *n = makeNode(Constraint); n->contype = CONSTR_ATTR_NOT_DEFERRABLE; (yyval.node) = (Node *)n; - ;} + } break; case 343: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2277 "gram.y" { Constraint *n = makeNode(Constraint); n->contype = CONSTR_ATTR_DEFERRED; (yyval.node) = (Node *)n; - ;} + } break; case 344: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2283 "gram.y" { Constraint *n = makeNode(Constraint); n->contype = CONSTR_ATTR_IMMEDIATE; (yyval.node) = (Node *)n; - ;} + } break; case 345: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2301 "gram.y" { InhRelation *n = makeNode(InhRelation); n->relation = (yyvsp[(2) - (3)].range); n->options = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 346: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2310 "gram.y" - { (yyval.list) = lappend_int((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].ival)); ;} + { (yyval.list) = lappend_int((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].ival)); } break; case 347: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2311 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 348: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2315 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_DEFAULTS; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_DEFAULTS; } break; case 349: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2316 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_DEFAULTS; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_DEFAULTS; } break; case 350: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2317 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_CONSTRAINTS; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_CONSTRAINTS; } break; case 351: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2318 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_CONSTRAINTS; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_CONSTRAINTS; } break; case 352: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2319 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_INDEXES; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_INCLUDING_INDEXES; } break; case 353: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2320 "gram.y" - { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_INDEXES; ;} + { (yyval.ival) = CREATE_TABLE_LIKE_EXCLUDING_INDEXES; } break; case 354: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2330 "gram.y" { switch (nodeTag((yyvsp[(3) - (3)].node))) @@ -18627,19 +18666,19 @@ break; } (yyval.node) = (yyvsp[(3) - (3)].node); - ;} + } break; case 355: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2350 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 356: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2355 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18649,12 +18688,12 @@ n->cooked_expr = NULL; n->indexspace = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 357: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2365 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18666,12 +18705,12 @@ n->options = (yyvsp[(5) - (6)].list); n->indexspace = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 358: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2377 "gram.y" { Constraint *n = makeNode(Constraint); @@ -18683,12 +18722,12 @@ n->options = (yyvsp[(6) - (7)].list); n->indexspace = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 359: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2390 "gram.y" { FkConstraint *n = makeNode(FkConstraint); @@ -18702,58 +18741,58 @@ n->deferrable = ((yyvsp[(11) - (11)].ival) & 1) != 0; n->initdeferred = ((yyvsp[(11) - (11)].ival) & 2) != 0; (yyval.node) = (Node *)n; - ;} + } break; case 360: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2406 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 361: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2407 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 362: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2411 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 363: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2412 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 364: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2416 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); - ;} + } break; case 365: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2422 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_FULL; - ;} + } break; case 366: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2426 "gram.y" { ereport(ERROR, @@ -18761,212 +18800,212 @@ errmsg("MATCH PARTIAL not yet implemented"), scanner_errposition((yylsp[(1) - (2)])))); (yyval.ival) = FKCONSTR_MATCH_PARTIAL; - ;} + } break; case 367: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2434 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_UNSPECIFIED; - ;} + } break; case 368: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2438 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_UNSPECIFIED; - ;} + } break; case 369: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2451 "gram.y" - { (yyval.ival) = ((yyvsp[(1) - (1)].ival) << 8) | (FKCONSTR_ACTION_NOACTION & 0xFF); ;} + { (yyval.ival) = ((yyvsp[(1) - (1)].ival) << 8) | (FKCONSTR_ACTION_NOACTION & 0xFF); } break; case 370: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2453 "gram.y" - { (yyval.ival) = (FKCONSTR_ACTION_NOACTION << 8) | ((yyvsp[(1) - (1)].ival) & 0xFF); ;} + { (yyval.ival) = (FKCONSTR_ACTION_NOACTION << 8) | ((yyvsp[(1) - (1)].ival) & 0xFF); } break; case 371: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2455 "gram.y" - { (yyval.ival) = ((yyvsp[(1) - (2)].ival) << 8) | ((yyvsp[(2) - (2)].ival) & 0xFF); ;} + { (yyval.ival) = ((yyvsp[(1) - (2)].ival) << 8) | ((yyvsp[(2) - (2)].ival) & 0xFF); } break; case 372: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2457 "gram.y" - { (yyval.ival) = ((yyvsp[(2) - (2)].ival) << 8) | ((yyvsp[(1) - (2)].ival) & 0xFF); ;} + { (yyval.ival) = ((yyvsp[(2) - (2)].ival) << 8) | ((yyvsp[(1) - (2)].ival) & 0xFF); } break; case 373: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2459 "gram.y" - { (yyval.ival) = (FKCONSTR_ACTION_NOACTION << 8) | (FKCONSTR_ACTION_NOACTION & 0xFF); ;} + { (yyval.ival) = (FKCONSTR_ACTION_NOACTION << 8) | (FKCONSTR_ACTION_NOACTION & 0xFF); } break; case 374: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2462 "gram.y" - { (yyval.ival) = (yyvsp[(3) - (3)].ival); ;} + { (yyval.ival) = (yyvsp[(3) - (3)].ival); } break; case 375: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2465 "gram.y" - { (yyval.ival) = (yyvsp[(3) - (3)].ival); ;} + { (yyval.ival) = (yyvsp[(3) - (3)].ival); } break; case 376: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2469 "gram.y" - { (yyval.ival) = FKCONSTR_ACTION_NOACTION; ;} + { (yyval.ival) = FKCONSTR_ACTION_NOACTION; } break; case 377: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2470 "gram.y" - { (yyval.ival) = FKCONSTR_ACTION_RESTRICT; ;} + { (yyval.ival) = FKCONSTR_ACTION_RESTRICT; } break; case 378: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2471 "gram.y" - { (yyval.ival) = FKCONSTR_ACTION_CASCADE; ;} + { (yyval.ival) = FKCONSTR_ACTION_CASCADE; } break; case 379: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2472 "gram.y" - { (yyval.ival) = FKCONSTR_ACTION_SETNULL; ;} + { (yyval.ival) = FKCONSTR_ACTION_SETNULL; } break; case 380: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2473 "gram.y" - { (yyval.ival) = FKCONSTR_ACTION_SETDEFAULT; ;} + { (yyval.ival) = FKCONSTR_ACTION_SETDEFAULT; } break; case 381: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2476 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 382: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2477 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 383: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2482 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 384: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2483 "gram.y" - { (yyval.list) = list_make1(defWithOids(true)); ;} + { (yyval.list) = list_make1(defWithOids(true)); } break; case 385: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2484 "gram.y" - { (yyval.list) = list_make1(defWithOids(false)); ;} + { (yyval.list) = list_make1(defWithOids(false)); } break; case 386: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2485 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 387: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2488 "gram.y" - { (yyval.oncommit) = ONCOMMIT_DROP; ;} + { (yyval.oncommit) = ONCOMMIT_DROP; } break; case 388: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2489 "gram.y" - { (yyval.oncommit) = ONCOMMIT_DELETE_ROWS; ;} + { (yyval.oncommit) = ONCOMMIT_DELETE_ROWS; } break; case 389: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2490 "gram.y" - { (yyval.oncommit) = ONCOMMIT_PRESERVE_ROWS; ;} + { (yyval.oncommit) = ONCOMMIT_PRESERVE_ROWS; } break; case 390: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2491 "gram.y" - { (yyval.oncommit) = ONCOMMIT_NOOP; ;} + { (yyval.oncommit) = ONCOMMIT_NOOP; } break; case 391: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2494 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 392: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2495 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 393: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2498 "gram.y" - { (yyval.str) = (yyvsp[(4) - (4)].str); ;} + { (yyval.str) = (yyvsp[(4) - (4)].str); } break; case 394: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2499 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 395: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2510 "gram.y" { /* @@ -18988,12 +19027,12 @@ if (!(yyvsp[(7) - (7)].boolean)) ((SelectStmt *) (yyvsp[(6) - (7)].node))->limitCount = makeIntConst(0, -1); (yyval.node) = (yyvsp[(6) - (7)].node); - ;} + } break; case 396: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2535 "gram.y" { (yyval.into) = makeNode(IntoClause); @@ -19002,40 +19041,40 @@ (yyval.into)->options = (yyvsp[(3) - (5)].list); (yyval.into)->onCommit = (yyvsp[(4) - (5)].oncommit); (yyval.into)->tableSpaceName = (yyvsp[(5) - (5)].str); - ;} + } break; case 397: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2546 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 398: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2547 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 399: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2551 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 400: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2552 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 401: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2557 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -19048,33 +19087,33 @@ n->cooked_default = NULL; n->constraints = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 402: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2572 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 403: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2573 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 404: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2574 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 405: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2588 "gram.y" { CreateSeqStmt *n = makeNode(CreateSeqStmt); @@ -19082,198 +19121,198 @@ n->sequence = (yyvsp[(4) - (5)].range); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 406: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2599 "gram.y" { AlterSeqStmt *n = makeNode(AlterSeqStmt); n->sequence = (yyvsp[(3) - (4)].range); n->options = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 407: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2607 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 408: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2608 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 409: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2611 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 410: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2612 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 411: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2616 "gram.y" { (yyval.defelt) = makeDefElem("cache", (Node *)(yyvsp[(2) - (2)].value)); - ;} + } break; case 412: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2620 "gram.y" { (yyval.defelt) = makeDefElem("cycle", (Node *)makeInteger(TRUE)); - ;} + } break; case 413: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2624 "gram.y" { (yyval.defelt) = makeDefElem("cycle", (Node *)makeInteger(FALSE)); - ;} + } break; case 414: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2628 "gram.y" { (yyval.defelt) = makeDefElem("increment", (Node *)(yyvsp[(3) - (3)].value)); - ;} + } break; case 415: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2632 "gram.y" { (yyval.defelt) = makeDefElem("maxvalue", (Node *)(yyvsp[(2) - (2)].value)); - ;} + } break; case 416: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2636 "gram.y" { (yyval.defelt) = makeDefElem("minvalue", (Node *)(yyvsp[(2) - (2)].value)); - ;} + } break; case 417: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2640 "gram.y" { (yyval.defelt) = makeDefElem("maxvalue", NULL); - ;} + } break; case 418: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2644 "gram.y" { (yyval.defelt) = makeDefElem("minvalue", NULL); - ;} + } break; case 419: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2648 "gram.y" { (yyval.defelt) = makeDefElem("owned_by", (Node *)(yyvsp[(3) - (3)].list)); - ;} + } break; case 420: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2652 "gram.y" { (yyval.defelt) = makeDefElem("start", (Node *)(yyvsp[(3) - (3)].value)); - ;} + } break; case 421: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2656 "gram.y" { (yyval.defelt) = makeDefElem("restart", NULL); - ;} + } break; case 422: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2660 "gram.y" { (yyval.defelt) = makeDefElem("restart", (Node *)(yyvsp[(3) - (3)].value)); - ;} + } break; case 423: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2665 "gram.y" - {;} + {} break; case 424: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2666 "gram.y" - {;} + {} break; case 425: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2670 "gram.y" - { (yyval.value) = makeFloat((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeFloat((yyvsp[(1) - (1)].str)); } break; case 426: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2672 "gram.y" { (yyval.value) = makeFloat((yyvsp[(2) - (2)].str)); doNegateFloat((yyval.value)); - ;} + } break; case 427: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2676 "gram.y" - { (yyval.value) = makeInteger((yyvsp[(1) - (1)].ival)); ;} + { (yyval.value) = makeInteger((yyvsp[(1) - (1)].ival)); } break; case 428: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2689 "gram.y" { CreatePLangStmt *n = makeNode(CreatePLangStmt); @@ -19283,12 +19322,12 @@ n->plvalidator = NIL; n->pltrusted = false; (yyval.node) = (Node *)n; - ;} + } break; case 429: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2700 "gram.y" { CreatePLangStmt *n = makeNode(CreatePLangStmt); @@ -19298,82 +19337,82 @@ n->pltrusted = (yyvsp[(2) - (9)].boolean); /* LANCOMPILER is now ignored entirely */ (yyval.node) = (Node *)n; - ;} + } break; case 430: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2712 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 431: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2713 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 432: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2721 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 433: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2722 "gram.y" - { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); ;} + { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); } break; case 434: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2726 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 435: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2727 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 436: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2731 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 437: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2732 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 438: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2736 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 439: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2737 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 440: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2742 "gram.y" { DropPLangStmt *n = makeNode(DropPLangStmt); @@ -19381,12 +19420,12 @@ n->behavior = (yyvsp[(5) - (5)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *)n; - ;} + } break; case 441: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2750 "gram.y" { DropPLangStmt *n = makeNode(DropPLangStmt); @@ -19394,26 +19433,26 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *)n; - ;} + } break; case 442: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2760 "gram.y" - {;} + {} break; case 443: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2761 "gram.y" - {;} + {} break; case 444: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2772 "gram.y" { CreateTableSpaceStmt *n = makeNode(CreateTableSpaceStmt); @@ -19421,50 +19460,50 @@ n->owner = (yyvsp[(4) - (6)].str); n->location = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *) n; - ;} + } break; case 445: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2781 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 446: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2782 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 447: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2796 "gram.y" { DropTableSpaceStmt *n = makeNode(DropTableSpaceStmt); n->tablespacename = (yyvsp[(3) - (3)].str); n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 448: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2803 "gram.y" { DropTableSpaceStmt *n = makeNode(DropTableSpaceStmt); n->tablespacename = (yyvsp[(5) - (5)].str); n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 449: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2819 "gram.y" { CreateFdwStmt *n = makeNode(CreateFdwStmt); @@ -19472,12 +19511,12 @@ n->validator = (yyvsp[(6) - (7)].list); n->options = (yyvsp[(7) - (7)].list); (yyval.node) = (Node *) n; - ;} + } break; case 450: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2836 "gram.y" { DropFdwStmt *n = makeNode(DropFdwStmt); @@ -19485,12 +19524,12 @@ n->missing_ok = false; n->behavior = (yyvsp[(6) - (6)].dbehavior); (yyval.node) = (Node *) n; - ;} + } break; case 451: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2844 "gram.y" { DropFdwStmt *n = makeNode(DropFdwStmt); @@ -19498,12 +19537,12 @@ n->missing_ok = true; n->behavior = (yyvsp[(8) - (8)].dbehavior); (yyval.node) = (Node *) n; - ;} + } break; case 452: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2861 "gram.y" { AlterFdwStmt *n = makeNode(AlterFdwStmt); @@ -19512,12 +19551,12 @@ n->change_validator = true; n->options = (yyvsp[(7) - (7)].list); (yyval.node) = (Node *) n; - ;} + } break; case 453: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2870 "gram.y" { AlterFdwStmt *n = makeNode(AlterFdwStmt); @@ -19525,142 +19564,142 @@ n->validator = (yyvsp[(6) - (6)].list); n->change_validator = true; (yyval.node) = (Node *) n; - ;} + } break; case 454: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2878 "gram.y" { AlterFdwStmt *n = makeNode(AlterFdwStmt); n->fdwname = (yyvsp[(5) - (6)].str); n->options = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *) n; - ;} + } break; case 455: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2888 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 456: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2889 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 457: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2894 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); - ;} + } break; case 458: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2898 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); - ;} + } break; case 459: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2905 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 460: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2910 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); - ;} + } break; case 461: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2914 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); - ;} + } break; case 462: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2921 "gram.y" { (yyval.defelt) = (yyvsp[(1) - (1)].defelt); - ;} + } break; case 463: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2925 "gram.y" { (yyval.defelt) = (yyvsp[(2) - (2)].defelt); (yyval.defelt)->defaction = DEFELEM_SET; - ;} + } break; case 464: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2930 "gram.y" { (yyval.defelt) = (yyvsp[(2) - (2)].defelt); (yyval.defelt)->defaction = DEFELEM_ADD; - ;} + } break; case 465: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2935 "gram.y" { (yyval.defelt) = makeDefElemExtended(NULL, (yyvsp[(2) - (2)].str), NULL, DEFELEM_DROP); - ;} + } break; case 466: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2942 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].node)); - ;} + } break; case 467: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2948 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 468: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2953 "gram.y" - { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); } break; case 469: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2965 "gram.y" { CreateForeignServerStmt *n = makeNode(CreateForeignServerStmt); @@ -19670,54 +19709,54 @@ n->fdwname = (yyvsp[(9) - (10)].str); n->options = (yyvsp[(10) - (10)].list); (yyval.node) = (Node *) n; - ;} + } break; case 470: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2977 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 471: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2978 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 472: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2983 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 473: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2984 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 474: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2988 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 475: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2989 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 476: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3000 "gram.y" { DropForeignServerStmt *n = makeNode(DropForeignServerStmt); @@ -19725,12 +19764,12 @@ n->missing_ok = false; n->behavior = (yyvsp[(4) - (4)].dbehavior); (yyval.node) = (Node *) n; - ;} + } break; case 477: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3008 "gram.y" { DropForeignServerStmt *n = makeNode(DropForeignServerStmt); @@ -19738,12 +19777,12 @@ n->missing_ok = true; n->behavior = (yyvsp[(6) - (6)].dbehavior); (yyval.node) = (Node *) n; - ;} + } break; case 478: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3025 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); @@ -19752,12 +19791,12 @@ n->options = (yyvsp[(5) - (5)].list); n->has_version = true; (yyval.node) = (Node *) n; - ;} + } break; case 479: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3034 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); @@ -19765,24 +19804,24 @@ n->version = (yyvsp[(4) - (4)].str); n->has_version = true; (yyval.node) = (Node *) n; - ;} + } break; case 480: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3042 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); n->servername = (yyvsp[(3) - (4)].str); n->options = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *) n; - ;} + } break; case 481: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3058 "gram.y" { CreateUserMappingStmt *n = makeNode(CreateUserMappingStmt); @@ -19790,33 +19829,33 @@ n->servername = (yyvsp[(7) - (8)].str); n->options = (yyvsp[(8) - (8)].list); (yyval.node) = (Node *) n; - ;} + } break; case 482: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3069 "gram.y" - { (yyval.str) = "current_user"; ;} + { (yyval.str) = "current_user"; } break; case 483: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3070 "gram.y" - { (yyval.str) = "current_user"; ;} + { (yyval.str) = "current_user"; } break; case 484: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3071 "gram.y" - { (yyval.str) = (strcmp((yyvsp[(1) - (1)].str), "public") == 0) ? NULL : (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (strcmp((yyvsp[(1) - (1)].str), "public") == 0) ? NULL : (yyvsp[(1) - (1)].str); } break; case 485: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3082 "gram.y" { DropUserMappingStmt *n = makeNode(DropUserMappingStmt); @@ -19824,12 +19863,12 @@ n->servername = (yyvsp[(7) - (7)].str); n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 486: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3090 "gram.y" { DropUserMappingStmt *n = makeNode(DropUserMappingStmt); @@ -19837,12 +19876,12 @@ n->servername = (yyvsp[(9) - (9)].str); n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 487: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3107 "gram.y" { AlterUserMappingStmt *n = makeNode(AlterUserMappingStmt); @@ -19850,12 +19889,12 @@ n->servername = (yyvsp[(7) - (8)].str); n->options = (yyvsp[(8) - (8)].list); (yyval.node) = (Node *) n; - ;} + } break; case 488: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3128 "gram.y" { CreateTrigStmt *n = makeNode(CreateTrigStmt); @@ -19871,12 +19910,12 @@ n->initdeferred = FALSE; n->constrrel = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 489: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3148 "gram.y" { CreateTrigStmt *n = makeNode(CreateTrigStmt); @@ -19892,81 +19931,81 @@ n->initdeferred = ((yyvsp[(10) - (19)].ival) & 2) != 0; n->constrrel = (yyvsp[(9) - (19)].range); (yyval.node) = (Node *)n; - ;} + } break; case 490: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3166 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 491: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3167 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 492: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3172 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} + { (yyval.ival) = (yyvsp[(1) - (1)].ival); } break; case 493: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3174 "gram.y" { if ((yyvsp[(1) - (3)].ival) & (yyvsp[(3) - (3)].ival)) yyerror("duplicate trigger events specified"); (yyval.ival) = (yyvsp[(1) - (3)].ival) | (yyvsp[(3) - (3)].ival); - ;} + } break; case 494: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3182 "gram.y" - { (yyval.ival) = TRIGGER_TYPE_INSERT; ;} + { (yyval.ival) = TRIGGER_TYPE_INSERT; } break; case 495: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3183 "gram.y" - { (yyval.ival) = TRIGGER_TYPE_DELETE; ;} + { (yyval.ival) = TRIGGER_TYPE_DELETE; } break; case 496: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3184 "gram.y" - { (yyval.ival) = TRIGGER_TYPE_UPDATE; ;} + { (yyval.ival) = TRIGGER_TYPE_UPDATE; } break; case 497: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3185 "gram.y" - { (yyval.ival) = TRIGGER_TYPE_TRUNCATE; ;} + { (yyval.ival) = TRIGGER_TYPE_TRUNCATE; } break; case 498: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3190 "gram.y" { (yyval.boolean) = (yyvsp[(3) - (3)].boolean); - ;} + } break; case 499: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3194 "gram.y" { /* @@ -19974,128 +20013,128 @@ * STATEMENT, per SQL */ (yyval.boolean) = FALSE; - ;} + } break; case 500: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3204 "gram.y" - {;} + {} break; case 501: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3205 "gram.y" - {;} + {} break; case 502: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3209 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 503: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3210 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 504: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3214 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].value)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].value)); } break; case 505: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3215 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].value)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].value)); } break; case 506: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3216 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 507: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3221 "gram.y" { char buf[64]; snprintf(buf, sizeof(buf), "%d", (yyvsp[(1) - (1)].ival)); (yyval.value) = makeString(pstrdup(buf)); - ;} + } break; case 508: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3226 "gram.y" - { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); } break; case 509: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3227 "gram.y" - { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); } break; case 510: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3228 "gram.y" - { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); } break; case 511: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3229 "gram.y" - { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); } break; case 512: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3230 "gram.y" - { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.value) = makeString((yyvsp[(1) - (1)].str)); } break; case 513: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3234 "gram.y" - { (yyval.range) = (yyvsp[(2) - (2)].range); ;} + { (yyval.range) = (yyvsp[(2) - (2)].range); } break; case 514: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3235 "gram.y" - { (yyval.range) = NULL; ;} + { (yyval.range) = NULL; } break; case 515: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3240 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} + { (yyval.ival) = (yyvsp[(1) - (1)].ival); } break; case 516: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3242 "gram.y" { if ((yyvsp[(1) - (2)].ival) == 0 && (yyvsp[(2) - (2)].ival) != 0) @@ -20104,24 +20143,24 @@ errmsg("constraint declared INITIALLY DEFERRED must be DEFERRABLE"), scanner_errposition((yylsp[(1) - (2)])))); (yyval.ival) = (yyvsp[(1) - (2)].ival) | (yyvsp[(2) - (2)].ival); - ;} + } break; case 517: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3251 "gram.y" { if ((yyvsp[(1) - (1)].ival) != 0) (yyval.ival) = 3; else (yyval.ival) = 0; - ;} + } break; case 518: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3258 "gram.y" { if ((yyvsp[(2) - (2)].ival) == 0 && (yyvsp[(1) - (2)].ival) != 0) @@ -20130,47 +20169,47 @@ errmsg("constraint declared INITIALLY DEFERRED must be DEFERRABLE"), scanner_errposition((yylsp[(1) - (2)])))); (yyval.ival) = (yyvsp[(1) - (2)].ival) | (yyvsp[(2) - (2)].ival); - ;} + } break; case 519: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3267 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 520: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3271 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 521: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3272 "gram.y" - { (yyval.ival) = 1; ;} + { (yyval.ival) = 1; } break; case 522: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3276 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 523: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3277 "gram.y" - { (yyval.ival) = 2; ;} + { (yyval.ival) = 2; } break; case 524: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3283 "gram.y" { DropPropertyStmt *n = makeNode(DropPropertyStmt); @@ -20180,12 +20219,12 @@ n->removeType = OBJECT_TRIGGER; n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 525: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3293 "gram.y" { DropPropertyStmt *n = makeNode(DropPropertyStmt); @@ -20195,12 +20234,12 @@ n->removeType = OBJECT_TRIGGER; n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 526: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3316 "gram.y" { CreateTrigStmt *n = makeNode(CreateTrigStmt); @@ -20215,12 +20254,12 @@ errmsg("CREATE ASSERTION is not yet implemented"))); (yyval.node) = (Node *)n; - ;} + } break; case 527: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3334 "gram.y" { DropPropertyStmt *n = makeNode(DropPropertyStmt); @@ -20232,12 +20271,12 @@ (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("DROP ASSERTION is not yet implemented"))); (yyval.node) = (Node *) n; - ;} + } break; case 528: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3357 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20247,12 +20286,12 @@ n->args = (yyvsp[(4) - (5)].list); n->definition = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 529: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3367 "gram.y" { /* old-style (pre-8.2) syntax for CREATE AGGREGATE */ @@ -20263,12 +20302,12 @@ n->args = NIL; n->definition = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 530: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3378 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20278,12 +20317,12 @@ n->args = NIL; n->definition = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 531: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3388 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20293,12 +20332,12 @@ n->args = NIL; n->definition = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 532: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3398 "gram.y" { /* Shell type (identified by lack of definition) */ @@ -20309,12 +20348,12 @@ n->args = NIL; n->definition = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 533: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3409 "gram.y" { CompositeTypeStmt *n = makeNode(CompositeTypeStmt); @@ -20350,24 +20389,24 @@ n->typevar = r; n->coldeflist = (yyvsp[(6) - (7)].list); (yyval.node) = (Node *)n; - ;} + } break; case 534: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3445 "gram.y" { CreateEnumStmt *n = makeNode(CreateEnumStmt); n->typename = (yyvsp[(3) - (8)].list); n->vals = (yyvsp[(7) - (8)].list); (yyval.node) = (Node *)n; - ;} + } break; case 535: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3452 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20376,12 +20415,12 @@ n->defnames = (yyvsp[(5) - (6)].list); n->definition = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 536: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3461 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20390,12 +20429,12 @@ n->defnames = (yyvsp[(5) - (6)].list); n->definition = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 537: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3470 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20404,12 +20443,12 @@ n->defnames = (yyvsp[(5) - (6)].list); n->definition = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 538: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3479 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -20418,144 +20457,144 @@ n->defnames = (yyvsp[(5) - (6)].list); n->definition = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 539: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3489 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 540: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3492 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 541: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3493 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); } break; case 542: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3497 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node)); - ;} + } break; case 543: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3501 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (1)].str), NULL); - ;} + } break; case 544: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3507 "gram.y" - { (yyval.node) = (Node *)(yyvsp[(1) - (1)].typnam); ;} + { (yyval.node) = (Node *)(yyvsp[(1) - (1)].typnam); } break; case 545: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3508 "gram.y" - { (yyval.node) = (Node *)makeString(pstrdup((yyvsp[(1) - (1)].keyword))); ;} + { (yyval.node) = (Node *)makeString(pstrdup((yyvsp[(1) - (1)].keyword))); } break; case 546: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3509 "gram.y" - { (yyval.node) = (Node *)(yyvsp[(1) - (1)].list); ;} + { (yyval.node) = (Node *)(yyvsp[(1) - (1)].list); } break; case 547: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3510 "gram.y" - { (yyval.node) = (Node *)(yyvsp[(1) - (1)].value); ;} + { (yyval.node) = (Node *)(yyvsp[(1) - (1)].value); } break; case 548: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3511 "gram.y" - { (yyval.node) = (Node *)makeString((yyvsp[(1) - (1)].str)); ;} + { (yyval.node) = (Node *)makeString((yyvsp[(1) - (1)].str)); } break; case 549: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3514 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 550: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3515 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 551: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3518 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 552: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3521 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 553: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3522 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); } break; case 554: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3531 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *)(yyvsp[(3) - (3)].node)); - ;} + } break; case 555: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3537 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 556: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3539 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); } break; case 557: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3557 "gram.y" { CreateOpClassStmt *n = makeNode(CreateOpClassStmt); @@ -20566,26 +20605,26 @@ n->opfamilyname = (yyvsp[(11) - (13)].list); n->items = (yyvsp[(13) - (13)].list); (yyval.node) = (Node *) n; - ;} + } break; case 558: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3570 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 559: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3571 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 560: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3576 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20594,12 +20633,12 @@ n->args = NIL; n->number = (yyvsp[(2) - (4)].ival); (yyval.node) = (Node *) n; - ;} + } break; case 561: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3585 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20608,12 +20647,12 @@ n->args = (yyvsp[(4) - (5)].list); n->number = (yyvsp[(2) - (5)].ival); (yyval.node) = (Node *) n; - ;} + } break; case 562: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3594 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20622,12 +20661,12 @@ n->args = extractArgTypes((yyvsp[(4) - (4)].list)); n->number = (yyvsp[(2) - (4)].ival); (yyval.node) = (Node *) n; - ;} + } break; case 563: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3603 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20637,52 +20676,52 @@ n->number = (yyvsp[(2) - (7)].ival); n->class_args = (yyvsp[(4) - (7)].list); (yyval.node) = (Node *) n; - ;} + } break; case 564: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3613 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); n->itemtype = OPCLASS_ITEM_STORAGETYPE; n->storedtype = (yyvsp[(2) - (2)].typnam); (yyval.node) = (Node *) n; - ;} + } break; case 565: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3621 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 566: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3622 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 567: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3625 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 568: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3626 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 569: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3630 "gram.y" { /* @@ -20696,31 +20735,31 @@ errhint("Update your data type."), scanner_errposition((yylsp[(1) - (1)])))); (yyval.boolean) = TRUE; - ;} + } break; case 570: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3643 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 571: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3649 "gram.y" { CreateOpFamilyStmt *n = makeNode(CreateOpFamilyStmt); n->opfamilyname = (yyvsp[(4) - (6)].list); n->amname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *) n; - ;} + } break; case 572: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3659 "gram.y" { AlterOpFamilyStmt *n = makeNode(AlterOpFamilyStmt); @@ -20729,12 +20768,12 @@ n->isDrop = false; n->items = (yyvsp[(8) - (8)].list); (yyval.node) = (Node *) n; - ;} + } break; case 573: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3668 "gram.y" { AlterOpFamilyStmt *n = makeNode(AlterOpFamilyStmt); @@ -20743,26 +20782,26 @@ n->isDrop = true; n->items = (yyvsp[(8) - (8)].list); (yyval.node) = (Node *) n; - ;} + } break; case 574: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3679 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 575: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3680 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 576: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3685 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20770,12 +20809,12 @@ n->number = (yyvsp[(2) - (5)].ival); n->args = (yyvsp[(4) - (5)].list); (yyval.node) = (Node *) n; - ;} + } break; case 577: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3693 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -20783,12 +20822,12 @@ n->number = (yyvsp[(2) - (5)].ival); n->args = (yyvsp[(4) - (5)].list); (yyval.node) = (Node *) n; - ;} + } break; case 578: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3705 "gram.y" { RemoveOpClassStmt *n = makeNode(RemoveOpClassStmt); @@ -20797,12 +20836,12 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 579: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3714 "gram.y" { RemoveOpClassStmt *n = makeNode(RemoveOpClassStmt); @@ -20811,12 +20850,12 @@ n->behavior = (yyvsp[(9) - (9)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 580: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3726 "gram.y" { RemoveOpFamilyStmt *n = makeNode(RemoveOpFamilyStmt); @@ -20825,12 +20864,12 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 581: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3735 "gram.y" { RemoveOpFamilyStmt *n = makeNode(RemoveOpFamilyStmt); @@ -20839,36 +20878,36 @@ n->behavior = (yyvsp[(9) - (9)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 582: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3756 "gram.y" { DropOwnedStmt *n = makeNode(DropOwnedStmt); n->roles = (yyvsp[(4) - (5)].list); n->behavior = (yyvsp[(5) - (5)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 583: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3766 "gram.y" { ReassignOwnedStmt *n = makeNode(ReassignOwnedStmt); n->roles = (yyvsp[(4) - (6)].list); n->newrole = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 584: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3784 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -20877,12 +20916,12 @@ n->objects = (yyvsp[(5) - (6)].list); n->behavior = (yyvsp[(6) - (6)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 585: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3793 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -20891,138 +20930,138 @@ n->objects = (yyvsp[(3) - (4)].list); n->behavior = (yyvsp[(4) - (4)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 586: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3804 "gram.y" - { (yyval.objtype) = OBJECT_TABLE; ;} + { (yyval.objtype) = OBJECT_TABLE; } break; case 587: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3805 "gram.y" - { (yyval.objtype) = OBJECT_SEQUENCE; ;} + { (yyval.objtype) = OBJECT_SEQUENCE; } break; case 588: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3806 "gram.y" - { (yyval.objtype) = OBJECT_VIEW; ;} + { (yyval.objtype) = OBJECT_VIEW; } break; case 589: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3807 "gram.y" - { (yyval.objtype) = OBJECT_INDEX; ;} + { (yyval.objtype) = OBJECT_INDEX; } break; case 590: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3808 "gram.y" - { (yyval.objtype) = OBJECT_TYPE; ;} + { (yyval.objtype) = OBJECT_TYPE; } break; case 591: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3809 "gram.y" - { (yyval.objtype) = OBJECT_DOMAIN; ;} + { (yyval.objtype) = OBJECT_DOMAIN; } break; case 592: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3810 "gram.y" - { (yyval.objtype) = OBJECT_CONVERSION; ;} + { (yyval.objtype) = OBJECT_CONVERSION; } break; case 593: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3811 "gram.y" - { (yyval.objtype) = OBJECT_SCHEMA; ;} + { (yyval.objtype) = OBJECT_SCHEMA; } break; case 594: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3812 "gram.y" - { (yyval.objtype) = OBJECT_TSPARSER; ;} + { (yyval.objtype) = OBJECT_TSPARSER; } break; case 595: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3813 "gram.y" - { (yyval.objtype) = OBJECT_TSDICTIONARY; ;} + { (yyval.objtype) = OBJECT_TSDICTIONARY; } break; case 596: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3814 "gram.y" - { (yyval.objtype) = OBJECT_TSTEMPLATE; ;} + { (yyval.objtype) = OBJECT_TSTEMPLATE; } break; case 597: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3815 "gram.y" - { (yyval.objtype) = OBJECT_TSCONFIGURATION; ;} + { (yyval.objtype) = OBJECT_TSCONFIGURATION; } break; case 598: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3819 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].list)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].list)); } break; case 599: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3820 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list)); } break; case 600: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3823 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 601: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3824 "gram.y" - { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); ;} + { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); } break; case 602: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3828 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(2) - (2)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(2) - (2)].str))); } break; case 603: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3830 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); } break; case 604: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3843 "gram.y" { TruncateStmt *n = makeNode(TruncateStmt); @@ -21030,33 +21069,33 @@ n->restart_seqs = (yyvsp[(4) - (5)].boolean); n->behavior = (yyvsp[(5) - (5)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 605: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3853 "gram.y" - { (yyval.boolean) = false; ;} + { (yyval.boolean) = false; } break; case 606: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3854 "gram.y" - { (yyval.boolean) = true; ;} + { (yyval.boolean) = true; } break; case 607: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3855 "gram.y" - { (yyval.boolean) = false; ;} + { (yyval.boolean) = false; } break; case 608: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3881 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21065,12 +21104,12 @@ n->objargs = NIL; n->comment = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *) n; - ;} + } break; case 609: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3890 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21079,12 +21118,12 @@ n->objargs = (yyvsp[(5) - (7)].list); n->comment = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *) n; - ;} + } break; case 610: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3899 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21093,12 +21132,12 @@ n->objargs = extractArgTypes((yyvsp[(5) - (7)].list)); n->comment = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *) n; - ;} + } break; case 611: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3908 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21107,12 +21146,12 @@ n->objargs = (yyvsp[(5) - (7)].list); n->comment = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *) n; - ;} + } break; case 612: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3917 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21121,12 +21160,12 @@ n->objargs = NIL; n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 613: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3926 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21135,12 +21174,12 @@ n->objargs = NIL; n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 614: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3935 "gram.y" { /* Obsolete syntax supported for awhile for compatibility */ @@ -21150,12 +21189,12 @@ n->objargs = NIL; n->comment = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *) n; - ;} + } break; case 615: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3945 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21164,12 +21203,12 @@ n->objargs = NIL; n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 616: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3954 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21178,12 +21217,12 @@ n->objargs = list_make1(makeString((yyvsp[(7) - (9)].str))); n->comment = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *) n; - ;} + } break; case 617: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3963 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21192,12 +21231,12 @@ n->objargs = list_make1(makeString((yyvsp[(7) - (9)].str))); n->comment = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *) n; - ;} + } break; case 618: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3972 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21206,12 +21245,12 @@ n->objargs = NIL; n->comment = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *) n; - ;} + } break; case 619: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3981 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21220,12 +21259,12 @@ n->objargs = list_make1((yyvsp[(7) - (10)].typnam)); n->comment = (yyvsp[(10) - (10)].str); (yyval.node) = (Node *) n; - ;} + } break; case 620: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3990 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21234,12 +21273,12 @@ n->objargs = NIL; n->comment = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *) n; - ;} + } break; case 621: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3999 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21247,12 +21286,12 @@ n->objname = (yyvsp[(6) - (8)].list); n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 622: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4007 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21260,12 +21299,12 @@ n->objname = (yyvsp[(6) - (8)].list); n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 623: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4015 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21273,12 +21312,12 @@ n->objname = (yyvsp[(6) - (8)].list); n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 624: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4023 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -21286,122 +21325,122 @@ n->objname = (yyvsp[(6) - (8)].list); n->comment = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *) n; - ;} + } break; case 625: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4033 "gram.y" - { (yyval.objtype) = OBJECT_COLUMN; ;} + { (yyval.objtype) = OBJECT_COLUMN; } break; case 626: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4034 "gram.y" - { (yyval.objtype) = OBJECT_DATABASE; ;} + { (yyval.objtype) = OBJECT_DATABASE; } break; case 627: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4035 "gram.y" - { (yyval.objtype) = OBJECT_SCHEMA; ;} + { (yyval.objtype) = OBJECT_SCHEMA; } break; case 628: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4036 "gram.y" - { (yyval.objtype) = OBJECT_INDEX; ;} + { (yyval.objtype) = OBJECT_INDEX; } break; case 629: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4037 "gram.y" - { (yyval.objtype) = OBJECT_SEQUENCE; ;} + { (yyval.objtype) = OBJECT_SEQUENCE; } break; case 630: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4038 "gram.y" - { (yyval.objtype) = OBJECT_TABLE; ;} + { (yyval.objtype) = OBJECT_TABLE; } break; case 631: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4039 "gram.y" - { (yyval.objtype) = OBJECT_TYPE; ;} + { (yyval.objtype) = OBJECT_TYPE; } break; case 632: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4040 "gram.y" - { (yyval.objtype) = OBJECT_TYPE; ;} + { (yyval.objtype) = OBJECT_TYPE; } break; case 633: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4041 "gram.y" - { (yyval.objtype) = OBJECT_VIEW; ;} + { (yyval.objtype) = OBJECT_VIEW; } break; case 634: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4042 "gram.y" - { (yyval.objtype) = OBJECT_CONVERSION; ;} + { (yyval.objtype) = OBJECT_CONVERSION; } break; case 635: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4043 "gram.y" - { (yyval.objtype) = OBJECT_TABLESPACE; ;} + { (yyval.objtype) = OBJECT_TABLESPACE; } break; case 636: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4044 "gram.y" - { (yyval.objtype) = OBJECT_ROLE; ;} + { (yyval.objtype) = OBJECT_ROLE; } break; case 637: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4048 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 638: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4049 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 639: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4060 "gram.y" { FetchStmt *n = (FetchStmt *) (yyvsp[(2) - (4)].node); n->portalname = (yyvsp[(4) - (4)].str); n->ismove = FALSE; (yyval.node) = (Node *)n; - ;} + } break; case 640: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4067 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -21410,24 +21449,24 @@ n->portalname = (yyvsp[(2) - (2)].str); n->ismove = FALSE; (yyval.node) = (Node *)n; - ;} + } break; case 641: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4076 "gram.y" { FetchStmt *n = (FetchStmt *) (yyvsp[(2) - (4)].node); n->portalname = (yyvsp[(4) - (4)].str); n->ismove = TRUE; (yyval.node) = (Node *)n; - ;} + } break; case 642: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4083 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -21436,206 +21475,206 @@ n->portalname = (yyvsp[(2) - (2)].str); n->ismove = TRUE; (yyval.node) = (Node *)n; - ;} + } break; case 643: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4095 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 644: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4102 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 645: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4109 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_BACKWARD; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 646: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4116 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_ABSOLUTE; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 647: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4123 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_ABSOLUTE; n->howMany = -1; (yyval.node) = (Node *)n; - ;} + } break; case 648: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4130 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_ABSOLUTE; n->howMany = (yyvsp[(2) - (2)].ival); (yyval.node) = (Node *)n; - ;} + } break; case 649: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4137 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_RELATIVE; n->howMany = (yyvsp[(2) - (2)].ival); (yyval.node) = (Node *)n; - ;} + } break; case 650: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4144 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = (yyvsp[(1) - (1)].ival); (yyval.node) = (Node *)n; - ;} + } break; case 651: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4151 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = FETCH_ALL; (yyval.node) = (Node *)n; - ;} + } break; case 652: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4158 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 653: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4165 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = (yyvsp[(2) - (2)].ival); (yyval.node) = (Node *)n; - ;} + } break; case 654: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4172 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_FORWARD; n->howMany = FETCH_ALL; (yyval.node) = (Node *)n; - ;} + } break; case 655: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4179 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_BACKWARD; n->howMany = 1; (yyval.node) = (Node *)n; - ;} + } break; case 656: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4186 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_BACKWARD; n->howMany = (yyvsp[(2) - (2)].ival); (yyval.node) = (Node *)n; - ;} + } break; case 657: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4193 "gram.y" { FetchStmt *n = makeNode(FetchStmt); n->direction = FETCH_BACKWARD; n->howMany = FETCH_ALL; (yyval.node) = (Node *)n; - ;} + } break; case 658: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4201 "gram.y" - {;} + {} break; case 659: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4202 "gram.y" - {;} + {} break; case 660: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4214 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -21646,12 +21685,12 @@ n->grantees = (yyvsp[(6) - (7)].list); n->grant_option = (yyvsp[(7) - (7)].boolean); (yyval.node) = (Node*)n; - ;} + } break; case 661: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4229 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -21663,12 +21702,12 @@ n->grantees = (yyvsp[(6) - (7)].list); n->behavior = (yyvsp[(7) - (7)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 662: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4242 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -21680,253 +21719,253 @@ n->grantees = (yyvsp[(9) - (10)].list); n->behavior = (yyvsp[(10) - (10)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 663: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4266 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 664: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4268 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 665: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4270 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 666: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4272 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = NULL; n->cols = (yyvsp[(3) - (4)].list); (yyval.list) = list_make1(n); - ;} + } break; case 667: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4279 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = NULL; n->cols = (yyvsp[(4) - (5)].list); (yyval.list) = list_make1(n); - ;} + } break; case 668: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4287 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].accesspriv)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].accesspriv)); } break; case 669: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4288 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].accesspriv)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].accesspriv)); } break; case 670: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4292 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = pstrdup((yyvsp[(1) - (2)].keyword)); n->cols = (yyvsp[(2) - (2)].list); (yyval.accesspriv) = n; - ;} + } break; case 671: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4299 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = pstrdup((yyvsp[(1) - (2)].keyword)); n->cols = (yyvsp[(2) - (2)].list); (yyval.accesspriv) = n; - ;} + } break; case 672: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4306 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = pstrdup((yyvsp[(1) - (2)].keyword)); n->cols = (yyvsp[(2) - (2)].list); (yyval.accesspriv) = n; - ;} + } break; case 673: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4313 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = (yyvsp[(1) - (2)].str); n->cols = (yyvsp[(2) - (2)].list); (yyval.accesspriv) = n; - ;} + } break; case 674: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4327 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_RELATION; n->objs = (yyvsp[(1) - (1)].list); (yyval.privtarget) = n; - ;} + } break; case 675: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4334 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_RELATION; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 676: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4341 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_SEQUENCE; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 677: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4348 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_FDW; n->objs = (yyvsp[(4) - (4)].list); (yyval.privtarget) = n; - ;} + } break; case 678: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4355 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_FOREIGN_SERVER; n->objs = (yyvsp[(3) - (3)].list); (yyval.privtarget) = n; - ;} + } break; case 679: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4362 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_FUNCTION; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 680: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4369 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_DATABASE; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 681: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4376 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_LANGUAGE; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 682: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4383 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_NAMESPACE; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 683: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4390 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->objtype = ACL_OBJECT_TABLESPACE; n->objs = (yyvsp[(2) - (2)].list); (yyval.privtarget) = n; - ;} + } break; case 684: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4400 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 685: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4401 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 686: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4405 "gram.y" { PrivGrantee *n = makeNode(PrivGrantee); @@ -21936,12 +21975,12 @@ else n->rolname = (yyvsp[(1) - (1)].str); (yyval.node) = (Node *)n; - ;} + } break; case 687: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4415 "gram.y" { PrivGrantee *n = makeNode(PrivGrantee); @@ -21951,52 +21990,52 @@ else n->rolname = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 688: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4428 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 689: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4429 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 690: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4433 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].funwithargs)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].funwithargs)); } break; case 691: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4435 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].funwithargs)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].funwithargs)); } break; case 692: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4440 "gram.y" { FuncWithArgs *n = makeNode(FuncWithArgs); n->funcname = (yyvsp[(1) - (2)].list); n->funcargs = extractArgTypes((yyvsp[(2) - (2)].list)); (yyval.funwithargs) = n; - ;} + } break; case 693: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4456 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -22006,12 +22045,12 @@ n->admin_opt = (yyvsp[(5) - (6)].boolean); n->grantor = (yyvsp[(6) - (6)].str); (yyval.node) = (Node*)n; - ;} + } break; case 694: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4469 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -22021,12 +22060,12 @@ n->grantee_roles = (yyvsp[(4) - (6)].list); n->behavior = (yyvsp[(6) - (6)].dbehavior); (yyval.node) = (Node*)n; - ;} + } break; case 695: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4479 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -22036,40 +22075,40 @@ n->grantee_roles = (yyvsp[(7) - (9)].list); n->behavior = (yyvsp[(9) - (9)].dbehavior); (yyval.node) = (Node*)n; - ;} + } break; case 696: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4490 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 697: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4491 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 698: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4494 "gram.y" - { (yyval.str) = (yyvsp[(3) - (3)].str); ;} + { (yyval.str) = (yyvsp[(3) - (3)].str); } break; case 699: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4495 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 700: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4513 "gram.y" { IndexStmt *n = makeNode(IndexStmt); @@ -22083,12 +22122,12 @@ n->tableSpace = (yyvsp[(12) - (13)].str); n->whereClause = (yyvsp[(13) - (13)].node); (yyval.node) = (Node *)n; - ;} + } break; case 701: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4529 "gram.y" { IndexStmt *n = makeNode(IndexStmt); @@ -22102,54 +22141,54 @@ n->tableSpace = (yyvsp[(13) - (14)].str); n->whereClause = (yyvsp[(14) - (14)].node); (yyval.node) = (Node *)n; - ;} + } break; case 702: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4545 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 703: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4546 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 704: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4550 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 705: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4551 "gram.y" - { (yyval.str) = DEFAULT_INDEX_TYPE; ;} + { (yyval.str) = DEFAULT_INDEX_TYPE; } break; case 706: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4554 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); } break; case 707: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4555 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); } break; case 708: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4564 "gram.y" { (yyval.ielem) = makeNode(IndexElem); @@ -22158,12 +22197,12 @@ (yyval.ielem)->opclass = (yyvsp[(2) - (4)].list); (yyval.ielem)->ordering = (yyvsp[(3) - (4)].ival); (yyval.ielem)->nulls_ordering = (yyvsp[(4) - (4)].ival); - ;} + } break; case 709: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4573 "gram.y" { (yyval.ielem) = makeNode(IndexElem); @@ -22172,12 +22211,12 @@ (yyval.ielem)->opclass = (yyvsp[(2) - (4)].list); (yyval.ielem)->ordering = (yyvsp[(3) - (4)].ival); (yyval.ielem)->nulls_ordering = (yyvsp[(4) - (4)].ival); - ;} + } break; case 710: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4582 "gram.y" { (yyval.ielem) = makeNode(IndexElem); @@ -22186,75 +22225,75 @@ (yyval.ielem)->opclass = (yyvsp[(4) - (6)].list); (yyval.ielem)->ordering = (yyvsp[(5) - (6)].ival); (yyval.ielem)->nulls_ordering = (yyvsp[(6) - (6)].ival); - ;} + } break; case 711: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4592 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 712: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4593 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 713: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4594 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 714: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4597 "gram.y" - { (yyval.ival) = SORTBY_ASC; ;} + { (yyval.ival) = SORTBY_ASC; } break; case 715: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4598 "gram.y" - { (yyval.ival) = SORTBY_DESC; ;} + { (yyval.ival) = SORTBY_DESC; } break; case 716: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4599 "gram.y" - { (yyval.ival) = SORTBY_DEFAULT; ;} + { (yyval.ival) = SORTBY_DEFAULT; } break; case 717: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4602 "gram.y" - { (yyval.ival) = SORTBY_NULLS_FIRST; ;} + { (yyval.ival) = SORTBY_NULLS_FIRST; } break; case 718: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4603 "gram.y" - { (yyval.ival) = SORTBY_NULLS_LAST; ;} + { (yyval.ival) = SORTBY_NULLS_LAST; } break; case 719: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4604 "gram.y" - { (yyval.ival) = SORTBY_NULLS_DEFAULT; ;} + { (yyval.ival) = SORTBY_NULLS_DEFAULT; } break; case 720: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4622 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -22265,12 +22304,12 @@ n->options = (yyvsp[(8) - (9)].list); n->withClause = (yyvsp[(9) - (9)].list); (yyval.node) = (Node *)n; - ;} + } break; case 721: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4634 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -22282,12 +22321,12 @@ n->options = (yyvsp[(11) - (12)].list); n->withClause = (yyvsp[(12) - (12)].list); (yyval.node) = (Node *)n; - ;} + } break; case 722: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4647 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -22298,82 +22337,82 @@ n->options = (yyvsp[(6) - (7)].list); n->withClause = (yyvsp[(7) - (7)].list); (yyval.node) = (Node *)n; - ;} + } break; case 723: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4660 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 724: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4661 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 725: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4664 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 726: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4665 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 727: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4669 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); } break; case 728: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4670 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); } break; case 729: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4678 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 730: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4679 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 731: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4683 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); } break; case 732: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4685 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); } break; case 733: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4700 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22382,12 +22421,12 @@ n->mode = (yyvsp[(1) - (3)].fun_param_mode); n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 734: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4709 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22396,12 +22435,12 @@ n->mode = (yyvsp[(2) - (3)].fun_param_mode); n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 735: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4718 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22410,12 +22449,12 @@ n->mode = FUNC_PARAM_IN; n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 736: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4727 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22424,12 +22463,12 @@ n->mode = (yyvsp[(1) - (2)].fun_param_mode); n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 737: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4736 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22438,47 +22477,47 @@ n->mode = FUNC_PARAM_IN; n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 738: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4747 "gram.y" - { (yyval.fun_param_mode) = FUNC_PARAM_IN; ;} + { (yyval.fun_param_mode) = FUNC_PARAM_IN; } break; case 739: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4748 "gram.y" - { (yyval.fun_param_mode) = FUNC_PARAM_OUT; ;} + { (yyval.fun_param_mode) = FUNC_PARAM_OUT; } break; case 740: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4749 "gram.y" - { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; ;} + { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; } break; case 741: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4750 "gram.y" - { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; ;} + { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; } break; case 742: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4751 "gram.y" - { (yyval.fun_param_mode) = FUNC_PARAM_VARIADIC; ;} + { (yyval.fun_param_mode) = FUNC_PARAM_VARIADIC; } break; case 744: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4762 "gram.y" { /* We can catch over-specified results here if we want to, @@ -22486,269 +22525,269 @@ * - thomas 2000-03-22 */ (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 745: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4776 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 746: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4778 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(1) - (4)].str)), (yyvsp[(2) - (4)].list))); (yyval.typnam)->pct_type = true; (yyval.typnam)->location = (yylsp[(1) - (4)]); - ;} + } break; case 747: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4784 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(2) - (5)].str)), (yyvsp[(3) - (5)].list))); (yyval.typnam)->pct_type = true; (yyval.typnam)->setof = TRUE; (yyval.typnam)->location = (yylsp[(2) - (5)]); - ;} + } break; case 748: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4794 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (1)].fun_param); - ;} + } break; case 749: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4798 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (3)].fun_param); (yyval.fun_param)->defexpr = (yyvsp[(3) - (3)].node); - ;} + } break; case 750: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4803 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (3)].fun_param); (yyval.fun_param)->defexpr = (yyvsp[(3) - (3)].node); - ;} + } break; case 751: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4812 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 752: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4813 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 753: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4821 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *)makeInteger(FALSE)); - ;} + } break; case 754: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4825 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *)makeInteger(TRUE)); - ;} + } break; case 755: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4829 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *)makeInteger(TRUE)); - ;} + } break; case 756: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4833 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *)makeString("immutable")); - ;} + } break; case 757: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4837 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *)makeString("stable")); - ;} + } break; case 758: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4841 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *)makeString("volatile")); - ;} + } break; case 759: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4845 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *)makeInteger(TRUE)); - ;} + } break; case 760: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4849 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *)makeInteger(FALSE)); - ;} + } break; case 761: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4853 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *)makeInteger(TRUE)); - ;} + } break; case 762: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4857 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *)makeInteger(FALSE)); - ;} + } break; case 763: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4861 "gram.y" { (yyval.defelt) = makeDefElem("cost", (Node *)(yyvsp[(2) - (2)].value)); - ;} + } break; case 764: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4865 "gram.y" { (yyval.defelt) = makeDefElem("rows", (Node *)(yyvsp[(2) - (2)].value)); - ;} + } break; case 765: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4869 "gram.y" { /* we abuse the normal content of a DefElem here */ (yyval.defelt) = makeDefElem("set", (Node *)(yyvsp[(1) - (1)].vsetstmt)); - ;} + } break; case 766: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4877 "gram.y" { (yyval.defelt) = makeDefElem("as", (Node *)(yyvsp[(2) - (2)].list)); - ;} + } break; case 767: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4881 "gram.y" { (yyval.defelt) = makeDefElem("language", (Node *)makeString((yyvsp[(2) - (2)].str))); - ;} + } break; case 768: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4885 "gram.y" { (yyval.defelt) = makeDefElem("window", (Node *)makeInteger(TRUE)); - ;} + } break; case 769: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4889 "gram.y" { (yyval.defelt) = (yyvsp[(1) - (1)].defelt); - ;} + } break; case 770: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4894 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 771: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4896 "gram.y" { (yyval.list) = list_make2(makeString((yyvsp[(1) - (3)].str)), makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 772: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4902 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 773: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4903 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 774: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4907 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -22757,56 +22796,56 @@ n->mode = FUNC_PARAM_TABLE; n->defexpr = NULL; (yyval.fun_param) = n; - ;} + } break; case 775: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4919 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); - ;} + } break; case 776: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4923 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); - ;} + } break; case 777: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4938 "gram.y" { AlterFunctionStmt *n = makeNode(AlterFunctionStmt); n->func = (yyvsp[(3) - (5)].funwithargs); n->actions = (yyvsp[(4) - (5)].list); (yyval.node) = (Node *) n; - ;} + } break; case 778: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4948 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 779: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4949 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 782: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4971 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22816,12 +22855,12 @@ n->behavior = (yyvsp[(5) - (5)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *)n; - ;} + } break; case 783: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4981 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22831,12 +22870,12 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *)n; - ;} + } break; case 784: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4994 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22846,12 +22885,12 @@ n->behavior = (yyvsp[(5) - (5)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *)n; - ;} + } break; case 785: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5004 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22861,12 +22900,12 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *)n; - ;} + } break; case 786: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5017 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22876,12 +22915,12 @@ n->behavior = (yyvsp[(5) - (5)].dbehavior); n->missing_ok = false; (yyval.node) = (Node *)n; - ;} + } break; case 787: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5027 "gram.y" { RemoveFuncStmt *n = makeNode(RemoveFuncStmt); @@ -22891,12 +22930,12 @@ n->behavior = (yyvsp[(7) - (7)].dbehavior); n->missing_ok = true; (yyval.node) = (Node *)n; - ;} + } break; case 788: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5040 "gram.y" { ereport(ERROR, @@ -22904,47 +22943,47 @@ errmsg("missing argument"), errhint("Use NONE to denote the missing argument of a unary operator."), scanner_errposition((yylsp[(3) - (3)])))); - ;} + } break; case 789: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5048 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), (yyvsp[(4) - (5)].typnam)); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), (yyvsp[(4) - (5)].typnam)); } break; case 790: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5050 "gram.y" - { (yyval.list) = list_make2(NULL, (yyvsp[(4) - (5)].typnam)); ;} + { (yyval.list) = list_make2(NULL, (yyvsp[(4) - (5)].typnam)); } break; case 791: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5052 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), NULL); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), NULL); } break; case 792: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5057 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 793: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5059 "gram.y" - { (yyval.list) = lcons(makeString((yyvsp[(1) - (3)].str)), (yyvsp[(3) - (3)].list)); ;} + { (yyval.list) = lcons(makeString((yyvsp[(1) - (3)].str)), (yyvsp[(3) - (3)].list)); } break; case 794: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5071 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -22954,12 +22993,12 @@ n->context = (CoercionContext) (yyvsp[(11) - (11)].ival); n->inout = false; (yyval.node) = (Node *)n; - ;} + } break; case 795: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5082 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -22969,12 +23008,12 @@ n->context = (CoercionContext) (yyvsp[(10) - (10)].ival); n->inout = false; (yyval.node) = (Node *)n; - ;} + } break; case 796: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5093 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -22984,33 +23023,33 @@ n->context = (CoercionContext) (yyvsp[(10) - (10)].ival); n->inout = true; (yyval.node) = (Node *)n; - ;} + } break; case 797: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5104 "gram.y" - { (yyval.ival) = COERCION_IMPLICIT; ;} + { (yyval.ival) = COERCION_IMPLICIT; } break; case 798: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5105 "gram.y" - { (yyval.ival) = COERCION_ASSIGNMENT; ;} + { (yyval.ival) = COERCION_ASSIGNMENT; } break; case 799: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5106 "gram.y" - { (yyval.ival) = COERCION_EXPLICIT; ;} + { (yyval.ival) = COERCION_EXPLICIT; } break; case 800: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5111 "gram.y" { DropCastStmt *n = makeNode(DropCastStmt); @@ -23019,26 +23058,26 @@ n->behavior = (yyvsp[(9) - (9)].dbehavior); n->missing_ok = (yyvsp[(3) - (9)].boolean); (yyval.node) = (Node *)n; - ;} + } break; case 801: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5121 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 802: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5122 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 803: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5137 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -23046,12 +23085,12 @@ n->relation = (yyvsp[(3) - (4)].range); n->name = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 804: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5145 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -23061,12 +23100,12 @@ n->do_system = true; n->do_user = false; (yyval.node) = (Node *)n; - ;} + } break; case 805: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5155 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -23076,40 +23115,40 @@ n->do_system = true; n->do_user = true; (yyval.node) = (Node *)n; - ;} + } break; case 806: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5167 "gram.y" - { (yyval.objtype) = OBJECT_INDEX; ;} + { (yyval.objtype) = OBJECT_INDEX; } break; case 807: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5168 "gram.y" - { (yyval.objtype) = OBJECT_TABLE; ;} + { (yyval.objtype) = OBJECT_TABLE; } break; case 808: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5171 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 809: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5172 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 810: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5183 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23118,12 +23157,12 @@ n->objarg = (yyvsp[(4) - (7)].list); n->newname = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 811: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5192 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23131,12 +23170,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 812: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5200 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23144,12 +23183,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 813: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5208 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23158,12 +23197,12 @@ n->objarg = (yyvsp[(3) - (6)].funwithargs)->funcargs; n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 814: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5217 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23171,12 +23210,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 815: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5225 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23184,12 +23223,12 @@ n->subname = (yyvsp[(4) - (7)].str); n->newname = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 816: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5233 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23198,12 +23237,12 @@ n->subname = (yyvsp[(6) - (9)].str); n->newname = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *)n; - ;} + } break; case 817: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5242 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23212,12 +23251,12 @@ n->subname = (yyvsp[(6) - (9)].str); n->newname = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *)n; - ;} + } break; case 818: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5251 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23225,12 +23264,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 819: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5259 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23239,12 +23278,12 @@ n->subname = NULL; n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 820: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5268 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23253,12 +23292,12 @@ n->subname = NULL; n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 821: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5277 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23267,12 +23306,12 @@ n->subname = NULL; n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 822: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5286 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23281,12 +23320,12 @@ n->subname = NULL; n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 823: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5295 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23295,12 +23334,12 @@ n->subname = (yyvsp[(6) - (8)].str); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 824: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5304 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23309,12 +23348,12 @@ n->subname = (yyvsp[(3) - (8)].str); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 825: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5313 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23322,12 +23361,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 826: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5321 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23335,12 +23374,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 827: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5329 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23348,12 +23387,12 @@ n->subname = (yyvsp[(3) - (6)].str); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 828: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5337 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23361,12 +23400,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 829: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5345 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23374,12 +23413,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 830: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5353 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23387,12 +23426,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 831: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5361 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23400,12 +23439,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newname = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 832: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5369 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -23413,40 +23452,40 @@ n->object = (yyvsp[(3) - (6)].list); n->newname = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 833: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5378 "gram.y" - { (yyval.ival) = COLUMN; ;} + { (yyval.ival) = COLUMN; } break; case 834: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5379 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 835: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5382 "gram.y" - { (yyval.ival) = 1; ;} + { (yyval.ival) = 1; } break; case 836: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5383 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 837: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5394 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23455,12 +23494,12 @@ n->objarg = (yyvsp[(4) - (7)].list); n->newschema = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 838: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5403 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23468,12 +23507,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 839: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5411 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23482,12 +23521,12 @@ n->objarg = (yyvsp[(3) - (6)].funwithargs)->funcargs; n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 840: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5420 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23495,12 +23534,12 @@ n->relation = (yyvsp[(3) - (6)].range); n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 841: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5428 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23508,12 +23547,12 @@ n->relation = (yyvsp[(3) - (6)].range); n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 842: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5436 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23521,12 +23560,12 @@ n->relation = (yyvsp[(3) - (6)].range); n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 843: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5444 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -23534,12 +23573,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newschema = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 844: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5460 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23548,12 +23587,12 @@ n->objarg = (yyvsp[(4) - (7)].list); n->newowner = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 845: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5469 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23561,12 +23600,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 846: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5477 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23574,12 +23613,12 @@ n->object = list_make1(makeString((yyvsp[(3) - (6)].str))); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 847: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5485 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23587,12 +23626,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 848: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5493 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23601,12 +23640,12 @@ n->objarg = (yyvsp[(3) - (6)].funwithargs)->funcargs; n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 849: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5502 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23614,12 +23653,12 @@ n->object = list_make1(makeString((yyvsp[(4) - (7)].str))); n->newowner = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 850: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5510 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23628,12 +23667,12 @@ n->objarg = (yyvsp[(4) - (7)].list); n->newowner = (yyvsp[(7) - (7)].str); (yyval.node) = (Node *)n; - ;} + } break; case 851: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5519 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23642,12 +23681,12 @@ n->addname = (yyvsp[(6) - (9)].str); n->newowner = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *)n; - ;} + } break; case 852: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5528 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23656,12 +23695,12 @@ n->addname = (yyvsp[(6) - (9)].str); n->newowner = (yyvsp[(9) - (9)].str); (yyval.node) = (Node *)n; - ;} + } break; case 853: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5537 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23669,12 +23708,12 @@ n->object = list_make1(makeString((yyvsp[(3) - (6)].str))); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 854: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5545 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23682,12 +23721,12 @@ n->object = (yyvsp[(3) - (6)].list); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 855: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5553 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23695,12 +23734,12 @@ n->object = list_make1(makeString((yyvsp[(3) - (6)].str))); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 856: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5561 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23708,12 +23747,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newowner = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 857: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5569 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23721,12 +23760,12 @@ n->object = (yyvsp[(5) - (8)].list); n->newowner = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 858: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5577 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23734,12 +23773,12 @@ n->object = list_make1(makeString((yyvsp[(5) - (8)].str))); n->newowner = (yyvsp[(8) - (8)].str); (yyval.node) = (Node *)n; - ;} + } break; case 859: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5585 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -23747,19 +23786,19 @@ n->object = list_make1(makeString((yyvsp[(3) - (6)].str))); n->newowner = (yyvsp[(6) - (6)].str); (yyval.node) = (Node *)n; - ;} + } break; case 860: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5602 "gram.y" - { QueryIsRule=TRUE; ;} + { QueryIsRule=TRUE; } break; case 861: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5605 "gram.y" { RuleStmt *n = makeNode(RuleStmt); @@ -23772,118 +23811,118 @@ n->actions = (yyvsp[(14) - (14)].list); (yyval.node) = (Node *)n; QueryIsRule=FALSE; - ;} + } break; case 862: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5620 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 863: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5621 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 864: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5622 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 865: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5628 "gram.y" { if ((yyvsp[(3) - (3)].node) != NULL) (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); else (yyval.list) = (yyvsp[(1) - (3)].list); - ;} + } break; case 866: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5634 "gram.y" { if ((yyvsp[(1) - (1)].node) != NULL) (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); else (yyval.list) = NIL; - ;} + } break; case 872: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5650 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 873: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5651 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 874: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5654 "gram.y" - { (yyval.ival) = CMD_SELECT; ;} + { (yyval.ival) = CMD_SELECT; } break; case 875: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5655 "gram.y" - { (yyval.ival) = CMD_UPDATE; ;} + { (yyval.ival) = CMD_UPDATE; } break; case 876: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5656 "gram.y" - { (yyval.ival) = CMD_DELETE; ;} + { (yyval.ival) = CMD_DELETE; } break; case 877: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5657 "gram.y" - { (yyval.ival) = CMD_INSERT; ;} + { (yyval.ival) = CMD_INSERT; } break; case 878: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5661 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 879: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5662 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 880: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5663 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 881: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5669 "gram.y" { DropPropertyStmt *n = makeNode(DropPropertyStmt); @@ -23893,12 +23932,12 @@ n->removeType = OBJECT_RULE; n->missing_ok = false; (yyval.node) = (Node *) n; - ;} + } break; case 882: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5679 "gram.y" { DropPropertyStmt *n = makeNode(DropPropertyStmt); @@ -23908,128 +23947,128 @@ n->removeType = OBJECT_RULE; n->missing_ok = true; (yyval.node) = (Node *) n; - ;} + } break; case 883: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5700 "gram.y" { NotifyStmt *n = makeNode(NotifyStmt); n->conditionname = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 884: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5708 "gram.y" { ListenStmt *n = makeNode(ListenStmt); n->conditionname = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 885: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5717 "gram.y" { UnlistenStmt *n = makeNode(UnlistenStmt); n->conditionname = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 886: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5723 "gram.y" { UnlistenStmt *n = makeNode(UnlistenStmt); n->conditionname = NULL; (yyval.node) = (Node *)n; - ;} + } break; case 887: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5742 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_ROLLBACK; n->options = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 888: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5749 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_BEGIN; n->options = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 889: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5756 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_START; n->options = (yyvsp[(3) - (3)].list); (yyval.node) = (Node *)n; - ;} + } break; case 890: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5763 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_COMMIT; n->options = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 891: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5770 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_COMMIT; n->options = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 892: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5777 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_ROLLBACK; n->options = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 893: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5784 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -24037,12 +24076,12 @@ n->options = list_make1(makeDefElem("savepoint_name", (Node *)makeString((yyvsp[(2) - (2)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 894: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5792 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -24050,12 +24089,12 @@ n->options = list_make1(makeDefElem("savepoint_name", (Node *)makeString((yyvsp[(3) - (3)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 895: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5800 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -24063,12 +24102,12 @@ n->options = list_make1(makeDefElem("savepoint_name", (Node *)makeString((yyvsp[(2) - (2)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 896: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5808 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -24076,12 +24115,12 @@ n->options = list_make1(makeDefElem("savepoint_name", (Node *)makeString((yyvsp[(5) - (5)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 897: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5816 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -24089,121 +24128,121 @@ n->options = list_make1(makeDefElem("savepoint_name", (Node *)makeString((yyvsp[(4) - (4)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 898: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5824 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_PREPARE; n->gid = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 899: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5831 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_COMMIT_PREPARED; n->gid = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 900: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5838 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); n->kind = TRANS_STMT_ROLLBACK_PREPARED; n->gid = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *)n; - ;} + } break; case 901: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5846 "gram.y" - {;} + {} break; case 902: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5847 "gram.y" - {;} + {} break; case 903: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5848 "gram.y" - {;} + {} break; case 904: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5853 "gram.y" { (yyval.defelt) = makeDefElem("transaction_isolation", - makeStringConst((yyvsp[(3) - (3)].str), (yylsp[(3) - (3)]))); ;} + makeStringConst((yyvsp[(3) - (3)].str), (yylsp[(3) - (3)]))); } break; case 905: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5856 "gram.y" { (yyval.defelt) = makeDefElem("transaction_read_only", - makeIntConst(TRUE, (yylsp[(1) - (2)]))); ;} + makeIntConst(TRUE, (yylsp[(1) - (2)]))); } break; case 906: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5859 "gram.y" { (yyval.defelt) = makeDefElem("transaction_read_only", - makeIntConst(FALSE, (yylsp[(1) - (2)]))); ;} + makeIntConst(FALSE, (yylsp[(1) - (2)]))); } break; case 907: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5866 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); } break; case 908: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5868 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); } break; case 909: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5870 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 911: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5876 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 912: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5890 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -24213,12 +24252,12 @@ n->query = (yyvsp[(7) - (8)].node); n->replace = false; (yyval.node) = (Node *) n; - ;} + } break; case 913: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5901 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -24228,259 +24267,259 @@ n->query = (yyvsp[(9) - (10)].node); n->replace = true; (yyval.node) = (Node *) n; - ;} + } break; case 914: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5914 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("WITH CHECK OPTION is not implemented"))); - ;} + } break; case 915: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5920 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("WITH CHECK OPTION is not implemented"))); - ;} + } break; case 916: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5926 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("WITH CHECK OPTION is not implemented"))); - ;} + } break; case 917: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5931 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 918: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5942 "gram.y" { LoadStmt *n = makeNode(LoadStmt); n->filename = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *)n; - ;} + } break; case 919: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5958 "gram.y" { CreatedbStmt *n = makeNode(CreatedbStmt); n->dbname = (yyvsp[(3) - (5)].str); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 920: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5967 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 921: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5968 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 922: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5973 "gram.y" { (yyval.defelt) = makeDefElem("tablespace", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 923: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5977 "gram.y" { (yyval.defelt) = makeDefElem("tablespace", NULL); - ;} + } break; case 924: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5981 "gram.y" { (yyval.defelt) = makeDefElem("location", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 925: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5985 "gram.y" { (yyval.defelt) = makeDefElem("location", NULL); - ;} + } break; case 926: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5989 "gram.y" { (yyval.defelt) = makeDefElem("template", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 927: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5993 "gram.y" { (yyval.defelt) = makeDefElem("template", NULL); - ;} + } break; case 928: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5997 "gram.y" { (yyval.defelt) = makeDefElem("encoding", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 929: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6001 "gram.y" { (yyval.defelt) = makeDefElem("encoding", (Node *)makeInteger((yyvsp[(3) - (3)].ival))); - ;} + } break; case 930: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6005 "gram.y" { (yyval.defelt) = makeDefElem("encoding", NULL); - ;} + } break; case 931: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6009 "gram.y" { (yyval.defelt) = makeDefElem("lc_collate", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 932: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6013 "gram.y" { (yyval.defelt) = makeDefElem("lc_collate", NULL); - ;} + } break; case 933: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6017 "gram.y" { (yyval.defelt) = makeDefElem("lc_ctype", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 934: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6021 "gram.y" { (yyval.defelt) = makeDefElem("lc_ctype", NULL); - ;} + } break; case 935: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6025 "gram.y" { (yyval.defelt) = makeDefElem("connectionlimit", (Node *)makeInteger((yyvsp[(4) - (4)].ival))); - ;} + } break; case 936: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6029 "gram.y" { (yyval.defelt) = makeDefElem("owner", (Node *)makeString((yyvsp[(3) - (3)].str))); - ;} + } break; case 937: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6033 "gram.y" { (yyval.defelt) = makeDefElem("owner", NULL); - ;} + } break; case 938: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6042 "gram.y" - {;} + {} break; case 939: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6043 "gram.y" - {;} + {} break; case 940: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6055 "gram.y" { AlterDatabaseStmt *n = makeNode(AlterDatabaseStmt); n->dbname = (yyvsp[(3) - (5)].str); n->options = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *)n; - ;} + } break; case 941: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6062 "gram.y" { AlterDatabaseStmt *n = makeNode(AlterDatabaseStmt); @@ -24488,71 +24527,71 @@ n->options = list_make1(makeDefElem("tablespace", (Node *)makeString((yyvsp[(6) - (6)].str)))); (yyval.node) = (Node *)n; - ;} + } break; case 942: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6073 "gram.y" { AlterDatabaseSetStmt *n = makeNode(AlterDatabaseSetStmt); n->dbname = (yyvsp[(3) - (4)].str); n->setstmt = (yyvsp[(4) - (4)].vsetstmt); (yyval.node) = (Node *)n; - ;} + } break; case 943: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6083 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); } break; case 944: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6084 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 945: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6089 "gram.y" { (yyval.defelt) = makeDefElem("connectionlimit", (Node *)makeInteger((yyvsp[(4) - (4)].ival))); - ;} + } break; case 946: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6103 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); n->dbname = (yyvsp[(3) - (3)].str); n->missing_ok = FALSE; (yyval.node) = (Node *)n; - ;} + } break; case 947: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6110 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); n->dbname = (yyvsp[(5) - (5)].str); n->missing_ok = TRUE; (yyval.node) = (Node *)n; - ;} + } break; case 948: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6127 "gram.y" { CreateDomainStmt *n = makeNode(CreateDomainStmt); @@ -24560,12 +24599,12 @@ n->typename = (yyvsp[(5) - (6)].typnam); n->constraints = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 949: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6139 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -24573,36 +24612,36 @@ n->typename = (yyvsp[(3) - (4)].list); n->def = (yyvsp[(4) - (4)].node); (yyval.node) = (Node *)n; - ;} + } break; case 950: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6148 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); n->subtype = 'N'; n->typename = (yyvsp[(3) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 951: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6156 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); n->subtype = 'O'; n->typename = (yyvsp[(3) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 952: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6164 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -24610,12 +24649,12 @@ n->typename = (yyvsp[(3) - (5)].list); n->def = (yyvsp[(5) - (5)].node); (yyval.node) = (Node *)n; - ;} + } break; case 953: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6173 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -24624,38 +24663,38 @@ n->name = (yyvsp[(6) - (7)].str); n->behavior = (yyvsp[(7) - (7)].dbehavior); (yyval.node) = (Node *)n; - ;} + } break; case 954: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6183 "gram.y" - {;} + {} break; case 955: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6184 "gram.y" - {;} + {} break; case 956: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6196 "gram.y" { AlterTSDictionaryStmt *n = makeNode(AlterTSDictionaryStmt); n->dictname = (yyvsp[(5) - (6)].list); n->options = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 957: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6206 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24665,12 +24704,12 @@ n->override = false; n->replace = false; (yyval.node) = (Node*)n; - ;} + } break; case 958: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6216 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24680,12 +24719,12 @@ n->override = true; n->replace = false; (yyval.node) = (Node*)n; - ;} + } break; case 959: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6226 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24695,12 +24734,12 @@ n->override = false; n->replace = true; (yyval.node) = (Node*)n; - ;} + } break; case 960: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6236 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24710,12 +24749,12 @@ n->override = false; n->replace = true; (yyval.node) = (Node*)n; - ;} + } break; case 961: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6246 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24723,12 +24762,12 @@ n->tokentype = (yyvsp[(9) - (9)].list); n->missing_ok = false; (yyval.node) = (Node*)n; - ;} + } break; case 962: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6254 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -24736,12 +24775,12 @@ n->tokentype = (yyvsp[(11) - (11)].list); n->missing_ok = true; (yyval.node) = (Node*)n; - ;} + } break; case 963: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6276 "gram.y" { CreateConversionStmt *n = makeNode(CreateConversionStmt); @@ -24751,12 +24790,12 @@ n->func_name = (yyvsp[(10) - (10)].list); n->def = (yyvsp[(2) - (10)].boolean); (yyval.node) = (Node *)n; - ;} + } break; case 964: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6298 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -24764,12 +24803,12 @@ n->indexname = (yyvsp[(4) - (4)].str); n->verbose = (yyvsp[(2) - (4)].boolean); (yyval.node) = (Node*)n; - ;} + } break; case 965: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6306 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -24777,12 +24816,12 @@ n->indexname = NULL; n->verbose = (yyvsp[(2) - (2)].boolean); (yyval.node) = (Node*)n; - ;} + } break; case 966: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6315 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -24790,26 +24829,26 @@ n->indexname = (yyvsp[(3) - (5)].str); n->verbose = (yyvsp[(2) - (5)].boolean); (yyval.node) = (Node*)n; - ;} + } break; case 967: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6325 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 968: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6326 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 969: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6339 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -24822,12 +24861,12 @@ n->relation = NULL; n->va_cols = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 970: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6352 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -24840,12 +24879,12 @@ n->relation = (yyvsp[(5) - (5)].range); n->va_cols = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 971: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6365 "gram.y" { VacuumStmt *n = (VacuumStmt *) (yyvsp[(5) - (5)].node); @@ -24855,12 +24894,12 @@ n->freeze_table_age = (yyvsp[(3) - (5)].boolean) ? 0 : -1; n->verbose |= (yyvsp[(4) - (5)].boolean); (yyval.node) = (Node *)n; - ;} + } break; case 972: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6378 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -24873,12 +24912,12 @@ n->relation = NULL; n->va_cols = NIL; (yyval.node) = (Node *)n; - ;} + } break; case 973: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6391 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -24891,82 +24930,82 @@ n->relation = (yyvsp[(3) - (4)].range); n->va_cols = (yyvsp[(4) - (4)].list); (yyval.node) = (Node *)n; - ;} + } break; case 974: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6406 "gram.y" - {;} + {} break; case 975: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6407 "gram.y" - {;} + {} break; case 976: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6411 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 977: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6412 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 978: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6415 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 979: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6416 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 980: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6419 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 981: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6420 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 982: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6424 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 983: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6425 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 984: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6437 "gram.y" { ExplainStmt *n = makeNode(ExplainStmt); @@ -24974,26 +25013,26 @@ n->verbose = (yyvsp[(3) - (4)].boolean); n->query = (yyvsp[(4) - (4)].node); (yyval.node) = (Node *)n; - ;} + } break; case 992: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6457 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 993: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6458 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 994: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6469 "gram.y" { PrepareStmt *n = makeNode(PrepareStmt); @@ -25001,26 +25040,26 @@ n->argtypes = (yyvsp[(3) - (5)].list); n->query = (yyvsp[(5) - (5)].node); (yyval.node) = (Node *) n; - ;} + } break; case 995: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6478 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 996: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6479 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1001: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6497 "gram.y" { ExecuteStmt *n = makeNode(ExecuteStmt); @@ -25028,12 +25067,12 @@ n->params = (yyvsp[(3) - (3)].list); n->into = NULL; (yyval.node) = (Node *) n; - ;} + } break; case 1002: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6506 "gram.y" { ExecuteStmt *n = makeNode(ExecuteStmt); @@ -25047,128 +25086,128 @@ errmsg("column name list not allowed in CREATE TABLE / AS EXECUTE"))); /* ... because it's not implemented, but it could be */ (yyval.node) = (Node *) n; - ;} + } break; case 1003: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6521 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 1004: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6522 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1005: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6533 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); n->name = (yyvsp[(2) - (2)].str); (yyval.node) = (Node *) n; - ;} + } break; case 1006: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6539 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); n->name = (yyvsp[(3) - (3)].str); (yyval.node) = (Node *) n; - ;} + } break; case 1007: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6545 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); n->name = NULL; (yyval.node) = (Node *) n; - ;} + } break; case 1008: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6551 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); n->name = NULL; (yyval.node) = (Node *) n; - ;} + } break; case 1009: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6567 "gram.y" { (yyvsp[(4) - (5)].istmt)->relation = (yyvsp[(3) - (5)].range); (yyvsp[(4) - (5)].istmt)->returningList = (yyvsp[(5) - (5)].list); (yyval.node) = (Node *) (yyvsp[(4) - (5)].istmt); - ;} + } break; case 1010: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6576 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = NIL; (yyval.istmt)->selectStmt = (yyvsp[(1) - (1)].node); - ;} + } break; case 1011: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6582 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = (yyvsp[(2) - (4)].list); (yyval.istmt)->selectStmt = (yyvsp[(4) - (4)].node); - ;} + } break; case 1012: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6588 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = NIL; (yyval.istmt)->selectStmt = NULL; - ;} + } break; case 1013: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6597 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); } break; case 1014: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6599 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); } break; case 1015: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6604 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -25176,26 +25215,26 @@ (yyval.target)->indirection = check_indirection((yyvsp[(2) - (2)].list)); (yyval.target)->val = NULL; (yyval.target)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1016: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6614 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1017: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6615 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1018: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6628 "gram.y" { DeleteStmt *n = makeNode(DeleteStmt); @@ -25204,26 +25243,26 @@ n->whereClause = (yyvsp[(5) - (6)].node); n->returningList = (yyvsp[(6) - (6)].list); (yyval.node) = (Node *)n; - ;} + } break; case 1019: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6639 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1020: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6640 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1021: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6652 "gram.y" { LockStmt *n = makeNode(LockStmt); @@ -25232,96 +25271,96 @@ n->mode = (yyvsp[(4) - (5)].ival); n->nowait = (yyvsp[(5) - (5)].boolean); (yyval.node) = (Node *)n; - ;} + } break; case 1022: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6662 "gram.y" - { (yyval.ival) = (yyvsp[(2) - (3)].ival); ;} + { (yyval.ival) = (yyvsp[(2) - (3)].ival); } break; case 1023: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6663 "gram.y" - { (yyval.ival) = AccessExclusiveLock; ;} + { (yyval.ival) = AccessExclusiveLock; } break; case 1024: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6666 "gram.y" - { (yyval.ival) = AccessShareLock; ;} + { (yyval.ival) = AccessShareLock; } break; case 1025: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6667 "gram.y" - { (yyval.ival) = RowShareLock; ;} + { (yyval.ival) = RowShareLock; } break; case 1026: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6668 "gram.y" - { (yyval.ival) = RowExclusiveLock; ;} + { (yyval.ival) = RowExclusiveLock; } break; case 1027: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6669 "gram.y" - { (yyval.ival) = ShareUpdateExclusiveLock; ;} + { (yyval.ival) = ShareUpdateExclusiveLock; } break; case 1028: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6670 "gram.y" - { (yyval.ival) = ShareLock; ;} + { (yyval.ival) = ShareLock; } break; case 1029: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6671 "gram.y" - { (yyval.ival) = ShareRowExclusiveLock; ;} + { (yyval.ival) = ShareRowExclusiveLock; } break; case 1030: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6672 "gram.y" - { (yyval.ival) = ExclusiveLock; ;} + { (yyval.ival) = ExclusiveLock; } break; case 1031: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6673 "gram.y" - { (yyval.ival) = AccessExclusiveLock; ;} + { (yyval.ival) = AccessExclusiveLock; } break; case 1032: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6676 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 1033: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6677 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1034: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6693 "gram.y" { UpdateStmt *n = makeNode(UpdateStmt); @@ -25331,50 +25370,50 @@ n->whereClause = (yyvsp[(6) - (7)].node); n->returningList = (yyvsp[(7) - (7)].list); (yyval.node) = (Node *)n; - ;} + } break; case 1035: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6705 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1036: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6706 "gram.y" - { (yyval.list) = list_concat((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].list)); ;} + { (yyval.list) = list_concat((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].list)); } break; case 1037: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6710 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); } break; case 1038: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6711 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1039: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6716 "gram.y" { (yyval.target) = (yyvsp[(1) - (3)].target); (yyval.target)->val = (Node *) (yyvsp[(3) - (3)].node); - ;} + } break; case 1040: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6724 "gram.y" { ListCell *col_cell; @@ -25399,12 +25438,12 @@ } (yyval.list) = (yyvsp[(2) - (5)].list); - ;} + } break; case 1041: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6752 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -25412,26 +25451,26 @@ (yyval.target)->indirection = check_indirection((yyvsp[(2) - (2)].list)); (yyval.target)->val = NULL; /* upper production sets this */ (yyval.target)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1042: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6762 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); } break; case 1043: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6763 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].target)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].target)); } break; case 1044: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6774 "gram.y" { DeclareCursorStmt *n = makeNode(DeclareCursorStmt); @@ -25440,186 +25479,186 @@ n->options = (yyvsp[(3) - (7)].ival) | (yyvsp[(5) - (7)].ival) | CURSOR_OPT_FAST_PLAN; n->query = (yyvsp[(7) - (7)].node); (yyval.node) = (Node *)n; - ;} + } break; case 1045: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6784 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1046: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6785 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (3)].ival) | CURSOR_OPT_NO_SCROLL; ;} + { (yyval.ival) = (yyvsp[(1) - (3)].ival) | CURSOR_OPT_NO_SCROLL; } break; case 1047: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6786 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_SCROLL; ;} + { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_SCROLL; } break; case 1048: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6787 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_BINARY; ;} + { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_BINARY; } break; case 1049: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6788 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_INSENSITIVE; ;} + { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_INSENSITIVE; } break; case 1050: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6791 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1051: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6792 "gram.y" - { (yyval.ival) = CURSOR_OPT_HOLD; ;} + { (yyval.ival) = CURSOR_OPT_HOLD; } break; case 1052: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6793 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1055: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6846 "gram.y" - { (yyval.node) = (yyvsp[(2) - (3)].node); ;} + { (yyval.node) = (yyvsp[(2) - (3)].node); } break; case 1056: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6847 "gram.y" - { (yyval.node) = (yyvsp[(2) - (3)].node); ;} + { (yyval.node) = (yyvsp[(2) - (3)].node); } break; case 1057: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6861 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1058: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6863 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].list), NIL, NULL, NULL, NULL); (yyval.node) = (yyvsp[(1) - (2)].node); - ;} + } break; case 1059: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6869 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (4)].node), (yyvsp[(2) - (4)].list), (yyvsp[(3) - (4)].list), list_nth((yyvsp[(4) - (4)].list), 0), list_nth((yyvsp[(4) - (4)].list), 1), NULL); (yyval.node) = (yyvsp[(1) - (4)].node); - ;} + } break; case 1060: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6876 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (4)].node), (yyvsp[(2) - (4)].list), (yyvsp[(4) - (4)].list), list_nth((yyvsp[(3) - (4)].list), 0), list_nth((yyvsp[(3) - (4)].list), 1), NULL); (yyval.node) = (yyvsp[(1) - (4)].node); - ;} + } break; case 1061: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6883 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (2)].node), NULL, NIL, NULL, NULL, (yyvsp[(1) - (2)].with)); (yyval.node) = (yyvsp[(2) - (2)].node); - ;} + } break; case 1062: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6890 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (3)].node), (yyvsp[(3) - (3)].list), NIL, NULL, NULL, (yyvsp[(1) - (3)].with)); (yyval.node) = (yyvsp[(2) - (3)].node); - ;} + } break; case 1063: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6897 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (5)].node), (yyvsp[(3) - (5)].list), (yyvsp[(4) - (5)].list), list_nth((yyvsp[(5) - (5)].list), 0), list_nth((yyvsp[(5) - (5)].list), 1), (yyvsp[(1) - (5)].with)); (yyval.node) = (yyvsp[(2) - (5)].node); - ;} + } break; case 1064: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6904 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (5)].node), (yyvsp[(3) - (5)].list), (yyvsp[(5) - (5)].list), list_nth((yyvsp[(4) - (5)].list), 0), list_nth((yyvsp[(4) - (5)].list), 1), (yyvsp[(1) - (5)].with)); (yyval.node) = (yyvsp[(2) - (5)].node); - ;} + } break; case 1065: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6913 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1066: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6914 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1067: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6944 "gram.y" { SelectStmt *n = makeNode(SelectStmt); @@ -25632,19 +25671,19 @@ n->havingClause = (yyvsp[(8) - (9)].node); n->windowClause = (yyvsp[(9) - (9)].list); (yyval.node) = (Node *)n; - ;} + } break; case 1068: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6956 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1069: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6958 "gram.y" { /* same as SELECT * FROM relation_expr */ @@ -25663,77 +25702,77 @@ n->targetList = list_make1(rt); n->fromClause = list_make1((yyvsp[(2) - (2)].range)); (yyval.node) = (Node *)n; - ;} + } break; case 1070: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6977 "gram.y" { (yyval.node) = makeSetOp(SETOP_UNION, (yyvsp[(3) - (4)].boolean), (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); - ;} + } break; case 1071: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6981 "gram.y" { (yyval.node) = makeSetOp(SETOP_INTERSECT, (yyvsp[(3) - (4)].boolean), (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); - ;} + } break; case 1072: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6985 "gram.y" { (yyval.node) = makeSetOp(SETOP_EXCEPT, (yyvsp[(3) - (4)].boolean), (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); - ;} + } break; case 1073: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7000 "gram.y" { (yyval.with) = makeNode(WithClause); (yyval.with)->ctes = (yyvsp[(2) - (2)].list); (yyval.with)->recursive = false; (yyval.with)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1074: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7007 "gram.y" { (yyval.with) = makeNode(WithClause); (yyval.with)->ctes = (yyvsp[(3) - (3)].list); (yyval.with)->recursive = true; (yyval.with)->location = (yylsp[(1) - (3)]); - ;} + } break; case 1075: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7016 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1076: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7017 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 1077: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7021 "gram.y" { CommonTableExpr *n = makeNode(CommonTableExpr); @@ -25742,12 +25781,12 @@ n->ctequery = (yyvsp[(4) - (4)].node); n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *) n; - ;} + } break; case 1078: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7033 "gram.y" { (yyval.into) = makeNode(IntoClause); @@ -25756,197 +25795,197 @@ (yyval.into)->options = NIL; (yyval.into)->onCommit = ONCOMMIT_NOOP; (yyval.into)->tableSpaceName = NULL; - ;} + } break; case 1079: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7042 "gram.y" - { (yyval.into) = NULL; ;} + { (yyval.into) = NULL; } break; case 1080: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7051 "gram.y" { (yyval.range) = (yyvsp[(3) - (3)].range); (yyval.range)->istemp = true; - ;} + } break; case 1081: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7056 "gram.y" { (yyval.range) = (yyvsp[(3) - (3)].range); (yyval.range)->istemp = true; - ;} + } break; case 1082: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7061 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->istemp = true; - ;} + } break; case 1083: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7066 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->istemp = true; - ;} + } break; case 1084: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7071 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->istemp = true; - ;} + } break; case 1085: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7076 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->istemp = true; - ;} + } break; case 1086: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7081 "gram.y" { (yyval.range) = (yyvsp[(2) - (2)].range); (yyval.range)->istemp = false; - ;} + } break; case 1087: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7086 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); (yyval.range)->istemp = false; - ;} + } break; case 1088: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7092 "gram.y" - {;} + {} break; case 1089: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7093 "gram.y" - {;} + {} break; case 1090: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7096 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 1091: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7097 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1092: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7098 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1093: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7105 "gram.y" - { (yyval.list) = list_make1(NIL); ;} + { (yyval.list) = list_make1(NIL); } break; case 1094: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7106 "gram.y" - { (yyval.list) = (yyvsp[(4) - (5)].list); ;} + { (yyval.list) = (yyvsp[(4) - (5)].list); } break; case 1095: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7107 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1096: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7108 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1097: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7112 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list);;} + { (yyval.list) = (yyvsp[(1) - (1)].list);} break; case 1098: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7113 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1099: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7117 "gram.y" - { (yyval.list) = (yyvsp[(3) - (3)].list); ;} + { (yyval.list) = (yyvsp[(3) - (3)].list); } break; case 1100: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7121 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].sortby)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].sortby)); } break; case 1101: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7122 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].sortby)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].sortby)); } break; case 1102: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7126 "gram.y" { (yyval.sortby) = makeNode(SortBy); @@ -25955,12 +25994,12 @@ (yyval.sortby)->sortby_nulls = (yyvsp[(4) - (4)].ival); (yyval.sortby)->useOp = (yyvsp[(3) - (4)].list); (yyval.sortby)->location = (yylsp[(3) - (4)]); - ;} + } break; case 1103: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7135 "gram.y" { (yyval.sortby) = makeNode(SortBy); @@ -25969,40 +26008,40 @@ (yyval.sortby)->sortby_nulls = (yyvsp[(3) - (3)].ival); (yyval.sortby)->useOp = NIL; (yyval.sortby)->location = -1; /* no operator */ - ;} + } break; case 1104: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7148 "gram.y" - { (yyval.list) = list_make2((yyvsp[(4) - (4)].node), (yyvsp[(2) - (4)].node)); ;} + { (yyval.list) = list_make2((yyvsp[(4) - (4)].node), (yyvsp[(2) - (4)].node)); } break; case 1105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7150 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (4)].node), (yyvsp[(4) - (4)].node)); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (4)].node), (yyvsp[(4) - (4)].node)); } break; case 1106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7152 "gram.y" - { (yyval.list) = list_make2(NULL, (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = list_make2(NULL, (yyvsp[(2) - (2)].node)); } break; case 1107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7154 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (2)].node), NULL); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (2)].node), NULL); } break; case 1108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7156 "gram.y" { /* Disabled because it was too confusing, bjm 2002-02-18 */ @@ -26011,197 +26050,197 @@ errmsg("LIMIT #,# syntax is not supported"), errhint("Use separate LIMIT and OFFSET clauses."), scanner_errposition((yylsp[(1) - (4)])))); - ;} + } break; case 1109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7166 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (3)].node), NULL); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (3)].node), NULL); } break; case 1110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7168 "gram.y" - { (yyval.list) = list_make2(NULL, (yyvsp[(3) - (5)].node)); ;} + { (yyval.list) = list_make2(NULL, (yyvsp[(3) - (5)].node)); } break; case 1111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7170 "gram.y" - { (yyval.list) = list_make2((yyvsp[(2) - (8)].node), (yyvsp[(6) - (8)].node)); ;} + { (yyval.list) = list_make2((yyvsp[(2) - (8)].node), (yyvsp[(6) - (8)].node)); } break; case 1112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7174 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7176 "gram.y" - { (yyval.list) = list_make2(NULL,NULL); ;} + { (yyval.list) = list_make2(NULL,NULL); } break; case 1114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7180 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7182 "gram.y" { /* LIMIT ALL is represented as a NULL constant */ (yyval.node) = makeNullAConst((yylsp[(1) - (1)])); - ;} + } break; case 1116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7194 "gram.y" - { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); ;} + { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); } break; case 1117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7195 "gram.y" - { (yyval.node) = (yyvsp[(2) - (3)].node); ;} + { (yyval.node) = (yyvsp[(2) - (3)].node); } break; case 1118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7196 "gram.y" - { (yyval.node) = makeIntConst(1, -1); ;} + { (yyval.node) = makeIntConst(1, -1); } break; case 1119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7200 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7208 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7213 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1122: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7214 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1123: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7219 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7220 "gram.y" - { (yyval.ival) = 0; ;} + { (yyval.ival) = 0; } break; case 1125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7224 "gram.y" - { (yyval.list) = (yyvsp[(3) - (3)].list); ;} + { (yyval.list) = (yyvsp[(3) - (3)].list); } break; case 1126: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7225 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1127: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7229 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1128: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7230 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1129: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7234 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1130: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7235 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1131: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7239 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1132: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7240 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1133: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7244 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1134: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7245 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 1135: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7250 "gram.y" { LockingClause *n = makeNode(LockingClause); @@ -26209,12 +26248,12 @@ n->forUpdate = TRUE; n->noWait = (yyvsp[(4) - (4)].boolean); (yyval.node) = (Node *) n; - ;} + } break; case 1136: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7258 "gram.y" { LockingClause *n = makeNode(LockingClause); @@ -26222,107 +26261,107 @@ n->forUpdate = FALSE; n->noWait = (yyvsp[(4) - (4)].boolean); (yyval.node) = (Node *) n; - ;} + } break; case 1137: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7268 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1138: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7269 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1139: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7275 "gram.y" { SelectStmt *n = makeNode(SelectStmt); n->valuesLists = list_make1((yyvsp[(2) - (2)].list)); (yyval.node) = (Node *) n; - ;} + } break; case 1140: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7281 "gram.y" { SelectStmt *n = (SelectStmt *) (yyvsp[(1) - (3)].node); n->valuesLists = lappend(n->valuesLists, (yyvsp[(3) - (3)].list)); (yyval.node) = (Node *) n; - ;} + } break; case 1141: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7298 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1142: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7299 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1143: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7303 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1144: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7304 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 1145: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7315 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].range); - ;} + } break; case 1146: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7319 "gram.y" { (yyvsp[(1) - (2)].range)->alias = (yyvsp[(2) - (2)].alias); (yyval.node) = (Node *) (yyvsp[(1) - (2)].range); - ;} + } break; case 1147: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7324 "gram.y" { RangeFunction *n = makeNode(RangeFunction); n->funccallnode = (yyvsp[(1) - (1)].node); n->coldeflist = NIL; (yyval.node) = (Node *) n; - ;} + } break; case 1148: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7331 "gram.y" { RangeFunction *n = makeNode(RangeFunction); @@ -26330,24 +26369,24 @@ n->alias = (yyvsp[(2) - (2)].alias); n->coldeflist = NIL; (yyval.node) = (Node *) n; - ;} + } break; case 1149: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7339 "gram.y" { RangeFunction *n = makeNode(RangeFunction); n->funccallnode = (yyvsp[(1) - (5)].node); n->coldeflist = (yyvsp[(4) - (5)].list); (yyval.node) = (Node *) n; - ;} + } break; case 1150: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7346 "gram.y" { RangeFunction *n = makeNode(RangeFunction); @@ -26357,12 +26396,12 @@ n->alias = a; n->coldeflist = (yyvsp[(5) - (6)].list); (yyval.node) = (Node *) n; - ;} + } break; case 1151: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7356 "gram.y" { RangeFunction *n = makeNode(RangeFunction); @@ -26372,12 +26411,12 @@ n->alias = a; n->coldeflist = (yyvsp[(4) - (5)].list); (yyval.node) = (Node *) n; - ;} + } break; case 1152: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7366 "gram.y" { /* @@ -26405,52 +26444,52 @@ errhint("For example, FROM (SELECT ...) [AS] foo."), scanner_errposition((yylsp[(1) - (1)])))); (yyval.node) = NULL; - ;} + } break; case 1153: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7394 "gram.y" { RangeSubselect *n = makeNode(RangeSubselect); n->subquery = (yyvsp[(1) - (2)].node); n->alias = (yyvsp[(2) - (2)].alias); (yyval.node) = (Node *) n; - ;} + } break; case 1154: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7401 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].jexpr); - ;} + } break; case 1155: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7405 "gram.y" { (yyvsp[(2) - (4)].jexpr)->alias = (yyvsp[(4) - (4)].alias); (yyval.node) = (Node *) (yyvsp[(2) - (4)].jexpr); - ;} + } break; case 1156: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7431 "gram.y" { (yyval.jexpr) = (yyvsp[(2) - (3)].jexpr); - ;} + } break; case 1157: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7435 "gram.y" { /* CROSS JOIN is same as unqualified inner join */ @@ -26462,12 +26501,12 @@ n->using = NIL; n->quals = NULL; (yyval.jexpr) = n; - ;} + } break; case 1158: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7447 "gram.y" { JoinExpr *n = makeNode(JoinExpr); @@ -26480,12 +26519,12 @@ else n->quals = (yyvsp[(5) - (5)].node); /* ON clause */ (yyval.jexpr) = n; - ;} + } break; case 1159: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7460 "gram.y" { /* letting join_type reduce to empty doesn't work */ @@ -26499,12 +26538,12 @@ else n->quals = (yyvsp[(4) - (4)].node); /* ON clause */ (yyval.jexpr) = n; - ;} + } break; case 1160: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7474 "gram.y" { JoinExpr *n = makeNode(JoinExpr); @@ -26515,12 +26554,12 @@ n->using = NIL; /* figure out which columns later... */ n->quals = NULL; /* fill later */ (yyval.jexpr) = n; - ;} + } break; case 1161: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7485 "gram.y" { /* letting join_type reduce to empty doesn't work */ @@ -26532,233 +26571,233 @@ n->using = NIL; /* figure out which columns later... */ n->quals = NULL; /* fill later */ (yyval.jexpr) = n; - ;} + } break; case 1162: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7500 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(2) - (5)].str); (yyval.alias)->colnames = (yyvsp[(4) - (5)].list); - ;} + } break; case 1163: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7506 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(2) - (2)].str); - ;} + } break; case 1164: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7511 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(1) - (4)].str); (yyval.alias)->colnames = (yyvsp[(3) - (4)].list); - ;} + } break; case 1165: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7517 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(1) - (1)].str); - ;} + } break; case 1166: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7523 "gram.y" - { (yyval.jtype) = JOIN_FULL; ;} + { (yyval.jtype) = JOIN_FULL; } break; case 1167: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7524 "gram.y" - { (yyval.jtype) = JOIN_LEFT; ;} + { (yyval.jtype) = JOIN_LEFT; } break; case 1168: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7525 "gram.y" - { (yyval.jtype) = JOIN_RIGHT; ;} + { (yyval.jtype) = JOIN_RIGHT; } break; case 1169: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7526 "gram.y" - { (yyval.jtype) = JOIN_INNER; ;} + { (yyval.jtype) = JOIN_INNER; } break; case 1170: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7530 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1171: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7531 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1172: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7543 "gram.y" - { (yyval.node) = (Node *) (yyvsp[(3) - (4)].list); ;} + { (yyval.node) = (Node *) (yyvsp[(3) - (4)].list); } break; case 1173: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7544 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1174: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7550 "gram.y" { /* default inheritance */ (yyval.range) = (yyvsp[(1) - (1)].range); (yyval.range)->inhOpt = INH_DEFAULT; (yyval.range)->alias = NULL; - ;} + } break; case 1175: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7557 "gram.y" { /* inheritance query */ (yyval.range) = (yyvsp[(1) - (2)].range); (yyval.range)->inhOpt = INH_YES; (yyval.range)->alias = NULL; - ;} + } break; case 1176: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7564 "gram.y" { /* no inheritance */ (yyval.range) = (yyvsp[(2) - (2)].range); (yyval.range)->inhOpt = INH_NO; (yyval.range)->alias = NULL; - ;} + } break; case 1177: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7571 "gram.y" { /* no inheritance, SQL99-style syntax */ (yyval.range) = (yyvsp[(3) - (4)].range); (yyval.range)->inhOpt = INH_NO; (yyval.range)->alias = NULL; - ;} + } break; case 1178: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7581 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); } break; case 1179: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7582 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); } break; case 1180: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7596 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); - ;} + } break; case 1181: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7600 "gram.y" { Alias *alias = makeNode(Alias); alias->aliasname = (yyvsp[(2) - (2)].str); (yyvsp[(1) - (2)].range)->alias = alias; (yyval.range) = (yyvsp[(1) - (2)].range); - ;} + } break; case 1182: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7607 "gram.y" { Alias *alias = makeNode(Alias); alias->aliasname = (yyvsp[(3) - (3)].str); (yyvsp[(1) - (3)].range)->alias = alias; (yyval.range) = (yyvsp[(1) - (3)].range); - ;} + } break; case 1183: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7616 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1184: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7621 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1185: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7622 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1186: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7627 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1187: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7629 "gram.y" { CurrentOfExpr *n = makeNode(CurrentOfExpr); @@ -26766,12 +26805,12 @@ n->cursor_name = (yyvsp[(4) - (4)].str); n->cursor_param = 0; (yyval.node) = (Node *) n; - ;} + } break; case 1188: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7637 "gram.y" { CurrentOfExpr *n = makeNode(CurrentOfExpr); @@ -26779,37 +26818,37 @@ n->cursor_name = NULL; n->cursor_param = (yyvsp[(4) - (4)].ival); (yyval.node) = (Node *) n; - ;} + } break; case 1189: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7644 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1190: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7650 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); - ;} + } break; case 1191: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7654 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); - ;} + } break; case 1192: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7660 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -26818,141 +26857,141 @@ n->constraints = NIL; n->is_local = true; (yyval.node) = (Node *)n; - ;} + } break; case 1193: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7681 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->arrayBounds = (yyvsp[(2) - (2)].list); - ;} + } break; case 1194: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7686 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (3)].typnam); (yyval.typnam)->arrayBounds = (yyvsp[(3) - (3)].list); (yyval.typnam)->setof = TRUE; - ;} + } break; case 1195: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7693 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (5)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger((yyvsp[(4) - (5)].ival))); - ;} + } break; case 1196: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7698 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (6)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger((yyvsp[(5) - (6)].ival))); (yyval.typnam)->setof = TRUE; - ;} + } break; case 1197: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7704 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger(-1)); - ;} + } break; case 1198: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7709 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (3)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger(-1)); (yyval.typnam)->setof = TRUE; - ;} + } break; case 1199: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7718 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeInteger(-1)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeInteger(-1)); } break; case 1200: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7720 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (4)].list), makeInteger((yyvsp[(3) - (4)].ival))); ;} + { (yyval.list) = lappend((yyvsp[(1) - (4)].list), makeInteger((yyvsp[(3) - (4)].ival))); } break; case 1201: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7722 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1202: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7726 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1203: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7727 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1204: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7728 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1205: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7729 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1206: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7730 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1207: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7732 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); - ;} + } break; case 1208: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7737 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (5)].typnam); @@ -26968,189 +27007,189 @@ else (yyval.typnam)->typmods = list_make2(makeIntConst(INTERVAL_FULL_RANGE, -1), makeIntConst((yyvsp[(3) - (5)].ival), (yylsp[(3) - (5)]))); - ;} + } break; case 1209: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7766 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1210: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7767 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1211: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7768 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1212: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7769 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); } break; case 1213: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7781 "gram.y" { (yyval.typnam) = makeTypeName((yyvsp[(1) - (2)].str)); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1214: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7787 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(1) - (3)].str)), (yyvsp[(2) - (3)].list))); (yyval.typnam)->typmods = (yyvsp[(3) - (3)].list); (yyval.typnam)->location = (yylsp[(1) - (3)]); - ;} + } break; case 1215: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7794 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 1216: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7795 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1217: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7802 "gram.y" { (yyval.typnam) = SystemTypeName("int4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1218: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7807 "gram.y" { (yyval.typnam) = SystemTypeName("int4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1219: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7812 "gram.y" { (yyval.typnam) = SystemTypeName("int2"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1220: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7817 "gram.y" { (yyval.typnam) = SystemTypeName("int8"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1221: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7822 "gram.y" { (yyval.typnam) = SystemTypeName("float4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1222: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7827 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (2)].typnam); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1223: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7832 "gram.y" { (yyval.typnam) = SystemTypeName("float8"); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1224: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7837 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1225: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7843 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1226: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7849 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1227: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7855 "gram.y" { (yyval.typnam) = SystemTypeName("bool"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1228: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7862 "gram.y" { /* @@ -27171,58 +27210,58 @@ (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("precision for type float must be less than 54 bits"), scanner_errposition((yylsp[(2) - (3)])))); - ;} + } break; case 1229: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7883 "gram.y" { (yyval.typnam) = SystemTypeName("float8"); - ;} + } break; case 1230: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7893 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1231: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7897 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1232: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7905 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1233: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7909 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); (yyval.typnam)->typmods = NIL; - ;} + } break; case 1234: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7917 "gram.y" { char *typname; @@ -27231,12 +27270,12 @@ (yyval.typnam) = SystemTypeName(typname); (yyval.typnam)->typmods = (yyvsp[(4) - (5)].list); (yyval.typnam)->location = (yylsp[(1) - (5)]); - ;} + } break; case 1235: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7929 "gram.y" { /* bit defaults to bit(1), varbit to no limit */ @@ -27250,39 +27289,39 @@ (yyval.typnam)->typmods = list_make1(makeIntConst(1, -1)); } (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1236: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7950 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1237: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7954 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1238: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7960 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); - ;} + } break; case 1239: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7964 "gram.y" { /* Length was not specified so allow to be unrestricted. @@ -27293,12 +27332,12 @@ */ (yyval.typnam) = (yyvsp[(1) - (1)].typnam); (yyval.typnam)->typmods = NIL; - ;} + } break; case 1240: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7977 "gram.y" { if (((yyvsp[(5) - (5)].str) != NULL) && (strcmp((yyvsp[(5) - (5)].str), "sql_text") != 0)) @@ -27315,12 +27354,12 @@ (yyval.typnam) = SystemTypeName((yyvsp[(1) - (5)].str)); (yyval.typnam)->typmods = list_make1(makeIntConst((yyvsp[(3) - (5)].ival), (yylsp[(3) - (5)]))); (yyval.typnam)->location = (yylsp[(1) - (5)]); - ;} + } break; case 1241: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7996 "gram.y" { if (((yyvsp[(2) - (2)].str) != NULL) && (strcmp((yyvsp[(2) - (2)].str), "sql_text") != 0)) @@ -27341,82 +27380,82 @@ (yyval.typnam)->typmods = list_make1(makeIntConst(1, -1)); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1242: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8019 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} + { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; } break; case 1243: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8021 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} + { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; } break; case 1244: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8023 "gram.y" - { (yyval.str) = "varchar"; ;} + { (yyval.str) = "varchar"; } break; case 1245: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8025 "gram.y" - { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; ;} + { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; } break; case 1246: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8027 "gram.y" - { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; ;} + { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; } break; case 1247: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8029 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} + { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; } break; case 1248: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8033 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 1249: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8034 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1250: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8038 "gram.y" - { (yyval.str) = (yyvsp[(3) - (3)].str); ;} + { (yyval.str) = (yyvsp[(3) - (3)].str); } break; case 1251: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8039 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 1252: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8047 "gram.y" { if ((yyvsp[(5) - (5)].boolean)) @@ -27425,12 +27464,12 @@ (yyval.typnam) = SystemTypeName("timestamp"); (yyval.typnam)->typmods = list_make1(makeIntConst((yyvsp[(3) - (5)].ival), (yylsp[(3) - (5)]))); (yyval.typnam)->location = (yylsp[(1) - (5)]); - ;} + } break; case 1253: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8056 "gram.y" { if ((yyvsp[(2) - (2)].boolean)) @@ -27438,12 +27477,12 @@ else (yyval.typnam) = SystemTypeName("timestamp"); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1254: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8064 "gram.y" { if ((yyvsp[(5) - (5)].boolean)) @@ -27452,12 +27491,12 @@ (yyval.typnam) = SystemTypeName("time"); (yyval.typnam)->typmods = list_make1(makeIntConst((yyvsp[(3) - (5)].ival), (yylsp[(3) - (5)]))); (yyval.typnam)->location = (yylsp[(1) - (5)]); - ;} + } break; case 1255: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8073 "gram.y" { if ((yyvsp[(2) - (2)].boolean)) @@ -27465,116 +27504,116 @@ else (yyval.typnam) = SystemTypeName("time"); (yyval.typnam)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1256: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8084 "gram.y" { (yyval.typnam) = SystemTypeName("interval"); (yyval.typnam)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1257: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8091 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 1258: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8092 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1259: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8093 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1260: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8098 "gram.y" - { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(YEAR), (yylsp[(1) - (1)]))); ;} + { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(YEAR), (yylsp[(1) - (1)]))); } break; case 1261: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8100 "gram.y" - { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MONTH), (yylsp[(1) - (1)]))); ;} + { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MONTH), (yylsp[(1) - (1)]))); } break; case 1262: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8102 "gram.y" - { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY), (yylsp[(1) - (1)]))); ;} + { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY), (yylsp[(1) - (1)]))); } break; case 1263: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8104 "gram.y" - { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(HOUR), (yylsp[(1) - (1)]))); ;} + { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(HOUR), (yylsp[(1) - (1)]))); } break; case 1264: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8106 "gram.y" - { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MINUTE), (yylsp[(1) - (1)]))); ;} + { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MINUTE), (yylsp[(1) - (1)]))); } break; case 1265: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8108 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1266: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8110 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(YEAR) | INTERVAL_MASK(MONTH), (yylsp[(1) - (3)]))); - ;} + } break; case 1267: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8115 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY) | INTERVAL_MASK(HOUR), (yylsp[(1) - (3)]))); - ;} + } break; case 1268: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8120 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY) | INTERVAL_MASK(HOUR) | INTERVAL_MASK(MINUTE), (yylsp[(1) - (3)]))); - ;} + } break; case 1269: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8126 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); @@ -27582,85 +27621,85 @@ INTERVAL_MASK(HOUR) | INTERVAL_MASK(MINUTE) | INTERVAL_MASK(SECOND), (yylsp[(1) - (3)])); - ;} + } break; case 1270: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8134 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(HOUR) | INTERVAL_MASK(MINUTE), (yylsp[(1) - (3)]))); - ;} + } break; case 1271: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8139 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); linitial((yyval.list)) = makeIntConst(INTERVAL_MASK(HOUR) | INTERVAL_MASK(MINUTE) | INTERVAL_MASK(SECOND), (yylsp[(1) - (3)])); - ;} + } break; case 1272: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8146 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); linitial((yyval.list)) = makeIntConst(INTERVAL_MASK(MINUTE) | INTERVAL_MASK(SECOND), (yylsp[(1) - (3)])); - ;} + } break; case 1273: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8152 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1274: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8157 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(SECOND), (yylsp[(1) - (1)]))); - ;} + } break; case 1275: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8161 "gram.y" { (yyval.list) = list_make2(makeIntConst(INTERVAL_MASK(SECOND), (yylsp[(1) - (4)])), makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); - ;} + } break; case 1276: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8190 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1277: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8192 "gram.y" - { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); ;} + { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); } break; case 1278: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8194 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27672,138 +27711,138 @@ n->over = NULL; n->location = (yylsp[(2) - (5)]); (yyval.node) = (Node *) n; - ;} + } break; case 1279: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8215 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1280: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8217 "gram.y" - { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1281: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8219 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1282: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8221 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1283: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8223 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1284: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8225 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1285: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8227 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1286: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8229 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1287: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8231 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1288: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8233 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1289: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8235 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1290: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8238 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1291: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8240 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1292: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8242 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (2)].list), (yyvsp[(1) - (2)].node), NULL, (yylsp[(2) - (2)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (2)].list), (yyvsp[(1) - (2)].node), NULL, (yylsp[(2) - (2)])); } break; case 1293: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8245 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_AND, NIL, (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_AND, NIL, (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1294: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8247 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OR, NIL, (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OR, NIL, (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1295: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8249 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1296: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8252 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1297: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8254 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27815,19 +27854,19 @@ n->over = NULL; n->location = (yylsp[(4) - (5)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~", (yyvsp[(1) - (5)].node), (Node *) n, (yylsp[(2) - (5)])); - ;} + } break; case 1298: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8266 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); } break; case 1299: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8268 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27839,19 +27878,19 @@ n->over = NULL; n->location = (yylsp[(5) - (6)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~", (yyvsp[(1) - (6)].node), (Node *) n, (yylsp[(2) - (6)])); - ;} + } break; case 1300: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8280 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1301: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8282 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27863,19 +27902,19 @@ n->over = NULL; n->location = (yylsp[(4) - (5)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~*", (yyvsp[(1) - (5)].node), (Node *) n, (yylsp[(2) - (5)])); - ;} + } break; case 1302: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8294 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~*", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~*", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); } break; case 1303: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8296 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27887,12 +27926,12 @@ n->over = NULL; n->location = (yylsp[(5) - (6)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~*", (yyvsp[(1) - (6)].node), (Node *) n, (yylsp[(2) - (6)])); - ;} + } break; case 1304: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8309 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27904,12 +27943,12 @@ n->over = NULL; n->location = (yylsp[(2) - (4)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~", (yyvsp[(1) - (4)].node), (Node *) n, (yylsp[(2) - (4)])); - ;} + } break; case 1305: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8321 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27921,12 +27960,12 @@ n->over = NULL; n->location = (yylsp[(5) - (6)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "~", (yyvsp[(1) - (6)].node), (Node *) n, (yylsp[(2) - (6)])); - ;} + } break; case 1306: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8333 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27938,12 +27977,12 @@ n->over = NULL; n->location = (yylsp[(5) - (5)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~", (yyvsp[(1) - (5)].node), (Node *) n, (yylsp[(2) - (5)])); - ;} + } break; case 1307: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8345 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -27955,150 +27994,150 @@ n->over = NULL; n->location = (yylsp[(6) - (7)]); (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~", (yyvsp[(1) - (7)].node), (Node *) n, (yylsp[(2) - (7)])); - ;} + } break; case 1308: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8367 "gram.y" { NullTest *n = makeNode(NullTest); n->arg = (Expr *) (yyvsp[(1) - (3)].node); n->nulltesttype = IS_NULL; (yyval.node) = (Node *)n; - ;} + } break; case 1309: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8374 "gram.y" { NullTest *n = makeNode(NullTest); n->arg = (Expr *) (yyvsp[(1) - (2)].node); n->nulltesttype = IS_NULL; (yyval.node) = (Node *)n; - ;} + } break; case 1310: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8381 "gram.y" { NullTest *n = makeNode(NullTest); n->arg = (Expr *) (yyvsp[(1) - (4)].node); n->nulltesttype = IS_NOT_NULL; (yyval.node) = (Node *)n; - ;} + } break; case 1311: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8388 "gram.y" { NullTest *n = makeNode(NullTest); n->arg = (Expr *) (yyvsp[(1) - (2)].node); n->nulltesttype = IS_NOT_NULL; (yyval.node) = (Node *)n; - ;} + } break; case 1312: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8395 "gram.y" { (yyval.node) = (Node *)makeOverlaps((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list), (yylsp[(2) - (3)])); - ;} + } break; case 1313: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8399 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (3)].node); b->booltesttype = IS_TRUE; (yyval.node) = (Node *)b; - ;} + } break; case 1314: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8406 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (4)].node); b->booltesttype = IS_NOT_TRUE; (yyval.node) = (Node *)b; - ;} + } break; case 1315: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8413 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (3)].node); b->booltesttype = IS_FALSE; (yyval.node) = (Node *)b; - ;} + } break; case 1316: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8420 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (4)].node); b->booltesttype = IS_NOT_FALSE; (yyval.node) = (Node *)b; - ;} + } break; case 1317: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8427 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (3)].node); b->booltesttype = IS_UNKNOWN; (yyval.node) = (Node *)b; - ;} + } break; case 1318: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8434 "gram.y" { BooleanTest *b = makeNode(BooleanTest); b->arg = (Expr *) (yyvsp[(1) - (4)].node); b->booltesttype = IS_NOT_UNKNOWN; (yyval.node) = (Node *)b; - ;} + } break; case 1319: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8441 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_DISTINCT, "=", (yyvsp[(1) - (5)].node), (yyvsp[(5) - (5)].node), (yylsp[(2) - (5)])); - ;} + } break; case 1320: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8445 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, @@ -28106,54 +28145,54 @@ "=", (yyvsp[(1) - (6)].node), (yyvsp[(6) - (6)].node), (yylsp[(2) - (6)])), (yylsp[(2) - (6)])); - ;} + } break; case 1321: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8453 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OF, "=", (yyvsp[(1) - (6)].node), (Node *) (yyvsp[(5) - (6)].list), (yylsp[(2) - (6)])); - ;} + } break; case 1322: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8457 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OF, "<>", (yyvsp[(1) - (7)].node), (Node *) (yyvsp[(6) - (7)].list), (yylsp[(2) - (7)])); - ;} + } break; case 1323: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8466 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_AND, NIL, (Node *) makeSimpleA_Expr(AEXPR_OP, ">=", (yyvsp[(1) - (6)].node), (yyvsp[(4) - (6)].node), (yylsp[(2) - (6)])), (Node *) makeSimpleA_Expr(AEXPR_OP, "<=", (yyvsp[(1) - (6)].node), (yyvsp[(6) - (6)].node), (yylsp[(2) - (6)])), (yylsp[(2) - (6)])); - ;} + } break; case 1324: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8473 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OR, NIL, (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (7)].node), (yyvsp[(5) - (7)].node), (yylsp[(2) - (7)])), (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (7)].node), (yyvsp[(7) - (7)].node), (yylsp[(2) - (7)])), (yylsp[(2) - (7)])); - ;} + } break; case 1325: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8480 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OR, NIL, @@ -28166,12 +28205,12 @@ (Node *) makeSimpleA_Expr(AEXPR_OP, "<=", (yyvsp[(1) - (6)].node), (yyvsp[(4) - (6)].node), (yylsp[(2) - (6)])), (yylsp[(2) - (6)])), (yylsp[(2) - (6)])); - ;} + } break; case 1326: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8493 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_AND, NIL, @@ -28184,12 +28223,12 @@ (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (7)].node), (yyvsp[(5) - (7)].node), (yylsp[(2) - (7)])), (yylsp[(2) - (7)])), (yylsp[(2) - (7)])); - ;} + } break; case 1327: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8506 "gram.y" { /* in_expr returns a SubLink or a list of a_exprs */ @@ -28208,12 +28247,12 @@ /* generate scalar IN expression */ (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_IN, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } - ;} + } break; case 1328: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8525 "gram.y" { /* in_expr returns a SubLink or a list of a_exprs */ @@ -28234,12 +28273,12 @@ /* generate scalar NOT IN expression */ (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_IN, "<>", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); } - ;} + } break; case 1329: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8546 "gram.y" { SubLink *n = makeNode(SubLink); @@ -28249,24 +28288,24 @@ n->subselect = (yyvsp[(4) - (4)].node); n->location = (yylsp[(2) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1330: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8556 "gram.y" { if ((yyvsp[(3) - (6)].ival) == ANY_SUBLINK) (yyval.node) = (Node *) makeA_Expr(AEXPR_OP_ANY, (yyvsp[(2) - (6)].list), (yyvsp[(1) - (6)].node), (yyvsp[(5) - (6)].node), (yylsp[(2) - (6)])); else (yyval.node) = (Node *) makeA_Expr(AEXPR_OP_ALL, (yyvsp[(2) - (6)].list), (yyvsp[(1) - (6)].node), (yyvsp[(5) - (6)].node), (yylsp[(2) - (6)])); - ;} + } break; case 1331: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8563 "gram.y" { /* Not sure how to get rid of the parentheses @@ -28282,219 +28321,219 @@ (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("UNIQUE predicate is not yet implemented"), scanner_errposition((yylsp[(1) - (2)])))); - ;} + } break; case 1332: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8579 "gram.y" { (yyval.node) = makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (3)].node)), (yylsp[(2) - (3)])); - ;} + } break; case 1333: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8584 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (4)].node)), (yylsp[(2) - (4)])), (yylsp[(2) - (4)])); - ;} + } break; case 1334: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8602 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1335: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8604 "gram.y" - { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); ;} + { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); } break; case 1336: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8606 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1337: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8608 "gram.y" - { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1338: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8610 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1339: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8612 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1340: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8614 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1341: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8616 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1342: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8618 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1343: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8620 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1344: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8622 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1345: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8624 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1346: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8626 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1347: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8628 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); } break; case 1348: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8630 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); } break; case 1349: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8632 "gram.y" - { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (2)].list), (yyvsp[(1) - (2)].node), NULL, (yylsp[(2) - (2)])); ;} + { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (2)].list), (yyvsp[(1) - (2)].node), NULL, (yylsp[(2) - (2)])); } break; case 1350: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8634 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_DISTINCT, "=", (yyvsp[(1) - (5)].node), (yyvsp[(5) - (5)].node), (yylsp[(2) - (5)])); - ;} + } break; case 1351: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8638 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, (Node *) makeSimpleA_Expr(AEXPR_DISTINCT, "=", (yyvsp[(1) - (6)].node), (yyvsp[(6) - (6)].node), (yylsp[(2) - (6)])), (yylsp[(2) - (6)])); - ;} + } break; case 1352: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8643 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OF, "=", (yyvsp[(1) - (6)].node), (Node *) (yyvsp[(5) - (6)].list), (yylsp[(2) - (6)])); - ;} + } break; case 1353: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8647 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OF, "<>", (yyvsp[(1) - (7)].node), (Node *) (yyvsp[(6) - (7)].list), (yylsp[(2) - (7)])); - ;} + } break; case 1354: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8651 "gram.y" { (yyval.node) = makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (3)].node)), (yylsp[(2) - (3)])); - ;} + } break; case 1355: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8656 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_NOT, NIL, NULL, makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (4)].node)), (yylsp[(2) - (4)])), (yylsp[(2) - (4)])); - ;} + } break; case 1356: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8672 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1357: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8673 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1358: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8675 "gram.y" { ParamRef *p = makeNode(ParamRef); @@ -28509,12 +28548,12 @@ } else (yyval.node) = (Node *) p; - ;} + } break; case 1359: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8690 "gram.y" { if ((yyvsp[(4) - (4)].list)) @@ -28526,26 +28565,26 @@ } else (yyval.node) = (yyvsp[(2) - (4)].node); - ;} + } break; case 1360: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8702 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1361: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8704 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1362: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8706 "gram.y" { SubLink *n = makeNode(SubLink); @@ -28555,12 +28594,12 @@ n->subselect = (yyvsp[(1) - (1)].node); n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1363: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8716 "gram.y" { /* @@ -28583,12 +28622,12 @@ a->arg = (Node *)n; a->indirection = check_indirection((yyvsp[(2) - (2)].list)); (yyval.node) = (Node *)a; - ;} + } break; case 1364: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8739 "gram.y" { SubLink *n = makeNode(SubLink); @@ -28598,12 +28637,12 @@ n->subselect = (yyvsp[(2) - (2)].node); n->location = (yylsp[(1) - (2)]); (yyval.node) = (Node *)n; - ;} + } break; case 1365: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8749 "gram.y" { SubLink *n = makeNode(SubLink); @@ -28613,12 +28652,12 @@ n->subselect = (yyvsp[(2) - (2)].node); n->location = (yylsp[(1) - (2)]); (yyval.node) = (Node *)n; - ;} + } break; case 1366: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8759 "gram.y" { A_ArrayExpr *n = (A_ArrayExpr *) (yyvsp[(2) - (2)].node); @@ -28626,12 +28665,12 @@ /* point outermost A_ArrayExpr to the ARRAY keyword */ n->location = (yylsp[(1) - (2)]); (yyval.node) = (Node *)n; - ;} + } break; case 1367: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8767 "gram.y" { RowExpr *r = makeNode(RowExpr); @@ -28639,12 +28678,12 @@ r->row_typeid = InvalidOid; /* not analyzed yet */ r->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)r; - ;} + } break; case 1368: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8785 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28656,12 +28695,12 @@ n->over = (yyvsp[(4) - (4)].windef); n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1369: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8797 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28673,12 +28712,12 @@ n->over = (yyvsp[(5) - (5)].windef); n->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)n; - ;} + } break; case 1370: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8809 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28690,12 +28729,12 @@ n->over = (yyvsp[(6) - (6)].windef); n->location = (yylsp[(1) - (6)]); (yyval.node) = (Node *)n; - ;} + } break; case 1371: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8821 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28707,12 +28746,12 @@ n->over = (yyvsp[(8) - (8)].windef); n->location = (yylsp[(1) - (8)]); (yyval.node) = (Node *)n; - ;} + } break; case 1372: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8833 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28728,12 +28767,12 @@ n->over = (yyvsp[(6) - (6)].windef); n->location = (yylsp[(1) - (6)]); (yyval.node) = (Node *)n; - ;} + } break; case 1373: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8849 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28745,12 +28784,12 @@ n->over = (yyvsp[(6) - (6)].windef); n->location = (yylsp[(1) - (6)]); (yyval.node) = (Node *)n; - ;} + } break; case 1374: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8861 "gram.y" { /* @@ -28772,12 +28811,12 @@ n->over = (yyvsp[(5) - (5)].windef); n->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)n; - ;} + } break; case 1375: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8883 "gram.y" { /* @@ -28798,12 +28837,12 @@ Node *n; n = makeStringConstCast("now", (yylsp[(1) - (1)]), SystemTypeName("text")); (yyval.node) = makeTypeCast(n, SystemTypeName("date"), -1); - ;} + } break; case 1376: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8904 "gram.y" { /* @@ -28813,12 +28852,12 @@ Node *n; n = makeStringConstCast("now", (yylsp[(1) - (1)]), SystemTypeName("text")); (yyval.node) = makeTypeCast(n, SystemTypeName("timetz"), -1); - ;} + } break; case 1377: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8914 "gram.y" { /* @@ -28831,12 +28870,12 @@ d = SystemTypeName("timetz"); d->typmods = list_make1(makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); (yyval.node) = makeTypeCast(n, d, -1); - ;} + } break; case 1378: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8927 "gram.y" { /* @@ -28852,12 +28891,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1379: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8943 "gram.y" { /* @@ -28870,12 +28909,12 @@ d = SystemTypeName("timestamptz"); d->typmods = list_make1(makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); (yyval.node) = makeTypeCast(n, d, -1); - ;} + } break; case 1380: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8956 "gram.y" { /* @@ -28885,12 +28924,12 @@ Node *n; n = makeStringConstCast("now", (yylsp[(1) - (1)]), SystemTypeName("text")); (yyval.node) = makeTypeCast((Node *)n, SystemTypeName("time"), -1); - ;} + } break; case 1381: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8966 "gram.y" { /* @@ -28903,12 +28942,12 @@ d = SystemTypeName("time"); d->typmods = list_make1(makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); (yyval.node) = makeTypeCast((Node *)n, d, -1); - ;} + } break; case 1382: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8979 "gram.y" { /* @@ -28918,12 +28957,12 @@ Node *n; n = makeStringConstCast("now", (yylsp[(1) - (1)]), SystemTypeName("text")); (yyval.node) = makeTypeCast(n, SystemTypeName("timestamp"), -1); - ;} + } break; case 1383: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8989 "gram.y" { /* @@ -28936,12 +28975,12 @@ d = SystemTypeName("timestamp"); d->typmods = list_make1(makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); (yyval.node) = makeTypeCast(n, d, -1); - ;} + } break; case 1384: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9002 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28953,12 +28992,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1385: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9014 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28970,12 +29009,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1386: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9026 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -28987,12 +29026,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1387: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9038 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29004,12 +29043,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1388: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9050 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29021,12 +29060,12 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1389: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9062 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29038,19 +29077,19 @@ n->over = NULL; n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *)n; - ;} + } break; case 1390: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9074 "gram.y" - { (yyval.node) = makeTypeCast((yyvsp[(3) - (6)].node), (yyvsp[(5) - (6)].typnam), (yylsp[(1) - (6)])); ;} + { (yyval.node) = makeTypeCast((yyvsp[(3) - (6)].node), (yyvsp[(5) - (6)].typnam), (yylsp[(1) - (6)])); } break; case 1391: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9076 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29062,12 +29101,12 @@ n->over = NULL; n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1392: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9088 "gram.y" { /* overlay(A PLACING B FROM C FOR D) is converted to @@ -29084,12 +29123,12 @@ n->over = NULL; n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1393: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9105 "gram.y" { /* position(A in B) is converted to position(B, A) */ @@ -29102,12 +29141,12 @@ n->over = NULL; n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1394: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9118 "gram.y" { /* substring(A from B for C) is converted to @@ -29122,12 +29161,12 @@ n->over = NULL; n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1395: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9133 "gram.y" { /* TREAT(expr AS target) converts expr of a particular type to target, @@ -29148,12 +29187,12 @@ n->over = NULL; n->location = (yylsp[(1) - (6)]); (yyval.node) = (Node *)n; - ;} + } break; case 1396: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9154 "gram.y" { /* various trim expressions are defined in SQL92 @@ -29168,12 +29207,12 @@ n->over = NULL; n->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)n; - ;} + } break; case 1397: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9169 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29185,12 +29224,12 @@ n->over = NULL; n->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)n; - ;} + } break; case 1398: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9181 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29202,12 +29241,12 @@ n->over = NULL; n->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)n; - ;} + } break; case 1399: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9193 "gram.y" { FuncCall *n = makeNode(FuncCall); @@ -29219,33 +29258,33 @@ n->over = NULL; n->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)n; - ;} + } break; case 1400: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9205 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NULLIF, "=", (yyvsp[(3) - (6)].node), (yyvsp[(5) - (6)].node), (yylsp[(1) - (6)])); - ;} + } break; case 1401: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9209 "gram.y" { CoalesceExpr *c = makeNode(CoalesceExpr); c->args = (yyvsp[(3) - (4)].list); c->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)c; - ;} + } break; case 1402: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9216 "gram.y" { MinMaxExpr *v = makeNode(MinMaxExpr); @@ -29253,12 +29292,12 @@ v->op = IS_GREATEST; v->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)v; - ;} + } break; case 1403: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9224 "gram.y" { MinMaxExpr *v = makeNode(MinMaxExpr); @@ -29266,66 +29305,66 @@ v->op = IS_LEAST; v->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)v; - ;} + } break; case 1404: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9232 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLCONCAT, NULL, NIL, (yyvsp[(3) - (4)].list), (yylsp[(1) - (4)])); - ;} + } break; case 1405: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9236 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (5)].str), NIL, NIL, (yylsp[(1) - (5)])); - ;} + } break; case 1406: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9240 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (7)].str), (yyvsp[(6) - (7)].list), NIL, (yylsp[(1) - (7)])); - ;} + } break; case 1407: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9244 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (7)].str), NIL, (yyvsp[(6) - (7)].list), (yylsp[(1) - (7)])); - ;} + } break; case 1408: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9248 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (9)].str), (yyvsp[(6) - (9)].list), (yyvsp[(8) - (9)].list), (yylsp[(1) - (9)])); - ;} + } break; case 1409: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9252 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLFOREST, NULL, (yyvsp[(3) - (4)].list), NIL, (yylsp[(1) - (4)])); - ;} + } break; case 1410: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9256 "gram.y" { XmlExpr *x = (XmlExpr *) @@ -29334,40 +29373,40 @@ (yylsp[(1) - (6)])); x->xmloption = (yyvsp[(3) - (6)].ival); (yyval.node) = (Node *)x; - ;} + } break; case 1411: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9265 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLPI, (yyvsp[(4) - (5)].str), NULL, NIL, (yylsp[(1) - (5)])); - ;} + } break; case 1412: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9269 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLPI, (yyvsp[(4) - (7)].str), NULL, list_make1((yyvsp[(6) - (7)].node)), (yylsp[(1) - (7)])); - ;} + } break; case 1413: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9273 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLROOT, NULL, NIL, list_make3((yyvsp[(3) - (7)].node), (yyvsp[(5) - (7)].node), (yyvsp[(6) - (7)].node)), (yylsp[(1) - (7)])); - ;} + } break; case 1414: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9278 "gram.y" { XmlSerialize *n = makeNode(XmlSerialize); @@ -29376,75 +29415,75 @@ n->typename = (yyvsp[(6) - (7)].typnam); n->location = (yylsp[(1) - (7)]); (yyval.node) = (Node *)n; - ;} + } break; case 1415: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9292 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1416: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9294 "gram.y" - { (yyval.node) = makeNullAConst(-1); ;} + { (yyval.node) = makeNullAConst(-1); } break; case 1417: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9298 "gram.y" - { (yyval.node) = makeIntConst(XML_STANDALONE_YES, -1); ;} + { (yyval.node) = makeIntConst(XML_STANDALONE_YES, -1); } break; case 1418: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9300 "gram.y" - { (yyval.node) = makeIntConst(XML_STANDALONE_NO, -1); ;} + { (yyval.node) = makeIntConst(XML_STANDALONE_NO, -1); } break; case 1419: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9302 "gram.y" - { (yyval.node) = makeIntConst(XML_STANDALONE_NO_VALUE, -1); ;} + { (yyval.node) = makeIntConst(XML_STANDALONE_NO_VALUE, -1); } break; case 1420: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9304 "gram.y" - { (yyval.node) = makeIntConst(XML_STANDALONE_OMITTED, -1); ;} + { (yyval.node) = makeIntConst(XML_STANDALONE_OMITTED, -1); } break; case 1421: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9307 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 1422: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9310 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); } break; case 1423: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9311 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); } break; case 1424: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9315 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -29452,12 +29491,12 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *) (yyvsp[(1) - (3)].node); (yyval.target)->location = (yylsp[(1) - (3)]); - ;} + } break; case 1425: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9323 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -29465,93 +29504,93 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *) (yyvsp[(1) - (1)].node); (yyval.target)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1426: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9332 "gram.y" - { (yyval.ival) = XMLOPTION_DOCUMENT; ;} + { (yyval.ival) = XMLOPTION_DOCUMENT; } break; case 1427: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9333 "gram.y" - { (yyval.ival) = XMLOPTION_CONTENT; ;} + { (yyval.ival) = XMLOPTION_CONTENT; } break; case 1428: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9336 "gram.y" - { (yyval.boolean) = TRUE; ;} + { (yyval.boolean) = TRUE; } break; case 1429: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9337 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1430: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9338 "gram.y" - { (yyval.boolean) = FALSE; ;} + { (yyval.boolean) = FALSE; } break; case 1431: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9345 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1432: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9346 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1433: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9350 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].windef)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].windef)); } break; case 1434: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9352 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].windef)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].windef)); } break; case 1435: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9357 "gram.y" { WindowDef *n = (yyvsp[(3) - (3)].windef); n->name = (yyvsp[(1) - (3)].str); (yyval.windef) = n; - ;} + } break; case 1436: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9365 "gram.y" - { (yyval.windef) = (yyvsp[(2) - (2)].windef); ;} + { (yyval.windef) = (yyvsp[(2) - (2)].windef); } break; case 1437: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9367 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -29562,19 +29601,19 @@ n->frameOptions = FRAMEOPTION_DEFAULTS; n->location = (yylsp[(2) - (2)]); (yyval.windef) = n; - ;} + } break; case 1438: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9378 "gram.y" - { (yyval.windef) = NULL; ;} + { (yyval.windef) = NULL; } break; case 1439: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9383 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -29585,65 +29624,65 @@ n->frameOptions = (yyvsp[(5) - (6)].ival); n->location = (yylsp[(1) - (6)]); (yyval.windef) = n; - ;} + } break; case 1440: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9405 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1441: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9406 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 1442: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9409 "gram.y" - { (yyval.list) = (yyvsp[(3) - (3)].list); ;} + { (yyval.list) = (yyvsp[(3) - (3)].list); } break; case 1443: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9410 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1444: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9420 "gram.y" { (yyval.ival) = FRAMEOPTION_NONDEFAULT | FRAMEOPTION_RANGE | (yyvsp[(2) - (2)].ival); - ;} + } break; case 1445: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9424 "gram.y" { (yyval.ival) = FRAMEOPTION_NONDEFAULT | FRAMEOPTION_ROWS | (yyvsp[(2) - (2)].ival); - ;} + } break; case 1446: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9428 "gram.y" - { (yyval.ival) = FRAMEOPTION_DEFAULTS; ;} + { (yyval.ival) = FRAMEOPTION_DEFAULTS; } break; case 1447: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9432 "gram.y" { /* reject invalid cases */ @@ -29658,12 +29697,12 @@ errmsg("frame start at CURRENT ROW is not implemented"), scanner_errposition((yylsp[(1) - (1)])))); (yyval.ival) = (yyvsp[(1) - (1)].ival) | FRAMEOPTION_END_CURRENT_ROW; - ;} + } break; case 1448: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9447 "gram.y" { /* reject invalid cases */ @@ -29684,440 +29723,440 @@ scanner_errposition((yylsp[(4) - (4)])))); /* shift converts START_ options to END_ options */ (yyval.ival) = FRAMEOPTION_BETWEEN | (yyvsp[(2) - (4)].ival) | ((yyvsp[(4) - (4)].ival) << 1); - ;} + } break; case 1449: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9476 "gram.y" { (yyval.ival) = FRAMEOPTION_START_UNBOUNDED_PRECEDING; - ;} + } break; case 1450: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9480 "gram.y" { (yyval.ival) = FRAMEOPTION_START_UNBOUNDED_FOLLOWING; - ;} + } break; case 1451: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9484 "gram.y" { (yyval.ival) = FRAMEOPTION_START_CURRENT_ROW; - ;} + } break; case 1452: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9500 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 1453: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9501 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1454: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9502 "gram.y" - { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); ;} + { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); } break; case 1455: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9505 "gram.y" - { (yyval.ival) = ANY_SUBLINK; ;} + { (yyval.ival) = ANY_SUBLINK; } break; case 1456: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9506 "gram.y" - { (yyval.ival) = ANY_SUBLINK; ;} + { (yyval.ival) = ANY_SUBLINK; } break; case 1457: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9507 "gram.y" - { (yyval.ival) = ALL_SUBLINK; ;} + { (yyval.ival) = ALL_SUBLINK; } break; case 1458: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9510 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1459: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9511 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1460: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9514 "gram.y" - { (yyval.str) = "+"; ;} + { (yyval.str) = "+"; } break; case 1461: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9515 "gram.y" - { (yyval.str) = "-"; ;} + { (yyval.str) = "-"; } break; case 1462: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9516 "gram.y" - { (yyval.str) = "*"; ;} + { (yyval.str) = "*"; } break; case 1463: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9517 "gram.y" - { (yyval.str) = "/"; ;} + { (yyval.str) = "/"; } break; case 1464: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9518 "gram.y" - { (yyval.str) = "%"; ;} + { (yyval.str) = "%"; } break; case 1465: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9519 "gram.y" - { (yyval.str) = "^"; ;} + { (yyval.str) = "^"; } break; case 1466: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9520 "gram.y" - { (yyval.str) = "<"; ;} + { (yyval.str) = "<"; } break; case 1467: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9521 "gram.y" - { (yyval.str) = ">"; ;} + { (yyval.str) = ">"; } break; case 1468: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9522 "gram.y" - { (yyval.str) = "="; ;} + { (yyval.str) = "="; } break; case 1469: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9526 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 1470: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9528 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 1471: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9533 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 1472: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9535 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 1473: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9540 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 1474: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9542 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} + { (yyval.list) = (yyvsp[(3) - (4)].list); } break; case 1475: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9544 "gram.y" - { (yyval.list) = list_make1(makeString("~~")); ;} + { (yyval.list) = list_make1(makeString("~~")); } break; case 1476: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9546 "gram.y" - { (yyval.list) = list_make1(makeString("!~~")); ;} + { (yyval.list) = list_make1(makeString("!~~")); } break; case 1477: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9548 "gram.y" - { (yyval.list) = list_make1(makeString("~~*")); ;} + { (yyval.list) = list_make1(makeString("~~*")); } break; case 1478: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9550 "gram.y" - { (yyval.list) = list_make1(makeString("!~~*")); ;} + { (yyval.list) = list_make1(makeString("!~~*")); } break; case 1479: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9562 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); - ;} + } break; case 1480: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9566 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); - ;} + } break; case 1481: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9571 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].typnam)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].typnam)); } break; case 1482: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9572 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].typnam)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].typnam)); } break; case 1483: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9576 "gram.y" { (yyval.node) = makeAArrayExpr((yyvsp[(2) - (3)].list), (yylsp[(1) - (3)])); - ;} + } break; case 1484: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9580 "gram.y" { (yyval.node) = makeAArrayExpr((yyvsp[(2) - (3)].list), (yylsp[(1) - (3)])); - ;} + } break; case 1485: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9584 "gram.y" { (yyval.node) = makeAArrayExpr(NIL, (yylsp[(1) - (2)])); - ;} + } break; case 1486: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9589 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1487: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9590 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 1488: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9596 "gram.y" { (yyval.list) = list_make2(makeStringConst((yyvsp[(1) - (3)].str), (yylsp[(1) - (3)])), (yyvsp[(3) - (3)].node)); - ;} + } break; case 1489: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9599 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1490: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9606 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1491: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9607 "gram.y" - { (yyval.str) = "year"; ;} + { (yyval.str) = "year"; } break; case 1492: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9608 "gram.y" - { (yyval.str) = "month"; ;} + { (yyval.str) = "month"; } break; case 1493: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9609 "gram.y" - { (yyval.str) = "day"; ;} + { (yyval.str) = "day"; } break; case 1494: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9610 "gram.y" - { (yyval.str) = "hour"; ;} + { (yyval.str) = "hour"; } break; case 1495: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9611 "gram.y" - { (yyval.str) = "minute"; ;} + { (yyval.str) = "minute"; } break; case 1496: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9612 "gram.y" - { (yyval.str) = "second"; ;} + { (yyval.str) = "second"; } break; case 1497: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9613 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1498: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9623 "gram.y" { (yyval.list) = list_make4((yyvsp[(1) - (4)].node), (yyvsp[(2) - (4)].node), (yyvsp[(3) - (4)].node), (yyvsp[(4) - (4)].node)); - ;} + } break; case 1499: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9627 "gram.y" { (yyval.list) = list_make3((yyvsp[(1) - (3)].node), (yyvsp[(2) - (3)].node), (yyvsp[(3) - (3)].node)); - ;} + } break; case 1500: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9634 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1501: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9640 "gram.y" - { (yyval.list) = list_make2((yyvsp[(3) - (3)].node), (yyvsp[(1) - (3)].node)); ;} + { (yyval.list) = list_make2((yyvsp[(3) - (3)].node), (yyvsp[(1) - (3)].node)); } break; case 1502: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9641 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1503: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9658 "gram.y" { (yyval.list) = list_make3((yyvsp[(1) - (3)].node), (yyvsp[(2) - (3)].node), (yyvsp[(3) - (3)].node)); - ;} + } break; case 1504: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9662 "gram.y" { /* not legal per SQL99, but might as well allow it */ (yyval.list) = list_make3((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yyvsp[(2) - (3)].node)); - ;} + } break; case 1505: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9667 "gram.y" { (yyval.list) = list_make2((yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].node)); - ;} + } break; case 1506: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9671 "gram.y" { /* @@ -30132,82 +30171,82 @@ (yyval.list) = list_make3((yyvsp[(1) - (2)].node), makeIntConst(1, -1), makeTypeCast((yyvsp[(2) - (2)].node), SystemTypeName("int4"), -1)); - ;} + } break; case 1507: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9686 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); - ;} + } break; case 1508: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9690 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1509: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9694 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1510: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9697 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1511: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9700 "gram.y" - { (yyval.list) = lappend((yyvsp[(3) - (3)].list), (yyvsp[(1) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(3) - (3)].list), (yyvsp[(1) - (3)].node)); } break; case 1512: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9701 "gram.y" - { (yyval.list) = (yyvsp[(2) - (2)].list); ;} + { (yyval.list) = (yyvsp[(2) - (2)].list); } break; case 1513: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9702 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 1514: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9706 "gram.y" { SubLink *n = makeNode(SubLink); n->subselect = (yyvsp[(1) - (1)].node); /* other fields will be filled later */ (yyval.node) = (Node *)n; - ;} + } break; case 1515: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9712 "gram.y" - { (yyval.node) = (Node *)(yyvsp[(2) - (3)].list); ;} + { (yyval.node) = (Node *)(yyvsp[(2) - (3)].list); } break; case 1516: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9723 "gram.y" { CaseExpr *c = makeNode(CaseExpr); @@ -30217,26 +30256,26 @@ c->defresult = (Expr *) (yyvsp[(4) - (5)].node); c->location = (yylsp[(1) - (5)]); (yyval.node) = (Node *)c; - ;} + } break; case 1517: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9736 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1518: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9737 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 1519: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9742 "gram.y" { CaseWhen *w = makeNode(CaseWhen); @@ -30244,181 +30283,181 @@ w->result = (Expr *) (yyvsp[(4) - (4)].node); w->location = (yylsp[(1) - (4)]); (yyval.node) = (Node *)w; - ;} + } break; case 1520: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9752 "gram.y" - { (yyval.node) = (yyvsp[(2) - (2)].node); ;} + { (yyval.node) = (yyvsp[(2) - (2)].node); } break; case 1521: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9753 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1522: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9756 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (yyvsp[(1) - (1)].node); } break; case 1523: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9757 "gram.y" - { (yyval.node) = NULL; ;} + { (yyval.node) = NULL; } break; case 1524: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9766 "gram.y" { (yyval.node) = makeColumnRef((yyvsp[(1) - (1)].str), NIL, (yylsp[(1) - (1)])); - ;} + } break; case 1525: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9770 "gram.y" { (yyval.node) = makeColumnRef((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); - ;} + } break; case 1526: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9777 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(2) - (2)].str)); - ;} + } break; case 1527: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9781 "gram.y" { (yyval.node) = (Node *) makeNode(A_Star); - ;} + } break; case 1528: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9785 "gram.y" { A_Indices *ai = makeNode(A_Indices); ai->lidx = NULL; ai->uidx = (yyvsp[(2) - (3)].node); (yyval.node) = (Node *) ai; - ;} + } break; case 1529: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9792 "gram.y" { A_Indices *ai = makeNode(A_Indices); ai->lidx = (yyvsp[(2) - (5)].node); ai->uidx = (yyvsp[(4) - (5)].node); (yyval.node) = (Node *) ai; - ;} + } break; case 1530: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9801 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1531: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9802 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 1532: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9806 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 1533: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9807 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); } break; case 1536: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9822 "gram.y" - { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); ;} + { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); } break; case 1537: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9824 "gram.y" { SetToDefault *n = makeNode(SetToDefault); n->location = (yylsp[(1) - (1)]); (yyval.node) = (Node *) n; - ;} + } break; case 1538: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9832 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); } break; case 1539: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9833 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); } break; case 1540: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9841 "gram.y" - { (yyval.list) = (yyvsp[(2) - (3)].list); ;} + { (yyval.list) = (yyvsp[(2) - (3)].list); } break; case 1541: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9852 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); } break; case 1542: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9853 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); } break; case 1543: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9857 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -30426,12 +30465,12 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *)(yyvsp[(1) - (3)].node); (yyval.target)->location = (yylsp[(1) - (3)]); - ;} + } break; case 1544: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9873 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -30439,12 +30478,12 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *)(yyvsp[(1) - (2)].node); (yyval.target)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1545: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9881 "gram.y" { (yyval.target) = makeNode(ResTarget); @@ -30452,12 +30491,12 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *)(yyvsp[(1) - (1)].node); (yyval.target)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1546: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9889 "gram.y" { ColumnRef *n = makeNode(ColumnRef); @@ -30469,40 +30508,40 @@ (yyval.target)->indirection = NIL; (yyval.target)->val = (Node *)n; (yyval.target)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1547: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9910 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1548: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9911 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1549: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9915 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); ;} + { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); } break; case 1550: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9916 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); } break; case 1551: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9928 "gram.y" { (yyval.range) = makeNode(RangeVar); @@ -30510,12 +30549,12 @@ (yyval.range)->schemaname = NULL; (yyval.range)->relname = (yyvsp[(1) - (1)].str); (yyval.range)->location = (yylsp[(1) - (1)]); - ;} + } break; case 1552: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9936 "gram.y" { check_qualified_name((yyvsp[(2) - (2)].list)); @@ -30541,118 +30580,118 @@ break; } (yyval.range)->location = (yylsp[(1) - (2)]); - ;} + } break; case 1553: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9964 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 1554: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9966 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); } break; case 1555: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9970 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1556: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9973 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1557: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9976 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1558: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9978 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1559: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9980 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1560: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9982 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1561: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9993 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); } break; case 1562: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9995 "gram.y" - { (yyval.list) = check_func_name(lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list))); ;} + { (yyval.list) = check_func_name(lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list))); } break; case 1563: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10003 "gram.y" { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); - ;} + } break; case 1564: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10007 "gram.y" { (yyval.node) = makeFloatConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 1565: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10011 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 1566: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10015 "gram.y" { (yyval.node) = makeBitStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 1567: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10019 "gram.y" { /* This is a bit constant per SQL99: @@ -30661,24 +30700,24 @@ * or a . */ (yyval.node) = makeBitStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); - ;} + } break; case 1568: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10028 "gram.y" { /* generic type 'literal' syntax */ TypeName *t = makeTypeNameFromNameList((yyvsp[(1) - (2)].list)); t->location = (yylsp[(1) - (2)]); (yyval.node) = makeStringConstCast((yyvsp[(2) - (2)].str), (yylsp[(2) - (2)]), t); - ;} + } break; case 1569: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10035 "gram.y" { /* generic syntax with a type modifier */ @@ -30686,32 +30725,32 @@ t->typmods = (yyvsp[(3) - (5)].list); t->location = (yylsp[(1) - (5)]); (yyval.node) = makeStringConstCast((yyvsp[(5) - (5)].str), (yylsp[(5) - (5)]), t); - ;} + } break; case 1570: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10043 "gram.y" { (yyval.node) = makeStringConstCast((yyvsp[(2) - (2)].str), (yylsp[(2) - (2)]), (yyvsp[(1) - (2)].typnam)); - ;} + } break; case 1571: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10047 "gram.y" { TypeName *t = (yyvsp[(1) - (3)].typnam); t->typmods = (yyvsp[(3) - (3)].list); (yyval.node) = makeStringConstCast((yyvsp[(2) - (3)].str), (yylsp[(2) - (3)]), t); - ;} + } break; case 1572: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10053 "gram.y" { TypeName *t = (yyvsp[(1) - (6)].typnam); @@ -30728,158 +30767,158 @@ t->typmods = list_make2(makeIntConst(INTERVAL_FULL_RANGE, -1), makeIntConst((yyvsp[(3) - (6)].ival), (yylsp[(3) - (6)]))); (yyval.node) = makeStringConstCast((yyvsp[(5) - (6)].str), (yylsp[(5) - (6)]), t); - ;} + } break; case 1573: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10070 "gram.y" { (yyval.node) = makeBoolAConst(TRUE, (yylsp[(1) - (1)])); - ;} + } break; case 1574: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10074 "gram.y" { (yyval.node) = makeBoolAConst(FALSE, (yylsp[(1) - (1)])); - ;} + } break; case 1575: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10078 "gram.y" { (yyval.node) = makeNullAConst((yylsp[(1) - (1)])); - ;} + } break; case 1576: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10083 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} + { (yyval.ival) = (yyvsp[(1) - (1)].ival); } break; case 1577: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10084 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1578: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10085 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1579: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10087 "gram.y" - { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} + { (yyval.ival) = (yyvsp[(1) - (1)].ival); } break; case 1580: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10088 "gram.y" - { (yyval.ival) = + (yyvsp[(2) - (2)].ival); ;} + { (yyval.ival) = + (yyvsp[(2) - (2)].ival); } break; case 1581: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10089 "gram.y" - { (yyval.ival) = - (yyvsp[(2) - (2)].ival); ;} + { (yyval.ival) = - (yyvsp[(2) - (2)].ival); } break; case 1582: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10105 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1583: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10106 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1584: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10107 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1585: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10112 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1586: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10113 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1587: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10114 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1588: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10120 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1589: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10121 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1590: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10122 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1591: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10123 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1592: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10124 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); } break; case 1985: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10576 "gram.y" { if (QueryIsRule) @@ -30889,12 +30928,12 @@ (errcode(ERRCODE_SYNTAX_ERROR), errmsg("OLD used in query that is not in a rule"), scanner_errposition((yylsp[(1) - (1)])))); - ;} + } break; case 1986: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10586 "gram.y" { if (QueryIsRule) @@ -30904,15 +30943,26 @@ (errcode(ERRCODE_SYNTAX_ERROR), errmsg("NEW used in query that is not in a rule"), scanner_errposition((yylsp[(1) - (1)])))); - ;} + } break; -/* Line 1455 of yacc.c */ -#line 30914 "gram.c" +/* Line 1806 of yacc.c */ +#line 30953 "gram.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -30941,6 +30991,10 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { @@ -30948,41 +31002,40 @@ #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } - yyerror_range[0] = yylloc; + yyerror_range[1] = yylloc; if (yyerrstatus == 3) { @@ -31019,7 +31072,7 @@ if (/*CONSTCOND*/ 0) goto yyerrorlab; - yyerror_range[0] = yylsp[1-yylen]; + yyerror_range[1] = yylsp[1-yylen]; /* Do not reclaim the symbols of the rule which action triggered this YYERROR. */ YYPOPSTACK (yylen); @@ -31038,7 +31091,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -31053,7 +31106,7 @@ if (yyssp == yyss) YYABORT; - yyerror_range[0] = *yylsp; + yyerror_range[1] = *yylsp; yydestruct ("Error: popping", yystos[yystate], yyvsp, yylsp); YYPOPSTACK (1); @@ -31063,10 +31116,10 @@ *++yyvsp = yylval; - yyerror_range[1] = yylloc; + yyerror_range[2] = yylloc; /* Using YYLLOC is tempting, but would change the location of the lookahead. YYLOC is available though. */ - YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2); + YYLLOC_DEFAULT (yyloc, yyerror_range, 2); *++yylsp = yyloc; /* Shift the error token. */ @@ -31102,8 +31155,13 @@ yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval, &yylloc); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval, &yylloc); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -31128,7 +31186,7 @@ -/* Line 1675 of yacc.c */ +/* Line 2067 of yacc.c */ #line 10597 "gram.y" diff -Nru postgresql-8.4-8.4.17/src/backend/parser/gram.h postgresql-8.4-8.4.20/src/backend/parser/gram.h --- postgresql-8.4-8.4.17/src/backend/parser/gram.h 2013-04-01 18:44:27.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/gram.h 2014-02-17 20:07:34.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -454,7 +452,7 @@ typedef union YYSTYPE { -/* Line 1676 of yacc.c */ +/* Line 2068 of yacc.c */ #line 148 "gram.y" int ival; @@ -493,8 +491,8 @@ -/* Line 1676 of yacc.c */ -#line 498 "gram.h" +/* Line 2068 of yacc.c */ +#line 496 "gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_clause.c postgresql-8.4-8.4.20/src/backend/parser/parse_clause.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_clause.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_clause.c 2014-02-17 19:44:07.000000000 +0000 @@ -1615,11 +1615,16 @@ /* * Per spec, a windowdef that references a previous one copies the * previous partition clause (and mustn't specify its own). It can - * specify its own ordering clause. but only if the previous one had + * specify its own ordering clause, but only if the previous one had * none. It always specifies its own frame clause, and the previous - * one must not have a frame clause. (Yeah, it's bizarre that each of + * one must not have a frame clause. Yeah, it's bizarre that each of * these cases works differently, but SQL:2008 says so; see 7.11 - * syntax rule 10 and general rule 1.) + * syntax rule 10 and general rule 1. The frame + * clause rule is especially bizarre because it makes "OVER foo" + * different from "OVER (foo)", and requires the latter to throw an + * error if foo has a nondefault frame clause. Well, ours not to + * reason why, but we do go out of our way to throw a useful error + * message for such cases. */ if (refwc) { @@ -1658,11 +1663,27 @@ wc->copiedOrder = false; } if (refwc && refwc->frameOptions != FRAMEOPTION_DEFAULTS) + { + /* + * Use this message if this is a WINDOW clause, or if it's an OVER + * clause that includes ORDER BY or framing clauses. (We already + * rejected PARTITION BY above, so no need to check that.) + */ + if (windef->name || + orderClause || windef->frameOptions != FRAMEOPTION_DEFAULTS) + ereport(ERROR, + (errcode(ERRCODE_WINDOWING_ERROR), + errmsg("cannot copy window \"%s\" because it has a frame clause", + windef->refname), + parser_errposition(pstate, windef->location))); + /* Else this clause is just OVER (foo), so say this: */ ereport(ERROR, (errcode(ERRCODE_WINDOWING_ERROR), - errmsg("cannot override frame clause of window \"%s\"", - windef->refname), + errmsg("cannot copy window \"%s\" because it has a frame clause", + windef->refname), + errhint("Omit the parentheses in this OVER clause."), parser_errposition(pstate, windef->location))); + } wc->frameOptions = windef->frameOptions; wc->winref = winref; diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_expr.c postgresql-8.4-8.4.20/src/backend/parser/parse_expr.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_expr.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_expr.c 2014-02-17 19:44:07.000000000 +0000 @@ -762,7 +762,7 @@ else if (lexpr && IsA(lexpr, RowExpr) && rexpr && IsA(rexpr, RowExpr)) { - /* "row op row" */ + /* ROW() op ROW() is handled specially */ lexpr = transformExpr(pstate, lexpr); rexpr = transformExpr(pstate, rexpr); Assert(IsA(lexpr, RowExpr)); @@ -867,7 +867,7 @@ if (lexpr && IsA(lexpr, RowExpr) && rexpr && IsA(rexpr, RowExpr)) { - /* "row op row" */ + /* ROW() op ROW() is handled specially */ return make_row_distinct_op(pstate, a->name, (RowExpr *) lexpr, (RowExpr *) rexpr, @@ -957,7 +957,6 @@ List *rvars; List *rnonvars; bool useOr; - bool haveRowExpr; ListCell *l; /* @@ -970,24 +969,21 @@ /* * We try to generate a ScalarArrayOpExpr from IN/NOT IN, but this is only - * possible if the inputs are all scalars (no RowExprs) and there is a - * suitable array type available. If not, we fall back to a boolean - * condition tree with multiple copies of the lefthand expression. Also, - * any IN-list items that contain Vars are handled as separate boolean - * conditions, because that gives the planner more scope for optimization - * on such clauses. + * possible if there is a suitable array type available. If not, we fall + * back to a boolean condition tree with multiple copies of the lefthand + * expression. Also, any IN-list items that contain Vars are handled as + * separate boolean conditions, because that gives the planner more scope + * for optimization on such clauses. * - * First step: transform all the inputs, and detect whether any are - * RowExprs or contain Vars. + * First step: transform all the inputs, and detect whether any contain + * Vars. */ lexpr = transformExpr(pstate, a->lexpr); - haveRowExpr = (lexpr && IsA(lexpr, RowExpr)); rexprs = rvars = rnonvars = NIL; foreach(l, (List *) a->rexpr) { Node *rexpr = transformExpr(pstate, lfirst(l)); - haveRowExpr |= (rexpr && IsA(rexpr, RowExpr)); rexprs = lappend(rexprs, rexpr); if (contain_vars_of_level(rexpr, 0)) rvars = lappend(rvars, rexpr); @@ -997,9 +993,9 @@ /* * ScalarArrayOpExpr is only going to be useful if there's more than one - * non-Var righthand item. Also, it won't work for RowExprs. + * non-Var righthand item. */ - if (!haveRowExpr && list_length(rnonvars) > 1) + if (list_length(rnonvars) > 1) { List *allexprs; Oid scalar_type; @@ -1015,8 +1011,13 @@ allexprs = list_concat(list_make1(lexpr), rnonvars); scalar_type = select_common_type(pstate, allexprs, NULL, NULL); - /* Do we have an array type to use? */ - if (OidIsValid(scalar_type)) + /* + * Do we have an array type to use? Aside from the case where there + * isn't one, we don't risk using ScalarArrayOpExpr when the common + * type is RECORD, because the RowExpr comparison logic below can cope + * with some cases of non-identical row types. + */ + if (OidIsValid(scalar_type) && scalar_type != RECORDOID) array_type = get_array_type(scalar_type); else array_type = InvalidOid; @@ -1066,14 +1067,10 @@ Node *rexpr = (Node *) lfirst(l); Node *cmp; - if (haveRowExpr) + if (IsA(lexpr, RowExpr) && + IsA(rexpr, RowExpr)) { - if (!IsA(lexpr, RowExpr) || - !IsA(rexpr, RowExpr)) - ereport(ERROR, - (errcode(ERRCODE_SYNTAX_ERROR), - errmsg("arguments of row IN must all be row expressions"), - parser_errposition(pstate, a->location))); + /* ROW() op ROW() is handled specially */ cmp = make_row_comparison_op(pstate, a->name, (List *) copyObject(((RowExpr *) lexpr)->args), @@ -1081,11 +1078,14 @@ a->location); } else + { + /* Ordinary scalar operator */ cmp = (Node *) make_op(pstate, a->name, copyObject(lexpr), rexpr, a->location); + } cmp = coerce_to_boolean(pstate, cmp, "IN"); if (result == NULL) diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_node.c postgresql-8.4-8.4.20/src/backend/parser/parse_node.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_node.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_node.c 2014-02-17 19:44:07.000000000 +0000 @@ -268,6 +268,18 @@ elementType = transformArrayType(arrayType); /* + * We treat int2vector and oidvector as though they were domains over + * int2[] and oid[]. This is needed because array slicing could create an + * array that doesn't satisfy the dimensionality constraints of the + * xxxvector type; so we want the result of a slice operation to be + * considered to be of the more general type. + */ + if (arrayType == INT2VECTOROID) + arrayType = INT2ARRAYOID; + else if (arrayType == OIDVECTOROID) + arrayType = OIDARRAYOID; + + /* * A list containing only single subscripts refers to a single array * element. If any of the items are double subscripts (lower:upper), then * the subscript expression means an array slice operation. In this case, diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_relation.c postgresql-8.4-8.4.20/src/backend/parser/parse_relation.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_relation.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_relation.c 2014-02-17 19:44:07.000000000 +0000 @@ -24,6 +24,7 @@ #include "funcapi.h" #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" +#include "optimizer/clauses.h" #include "parser/parsetree.h" #include "parser/parse_relation.h" #include "parser/parse_type.h" @@ -682,14 +683,15 @@ * The aliasvar could be either a Var or a COALESCE expression, * but in the latter case we should already have marked the two * referent variables as being selected, due to their use in the - * JOIN clause. So we need only be concerned with the simple Var - * case. + * JOIN clause. So we need only be concerned with the Var case. + * But we do need to drill down through implicit coercions. */ Var *aliasvar; Assert(col > 0 && col <= list_length(rte->joinaliasvars)); aliasvar = (Var *) list_nth(rte->joinaliasvars, col - 1); - if (IsA(aliasvar, Var)) + aliasvar = (Var *) strip_implicit_coercions((Node *) aliasvar); + if (aliasvar && IsA(aliasvar, Var)) markVarForSelectPriv(pstate, aliasvar, NULL); } } @@ -1779,10 +1781,10 @@ * deleted columns in the join; but we have to check since * this routine is also used by the rewriter, and joins * found in stored rules might have join columns for - * since-deleted columns. This will be signaled by a NULL - * Const in the alias-vars list. + * since-deleted columns. This will be signaled by a null + * pointer in the alias-vars list. */ - if (IsA(avar, Const)) + if (avar == NULL) { if (include_dropped) { @@ -1790,8 +1792,15 @@ *colnames = lappend(*colnames, makeString(pstrdup(""))); if (colvars) + { + /* + * Can't use join's column type here (it might + * be dropped!); but it doesn't really matter + * what type the Const claims to be. + */ *colvars = lappend(*colvars, - copyObject(avar)); + makeNullConst(INT4OID, -1)); + } } continue; } @@ -2167,6 +2176,7 @@ Assert(attnum > 0 && attnum <= list_length(rte->joinaliasvars)); aliasvar = (Node *) list_nth(rte->joinaliasvars, attnum - 1); + Assert(aliasvar != NULL); *vartype = exprType(aliasvar); *vartypmod = exprTypmod(aliasvar); } @@ -2228,7 +2238,7 @@ * but one in a stored rule might contain columns that were * dropped from the underlying tables, if said columns are * nowhere explicitly referenced in the rule. This will be - * signaled to us by a NULL Const in the joinaliasvars list. + * signaled to us by a null pointer in the joinaliasvars list. */ Var *aliasvar; @@ -2237,7 +2247,7 @@ elog(ERROR, "invalid varattno %d", attnum); aliasvar = (Var *) list_nth(rte->joinaliasvars, attnum - 1); - result = IsA(aliasvar, Const); + result = (aliasvar == NULL); } break; case RTE_FUNCTION: diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_target.c postgresql-8.4-8.4.20/src/backend/parser/parse_target.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_target.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_target.c 2014-02-17 19:44:07.000000000 +0000 @@ -288,6 +288,7 @@ Assert(attnum > 0 && attnum <= list_length(rte->joinaliasvars)); aliasvar = (Var *) list_nth(rte->joinaliasvars, attnum - 1); + /* We intentionally don't strip implicit coercions here */ markTargetListOrigin(pstate, tle, aliasvar, netlevelsup); } break; @@ -1216,6 +1217,8 @@ /* Join RTE --- recursively inspect the alias variable */ Assert(attnum > 0 && attnum <= list_length(rte->joinaliasvars)); expr = (Node *) list_nth(rte->joinaliasvars, attnum - 1); + Assert(expr != NULL); + /* We intentionally don't strip implicit coercions here */ if (IsA(expr, Var)) return expandRecordVariable(pstate, (Var *) expr, netlevelsup); /* else fall through to inspect the expression */ diff -Nru postgresql-8.4-8.4.17/src/backend/parser/parse_utilcmd.c postgresql-8.4-8.4.20/src/backend/parser/parse_utilcmd.c --- postgresql-8.4-8.4.17/src/backend/parser/parse_utilcmd.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/parse_utilcmd.c 2014-02-17 19:44:07.000000000 +0000 @@ -1356,14 +1356,18 @@ * a predicate expression. There are several code paths that create indexes * without bothering to call this, because they know they don't have any * such expressions to deal with. + * + * To avoid race conditions, it's important that this function rely only on + * the passed-in relid (and not on stmt->relation) to determine the target + * relation. */ IndexStmt * -transformIndexStmt(IndexStmt *stmt, const char *queryString) +transformIndexStmt(Oid relid, IndexStmt *stmt, const char *queryString) { - Relation rel; ParseState *pstate; RangeTblEntry *rte; ListCell *l; + Relation rel; /* * We must not scribble on the passed-in IndexStmt, so copy it. (This is @@ -1371,25 +1375,17 @@ */ stmt = (IndexStmt *) copyObject(stmt); - /* - * Open the parent table with appropriate locking. We must do this - * because addRangeTableEntry() would acquire only AccessShareLock, - * leaving DefineIndex() needing to do a lock upgrade with consequent risk - * of deadlock. Make sure this stays in sync with the type of lock - * DefineIndex() wants. - */ - rel = heap_openrv(stmt->relation, - (stmt->concurrent ? ShareUpdateExclusiveLock : ShareLock)); - /* Set up pstate */ pstate = make_parsestate(NULL); pstate->p_sourcetext = queryString; /* * Put the parent table into the rtable so that the expressions can refer - * to its fields without qualification. + * to its fields without qualification. Caller is responsible for locking + * relation, but we still need to open it. */ - rte = addRangeTableEntry(pstate, stmt->relation, NULL, false, true); + rel = relation_open(relid, NoLock); + rte = addRangeTableEntryForRelation(pstate, rel, NULL, false, true); /* no to join list, yes to namespaces */ addRTEtoQuery(pstate, rte, false, true, true); @@ -1431,7 +1427,7 @@ free_parsestate(pstate); - /* Close relation, but keep the lock */ + /* Close relation */ heap_close(rel, NoLock); return stmt; @@ -1722,9 +1718,14 @@ * Returns a List of utility commands to be done in sequence. One of these * will be the transformed AlterTableStmt, but there may be additional actions * to be done before and after the actual AlterTable() call. + * + * To avoid race conditions, it's important that this function rely only on + * the passed-in relid (and not on stmt->relation) to determine the target + * relation. */ List * -transformAlterTableStmt(AlterTableStmt *stmt, const char *queryString) +transformAlterTableStmt(Oid relid, AlterTableStmt *stmt, + const char *queryString) { Relation rel; ParseState *pstate; @@ -1743,14 +1744,8 @@ */ stmt = (AlterTableStmt *) copyObject(stmt); - /* - * Acquire exclusive lock on the target relation, which will be held until - * end of transaction. This ensures any decisions we make here based on - * the state of the relation will still be good at execution. We must get - * exclusive lock now because execution will; taking a lower grade lock - * now and trying to upgrade later risks deadlock. - */ - rel = relation_openrv(stmt->relation, AccessExclusiveLock); + /* Caller is responsible for locking the relation */ + rel = relation_open(relid, NoLock); /* Set up pstate */ pstate = make_parsestate(NULL); @@ -1866,7 +1861,7 @@ Assert(IsA(idxstmt, IndexStmt)); newcmd = makeNode(AlterTableCmd); newcmd->subtype = AT_AddIndex; - newcmd->def = (Node *) transformIndexStmt((IndexStmt *) idxstmt, + newcmd->def = (Node *) transformIndexStmt(relid, (IndexStmt *) idxstmt, queryString); newcmds = lappend(newcmds, newcmd); } @@ -1888,7 +1883,7 @@ newcmds = lappend(newcmds, newcmd); } - /* Close rel but keep lock */ + /* Close rel */ relation_close(rel, NoLock); /* diff -Nru postgresql-8.4-8.4.17/src/backend/parser/scan.c postgresql-8.4-8.4.20/src/backend/parser/scan.c --- postgresql-8.4-8.4.17/src/backend/parser/scan.c 2013-04-01 18:44:27.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/scan.c 2014-02-17 20:07:34.000000000 +0000 @@ -15117,14 +15117,16 @@ YY_RULE_SETUP #line 622 "scan.l" { - char *ident; + char *ident; + int identlen; BEGIN(INITIAL); if (literallen == 0) yyerror("zero-length delimited identifier"); ident = litbuf_udeescape('\\'); - if (literallen >= NAMEDATALEN) - truncate_identifier(ident, literallen, true); + identlen = strlen(ident); + if (identlen >= NAMEDATALEN) + truncate_identifier(ident, identlen, true); yylval.str = ident; /* throw back all but the quote */ yyless(1); @@ -15134,23 +15136,25 @@ case 44: /* rule 44 can match eol */ YY_RULE_SETUP -#line 636 "scan.l" +#line 638 "scan.l" { - char *ident; + char *ident; + int identlen; BEGIN(INITIAL); if (literallen == 0) yyerror("zero-length delimited identifier"); ident = litbuf_udeescape(base_yytext[base_yyleng - 2]); - if (literallen >= NAMEDATALEN) - truncate_identifier(ident, literallen, true); + identlen = strlen(ident); + if (identlen >= NAMEDATALEN) + truncate_identifier(ident, identlen, true); yylval.str = ident; return IDENT; } YY_BREAK case 45: YY_RULE_SETUP -#line 648 "scan.l" +#line 652 "scan.l" { addlitchar('"'); } @@ -15158,19 +15162,19 @@ case 46: /* rule 46 can match eol */ YY_RULE_SETUP -#line 651 "scan.l" +#line 655 "scan.l" { addlit(base_yytext, base_yyleng); } YY_BREAK case YY_STATE_EOF(xd): case YY_STATE_EOF(xui): -#line 654 "scan.l" +#line 658 "scan.l" { yyerror("unterminated quoted identifier"); } YY_BREAK case 47: YY_RULE_SETUP -#line 656 "scan.l" +#line 660 "scan.l" { char *ident; @@ -15185,7 +15189,7 @@ YY_BREAK case 48: YY_RULE_SETUP -#line 668 "scan.l" +#line 672 "scan.l" { SET_YYLLOC(); return TYPECAST; @@ -15193,7 +15197,7 @@ YY_BREAK case 49: YY_RULE_SETUP -#line 673 "scan.l" +#line 677 "scan.l" { SET_YYLLOC(); return base_yytext[0]; @@ -15201,7 +15205,7 @@ YY_BREAK case 50: YY_RULE_SETUP -#line 678 "scan.l" +#line 682 "scan.l" { /* * Check for embedded slash-star or dash-dash; those @@ -15284,7 +15288,7 @@ YY_BREAK case 51: YY_RULE_SETUP -#line 758 "scan.l" +#line 762 "scan.l" { SET_YYLLOC(); yylval.ival = atol(base_yytext + 1); @@ -15293,7 +15297,7 @@ YY_BREAK case 52: YY_RULE_SETUP -#line 764 "scan.l" +#line 768 "scan.l" { long val; char* endptr; @@ -15318,7 +15322,7 @@ YY_BREAK case 53: YY_RULE_SETUP -#line 785 "scan.l" +#line 789 "scan.l" { SET_YYLLOC(); yylval.str = pstrdup(base_yytext); @@ -15327,7 +15331,7 @@ YY_BREAK case 54: YY_RULE_SETUP -#line 790 "scan.l" +#line 794 "scan.l" { SET_YYLLOC(); yylval.str = pstrdup(base_yytext); @@ -15336,7 +15340,7 @@ YY_BREAK case 55: YY_RULE_SETUP -#line 795 "scan.l" +#line 799 "scan.l" { /* * throw back the [Ee], and treat as {decimal}. Note @@ -15352,7 +15356,7 @@ YY_BREAK case 56: YY_RULE_SETUP -#line 807 "scan.l" +#line 811 "scan.l" { /* throw back the [Ee][+-], and proceed as above */ yyless(base_yyleng-2); @@ -15363,7 +15367,7 @@ YY_BREAK case 57: YY_RULE_SETUP -#line 816 "scan.l" +#line 820 "scan.l" { const ScanKeyword *keyword; char *ident; @@ -15389,14 +15393,14 @@ YY_BREAK case 58: YY_RULE_SETUP -#line 839 "scan.l" +#line 843 "scan.l" { SET_YYLLOC(); return base_yytext[0]; } YY_BREAK case YY_STATE_EOF(INITIAL): -#line 844 "scan.l" +#line 848 "scan.l" { SET_YYLLOC(); yyterminate(); @@ -15404,10 +15408,10 @@ YY_BREAK case 59: YY_RULE_SETUP -#line 849 "scan.l" +#line 853 "scan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 15411 "scan.c" +#line 15415 "scan.c" case YY_END_OF_BUFFER: { @@ -16341,7 +16345,7 @@ #define YYTABLES_NAME "yytables" -#line 849 "scan.l" +#line 853 "scan.l" diff -Nru postgresql-8.4-8.4.17/src/backend/parser/scan.l postgresql-8.4-8.4.20/src/backend/parser/scan.l --- postgresql-8.4-8.4.17/src/backend/parser/scan.l 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/scan.l 2014-02-17 19:44:07.000000000 +0000 @@ -620,28 +620,32 @@ return IDENT; } {xuistop1} { - char *ident; + char *ident; + int identlen; BEGIN(INITIAL); if (literallen == 0) yyerror("zero-length delimited identifier"); ident = litbuf_udeescape('\\'); - if (literallen >= NAMEDATALEN) - truncate_identifier(ident, literallen, true); + identlen = strlen(ident); + if (identlen >= NAMEDATALEN) + truncate_identifier(ident, identlen, true); yylval.str = ident; /* throw back all but the quote */ yyless(1); return IDENT; } {xuistop2} { - char *ident; + char *ident; + int identlen; BEGIN(INITIAL); if (literallen == 0) yyerror("zero-length delimited identifier"); ident = litbuf_udeescape(yytext[yyleng - 2]); - if (literallen >= NAMEDATALEN) - truncate_identifier(ident, literallen, true); + identlen = strlen(ident); + if (identlen >= NAMEDATALEN) + truncate_identifier(ident, identlen, true); yylval.str = ident; return IDENT; } diff -Nru postgresql-8.4-8.4.17/src/backend/parser/scansup.c postgresql-8.4-8.4.20/src/backend/parser/scansup.c --- postgresql-8.4-8.4.17/src/backend/parser/scansup.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/parser/scansup.c 2014-02-17 19:44:07.000000000 +0000 @@ -130,8 +130,10 @@ { char *result; int i; + bool enc_is_single_byte; result = palloc(len + 1); + enc_is_single_byte = pg_database_encoding_max_length() == 1; /* * SQL99 specifies Unicode-aware case normalization, which we don't yet @@ -139,8 +141,8 @@ * locale-aware translation. However, there are some locales where this * is not right either (eg, Turkish may do strange things with 'i' and * 'I'). Our current compromise is to use tolower() for characters with - * the high bit set, and use an ASCII-only downcasing for 7-bit - * characters. + * the high bit set, as long as they aren't part of a multi-byte character, + * and use an ASCII-only downcasing for 7-bit characters. */ for (i = 0; i < len; i++) { @@ -148,7 +150,7 @@ if (ch >= 'A' && ch <= 'Z') ch += 'a' - 'A'; - else if (IS_HIGHBIT_SET(ch) && isupper(ch)) + else if (enc_is_single_byte && IS_HIGHBIT_SET(ch) && isupper(ch)) ch = tolower(ch); result[i] = (char) ch; } diff -Nru postgresql-8.4-8.4.17/src/backend/po/de.po postgresql-8.4-8.4.20/src/backend/po/de.po --- postgresql-8.4-8.4.17/src/backend/po/de.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/po/de.po 2014-02-17 19:44:07.000000000 +0000 @@ -1,5 +1,5 @@ # German message translation file for PostgreSQL server -# Peter Eisentraut , 2001 - 2012. +# Peter Eisentraut , 2001 - 2013. # # Use these quotes: »%s« # @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: PostgreSQL 8.4\n" "Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" -"POT-Creation-Date: 2012-12-01 23:11+0000\n" -"PO-Revision-Date: 2012-12-02 00:58-0500\n" +"POT-Creation-Date: 2013-11-28 00:02+0000\n" +"PO-Revision-Date: 2013-11-28 10:05-0500\n" "Last-Translator: Peter Eisentraut \n" "Language-Team: German \n" "Language: de\n" @@ -195,7 +195,7 @@ #: postmaster/autovacuum.c:1816 utils/init/miscinit.c:1066 #: utils/init/miscinit.c:1179 utils/init/postinit.c:95 -#: utils/init/postinit.c:135 utils/error/elog.c:1417 +#: utils/init/postinit.c:135 utils/error/elog.c:1418 #: access/transam/xlog.c:2334 access/transam/xlog.c:3924 #: access/transam/xlog.c:4014 access/transam/xlog.c:4112 libpq/hba.c:1272 #: storage/file/copydir.c:123 @@ -371,12 +371,12 @@ msgid "%s: invalid argument for option -t: \"%s\"\n" msgstr "%s: ungültiges Argument für Option -t: »%s«\n" -#: postmaster/postmaster.c:654 bootstrap/bootstrap.c:294 tcop/postgres.c:3223 +#: postmaster/postmaster.c:654 bootstrap/bootstrap.c:294 tcop/postgres.c:3230 #, c-format msgid "--%s requires a value" msgstr "--%s benötigt einen Wert" -#: postmaster/postmaster.c:659 bootstrap/bootstrap.c:299 tcop/postgres.c:3228 +#: postmaster/postmaster.c:659 bootstrap/bootstrap.c:299 tcop/postgres.c:3235 #, c-format msgid "-c %s requires a value" msgstr "-c %s benötigt einen Wert" @@ -443,7 +443,7 @@ msgstr "%s: konnte kein passendes Programm »postgres« finden" #: postmaster/postmaster.c:1096 utils/misc/tzparser.c:345 utils/adt/misc.c:210 -#: utils/adt/genfile.c:240 commands/tablespace.c:581 storage/file/fd.c:1568 +#: utils/adt/genfile.c:240 commands/tablespace.c:581 storage/file/fd.c:1577 #: storage/file/copydir.c:66 #, c-format msgid "could not open directory \"%s\": %m" @@ -587,17 +587,17 @@ #: postmaster/postmaster.c:1922 postmaster/postmaster.c:1955 #: postmaster/postmaster.c:3033 postmaster/postmaster.c:3783 #: postmaster/postmaster.c:3869 postmaster/postmaster.c:4438 -#: utils/hash/dynahash.c:363 utils/hash/dynahash.c:435 -#: utils/hash/dynahash.c:950 utils/misc/guc.c:2757 utils/misc/guc.c:2770 +#: utils/hash/dynahash.c:367 utils/hash/dynahash.c:444 +#: utils/hash/dynahash.c:956 utils/misc/guc.c:2757 utils/misc/guc.c:2770 #: utils/misc/guc.c:2783 utils/init/miscinit.c:212 utils/init/miscinit.c:233 #: utils/init/miscinit.c:243 utils/fmgr/dfmgr.c:224 utils/mb/mbutils.c:335 #: utils/mb/mbutils.c:596 utils/mmgr/aset.c:385 utils/mmgr/aset.c:564 #: utils/mmgr/aset.c:747 utils/mmgr/aset.c:953 utils/adt/regexp.c:208 -#: utils/adt/varlena.c:3031 utils/adt/varlena.c:3052 +#: utils/adt/varlena.c:3034 utils/adt/varlena.c:3055 #: utils/adt/formatting.c:1493 utils/adt/formatting.c:1549 #: utils/adt/formatting.c:1606 lib/stringinfo.c:245 commands/sequence.c:933 #: libpq/auth.c:911 libpq/auth.c:1271 libpq/auth.c:1339 libpq/auth.c:1926 -#: storage/file/fd.c:338 storage/file/fd.c:721 storage/file/fd.c:839 +#: storage/file/fd.c:344 storage/file/fd.c:727 storage/file/fd.c:845 #: storage/ipc/procarray.c:392 storage/ipc/procarray.c:720 #: storage/ipc/procarray.c:727 storage/buffer/localbuf.c:347 #: storage/buffer/buf_init.c:164 @@ -834,7 +834,7 @@ msgid "text search configuration \"%s\" does not exist" msgstr "Textsuchekonfiguration »%s« existiert nicht" -#: utils/cache/plancache.c:541 +#: utils/cache/plancache.c:558 msgid "cached plan must not change result type" msgstr "gecachter Plan darf den Ergebnistyp nicht ändern" @@ -880,7 +880,7 @@ msgstr "keine binäre Ausgabefunktion verfügbar für Typ %s" #: utils/cache/lsyscache.c:2762 utils/init/miscinit.c:480 -#: commands/variable.c:737 commands/variable.c:853 commands/user.c:566 +#: commands/variable.c:739 commands/variable.c:855 commands/user.c:566 #: commands/user.c:748 commands/user.c:879 commands/user.c:1033 #, c-format msgid "role \"%s\" does not exist" @@ -900,7 +900,7 @@ msgid "record type has not been registered" msgstr "Record-Typ wurde nicht registriert" -#: utils/hash/dynahash.c:946 storage/ipc/shmem.c:190 storage/ipc/shmem.c:359 +#: utils/hash/dynahash.c:952 storage/ipc/shmem.c:190 storage/ipc/shmem.c:359 #: storage/lmgr/proc.c:186 storage/lmgr/proc.c:199 storage/lmgr/lock.c:583 #: storage/lmgr/lock.c:649 storage/lmgr/lock.c:2051 storage/lmgr/lock.c:2339 #: storage/lmgr/lock.c:2404 @@ -1137,10 +1137,10 @@ "and continue processing. This behavior will destroy data, namely all the " "rows on the damaged page." msgstr "" -"Wenn eine kaputter Seitenkopf entdeckt wird, gibt PostgreSQL normalerweise " -"ein Fehler aus und bricht die aktuelle Transaktion ab. Wenn " +"Wenn ein kaputter Seitenkopf entdeckt wird, gibt PostgreSQL normalerweise " +"einen Fehler aus und bricht die aktuelle Transaktion ab. Wenn " "»zero_damaged_pages« an ist, dann wird eine Warnung ausgegeben, die kaputte " -"Seiten mit Nullen gefüllt und die Verarbeitung geht weiter. Dieses Verhalten " +"Seite mit Nullen gefüllt und die Verarbeitung geht weiter. Dieses Verhalten " "zerstört Daten, nämlich alle Zeilen in der kaputten Seite." #: utils/misc/guc.c:720 @@ -2457,7 +2457,7 @@ #: utils/misc/guc.c:4809 utils/misc/guc.c:5077 utils/fmgr/dfmgr.c:381 #: utils/adt/xml.c:1393 utils/adt/xml.c:1394 utils/adt/xml.c:1400 -#: utils/adt/xml.c:1471 tcop/postgres.c:4099 commands/tablecmds.c:621 +#: utils/adt/xml.c:1471 tcop/postgres.c:4106 commands/tablecmds.c:621 #: commands/user.c:930 commands/user.c:931 commands/trigger.c:578 #: commands/trigger.c:594 commands/trigger.c:606 nodes/print.c:85 #: storage/lmgr/proc.c:939 storage/lmgr/deadlock.c:950 @@ -2886,10 +2886,10 @@ #: utils/init/postinit.c:421 utils/init/postinit.c:540 #: utils/init/postinit.c:556 utils/adt/dbsize.c:148 utils/adt/acl.c:2514 -#: commands/dbcommands.c:759 commands/dbcommands.c:903 -#: commands/dbcommands.c:1010 commands/dbcommands.c:1187 -#: commands/dbcommands.c:1374 commands/dbcommands.c:1446 -#: commands/dbcommands.c:1554 commands/comment.c:626 catalog/aclchk.c:536 +#: commands/dbcommands.c:786 commands/dbcommands.c:930 +#: commands/dbcommands.c:1037 commands/dbcommands.c:1214 +#: commands/dbcommands.c:1401 commands/dbcommands.c:1473 +#: commands/dbcommands.c:1581 commands/comment.c:626 catalog/aclchk.c:536 #, c-format msgid "database \"%s\" does not exist" msgstr "Datenbank »%s« existiert nicht" @@ -2947,100 +2947,100 @@ msgid "invalid role password \"%s\"" msgstr "ungültiges Rollenpasswort »%s«" -#: utils/error/elog.c:1427 +#: utils/error/elog.c:1428 #, c-format msgid "could not reopen file \"%s\" as stderr: %m" msgstr "konnte Datei »%s« nicht als stderr neu öffnen: %m" -#: utils/error/elog.c:1440 +#: utils/error/elog.c:1441 #, c-format msgid "could not reopen file \"%s\" as stdout: %m" msgstr "konnte Datei »%s« nicht als stdou neu öffnen: %m" -#: utils/error/elog.c:1750 utils/error/elog.c:1760 +#: utils/error/elog.c:1751 utils/error/elog.c:1761 msgid "[unknown]" msgstr "[unbekannt]" -#: utils/error/elog.c:2100 utils/error/elog.c:2382 utils/error/elog.c:2460 +#: utils/error/elog.c:2101 utils/error/elog.c:2383 utils/error/elog.c:2461 msgid "missing error text" msgstr "fehlender Fehlertext" -#: utils/error/elog.c:2103 utils/error/elog.c:2106 utils/error/elog.c:2463 -#: utils/error/elog.c:2466 +#: utils/error/elog.c:2104 utils/error/elog.c:2107 utils/error/elog.c:2464 +#: utils/error/elog.c:2467 #, c-format msgid " at character %d" msgstr " bei Zeichen %d" -#: utils/error/elog.c:2116 utils/error/elog.c:2123 +#: utils/error/elog.c:2117 utils/error/elog.c:2124 msgid "DETAIL: " msgstr "DETAIL: " -#: utils/error/elog.c:2130 +#: utils/error/elog.c:2131 msgid "HINT: " msgstr "TIPP: " -#: utils/error/elog.c:2137 +#: utils/error/elog.c:2138 msgid "QUERY: " msgstr "ANFRAGE: " -#: utils/error/elog.c:2144 +#: utils/error/elog.c:2145 msgid "CONTEXT: " msgstr "ZUSAMMENHANG: " -#: utils/error/elog.c:2154 +#: utils/error/elog.c:2155 #, c-format msgid "LOCATION: %s, %s:%d\n" msgstr "ORT: %s, %s:%d\n" -#: utils/error/elog.c:2161 +#: utils/error/elog.c:2162 #, c-format msgid "LOCATION: %s:%d\n" msgstr "ORT: %s:%d\n" -#: utils/error/elog.c:2175 +#: utils/error/elog.c:2176 msgid "STATEMENT: " msgstr "ANWEISUNG: " -#: utils/error/elog.c:2272 +#: utils/error/elog.c:2273 msgid "Not safe to send CSV data\n" msgstr "Senden von CSV-Daten ist nicht sicher\n" #. translator: This string will be truncated at 47 #. characters expanded. -#: utils/error/elog.c:2575 +#: utils/error/elog.c:2582 #, c-format msgid "operating system error %d" msgstr "Betriebssystemfehler %d" -#: utils/error/elog.c:2598 +#: utils/error/elog.c:2777 msgid "DEBUG" msgstr "DEBUG" -#: utils/error/elog.c:2602 +#: utils/error/elog.c:2781 msgid "LOG" msgstr "LOG" -#: utils/error/elog.c:2605 +#: utils/error/elog.c:2784 msgid "INFO" msgstr "INFO" -#: utils/error/elog.c:2608 +#: utils/error/elog.c:2787 msgid "NOTICE" msgstr "HINWEIS" -#: utils/error/elog.c:2611 +#: utils/error/elog.c:2790 msgid "WARNING" msgstr "WARNUNG" -#: utils/error/elog.c:2614 +#: utils/error/elog.c:2793 msgid "ERROR" msgstr "FEHLER" -#: utils/error/elog.c:2617 +#: utils/error/elog.c:2796 msgid "FATAL" msgstr "FATAL" -#: utils/error/elog.c:2620 +#: utils/error/elog.c:2799 msgid "PANIC" msgstr "PANIK" @@ -3230,7 +3230,7 @@ msgid "encoding name too long" msgstr "Kodierungsname zu lang" -#: utils/mb/mbutils.c:240 commands/variable.c:665 +#: utils/mb/mbutils.c:240 commands/variable.c:667 #, c-format msgid "conversion between %s and %s is not supported" msgstr "Umwandlung zwischen %s und %s wird nicht unterstützt" @@ -3432,22 +3432,22 @@ #: utils/adt/xml.c:1743 utils/adt/xml.c:1750 utils/adt/xml.c:1770 #: utils/adt/xml.c:1777 utils/adt/timestamp.c:226 utils/adt/timestamp.c:264 #: utils/adt/timestamp.c:486 utils/adt/timestamp.c:526 -#: utils/adt/timestamp.c:2525 utils/adt/timestamp.c:2546 -#: utils/adt/timestamp.c:2559 utils/adt/timestamp.c:2568 -#: utils/adt/timestamp.c:2626 utils/adt/timestamp.c:2649 -#: utils/adt/timestamp.c:2662 utils/adt/timestamp.c:2673 -#: utils/adt/timestamp.c:3103 utils/adt/timestamp.c:3233 -#: utils/adt/timestamp.c:3274 utils/adt/timestamp.c:3362 -#: utils/adt/timestamp.c:3409 utils/adt/timestamp.c:3520 -#: utils/adt/timestamp.c:3833 utils/adt/timestamp.c:3970 -#: utils/adt/timestamp.c:3977 utils/adt/timestamp.c:3991 -#: utils/adt/timestamp.c:4001 utils/adt/timestamp.c:4064 -#: utils/adt/timestamp.c:4204 utils/adt/timestamp.c:4214 -#: utils/adt/timestamp.c:4429 utils/adt/timestamp.c:4508 -#: utils/adt/timestamp.c:4515 utils/adt/timestamp.c:4542 -#: utils/adt/timestamp.c:4546 utils/adt/timestamp.c:4603 -#: utils/adt/formatting.c:2961 utils/adt/formatting.c:2993 -#: utils/adt/formatting.c:3061 utils/adt/date.c:901 utils/adt/date.c:948 +#: utils/adt/timestamp.c:2526 utils/adt/timestamp.c:2547 +#: utils/adt/timestamp.c:2560 utils/adt/timestamp.c:2569 +#: utils/adt/timestamp.c:2627 utils/adt/timestamp.c:2650 +#: utils/adt/timestamp.c:2663 utils/adt/timestamp.c:2674 +#: utils/adt/timestamp.c:3104 utils/adt/timestamp.c:3234 +#: utils/adt/timestamp.c:3275 utils/adt/timestamp.c:3363 +#: utils/adt/timestamp.c:3410 utils/adt/timestamp.c:3521 +#: utils/adt/timestamp.c:3834 utils/adt/timestamp.c:3971 +#: utils/adt/timestamp.c:3978 utils/adt/timestamp.c:3992 +#: utils/adt/timestamp.c:4002 utils/adt/timestamp.c:4065 +#: utils/adt/timestamp.c:4205 utils/adt/timestamp.c:4215 +#: utils/adt/timestamp.c:4430 utils/adt/timestamp.c:4509 +#: utils/adt/timestamp.c:4516 utils/adt/timestamp.c:4543 +#: utils/adt/timestamp.c:4547 utils/adt/timestamp.c:4604 +#: utils/adt/formatting.c:3049 utils/adt/formatting.c:3081 +#: utils/adt/formatting.c:3149 utils/adt/date.c:901 utils/adt/date.c:948 #: utils/adt/date.c:1504 utils/adt/date.c:1541 utils/adt/date.c:2414 #: utils/adt/nabstime.c:480 utils/adt/nabstime.c:523 utils/adt/nabstime.c:553 #: utils/adt/nabstime.c:596 @@ -3497,7 +3497,7 @@ msgid "invalid regular expression: %s" msgstr "ungültiger regulärer Ausdruck: %s" -#: utils/adt/regexp.c:272 utils/adt/regexp.c:1200 utils/adt/varlena.c:2582 +#: utils/adt/regexp.c:272 utils/adt/regexp.c:1199 utils/adt/varlena.c:2582 #, c-format msgid "regular expression failed: %s" msgstr "regulärer Ausdruck fehlgeschlagen: %s" @@ -3537,8 +3537,8 @@ #: utils/adt/int.c:897 utils/adt/int.c:918 utils/adt/int.c:945 #: utils/adt/int.c:985 utils/adt/int.c:1006 utils/adt/int.c:1033 #: utils/adt/int.c:1066 utils/adt/int.c:1149 utils/adt/int8.c:1258 -#: utils/adt/float.c:1100 utils/adt/float.c:1159 utils/adt/float.c:2716 -#: utils/adt/float.c:2732 utils/adt/varbit.c:1392 utils/adt/numeric.c:2035 +#: utils/adt/float.c:1156 utils/adt/float.c:1215 utils/adt/float.c:2772 +#: utils/adt/float.c:2788 utils/adt/varbit.c:1392 utils/adt/numeric.c:2035 #: utils/adt/numeric.c:2044 msgid "integer out of range" msgstr "integer ist außerhalb des gültigen Bereichs" @@ -3608,24 +3608,24 @@ #: utils/adt/int.c:339 utils/adt/int.c:765 utils/adt/int.c:794 #: utils/adt/int.c:815 utils/adt/int.c:835 utils/adt/int.c:869 -#: utils/adt/int.c:1164 utils/adt/int8.c:1283 utils/adt/float.c:1118 -#: utils/adt/float.c:1176 utils/adt/numeric.c:2136 utils/adt/numeric.c:2147 +#: utils/adt/int.c:1164 utils/adt/int8.c:1283 utils/adt/float.c:1174 +#: utils/adt/float.c:1232 utils/adt/numeric.c:2136 utils/adt/numeric.c:2147 msgid "smallint out of range" msgstr "smallint ist außerhalb des gültigen Bereichs" #: utils/adt/int.c:709 utils/adt/int.c:851 utils/adt/int.c:959 #: utils/adt/int.c:1048 utils/adt/int.c:1087 utils/adt/int.c:1115 -#: utils/adt/timestamp.c:2865 utils/adt/geo_ops.c:3967 utils/adt/int8.c:606 +#: utils/adt/timestamp.c:2866 utils/adt/geo_ops.c:3967 utils/adt/int8.c:606 #: utils/adt/int8.c:666 utils/adt/int8.c:857 utils/adt/int8.c:965 -#: utils/adt/int8.c:1054 utils/adt/int8.c:1162 utils/adt/float.c:763 -#: utils/adt/float.c:827 utils/adt/float.c:2475 utils/adt/float.c:2538 +#: utils/adt/int8.c:1054 utils/adt/int8.c:1162 utils/adt/float.c:819 +#: utils/adt/float.c:883 utils/adt/float.c:2531 utils/adt/float.c:2594 #: utils/adt/cash.c:538 utils/adt/cash.c:589 utils/adt/cash.c:638 #: utils/adt/cash.c:690 utils/adt/cash.c:740 utils/adt/numeric.c:4183 #: utils/adt/numeric.c:4466 msgid "division by zero" msgstr "Division durch Null" -#: utils/adt/int.c:1352 utils/adt/timestamp.c:4701 utils/adt/timestamp.c:4782 +#: utils/adt/int.c:1352 utils/adt/timestamp.c:4702 utils/adt/timestamp.c:4783 #: utils/adt/int8.c:1420 msgid "step size cannot equal zero" msgstr "Schrittgröße kann nicht gleich null sein" @@ -3708,8 +3708,8 @@ msgid "timestamp(%d) precision must be between %d and %d" msgstr "Präzision von timestamp(%d) muss zwischen %d und %d sein" -#: utils/adt/timestamp.c:653 utils/adt/timestamp.c:3098 -#: utils/adt/timestamp.c:3228 utils/adt/timestamp.c:3613 +#: utils/adt/timestamp.c:653 utils/adt/timestamp.c:3099 +#: utils/adt/timestamp.c:3229 utils/adt/timestamp.c:3614 msgid "interval out of range" msgstr "interval-Wert ist außerhalb des gültigen Bereichs" @@ -3732,65 +3732,65 @@ msgid "interval(%d) precision must be between %d and %d" msgstr "Präzision von interval(%d) muss zwischen %d und %d sein" -#: utils/adt/timestamp.c:2301 +#: utils/adt/timestamp.c:2302 msgid "cannot subtract infinite timestamps" msgstr "kann unendliche timestamp-Werte nicht subtrahieren" -#: utils/adt/timestamp.c:3354 utils/adt/timestamp.c:3950 -#: utils/adt/timestamp.c:4009 +#: utils/adt/timestamp.c:3355 utils/adt/timestamp.c:3951 +#: utils/adt/timestamp.c:4010 #, c-format msgid "timestamp units \"%s\" not supported" msgstr "»timestamp«-Einheit »%s« nicht unterstützt" -#: utils/adt/timestamp.c:3368 utils/adt/timestamp.c:4019 +#: utils/adt/timestamp.c:3369 utils/adt/timestamp.c:4020 #, c-format msgid "timestamp units \"%s\" not recognized" msgstr "»timestamp«-Einheit »%s« nicht erkannt" -#: utils/adt/timestamp.c:3509 utils/adt/timestamp.c:4181 -#: utils/adt/timestamp.c:4222 +#: utils/adt/timestamp.c:3510 utils/adt/timestamp.c:4182 +#: utils/adt/timestamp.c:4223 #, c-format msgid "timestamp with time zone units \"%s\" not supported" msgstr "»timestamp with time zone«-Einheit »%s« nicht unterstützt" -#: utils/adt/timestamp.c:3526 utils/adt/timestamp.c:4231 +#: utils/adt/timestamp.c:3527 utils/adt/timestamp.c:4232 #, c-format msgid "timestamp with time zone units \"%s\" not recognized" msgstr "»timestamp with time zone«-Einheit »%s« nicht erkannt" -#: utils/adt/timestamp.c:3606 utils/adt/timestamp.c:4337 +#: utils/adt/timestamp.c:3607 utils/adt/timestamp.c:4338 #, c-format msgid "interval units \"%s\" not supported" msgstr "»interval«-Einheit »%s« nicht unterstützt" -#: utils/adt/timestamp.c:3622 utils/adt/timestamp.c:4364 +#: utils/adt/timestamp.c:3623 utils/adt/timestamp.c:4365 #, c-format msgid "interval units \"%s\" not recognized" msgstr "»interval«-Einheit »%s« nicht erkannt" -#: utils/adt/timestamp.c:4434 utils/adt/timestamp.c:4607 +#: utils/adt/timestamp.c:4435 utils/adt/timestamp.c:4608 #, c-format msgid "could not convert to time zone \"%s\"" msgstr "konnte nicht in Zeitzone »%s« umwandeln" -#: utils/adt/timestamp.c:4441 utils/adt/timestamp.c:4614 utils/adt/date.c:2619 -#: utils/adt/datetime.c:928 utils/adt/datetime.c:1663 +#: utils/adt/timestamp.c:4442 utils/adt/timestamp.c:4615 utils/adt/date.c:2619 +#: utils/adt/datetime.c:928 utils/adt/datetime.c:1657 #, c-format msgid "time zone \"%s\" not recognized" msgstr "Zeitzone »%s« nicht erkannt" -#: utils/adt/timestamp.c:4466 utils/adt/timestamp.c:4640 +#: utils/adt/timestamp.c:4467 utils/adt/timestamp.c:4641 #, c-format msgid "interval time zone \"%s\" must not specify month" msgstr "Intervall-Zeitzone »%s« darf keinen Monat angeben" -#: utils/adt/selfuncs.c:4566 +#: utils/adt/selfuncs.c:4572 msgid "case insensitive matching not supported on type bytea" msgstr "" "Mustersuche ohne Rücksicht auf Groß-/Kleinschreibung wird für Typ bytea " "nicht unterstützt" -#: utils/adt/selfuncs.c:4661 +#: utils/adt/selfuncs.c:4667 msgid "regular-expression matching not supported on type bytea" msgstr "" "Mustersuche mit regulären Ausdrücken wird für Typ bytea nicht unterstützt" @@ -3830,7 +3830,7 @@ msgid "invalid name syntax" msgstr "ungültige Namenssyntax" -#: utils/adt/varlena.c:2675 +#: utils/adt/varlena.c:2678 msgid "field position must be greater than zero" msgstr "Feldposition muss größer als null sein" @@ -3999,67 +3999,67 @@ msgid "value out of range: underflow" msgstr "Wert ist außerhalb des gültigen Bereichs: Unterlauf" -#: utils/adt/float.c:205 utils/adt/float.c:246 utils/adt/float.c:297 +#: utils/adt/float.c:205 utils/adt/float.c:269 utils/adt/float.c:325 #, c-format msgid "invalid input syntax for type real: \"%s\"" msgstr "ungültige Eingabesyntax für Typ real: »%s«" -#: utils/adt/float.c:241 +#: utils/adt/float.c:264 #, c-format msgid "\"%s\" is out of range for type real" msgstr "»%s« ist außerhalb des gültigen Bereichs für Typ real" -#: utils/adt/float.c:398 utils/adt/float.c:439 utils/adt/float.c:490 +#: utils/adt/float.c:426 utils/adt/float.c:490 utils/adt/float.c:546 #: utils/adt/numeric.c:3645 utils/adt/numeric.c:3671 #, c-format msgid "invalid input syntax for type double precision: \"%s\"" msgstr "ungültige Eingabesyntax für Typ double precision: »%s«" -#: utils/adt/float.c:434 +#: utils/adt/float.c:485 #, c-format msgid "\"%s\" is out of range for type double precision" msgstr "»%s« ist außerhalb des gültigen Bereichs für Typ double precision" -#: utils/adt/float.c:1302 utils/adt/numeric.c:4859 +#: utils/adt/float.c:1358 utils/adt/numeric.c:4859 msgid "cannot take square root of a negative number" msgstr "Quadratwurzel von negativer Zahl kann nicht ermittelt werden" -#: utils/adt/float.c:1344 utils/adt/numeric.c:1948 +#: utils/adt/float.c:1400 utils/adt/numeric.c:1948 msgid "zero raised to a negative power is undefined" msgstr "null hoch eine negative Zahl ist undefiniert" -#: utils/adt/float.c:1348 utils/adt/numeric.c:1954 +#: utils/adt/float.c:1404 utils/adt/numeric.c:1954 msgid "a negative number raised to a non-integer power yields a complex result" msgstr "" "eine negative Zahl hoch eine nicht ganze Zahl ergibt ein komplexes Ergebnis" -#: utils/adt/float.c:1414 utils/adt/float.c:1444 utils/adt/numeric.c:5077 +#: utils/adt/float.c:1470 utils/adt/float.c:1500 utils/adt/numeric.c:5077 msgid "cannot take logarithm of zero" msgstr "Logarithmus von null kann nicht ermittelt werden" -#: utils/adt/float.c:1418 utils/adt/float.c:1448 utils/adt/numeric.c:5081 +#: utils/adt/float.c:1474 utils/adt/float.c:1504 utils/adt/numeric.c:5081 msgid "cannot take logarithm of a negative number" msgstr "Logarithmus negativer Zahlen kann nicht ermittelt werden" -#: utils/adt/float.c:1475 utils/adt/float.c:1496 utils/adt/float.c:1517 -#: utils/adt/float.c:1539 utils/adt/float.c:1560 utils/adt/float.c:1581 -#: utils/adt/float.c:1603 utils/adt/float.c:1624 +#: utils/adt/float.c:1531 utils/adt/float.c:1552 utils/adt/float.c:1573 +#: utils/adt/float.c:1595 utils/adt/float.c:1616 utils/adt/float.c:1637 +#: utils/adt/float.c:1659 utils/adt/float.c:1680 msgid "input is out of range" msgstr "Eingabe ist außerhalb des gültigen Bereichs" -#: utils/adt/float.c:2692 utils/adt/numeric.c:955 +#: utils/adt/float.c:2748 utils/adt/numeric.c:955 msgid "count must be greater than zero" msgstr "Anzahl muss größer als null sein" -#: utils/adt/float.c:2697 utils/adt/numeric.c:962 +#: utils/adt/float.c:2753 utils/adt/numeric.c:962 msgid "operand, lower bound and upper bound cannot be NaN" msgstr "Operand, Untergrenze und Obergrenze dürfen nicht NaN sein" -#: utils/adt/float.c:2703 +#: utils/adt/float.c:2759 msgid "lower and upper bounds must be finite" msgstr "Untergrenze und Obergrenze müssen endlich sein" -#: utils/adt/float.c:2741 utils/adt/numeric.c:975 +#: utils/adt/float.c:2797 utils/adt/numeric.c:975 msgid "lower bound cannot equal upper bound" msgstr "Untergrenze kann nicht gleich der Obergrenze sein" @@ -4120,105 +4120,110 @@ msgid "\"%s\" is not a number" msgstr "»%s« ist keine Zahl" -#: utils/adt/formatting.c:1790 +#: utils/adt/formatting.c:1885 msgid "invalid combination of date conventions" msgstr "ungültige Kombination von Datumskonventionen" -#: utils/adt/formatting.c:1791 +#: utils/adt/formatting.c:1886 msgid "" "Do not mix Gregorian and ISO week date conventions in a formatting template." msgstr "" "Die Gregorianische und die ISO-Konvention für Wochendaten können nicht einer " "Formatvorlage gemischt werden." -#: utils/adt/formatting.c:1808 +#: utils/adt/formatting.c:1903 #, c-format msgid "conflicting values for \"%s\" field in formatting string" msgstr "widersprüchliche Werte für das Feld »%s« in Formatzeichenkette" -#: utils/adt/formatting.c:1810 +#: utils/adt/formatting.c:1905 msgid "This value contradicts a previous setting for the same field type." msgstr "" "Der Wert widerspricht einer vorherigen Einstellung für den selben Feldtyp." -#: utils/adt/formatting.c:1871 +#: utils/adt/formatting.c:1966 #, c-format msgid "source string too short for \"%s\" formatting field" msgstr "Quellzeichenkette zu kurz für Formatfeld »%s»" -#: utils/adt/formatting.c:1873 +#: utils/adt/formatting.c:1968 #, c-format msgid "Field requires %d characters, but only %d remain." msgstr "Feld benötigt %d Zeichen, aber nur %d verbleiben." -#: utils/adt/formatting.c:1876 utils/adt/formatting.c:1890 +#: utils/adt/formatting.c:1971 utils/adt/formatting.c:1985 msgid "" "If your source string is not fixed-width, try using the \"FM\" modifier." msgstr "" "Wenn die Quellzeichenkette keine feste Breite hat, versuchen Sie den " "Modifikator »FM«." -#: utils/adt/formatting.c:1886 utils/adt/formatting.c:1899 -#: utils/adt/formatting.c:2029 +#: utils/adt/formatting.c:1981 utils/adt/formatting.c:1994 +#: utils/adt/formatting.c:2124 #, c-format msgid "invalid value \"%s\" for \"%s\"" msgstr "ungültiger Wert »%s« für »%s«" -#: utils/adt/formatting.c:1888 +#: utils/adt/formatting.c:1983 #, c-format msgid "Field requires %d characters, but only %d could be parsed." msgstr "Feld benötigt %d Zeichen, aber nur %d konnten geparst werden." -#: utils/adt/formatting.c:1901 +#: utils/adt/formatting.c:1996 msgid "Value must be an integer." msgstr "Der Wert muss eine ganze Zahl sein." -#: utils/adt/formatting.c:1906 +#: utils/adt/formatting.c:2001 #, c-format msgid "value for \"%s\" in source string is out of range" msgstr "" "Wert für »%s« in der Eingabezeichenkette ist außerhalb des gültigen Bereichs" -#: utils/adt/formatting.c:1908 +#: utils/adt/formatting.c:2003 #, c-format msgid "Value must be in the range %d to %d." msgstr "Der Wert muss im Bereich %d bis %d sein." -#: utils/adt/formatting.c:2031 +#: utils/adt/formatting.c:2126 msgid "The given value did not match any of the allowed values for this field." msgstr "" "Der angegebene Wert stimmte mit keinem der für dieses Feld zulässigen Werte " "überein." -#: utils/adt/formatting.c:2593 +#: utils/adt/formatting.c:2681 msgid "\"TZ\"/\"tz\" format patterns are not supported in to_date" msgstr "Formatmuster »TZ«/»tz« werden in to_date nicht unterstützt" -#: utils/adt/formatting.c:2694 +#: utils/adt/formatting.c:2782 msgid "invalid input string for \"Y,YYY\"" msgstr "ungültige Eingabe für »Y,YYY«" -#: utils/adt/formatting.c:3208 +#: utils/adt/formatting.c:3173 utils/adt/date.c:167 +#, c-format +msgid "date out of range: \"%s\"" +msgstr "date ist außerhalb des gültigen Bereichs: »%s«" + +#: utils/adt/formatting.c:3302 #, c-format msgid "hour \"%d\" is invalid for the 12-hour clock" msgstr "Stunde »%d« ist bei einer 12-Stunden-Uhr ungültig" -#: utils/adt/formatting.c:3210 +#: utils/adt/formatting.c:3304 msgid "Use the 24-hour clock, or give an hour between 1 and 12." msgstr "" "Verwenden Sie die 24-Stunden-Uhr oder geben Sie eine Stunde zwischen 1 und " "12 an." -#: utils/adt/formatting.c:3248 +#: utils/adt/formatting.c:3342 #, c-format msgid "inconsistent use of year %04d and \"BC\"" msgstr "inkonsistente Verwendung von Jahr %04d und »BC«" -#: utils/adt/formatting.c:3295 +#: utils/adt/formatting.c:3389 msgid "cannot calculate day of year without year information" msgstr "kann Tag des Jahres nicht berechnen ohne Jahrinformationen" -#: utils/adt/formatting.c:4160 +#: utils/adt/formatting.c:4254 msgid "\"RN\" not supported" msgstr "»RN« wird nicht unterstützt" @@ -4232,15 +4237,10 @@ msgid "TIME(%d)%s precision reduced to maximum allowed, %d" msgstr "Präzision von TIME(%d)%s auf erlaubten Höchstwert %d reduziert" -#: utils/adt/date.c:142 utils/adt/datetime.c:1186 utils/adt/datetime.c:1934 +#: utils/adt/date.c:142 utils/adt/datetime.c:1186 utils/adt/datetime.c:1928 msgid "date/time value \"current\" is no longer supported" msgstr "Datum/Zeitwert »current« wird nicht mehr unterstützt" -#: utils/adt/date.c:167 -#, c-format -msgid "date out of range: \"%s\"" -msgstr "date ist außerhalb des gültigen Bereichs: »%s«" - #: utils/adt/date.c:347 msgid "cannot subtract infinite dates" msgstr "kann unendliche date-Werte nicht subtrahieren" @@ -4334,12 +4334,12 @@ msgid "encoding conversion from %s to ASCII not supported" msgstr "Kodierungsumwandlung zwischen %s und ASCII wird nicht unterstützt" -#: utils/adt/ascii.c:126 commands/dbcommands.c:234 +#: utils/adt/ascii.c:126 commands/dbcommands.c:235 #, c-format msgid "%s is not a valid encoding name" msgstr "%s ist kein gültiger Kodierungsname" -#: utils/adt/ascii.c:144 commands/dbcommands.c:224 +#: utils/adt/ascii.c:144 commands/dbcommands.c:225 #, c-format msgid "%d is not a valid encoding code" msgstr "%d ist kein gültiger Kodierungscode" @@ -4363,8 +4363,8 @@ msgstr "Datenbank mit OID %u existiert nicht" #: utils/adt/dbsize.c:246 utils/adt/acl.c:3695 commands/tablecmds.c:412 -#: commands/tablecmds.c:6567 commands/dbcommands.c:431 -#: commands/dbcommands.c:1043 commands/indexcmds.c:210 commands/comment.c:665 +#: commands/tablecmds.c:6567 commands/dbcommands.c:432 +#: commands/dbcommands.c:1070 commands/indexcmds.c:211 commands/comment.c:665 #: commands/tablespace.c:415 commands/tablespace.c:770 #: commands/tablespace.c:837 commands/tablespace.c:939 #: commands/tablespace.c:1072 executor/execMain.c:2922 catalog/aclchk.c:613 @@ -4403,7 +4403,7 @@ msgstr "Bezeichner muss weniger als %d Zeichen haben." #. translator: first %s is inet or cidr -#: utils/adt/network.c:107 utils/adt/datetime.c:3561 +#: utils/adt/network.c:107 utils/adt/datetime.c:3555 #, c-format msgid "invalid input syntax for type %s: \"%s\"" msgstr "ungültige Eingabesyntax für Typ %s: »%s«" @@ -4502,8 +4502,8 @@ #: commands/tablecmds.c:4114 commands/tablecmds.c:5538 #: commands/tablecmds.c:5677 commands/analyze.c:271 commands/sequence.c:1349 #: commands/copy.c:3417 commands/comment.c:579 catalog/aclchk.c:672 -#: parser/analyze.c:1837 parser/parse_target.c:804 -#: parser/parse_relation.c:2068 parser/parse_relation.c:2123 +#: parser/analyze.c:1837 parser/parse_target.c:805 +#: parser/parse_relation.c:2077 parser/parse_relation.c:2132 #: parser/parse_type.c:117 #, c-format msgid "column \"%s\" of relation \"%s\" does not exist" @@ -4521,8 +4521,8 @@ msgid "rule \"%s\" has unsupported event type %d" msgstr "Regel »%s« hat nicht unterstützten Ereignistyp %d" -#: utils/adt/ruleutils.c:5316 utils/adt/ruleutils.c:5353 -#: utils/adt/ruleutils.c:5387 utils/adt/regproc.c:641 utils/adt/regproc.c:1501 +#: utils/adt/ruleutils.c:5319 utils/adt/ruleutils.c:5356 +#: utils/adt/ruleutils.c:5390 utils/adt/regproc.c:641 utils/adt/regproc.c:1501 msgid "too many arguments" msgstr "zu viele Argumente" @@ -4881,7 +4881,7 @@ msgstr "Textsuchekonfigurationsname »%s« muss Schemaqualifikation haben" #: utils/adt/tsvector_op.c:1371 commands/tablecmds.c:1838 commands/copy.c:3422 -#: commands/indexcmds.c:826 parser/parse_expr.c:472 +#: commands/indexcmds.c:833 parser/parse_expr.c:474 #, c-format msgid "column \"%s\" does not exist" msgstr "Spalte »%s« existiert nicht" @@ -4891,21 +4891,21 @@ msgid "column \"%s\" is not of a character type" msgstr "Spalte »%s« hat keinen Zeichentyp" -#: utils/adt/datetime.c:3534 utils/adt/datetime.c:3541 +#: utils/adt/datetime.c:3528 utils/adt/datetime.c:3535 #, c-format msgid "date/time field value out of range: \"%s\"" msgstr "Datum/Zeit-Feldwert ist außerhalb des gültigen Bereichs: »%s«" -#: utils/adt/datetime.c:3543 +#: utils/adt/datetime.c:3537 msgid "Perhaps you need a different \"datestyle\" setting." msgstr "Möglicherweise benötigen Sie eine andere »datestyle«-Einstellung." -#: utils/adt/datetime.c:3548 +#: utils/adt/datetime.c:3542 #, c-format msgid "interval field value out of range: \"%s\"" msgstr "»interval«-Feldwert ist außerhalb des gültigen Bereichs: »%s«" -#: utils/adt/datetime.c:3554 +#: utils/adt/datetime.c:3548 #, c-format msgid "time zone displacement out of range: \"%s\"" msgstr "Zeitzonenunterschied ist außerhalb des gültigen Bereichs: »%s«" @@ -5209,19 +5209,19 @@ msgid "must be member of role \"%s\"" msgstr "Berechtigung nur für Mitglied von Rolle »%s«" -#: utils/adt/enum.c:44 utils/adt/enum.c:55 utils/adt/enum.c:108 -#: utils/adt/enum.c:119 +#: utils/adt/enum.c:45 utils/adt/enum.c:56 utils/adt/enum.c:113 +#: utils/adt/enum.c:124 #, c-format msgid "invalid input value for enum %s: \"%s\"" msgstr "ungültiger Eingabewert für Enum %s: »%s«" -#: utils/adt/enum.c:80 utils/adt/enum.c:146 +#: utils/adt/enum.c:81 utils/adt/enum.c:151 #, c-format msgid "invalid internal value for enum: %u" msgstr "ungültiger interner Wert für Enum: %u" -#: utils/adt/enum.c:266 utils/adt/enum.c:307 utils/adt/enum.c:356 -#: utils/adt/enum.c:376 +#: utils/adt/enum.c:271 utils/adt/enum.c:312 utils/adt/enum.c:361 +#: utils/adt/enum.c:381 msgid "could not determine actual enum type" msgstr "konnte tatsächlichen Enum-Typen nicht bestimmen" @@ -5443,7 +5443,7 @@ msgstr "Geben Sie zwei Argumente für den Operator an." #: utils/adt/regproc.c:818 commands/lockcmds.c:118 catalog/namespace.c:275 -#: parser/parse_relation.c:883 parser/parse_relation.c:891 +#: parser/parse_relation.c:885 parser/parse_relation.c:893 #, c-format msgid "relation \"%s\" does not exist" msgstr "Relation »%s« existiert nicht" @@ -5639,7 +5639,7 @@ msgstr "konnte Wörterbuchdatei »%s« nicht öffnen: %m" #: tsearch/spell.c:444 tsearch/spell.c:461 tsearch/spell.c:478 -#: tsearch/spell.c:495 tsearch/spell.c:517 gram.y:10787 gram.y:10804 +#: tsearch/spell.c:495 tsearch/spell.c:517 gram.y:10810 gram.y:10827 msgid "syntax error" msgstr "Syntaxfehler" @@ -5706,21 +5706,21 @@ msgid "unrecognized simple dictionary parameter: \"%s\"" msgstr "unbekannter Parameter für das einfache Wörterbuch: »%s«" -#: tcop/pquery.c:668 +#: tcop/pquery.c:669 #, c-format msgid "bind message has %d result formats but query has %d columns" msgstr "Bind-Message hat %d Ergebnisspalten, aber Anfrage hat %d Spalten" -#: tcop/pquery.c:745 tcop/pquery.c:1366 commands/portalcmds.c:329 +#: tcop/pquery.c:746 tcop/pquery.c:1368 commands/portalcmds.c:330 #, c-format msgid "portal \"%s\" cannot be run" msgstr "Portal »%s« kann nicht ausgeführt werden" -#: tcop/pquery.c:979 +#: tcop/pquery.c:981 msgid "cursor can only scan forward" msgstr "Cursor kann nur vorwärts scannen" -#: tcop/pquery.c:980 +#: tcop/pquery.c:982 msgid "Declare it with SCROLL option to enable backward scan." msgstr "" "Deklarieren Sie ihn mit der Option SCROLL, um rückwarts scannen zu können." @@ -5793,7 +5793,7 @@ msgstr "falsches Binärdatenformat in Funktionsargument %d" #: tcop/postgres.c:384 tcop/postgres.c:396 tcop/postgres.c:407 -#: tcop/postgres.c:419 tcop/postgres.c:3948 +#: tcop/postgres.c:419 tcop/postgres.c:3955 #, c-format msgid "invalid frontend message type %d" msgstr "ungültiger Frontend-Message-Typ %d" @@ -5893,11 +5893,11 @@ msgid "parameters: %s" msgstr "Parameter: %s" -#: tcop/postgres.c:2497 +#: tcop/postgres.c:2504 msgid "terminating connection because of crash of another server process" msgstr "breche Verbindung ab wegen Absturz eines anderen Serverprozesses" -#: tcop/postgres.c:2498 +#: tcop/postgres.c:2505 msgid "" "The postmaster has commanded this server process to roll back the current " "transaction and exit, because another server process exited abnormally and " @@ -5907,7 +5907,7 @@ "zurückzurollen und die Sitzung zu beenden, weil ein anderer Serverprozess " "abnormal beendet wurde und möglicherweise das Shared Memory verfälscht hat." -#: tcop/postgres.c:2502 +#: tcop/postgres.c:2509 msgid "" "In a moment you should be able to reconnect to the database and repeat your " "command." @@ -5915,11 +5915,11 @@ "In einem Moment sollten Sie wieder mit der Datenbank verbinden und Ihren " "Befehl wiederholen können." -#: tcop/postgres.c:2621 +#: tcop/postgres.c:2628 msgid "floating-point exception" msgstr "Fließkommafehler" -#: tcop/postgres.c:2622 +#: tcop/postgres.c:2629 msgid "" "An invalid floating-point operation was signaled. This probably means an out-" "of-range result or an invalid operation, such as division by zero." @@ -5928,31 +5928,31 @@ "wahrscheinlich ein Ergebnis außerhalb des gültigen Bereichs oder eine " "ungültige Operation, zum Beispiel Division durch null." -#: tcop/postgres.c:2659 +#: tcop/postgres.c:2666 msgid "terminating autovacuum process due to administrator command" msgstr "breche Autovacuum-Prozess ab aufgrund von Anweisung des Administrators" -#: tcop/postgres.c:2663 +#: tcop/postgres.c:2670 msgid "terminating connection due to administrator command" msgstr "breche Verbindung ab aufgrund von Anweisung des Administrators" -#: tcop/postgres.c:2674 +#: tcop/postgres.c:2681 msgid "canceling statement due to statement timeout" msgstr "storniere Anfrage wegen Zeitüberschreitung" -#: tcop/postgres.c:2678 +#: tcop/postgres.c:2685 msgid "canceling autovacuum task" msgstr "storniere Autovacuum-Aufgabe" -#: tcop/postgres.c:2682 +#: tcop/postgres.c:2689 msgid "canceling statement due to user request" msgstr "storniere Anfrage wegen Benutzeraufforderung" -#: tcop/postgres.c:2809 tcop/postgres.c:2830 +#: tcop/postgres.c:2816 tcop/postgres.c:2837 msgid "stack depth limit exceeded" msgstr "Grenze für Stacktiefe überschritten" -#: tcop/postgres.c:2810 tcop/postgres.c:2831 +#: tcop/postgres.c:2817 tcop/postgres.c:2838 msgid "" "Increase the configuration parameter \"max_stack_depth\", after ensuring the " "platform's stack depth limit is adequate." @@ -5961,12 +5961,12 @@ "sichergestellt haben, dass die Stacktiefenbegrenzung Ihrer Plattform " "ausreichend ist." -#: tcop/postgres.c:2848 +#: tcop/postgres.c:2855 #, c-format msgid "\"max_stack_depth\" must not exceed %ldkB" msgstr "»max_stack_depth« darf %ldkB nicht überschreiten" -#: tcop/postgres.c:2850 +#: tcop/postgres.c:2857 msgid "" "Increase the platform's stack depth limit via \"ulimit -s\" or local " "equivalent." @@ -5974,36 +5974,36 @@ "Erhöhen Sie die Stacktiefenbegrenzung Ihrer Plattform mit »ulimit -s« oder " "der lokalen Entsprechung." -#: tcop/postgres.c:3363 +#: tcop/postgres.c:3370 msgid "invalid command-line arguments for server process" msgstr "ungültige Kommandozeilenargumente für Serverprozess" -#: tcop/postgres.c:3364 tcop/postgres.c:3378 +#: tcop/postgres.c:3371 tcop/postgres.c:3385 #, c-format msgid "Try \"%s --help\" for more information." msgstr "Versuchen Sie »%s --help« für weitere Informationen." -#: tcop/postgres.c:3376 +#: tcop/postgres.c:3383 #, c-format msgid "%s: invalid command-line arguments" msgstr "%s: ungültige Kommandozeilenargumente" -#: tcop/postgres.c:3386 +#: tcop/postgres.c:3393 #, c-format msgid "%s: no database nor user name specified" msgstr "%s: weder Datenbankname noch Benutzername angegeben" -#: tcop/postgres.c:3858 +#: tcop/postgres.c:3865 #, c-format msgid "invalid CLOSE message subtype %d" msgstr "ungültiger Subtyp %d von CLOSE-Message" -#: tcop/postgres.c:3891 +#: tcop/postgres.c:3898 #, c-format msgid "invalid DESCRIBE message subtype %d" msgstr "ungültiger Subtyp %d von DESCRIBE-Message" -#: tcop/postgres.c:4129 +#: tcop/postgres.c:4136 #, c-format msgid "" "disconnection: session time: %d:%02d:%02d.%03d user=%s database=%s host=%s%s" @@ -6127,7 +6127,7 @@ msgid "Valid values are between \"%f\" and \"%f\"." msgstr "Gültige Werte sind zwischen »%f« und »%f«." -#: access/common/tupdesc.c:547 parser/parse_relation.c:1200 +#: access/common/tupdesc.c:553 parser/parse_relation.c:1202 #, c-format msgid "column \"%s\" cannot be declared SETOF" msgstr "Spalte »%s« kann nicht als SETOF deklariert werden" @@ -6157,7 +6157,7 @@ "Werte, die größer sind als eine Pufferseite, können nicht indiziert werden." #: access/hash/hashutil.c:169 access/nbtree/nbtpage.c:432 -#: access/gist/gistutil.c:644 +#: access/gist/gistutil.c:640 #, c-format msgid "index \"%s\" contains unexpected zero page at block %u" msgstr "Index »%s« enthält unerwartete Nullseite bei Block %u" @@ -6165,12 +6165,12 @@ #: access/hash/hashutil.c:172 access/hash/hashutil.c:183 #: access/hash/hashutil.c:195 access/hash/hashutil.c:216 #: access/nbtree/nbtpage.c:435 access/nbtree/nbtpage.c:446 -#: access/gist/gistutil.c:647 access/gist/gistutil.c:658 +#: access/gist/gistutil.c:643 access/gist/gistutil.c:654 msgid "Please REINDEX it." msgstr "Bitte führen Sie REINDEX für den Index aus." #: access/hash/hashutil.c:180 access/hash/hashutil.c:192 -#: access/nbtree/nbtpage.c:443 access/gist/gistutil.c:655 +#: access/nbtree/nbtpage.c:443 access/gist/gistutil.c:651 #, c-format msgid "index \"%s\" contains corrupted page at block %u" msgstr "Index »%s« enthält korrupte Seite bei Block %u" @@ -7557,17 +7557,17 @@ msgstr "doppelter Schlüsselwert verletzt Unique-Constraint »%s«" #: access/index/indexam.c:149 commands/tablecmds.c:212 -#: commands/tablecmds.c:2183 commands/indexcmds.c:1315 commands/comment.c:502 +#: commands/tablecmds.c:2183 commands/indexcmds.c:1322 commands/comment.c:502 #, c-format msgid "\"%s\" is not an index" msgstr "»%s« ist kein Index" -#: access/gist/gistsplit.c:372 +#: access/gist/gistsplit.c:444 #, c-format msgid "picksplit method for column %d of index \"%s\" failed" msgstr "Picksplit-Methode für Spalte %d von Index »%s« fehlgeschlagen" -#: access/gist/gistsplit.c:374 +#: access/gist/gistsplit.c:446 msgid "" "The index is not optimal. To optimize it, contact a developer, or try to use " "the column as the second one in the CREATE INDEX command." @@ -7587,7 +7587,7 @@ msgid "Incomplete insertion detected during crash replay." msgstr "Unvollständige Einfügeoperation beim Crash-Replay entdeckt." -#: access/gist/gistutil.c:428 +#: access/gist/gistutil.c:424 #, c-format msgid "index \"%s\" needs VACUUM or REINDEX to finish crash recovery" msgstr "" @@ -7611,14 +7611,14 @@ msgid "could not obtain lock on relation with OID %u" msgstr "konnte Sperre für Relation mit OID %u nicht setzen" -#: commands/lockcmds.c:113 catalog/namespace.c:270 parser/parse_relation.c:870 +#: commands/lockcmds.c:113 catalog/namespace.c:270 parser/parse_relation.c:872 #, c-format msgid "relation \"%s.%s\" does not exist" msgstr "Relation »%s.%s« existiert nicht" #: commands/lockcmds.c:140 commands/tablecmds.c:194 commands/tablecmds.c:1041 -#: commands/tablecmds.c:3159 commands/indexcmds.c:172 -#: commands/indexcmds.c:1349 commands/comment.c:516 commands/trigger.c:115 +#: commands/tablecmds.c:3159 commands/indexcmds.c:173 +#: commands/indexcmds.c:1356 commands/comment.c:516 commands/trigger.c:115 #: commands/trigger.c:807 catalog/toasting.c:94 #, c-format msgid "\"%s\" is not a table" @@ -7682,32 +7682,32 @@ msgid "invalid interval value for time zone: day not allowed" msgstr "ungültige Intervallangabe für Zeitzone: Tag nicht erlaubt" -#: commands/variable.c:361 commands/variable.c:493 +#: commands/variable.c:363 commands/variable.c:495 #, c-format msgid "unrecognized time zone name: \"%s\"" msgstr "unbekannter Zeitzonenname: »%s«" -#: commands/variable.c:370 commands/variable.c:502 +#: commands/variable.c:372 commands/variable.c:504 #, c-format msgid "time zone \"%s\" appears to use leap seconds" msgstr "Zeitzone »%s« verwendet anscheinend Schaltsekunden" -#: commands/variable.c:372 commands/variable.c:504 +#: commands/variable.c:374 commands/variable.c:506 msgid "PostgreSQL does not support leap seconds." msgstr "PostgreSQL unterstützt keine Schaltsekunden." -#: commands/variable.c:557 +#: commands/variable.c:559 msgid "SET TRANSACTION ISOLATION LEVEL must be called before any query" msgstr "" "SET TRANSACTION ISOLATION LEVEL muss vor allen Anfragen aufgerufen werden" -#: commands/variable.c:566 +#: commands/variable.c:568 msgid "SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction" msgstr "" "SET TRANSACTION ISOLATION LEVEL kann nicht in einer Subtransaktion " "aufgerufen werden" -#: commands/variable.c:869 +#: commands/variable.c:871 #, c-format msgid "permission denied to set role \"%s\"" msgstr "keine Berechtigung, um Rolle »%s« zu setzen" @@ -7753,8 +7753,8 @@ "Parameter $%d mit Typ %s kann nicht in erwarteten Typ %s umgewandelt werden" #: commands/prepare.c:370 rewrite/rewriteHandler.c:949 catalog/heap.c:2211 -#: parser/parse_target.c:471 parser/parse_target.c:730 -#: parser/parse_target.c:740 parser/parse_node.c:367 +#: parser/parse_target.c:472 parser/parse_target.c:731 +#: parser/parse_target.c:741 parser/parse_node.c:379 msgid "You will need to rewrite or cast the expression." msgstr "Sie müssen den Ausdruck umschreiben oder eine Typumwandlung vornehmen." @@ -7882,8 +7882,8 @@ msgid "tables can have at most %d columns" msgstr "Tabellen können höchstens %d Spalten haben" -#: commands/tablecmds.c:1190 commands/copy.c:3429 parser/parse_target.c:820 -#: parser/parse_target.c:831 +#: commands/tablecmds.c:1190 commands/copy.c:3429 parser/parse_target.c:821 +#: parser/parse_target.c:832 #, c-format msgid "column \"%s\" specified more than once" msgstr "Spalte »%s« mehrmals angegeben" @@ -7917,7 +7917,7 @@ #: commands/tablecmds.c:1295 commands/tablecmds.c:1469 #: parser/parse_coerce.c:302 parser/parse_coerce.c:1488 #: parser/parse_coerce.c:1507 parser/parse_coerce.c:1552 -#: parser/parse_expr.c:1881 +#: parser/parse_expr.c:1896 #, c-format msgid "%s versus %s" msgstr "%s gegen %s" @@ -8523,11 +8523,11 @@ #: commands/copy.c:754 commands/copy.c:762 commands/copy.c:770 #: commands/copy.c:778 commands/copy.c:786 commands/copy.c:794 #: commands/copy.c:802 commands/copy.c:810 commands/copy.c:818 -#: commands/dbcommands.c:145 commands/dbcommands.c:153 -#: commands/dbcommands.c:161 commands/dbcommands.c:169 -#: commands/dbcommands.c:177 commands/dbcommands.c:185 -#: commands/dbcommands.c:193 commands/dbcommands.c:1323 -#: commands/dbcommands.c:1331 commands/user.c:135 commands/user.c:152 +#: commands/dbcommands.c:146 commands/dbcommands.c:154 +#: commands/dbcommands.c:162 commands/dbcommands.c:170 +#: commands/dbcommands.c:178 commands/dbcommands.c:186 +#: commands/dbcommands.c:194 commands/dbcommands.c:1350 +#: commands/dbcommands.c:1358 commands/user.c:135 commands/user.c:152 #: commands/user.c:160 commands/user.c:168 commands/user.c:176 #: commands/user.c:184 commands/user.c:192 commands/user.c:200 #: commands/user.c:208 commands/user.c:216 commands/user.c:224 @@ -9253,7 +9253,7 @@ msgid "\"%s\" is a system catalog" msgstr "»%s« ist ein Systemkatalog" -#: commands/vacuumlazy.c:269 +#: commands/vacuumlazy.c:283 #, c-format msgid "" "automatic vacuum of table \"%s.%s.%s\": index scans: %d\n" @@ -9266,23 +9266,23 @@ "Tuple: %.0f entfernt, %.0f noch vorhanden\n" "Systembenutzung: %s" -#: commands/vacuumlazy.c:324 commands/vacuum.c:1459 +#: commands/vacuumlazy.c:338 commands/vacuum.c:1459 #, c-format msgid "vacuuming \"%s.%s\"" msgstr "vacuume »%s.%s«" -#: commands/vacuumlazy.c:484 commands/vacuum.c:1518 +#: commands/vacuumlazy.c:498 commands/vacuum.c:1518 #, c-format msgid "relation \"%s\" page %u is uninitialized --- fixing" msgstr "" "Seite %2$u in Relation »%1$s« ist nicht initialisiert --- wird repariert" -#: commands/vacuumlazy.c:831 +#: commands/vacuumlazy.c:849 #, c-format msgid "\"%s\": removed %.0f row versions in %u pages" msgstr "»%s«: %.0f Zeilenversionen in %u Seiten entfernt" -#: commands/vacuumlazy.c:836 +#: commands/vacuumlazy.c:854 #, c-format msgid "" "\"%s\": found %.0f removable, %.0f nonremovable row versions in %u out of %u " @@ -9291,7 +9291,7 @@ "»%s«: %.0f entfernbare, %.0f nicht entfernbare Zeilenversionen in %u von %u " "Seiten gefunden" -#: commands/vacuumlazy.c:840 +#: commands/vacuumlazy.c:858 #, c-format msgid "" "%.0f dead row versions cannot be removed yet.\n" @@ -9304,28 +9304,28 @@ "%u Seiten sind vollkommen leer.\n" "%s." -#: commands/vacuumlazy.c:898 +#: commands/vacuumlazy.c:916 #, c-format msgid "\"%s\": removed %d row versions in %d pages" msgstr "»%s«: %d Zeilenversionen in %d Seiten entfernt" -#: commands/vacuumlazy.c:901 commands/vacuumlazy.c:994 -#: commands/vacuumlazy.c:1129 commands/vacuum.c:2861 +#: commands/vacuumlazy.c:919 commands/vacuumlazy.c:1012 +#: commands/vacuumlazy.c:1147 commands/vacuum.c:2861 #, c-format msgid "%s." msgstr "%s." -#: commands/vacuumlazy.c:991 +#: commands/vacuumlazy.c:1009 #, c-format msgid "scanned index \"%s\" to remove %d row versions" msgstr "Index »%s« gelesen und %d Zeilenversionen entfernt" -#: commands/vacuumlazy.c:1033 commands/vacuum.c:3528 commands/vacuum.c:3605 +#: commands/vacuumlazy.c:1051 commands/vacuum.c:3528 commands/vacuum.c:3605 #, c-format msgid "index \"%s\" now contains %.0f row versions in %u pages" msgstr "Index »%s« enthält %.0f Zeilenversionen in %u Seiten" -#: commands/vacuumlazy.c:1037 commands/vacuum.c:3609 +#: commands/vacuumlazy.c:1055 commands/vacuum.c:3609 #, c-format msgid "" "%.0f index row versions were removed.\n" @@ -9336,65 +9336,65 @@ "%u Indexseiten wurden gelöscht, %u sind gegenwärtig wiederverwendbar.\n" "%s." -#: commands/vacuumlazy.c:1126 commands/vacuum.c:3435 +#: commands/vacuumlazy.c:1144 commands/vacuum.c:3435 #, c-format msgid "\"%s\": truncated %u to %u pages" msgstr "»%s«: von %u auf %u Seiten verkürzt" -#: commands/dbcommands.c:200 +#: commands/dbcommands.c:201 msgid "LOCATION is not supported anymore" msgstr "LOCATION wird nicht mehr unterstützt" -#: commands/dbcommands.c:201 +#: commands/dbcommands.c:202 msgid "Consider using tablespaces instead." msgstr "Verwenden Sie stattdessen Tablespaces." -#: commands/dbcommands.c:252 commands/dbcommands.c:1355 commands/user.c:250 +#: commands/dbcommands.c:253 commands/dbcommands.c:1382 commands/user.c:250 #: commands/user.c:547 #, c-format msgid "invalid connection limit: %d" msgstr "ungültige Verbindungshöchstgrenze: %d" -#: commands/dbcommands.c:271 +#: commands/dbcommands.c:272 msgid "permission denied to create database" msgstr "keine Berechtigung, um Datenbank zu erzeugen" -#: commands/dbcommands.c:294 +#: commands/dbcommands.c:295 #, c-format msgid "template database \"%s\" does not exist" msgstr "Template-Datenbank »%s« existiert nicht" -#: commands/dbcommands.c:306 +#: commands/dbcommands.c:307 #, c-format msgid "permission denied to copy database \"%s\"" msgstr "keine Berechtigung, um Datenbank »%s« zu kopieren" -#: commands/dbcommands.c:322 +#: commands/dbcommands.c:323 #, c-format msgid "invalid server encoding %d" msgstr "ungültige Serverkodierung %d" -#: commands/dbcommands.c:328 commands/dbcommands.c:332 +#: commands/dbcommands.c:329 commands/dbcommands.c:333 #, c-format msgid "invalid locale name %s" msgstr "ungültiger Locale-Name %s" -#: commands/dbcommands.c:365 commands/dbcommands.c:379 +#: commands/dbcommands.c:366 commands/dbcommands.c:380 #, c-format msgid "encoding %s does not match locale %s" msgstr "Kodierung %s stimmt nicht mit Locale %s überein" -#: commands/dbcommands.c:368 +#: commands/dbcommands.c:369 #, c-format msgid "The chosen LC_CTYPE setting requires encoding %s." msgstr "Die gewählte LC_CTYPE-Einstellung verlangt die Kodierung %s." -#: commands/dbcommands.c:382 +#: commands/dbcommands.c:383 #, c-format msgid "The chosen LC_COLLATE setting requires encoding %s." msgstr "Die gewählte LC_COLLATE-Einstellung verlangt die Kodierung %s." -#: commands/dbcommands.c:400 +#: commands/dbcommands.c:401 #, c-format msgid "" "new encoding (%s) is incompatible with the encoding of the template database " @@ -9403,7 +9403,7 @@ "neue Kodierung (%s) ist inkompatibel mit der Kodierung der Template-" "Datenbank (%s)" -#: commands/dbcommands.c:403 +#: commands/dbcommands.c:404 msgid "" "Use the same encoding as in the template database, or use template0 as " "template." @@ -9411,7 +9411,7 @@ "Verwenden Sie die gleiche Kodierung wie die Template-Datenbank oder " "verwenden Sie template0 als Template." -#: commands/dbcommands.c:408 +#: commands/dbcommands.c:409 #, c-format msgid "" "new collation (%s) is incompatible with the collation of the template " @@ -9420,7 +9420,7 @@ "neue Sortierreihenfolge (%s) ist inkompatibel mit der Sortierreihenfolge der " "Template-Datenbank (%s)" -#: commands/dbcommands.c:410 +#: commands/dbcommands.c:411 msgid "" "Use the same collation as in the template database, or use template0 as " "template." @@ -9428,7 +9428,7 @@ "Verwenden Sie die gleiche Sortierreihenfolge wie die Template-Datenbank oder " "verwenden Sie template0 als Template." -#: commands/dbcommands.c:415 +#: commands/dbcommands.c:416 #, c-format msgid "" "new LC_CTYPE (%s) is incompatible with the LC_CTYPE of the template database " @@ -9437,7 +9437,7 @@ "neues LC_CTYPE (%s) ist inkompatibel mit dem LC_CTYPE der Template-Datenbank " "(%s)" -#: commands/dbcommands.c:417 +#: commands/dbcommands.c:418 msgid "" "Use the same LC_CTYPE as in the template database, or use template0 as " "template." @@ -9445,16 +9445,16 @@ "Verwenden Sie das gleiche LC_CTYPE wie die Template-Datenbank oder verwenden " "Sie template0 als Template." -#: commands/dbcommands.c:444 commands/dbcommands.c:1060 +#: commands/dbcommands.c:445 commands/dbcommands.c:1087 msgid "pg_global cannot be used as default tablespace" msgstr "pg_global kann nicht als Standard-Tablespace verwendet werden" -#: commands/dbcommands.c:470 +#: commands/dbcommands.c:471 #, c-format msgid "cannot assign new default tablespace \"%s\"" msgstr "kann neuen Standard-Tablespace »%s« nicht setzen" -#: commands/dbcommands.c:472 +#: commands/dbcommands.c:473 #, c-format msgid "" "There is a conflict because database \"%s\" already has some tables in this " @@ -9463,53 +9463,53 @@ "Es gibt einen Konflikt, weil Datenbank »%s« schon einige Tabellen in diesem " "Tablespace hat." -#: commands/dbcommands.c:492 commands/dbcommands.c:923 +#: commands/dbcommands.c:493 commands/dbcommands.c:950 #, c-format msgid "database \"%s\" already exists" msgstr "Datenbank »%s« existiert bereits" -#: commands/dbcommands.c:506 +#: commands/dbcommands.c:507 #, c-format msgid "source database \"%s\" is being accessed by other users" msgstr "auf Quelldatenbank »%s« wird gerade von anderen Benutzern zugegriffen" -#: commands/dbcommands.c:766 +#: commands/dbcommands.c:793 #, c-format msgid "database \"%s\" does not exist, skipping" msgstr "Datenbank »%s« existiert nicht, wird übersprungen" -#: commands/dbcommands.c:787 +#: commands/dbcommands.c:814 msgid "cannot drop a template database" msgstr "Template-Datenbank kann nicht gelöscht werden" -#: commands/dbcommands.c:793 +#: commands/dbcommands.c:820 msgid "cannot drop the currently open database" msgstr "kann aktuell geöffnete Datenbank nicht löschen" -#: commands/dbcommands.c:804 commands/dbcommands.c:945 -#: commands/dbcommands.c:1082 +#: commands/dbcommands.c:831 commands/dbcommands.c:972 +#: commands/dbcommands.c:1109 #, c-format msgid "database \"%s\" is being accessed by other users" msgstr "auf Datenbank »%s« wird von anderen Benutzern zugegriffen" -#: commands/dbcommands.c:914 +#: commands/dbcommands.c:941 msgid "permission denied to rename database" msgstr "keine Berechtigung, um Datenbank umzubenennen" -#: commands/dbcommands.c:934 +#: commands/dbcommands.c:961 msgid "current database cannot be renamed" msgstr "aktuelle Datenbank kann nicht umbenannt werden" -#: commands/dbcommands.c:1034 +#: commands/dbcommands.c:1061 msgid "cannot change the tablespace of the currently open database" msgstr "kann den Tablespace der aktuell geöffneten Datenbank nicht ändern" -#: commands/dbcommands.c:1122 +#: commands/dbcommands.c:1149 #, c-format msgid "some relations of database \"%s\" are already in tablespace \"%s\"" msgstr "einige Relationen von Datenbank »%s« ist bereits in Tablespace »%s«" -#: commands/dbcommands.c:1124 +#: commands/dbcommands.c:1151 msgid "" "You must move them back to the database's default tablespace before using " "this command." @@ -9517,19 +9517,19 @@ "Sie müssen sie zurück in den Standard-Tablespace der Datenbank verschieben, " "bevor Sie diesen Befehl verwenden können." -#: commands/dbcommands.c:1254 commands/dbcommands.c:1826 -#: commands/dbcommands.c:2021 commands/dbcommands.c:2057 +#: commands/dbcommands.c:1281 commands/dbcommands.c:1864 +#: commands/dbcommands.c:2072 commands/dbcommands.c:2108 #, c-format msgid "some useless files may be left behind in old database directory \"%s\"" msgstr "" "einige nutzlose Dateien wurde möglicherweise im alten Datenbankverzeichnis " "»%s« zurückgelassen" -#: commands/dbcommands.c:1593 +#: commands/dbcommands.c:1620 msgid "permission denied to change owner of database" msgstr "keine Berechtigung, um Eigentümer der Datenbank zu ändern" -#: commands/dbcommands.c:1914 +#: commands/dbcommands.c:1965 #, c-format msgid "" "There are %d other session(s) and %d prepared transaction(s) using the " @@ -9538,34 +9538,34 @@ "%d andere Sitzung(en) und %d vorbereitete Transaktion(en) verwenden die " "Datenbank." -#: commands/dbcommands.c:1917 +#: commands/dbcommands.c:1968 #, c-format msgid "There are %d other session(s) using the database." msgstr "%d andere Sitzung(en) verwenden die Datenbank." -#: commands/dbcommands.c:1920 +#: commands/dbcommands.c:1971 #, c-format msgid "There are %d prepared transaction(s) using the database." msgstr "%d vorbereitete Transaktion(en) verwenden die Datenbank." -#: commands/indexcmds.c:147 +#: commands/indexcmds.c:148 msgid "must specify at least one column" msgstr "mindestens eine Spalte muss angegeben werden" -#: commands/indexcmds.c:151 +#: commands/indexcmds.c:152 #, c-format msgid "cannot use more than %d columns in an index" msgstr "Index kann nicht mehr als %d Spalten enthalten" -#: commands/indexcmds.c:181 +#: commands/indexcmds.c:182 msgid "cannot create indexes on temporary tables of other sessions" msgstr "kann keine Indexe für temporäre Tabellen anderer Sitzungen erzeugen" -#: commands/indexcmds.c:274 +#: commands/indexcmds.c:275 msgid "substituting access method \"gist\" for obsolete method \"rtree\"" msgstr "ersetze Zugriffsmethode »gist« für obsolete Methode »rtree«" -#: commands/indexcmds.c:284 commands/opclasscmds.c:290 +#: commands/indexcmds.c:285 commands/opclasscmds.c:290 #: commands/opclasscmds.c:682 commands/opclasscmds.c:785 #: commands/opclasscmds.c:1517 commands/opclasscmds.c:1580 #: commands/opclasscmds.c:1748 commands/opclasscmds.c:1848 @@ -9575,77 +9575,77 @@ msgid "access method \"%s\" does not exist" msgstr "Zugriffsmethode »%s« existiert nicht" -#: commands/indexcmds.c:293 +#: commands/indexcmds.c:294 #, c-format msgid "access method \"%s\" does not support unique indexes" msgstr "Zugriffsmethode »%s« unterstützt keine Unique Indexe" -#: commands/indexcmds.c:298 +#: commands/indexcmds.c:299 #, c-format msgid "access method \"%s\" does not support multicolumn indexes" msgstr "Zugriffsmethode »%s« unterstützt keine mehrspaltigen Indexe" -#: commands/indexcmds.c:331 parser/parse_utilcmd.c:1057 +#: commands/indexcmds.c:332 parser/parse_utilcmd.c:1057 #: parser/parse_utilcmd.c:1141 #, c-format msgid "multiple primary keys for table \"%s\" are not allowed" msgstr "mehrere Primärschlüssel für Tabelle »%s« nicht erlaubt" -#: commands/indexcmds.c:348 +#: commands/indexcmds.c:349 msgid "primary keys cannot be expressions" msgstr "Primärschlüssel können keine Ausdrücke sein" -#: commands/indexcmds.c:378 commands/indexcmds.c:821 +#: commands/indexcmds.c:379 commands/indexcmds.c:828 #: parser/parse_utilcmd.c:1256 #, c-format msgid "column \"%s\" named in key does not exist" msgstr "Spalte »%s«, die im Schlüssel verwendet wird, existiert nicht" -#: commands/indexcmds.c:433 +#: commands/indexcmds.c:434 #, c-format msgid "%s %s will create implicit index \"%s\" for table \"%s\"" msgstr "%s %s erstellt implizit einen Index »%s« für Tabelle »%s«" -#: commands/indexcmds.c:762 +#: commands/indexcmds.c:769 msgid "cannot use subquery in index predicate" msgstr "Unteranfragen können nicht im Indexprädikat verwendet werden" -#: commands/indexcmds.c:766 +#: commands/indexcmds.c:773 msgid "cannot use aggregate in index predicate" msgstr "Aggregatfunktionen können nicht im Indexprädikat verwendet werden" -#: commands/indexcmds.c:775 +#: commands/indexcmds.c:782 msgid "functions in index predicate must be marked IMMUTABLE" msgstr "Funktionen im Indexprädikat müssen als IMMUTABLE markiert sein" -#: commands/indexcmds.c:860 +#: commands/indexcmds.c:867 msgid "cannot use subquery in index expression" msgstr "Unteranfragen können nicht in Indexausdrücken verwendet werden" -#: commands/indexcmds.c:864 +#: commands/indexcmds.c:871 msgid "cannot use aggregate function in index expression" msgstr "Aggregatfunktionen können nicht in Indexausdrücken verwendet werden" -#: commands/indexcmds.c:874 +#: commands/indexcmds.c:881 msgid "functions in index expression must be marked IMMUTABLE" msgstr "Funktionen im Indexausdruck müssen als IMMUTABLE markiert sein" -#: commands/indexcmds.c:911 +#: commands/indexcmds.c:918 #, c-format msgid "access method \"%s\" does not support ASC/DESC options" msgstr "Zugriffsmethode »%s« unterstützt die Optionen ASC/DESC nicht" -#: commands/indexcmds.c:916 +#: commands/indexcmds.c:923 #, c-format msgid "access method \"%s\" does not support NULLS FIRST/LAST options" msgstr "Zugriffsmethode »%s« unterstützt die Optionen NULLS FIRST/LAST nicht" -#: commands/indexcmds.c:972 +#: commands/indexcmds.c:979 #, c-format msgid "data type %s has no default operator class for access method \"%s\"" msgstr "Datentyp %s hat keine Standardoperatorklasse für Zugriffsmethode »%s«" -#: commands/indexcmds.c:974 +#: commands/indexcmds.c:981 msgid "" "You must specify an operator class for the index or define a default " "operator class for the data type." @@ -9653,7 +9653,7 @@ "Sie müssen für den Index eine Operatorklasse angeben oder eine " "Standardoperatorklasse für den Datentyp definieren." -#: commands/indexcmds.c:1004 commands/indexcmds.c:1014 +#: commands/indexcmds.c:1011 commands/indexcmds.c:1021 #: commands/opclasscmds.c:1529 commands/opclasscmds.c:1533 #: commands/opclasscmds.c:1770 commands/opclasscmds.c:1781 #: commands/opclasscmds.c:1969 commands/opclasscmds.c:1980 @@ -9662,33 +9662,33 @@ msgid "operator class \"%s\" does not exist for access method \"%s\"" msgstr "Operatorklasse »%s« existiert nicht für Zugriffsmethode »%s«" -#: commands/indexcmds.c:1027 +#: commands/indexcmds.c:1034 #, c-format msgid "operator class \"%s\" does not accept data type %s" msgstr "Operatorklasse »%s« akzeptiert Datentyp %s nicht" -#: commands/indexcmds.c:1117 +#: commands/indexcmds.c:1124 #, c-format msgid "there are multiple default operator classes for data type %s" msgstr "es gibt mehrere Standardoperatorklassen für Datentyp %s" -#: commands/indexcmds.c:1361 +#: commands/indexcmds.c:1368 #, c-format msgid "shared table \"%s\" can only be reindexed in stand-alone mode" msgstr "" "Cluster-globale Tabelle »%s« kann nur im Einzelbenutzermodus reindiziert " "werden" -#: commands/indexcmds.c:1368 +#: commands/indexcmds.c:1375 #, c-format msgid "table \"%s\" has no indexes" msgstr "Tabelle »%s« hat keine Indexe" -#: commands/indexcmds.c:1396 +#: commands/indexcmds.c:1403 msgid "can only reindex the currently open database" msgstr "aktuell geöffnete Datenbank kann nicht reindiziert werden" -#: commands/indexcmds.c:1487 +#: commands/indexcmds.c:1494 #, c-format msgid "table \"%s\" was reindexed" msgstr "Tabelle »%s« wurde neu indiziert" @@ -9938,8 +9938,8 @@ msgid "must be superuser to comment on procedural language" msgstr "nur Superuser können Kommentare für prozedurale Sprachen erzeugen" -#: commands/comment.c:1423 storage/large_object/inv_api.c:266 -#: storage/large_object/inv_api.c:371 catalog/pg_largeobject.c:107 +#: commands/comment.c:1423 storage/large_object/inv_api.c:255 +#: storage/large_object/inv_api.c:379 catalog/pg_largeobject.c:107 #, c-format msgid "large object %u does not exist" msgstr "Large Object %u existiert nicht" @@ -10072,7 +10072,7 @@ msgid "invalid cursor name: must not be empty" msgstr "ungültiger Cursorname: darf nicht leer sein" -#: commands/portalcmds.c:402 +#: commands/portalcmds.c:404 msgid "could not reposition held cursor" msgstr "konnte gehaltenen Cursor nicht umpositionieren" @@ -10981,7 +10981,7 @@ #: nodes/nodeFuncs.c:107 nodes/nodeFuncs.c:133 parser/parse_coerce.c:1618 #: parser/parse_coerce.c:1635 parser/parse_coerce.c:1693 -#: parser/parse_expr.c:1497 parser/parse_oper.c:994 parser/parse_func.c:310 +#: parser/parse_expr.c:1499 parser/parse_oper.c:994 parser/parse_func.c:310 #, c-format msgid "could not find array type for data type %s" msgstr "konnte Arraytyp für Datentyp %s nicht finden" @@ -11028,7 +11028,7 @@ msgid "SQL function \"%s\" statement %d" msgstr "SQL-Funktion »%s« Anweisung %d" -#: executor/functions.c:933 catalog/pg_proc.c:807 +#: executor/functions.c:933 catalog/pg_proc.c:823 #, c-format msgid "SQL function \"%s\"" msgstr "SQL-Funktion »%s«" @@ -11429,19 +11429,19 @@ msgid "could not implement DISTINCT" msgstr "konnte DISTINCT nicht implementieren" -#: optimizer/plan/planner.c:2523 +#: optimizer/plan/planner.c:2538 msgid "could not implement window PARTITION BY" msgstr "konnte PARTITION BY für Fenster nicht implementieren" -#: optimizer/plan/planner.c:2524 +#: optimizer/plan/planner.c:2539 msgid "Window partitioning columns must be of sortable datatypes." msgstr "Fensterpartitionierungsspalten müssen sortierbare Datentypen haben." -#: optimizer/plan/planner.c:2528 +#: optimizer/plan/planner.c:2543 msgid "could not implement window ORDER BY" msgstr "konnte ORDER BY für Fenster nicht implementieren" -#: optimizer/plan/planner.c:2529 +#: optimizer/plan/planner.c:2544 msgid "Window ordering columns must be of sortable datatypes." msgstr "Fenstersortierspalten müssen sortierbare Datentypen haben." @@ -11463,7 +11463,7 @@ msgid "could not implement %s" msgstr "konnte %s nicht implementieren" -#: optimizer/util/clauses.c:3835 +#: optimizer/util/clauses.c:3856 #, c-format msgid "SQL function \"%s\" during inlining" msgstr "SQL-Funktion »%s« beim Inlining" @@ -12316,31 +12316,31 @@ msgid "could not write server file \"%s\": %m" msgstr "konnte Serverdatei »%s« nicht schreiben: %m" -#: storage/file/fd.c:385 +#: storage/file/fd.c:391 #, c-format msgid "getrlimit failed: %m" msgstr "getrlimit fehlgeschlagen: %m" -#: storage/file/fd.c:475 +#: storage/file/fd.c:481 msgid "insufficient file descriptors available to start server process" msgstr "nicht genug Dateideskriptoren verfügbar, um Serverprozess zu starten" -#: storage/file/fd.c:476 +#: storage/file/fd.c:482 #, c-format msgid "System allows %d, we need at least %d." msgstr "System erlaubt %d, wir benötigen mindestens %d." -#: storage/file/fd.c:517 storage/file/fd.c:1414 storage/file/fd.c:1529 +#: storage/file/fd.c:523 storage/file/fd.c:1423 storage/file/fd.c:1538 #, c-format msgid "out of file descriptors: %m; release and retry" msgstr "keine Dateideskriptoren mehr: %m; freigeben und nochmal versuchen" -#: storage/file/fd.c:1070 +#: storage/file/fd.c:1079 #, c-format msgid "temporary file: path \"%s\", size %lu" msgstr "temporäre Datei: Pfad »%s«, Größe %lu" -#: storage/file/fd.c:1588 +#: storage/file/fd.c:1597 #, c-format msgid "could not read directory \"%s\": %m" msgstr "konnte Verzeichnis »%s« nicht lesen: %m" @@ -12400,7 +12400,7 @@ msgid "no empty local buffer available" msgstr "kein leerer lokaler Puffer verfügbar" -#: storage/large_object/inv_api.c:545 storage/large_object/inv_api.c:736 +#: storage/large_object/inv_api.c:553 storage/large_object/inv_api.c:744 #, c-format msgid "large object %u was not opened for writing" msgstr "Large Object %u wurde nicht zum Schreiben geöffnet" @@ -13019,63 +13019,67 @@ msgid "\"%s\" is already an attribute of type %s" msgstr "»%s« ist schon ein Attribut von Typ %s" -#: catalog/pg_proc.c:361 +#: catalog/pg_proc.c:290 +msgid "window functions cannot have default arguments" +msgstr "Fensterfunktionen können keine Vorgabeargumente haben" + +#: catalog/pg_proc.c:367 #, c-format msgid "function \"%s\" already exists with same argument types" msgstr "Funktion »%s« existiert bereits mit den selben Argumenttypen" -#: catalog/pg_proc.c:375 catalog/pg_proc.c:397 +#: catalog/pg_proc.c:381 catalog/pg_proc.c:403 msgid "cannot change return type of existing function" msgstr "kann Rückgabetyp einer bestehenden Funktion nicht ändern" -#: catalog/pg_proc.c:376 catalog/pg_proc.c:399 catalog/pg_proc.c:422 -#: catalog/pg_proc.c:448 +#: catalog/pg_proc.c:382 catalog/pg_proc.c:405 catalog/pg_proc.c:428 +#: catalog/pg_proc.c:454 msgid "Use DROP FUNCTION first." msgstr "Verwenden Sie zuerst DROP FUNCTION." -#: catalog/pg_proc.c:398 +#: catalog/pg_proc.c:404 msgid "Row type defined by OUT parameters is different." msgstr "Der von OUT-Parametern bestimmte Zeilentyp ist verschieden." -#: catalog/pg_proc.c:421 +#: catalog/pg_proc.c:427 msgid "cannot remove parameter defaults from existing function" msgstr "kann Parametervorgabewerte einer bestehenden Funktion nicht entfernen" -#: catalog/pg_proc.c:447 +#: catalog/pg_proc.c:453 msgid "cannot change data type of existing parameter default value" msgstr "kann Datentyp eines bestehenden Parametervorgabewerts nicht ändern" -#: catalog/pg_proc.c:459 +#: catalog/pg_proc.c:465 #, c-format msgid "function \"%s\" is an aggregate function" msgstr "Funktion »%s« ist eine Aggregatfunktion" -#: catalog/pg_proc.c:464 +#: catalog/pg_proc.c:470 #, c-format msgid "function \"%s\" is not an aggregate function" msgstr "Funktion »%s« ist keine Aggregatfunktion" -#: catalog/pg_proc.c:472 +#: catalog/pg_proc.c:478 #, c-format msgid "function \"%s\" is a window function" msgstr "Funktion %s ist eine Fensterfunktion" -#: catalog/pg_proc.c:477 +#: catalog/pg_proc.c:483 #, c-format msgid "function \"%s\" is not a window function" msgstr "Funktion »%s« ist keine Fensterfunktion" -#: catalog/pg_proc.c:630 +#: catalog/pg_proc.c:646 #, c-format msgid "there is no built-in function named \"%s\"" msgstr "es gibt keine eingebaute Funktion namens %s" -#: catalog/pg_proc.c:726 +#: catalog/pg_proc.c:742 #, c-format msgid "SQL functions cannot return type %s" msgstr "SQL-Funktionen können keinen Rückgabetyp »%s« haben" -#: catalog/pg_proc.c:741 +#: catalog/pg_proc.c:757 #, c-format msgid "SQL functions cannot have arguments of type %s" msgstr "SQL-Funktionen können keine Argumente vom Typ »%s« haben" @@ -13160,7 +13164,7 @@ "kann Objekte, die %s gehören, nicht löschen, weil sie vom Datenbanksystem " "benötigt werden" -#: catalog/pg_shdepend.c:1299 +#: catalog/pg_shdepend.c:1302 #, c-format msgid "" "cannot reassign ownership of objects owned by %s because they are required " @@ -13579,13 +13583,13 @@ msgid "no schema has been selected to create in" msgstr "kein Schema für die Objekterzeugung ausgewählt" -#: catalog/namespace.c:2076 parser/parse_expr.c:584 parser/parse_target.c:909 +#: catalog/namespace.c:2076 parser/parse_expr.c:586 parser/parse_target.c:910 #, c-format msgid "cross-database references are not implemented: %s" msgstr "Verweise auf andere Datenbanken sind nicht implementiert: %s" -#: catalog/namespace.c:2082 gram.y:3434 gram.y:9931 parser/parse_expr.c:618 -#: parser/parse_target.c:919 +#: catalog/namespace.c:2082 gram.y:3434 gram.y:9954 parser/parse_expr.c:620 +#: parser/parse_target.c:920 #, c-format msgid "improper qualified name (too many dotted names): %s" msgstr "falscher qualifizierter Name (zu viele Namensteile): %s" @@ -14313,20 +14317,20 @@ msgid "%s: could not determine user name (GetUserName failed)\n" msgstr "%s: konnte Benutzername nicht ermitteln (GetUserName fehlgeschlagen)\n" -#: parser/parse_coerce.c:283 parser/analyze.c:2276 parser/parse_expr.c:647 -#: parser/parse_expr.c:654 +#: parser/parse_coerce.c:283 parser/analyze.c:2276 parser/parse_expr.c:649 +#: parser/parse_expr.c:656 #, c-format msgid "there is no parameter $%d" msgstr "es gibt keinen Parameter $%d" -#: parser/parse_coerce.c:300 parser/parse_expr.c:1879 +#: parser/parse_coerce.c:300 parser/parse_expr.c:1894 #, c-format msgid "inconsistent types deduced for parameter $%d" msgstr "inkonsistente Typen für Parameter $%d ermittelt" #: parser/parse_coerce.c:891 parser/parse_coerce.c:920 #: parser/parse_coerce.c:938 parser/parse_coerce.c:953 -#: parser/parse_expr.c:1531 parser/parse_expr.c:2034 +#: parser/parse_expr.c:1533 parser/parse_expr.c:2049 #, c-format msgid "cannot cast type %s to %s" msgstr "kann Typ %s nicht in Typ %s umwandeln" @@ -14420,7 +14424,7 @@ msgid "time zone interval must be HOUR or HOUR TO MINUTE" msgstr "Zeitzonenintervall muss HOUR oder HOUR TO MINUTE sein" -#: gram.y:1326 gram.y:7744 gram.y:10037 +#: gram.y:1326 gram.y:7744 gram.y:10060 msgid "interval precision specified twice" msgstr "Intervallpräzision doppelt angegeben" @@ -14502,55 +14506,55 @@ msgid "UNIQUE predicate is not yet implemented" msgstr "UNIQUE-Prädikat ist noch nicht implementiert" -#: gram.y:9414 gram.y:9429 +#: gram.y:9437 gram.y:9452 msgid "frame start cannot be UNBOUNDED FOLLOWING" msgstr "Frame-Beginn kann nicht UNBOUNDED FOLLOWING sein" -#: gram.y:9419 gram.y:9434 +#: gram.y:9442 gram.y:9457 msgid "frame start at CURRENT ROW is not implemented" msgstr "Frame-Beginn bei CURRENT ROW ist nicht implementiert" -#: gram.y:9439 +#: gram.y:9462 msgid "frame end cannot be UNBOUNDED PRECEDING" msgstr "Frame-Ende kann nicht UNBOUNDED PRECEDING sein" -#: gram.y:10559 +#: gram.y:10582 msgid "OLD used in query that is not in a rule" msgstr "OLD in einer Anfrage verwendet, die nicht Teil einer Regel ist" -#: gram.y:10569 +#: gram.y:10592 msgid "NEW used in query that is not in a rule" msgstr "NEW in einer Anfrage verwendet, die nicht Teil einer Regel ist" -#: gram.y:10617 gram.y:10824 +#: gram.y:10640 gram.y:10847 msgid "improper use of \"*\"" msgstr "unzulässige Verwendung von »*«" -#: gram.y:10756 +#: gram.y:10779 msgid "wrong number of parameters on left side of OVERLAPS expression" msgstr "falsche Anzahl Parameter auf linker Seite von OVERLAPS-Ausdruck" -#: gram.y:10763 +#: gram.y:10786 msgid "wrong number of parameters on right side of OVERLAPS expression" msgstr "falsche Anzahl Parameter auf rechter Seite von OVERLAPS-Ausdruck" -#: gram.y:10886 +#: gram.y:10909 msgid "multiple ORDER BY clauses not allowed" msgstr "mehrere ORDER-BY-Klauseln sind nicht erlaubt" -#: gram.y:10897 +#: gram.y:10920 msgid "multiple OFFSET clauses not allowed" msgstr "mehrere OFFSET-Klauseln sind nicht erlaubt" -#: gram.y:10906 +#: gram.y:10929 msgid "multiple LIMIT clauses not allowed" msgstr "mehrere LIMIT-Klauseln sind nicht erlaubt" -#: gram.y:10915 +#: gram.y:10938 msgid "multiple WITH clauses not allowed" msgstr "mehrere WITH-Klauseln sind nicht erlaubt" -#: gram.y:11069 +#: gram.y:11093 msgid "OUT and INOUT arguments aren't allowed in TABLE functions" msgstr "OUT- und INOUT-Argumente sind in TABLE-Funktionen nicht erlaubt" @@ -15020,165 +15024,165 @@ msgid "window \"%s\" is already defined" msgstr "Fenster »%s« ist bereits definiert" -#: parser/parse_clause.c:1629 +#: parser/parse_clause.c:1634 #, c-format msgid "cannot override PARTITION BY clause of window \"%s\"" msgstr "PARTITION-BY-Klausel von Fenster »%s« kann nicht aufgehoben werden" -#: parser/parse_clause.c:1641 +#: parser/parse_clause.c:1646 #, c-format msgid "cannot override ORDER BY clause of window \"%s\"" msgstr "ORDER-BY-Klausel von Fenster »%s« kann nicht aufgehoben werden" -#: parser/parse_clause.c:1663 +#: parser/parse_clause.c:1676 parser/parse_clause.c:1682 #, c-format -msgid "cannot override frame clause of window \"%s\"" -msgstr "Frame-Klausel von Fenster »%s« kann nicht aufgehoben werden" +msgid "cannot copy window \"%s\" because it has a frame clause" +msgstr "kann Fenster »%s« nicht kopieren, weil es eine Frame-Klausel hat" -#: parser/parse_clause.c:1719 +#: parser/parse_clause.c:1684 +msgid "Omit the parentheses in this OVER clause." +msgstr "Lassen Sie die Klammern in dieser OVER-Klausel weg." + +#: parser/parse_clause.c:1740 msgid "for SELECT DISTINCT, ORDER BY expressions must appear in select list" msgstr "" "bei SELECT DISTINCT müssen ORDER-BY-Ausdrücke in der Select-Liste erscheinen" -#: parser/parse_clause.c:1805 parser/parse_clause.c:1837 +#: parser/parse_clause.c:1826 parser/parse_clause.c:1858 msgid "SELECT DISTINCT ON expressions must match initial ORDER BY expressions" msgstr "" "Ausdrücke in SELECT DISTINCT ON müssen mit den ersten Ausdrücken in ORDER BY " "übereinstimmen" -#: parser/parse_clause.c:1956 +#: parser/parse_clause.c:1977 #, c-format msgid "operator %s is not a valid ordering operator" msgstr "Operator %s ist kein gültiger Sortieroperator" -#: parser/parse_clause.c:1958 +#: parser/parse_clause.c:1979 msgid "" "Ordering operators must be \"<\" or \">\" members of btree operator families." msgstr "" "Sortieroperatoren müssen die Mitglieder »<« oder »>« einer »btree«-" "Operatorfamilie sein." -#: parser/parse_expr.c:349 parser/parse_target.c:596 +#: parser/parse_expr.c:351 parser/parse_target.c:597 msgid "row expansion via \"*\" is not supported here" msgstr "Zeilenexpansion mit »*« wird hier nicht unterstützt" -#: parser/parse_expr.c:900 +#: parser/parse_expr.c:902 msgid "NULLIF requires = operator to yield boolean" msgstr "NULLIF erfordert, dass Operator = boolean ergibt" -#: parser/parse_expr.c:1073 -msgid "arguments of row IN must all be row expressions" -msgstr "Argumente von Zeilen-IN müssen alle Zeilenausdrücke sein" - -#: parser/parse_expr.c:1276 +#: parser/parse_expr.c:1278 msgid "subquery cannot have SELECT INTO" msgstr "Unteranfrage kann kein SELECT INTO enthalten" -#: parser/parse_expr.c:1304 +#: parser/parse_expr.c:1306 msgid "subquery must return a column" msgstr "Unteranfrage muss eine Spalte zurückgeben" -#: parser/parse_expr.c:1311 +#: parser/parse_expr.c:1313 msgid "subquery must return only one column" msgstr "Unteranfrage darf nur eine Spalte zurückgeben" -#: parser/parse_expr.c:1370 +#: parser/parse_expr.c:1372 msgid "subquery has too many columns" msgstr "Unteranfrage hat zu viele Spalten" -#: parser/parse_expr.c:1375 +#: parser/parse_expr.c:1377 msgid "subquery has too few columns" msgstr "Unteranfrage hat zu wenige Spalten" -#: parser/parse_expr.c:1471 +#: parser/parse_expr.c:1473 msgid "cannot determine type of empty array" msgstr "kann Typ eines leeren Arrays nicht bestimmen" -#: parser/parse_expr.c:1472 +#: parser/parse_expr.c:1474 msgid "Explicitly cast to the desired type, for example ARRAY[]::integer[]." msgstr "" "Wandeln Sie ausdrücklich in den gewünschten Typ um, zum Beispiel ARRAY[]::" "integer[]." -#: parser/parse_expr.c:1486 +#: parser/parse_expr.c:1488 #, c-format msgid "could not find element type for data type %s" msgstr "konnte Elementtyp für Datentyp %s nicht finden" -#: parser/parse_expr.c:1684 +#: parser/parse_expr.c:1699 msgid "unnamed XML attribute value must be a column reference" msgstr "unbenannter XML-Attributwert muss ein Spaltenverweis sein" -#: parser/parse_expr.c:1685 +#: parser/parse_expr.c:1700 msgid "unnamed XML element value must be a column reference" msgstr "unbenannter XML-Elementwert muss ein Spaltenverweis sein" -#: parser/parse_expr.c:1700 +#: parser/parse_expr.c:1715 #, c-format msgid "XML attribute name \"%s\" appears more than once" msgstr "XML-Attributname »%s« einscheint mehrmals" -#: parser/parse_expr.c:1807 +#: parser/parse_expr.c:1822 #, c-format msgid "cannot cast XMLSERIALIZE result to %s" msgstr "kann das Ergebnis von XMLSERIALIZE nicht in Typ %s umwandeln" -#: parser/parse_expr.c:2075 parser/parse_expr.c:2273 +#: parser/parse_expr.c:2090 parser/parse_expr.c:2288 msgid "unequal number of entries in row expressions" msgstr "ungleiche Anzahl Einträge in Zeilenausdrücken" -#: parser/parse_expr.c:2085 +#: parser/parse_expr.c:2100 msgid "cannot compare rows of zero length" msgstr "kann Zeilen mit Länge null nicht vergleichen" -#: parser/parse_expr.c:2110 +#: parser/parse_expr.c:2125 #, c-format msgid "row comparison operator must yield type boolean, not type %s" msgstr "Zeilenvergleichsoperator muss Typ boolean zurückgeben, nicht Typ %s" -#: parser/parse_expr.c:2117 +#: parser/parse_expr.c:2132 msgid "row comparison operator must not return a set" msgstr "Zeilenvergleichsoperator darf keine Ergebnismenge zurückgeben" -#: parser/parse_expr.c:2176 parser/parse_expr.c:2220 +#: parser/parse_expr.c:2191 parser/parse_expr.c:2235 #, c-format msgid "could not determine interpretation of row comparison operator %s" msgstr "konnte Interpretation des Zeilenvergleichsoperators %s nicht bestimmen" -#: parser/parse_expr.c:2178 +#: parser/parse_expr.c:2193 msgid "" "Row comparison operators must be associated with btree operator families." msgstr "" "Zeilenvergleichsoperatoren müssen einer »btree«-Operatorfamilie zugeordnet " "sein." -#: parser/parse_expr.c:2222 +#: parser/parse_expr.c:2237 msgid "There are multiple equally-plausible candidates." msgstr "Es gibt mehrere gleichermaßen plausible Kandidaten." -#: parser/parse_expr.c:2313 +#: parser/parse_expr.c:2328 msgid "IS DISTINCT FROM requires = operator to yield boolean" msgstr "IS DISTINCT FROM erfordert, dass Operator = boolean ergibt" -#: parser/parse_target.c:369 parser/parse_target.c:657 +#: parser/parse_target.c:370 parser/parse_target.c:658 #, c-format msgid "cannot assign to system column \"%s\"" msgstr "kann Systemspalte »%s« keinen Wert zuweisen" -#: parser/parse_target.c:394 +#: parser/parse_target.c:395 msgid "cannot set an array element to DEFAULT" msgstr "kann Arrayelement nicht auf DEFAULT setzen" -#: parser/parse_target.c:399 +#: parser/parse_target.c:400 msgid "cannot set a subfield to DEFAULT" msgstr "kann Subfeld nicht auf DEFAULT setzen" -#: parser/parse_target.c:466 +#: parser/parse_target.c:467 #, c-format msgid "column \"%s\" is of type %s but expression is of type %s" msgstr "Spalte »%s« hat Typ %s, aber der Ausdruck hat Typ %s" -#: parser/parse_target.c:641 +#: parser/parse_target.c:642 #, c-format msgid "" "cannot assign to field \"%s\" of column \"%s\" because its type %s is not a " @@ -15187,7 +15191,7 @@ "kann Feld »%s« in Spalte »%s« nicht setzen, weil ihr Typ %s kein " "zusammengesetzter Typ ist" -#: parser/parse_target.c:650 +#: parser/parse_target.c:651 #, c-format msgid "" "cannot assign to field \"%s\" of column \"%s\" because there is no such " @@ -15196,18 +15200,18 @@ "kann Feld »%s« in Spalte »%s« nicht setzen, weil es keine solche Spalte in " "Datentyp %s gibt" -#: parser/parse_target.c:725 +#: parser/parse_target.c:726 #, c-format msgid "" "array assignment to \"%s\" requires type %s but expression is of type %s" msgstr "Wertzuweisung für »%s« erfordert Typ %s, aber Ausdruck hat Typ %s" -#: parser/parse_target.c:735 +#: parser/parse_target.c:736 #, c-format msgid "subfield \"%s\" is of type %s but expression is of type %s" msgstr "Subfeld »%s« hat Typ %s, aber der Ausdruck hat Typ %s" -#: parser/parse_target.c:991 +#: parser/parse_target.c:992 msgid "SELECT * with no tables specified is not valid" msgstr "SELECT * ist nicht gültig, wenn keine Tabellen angegeben sind" @@ -15221,47 +15225,47 @@ msgid "cannot subscript type %s because it is not an array" msgstr "kann aus Typ %s kein Element auswählen, weil er kein Array ist" -#: parser/parse_node.c:313 parser/parse_node.c:339 +#: parser/parse_node.c:325 parser/parse_node.c:351 msgid "array subscript must have type integer" msgstr "Arrayindex muss Typ integer haben" -#: parser/parse_node.c:363 +#: parser/parse_node.c:375 #, c-format msgid "array assignment requires type %s but expression is of type %s" msgstr "Arrayzuweisung erfordert Typ %s, aber Ausdruck hat Typ %s" -#: parser/parse_relation.c:141 +#: parser/parse_relation.c:142 #, c-format msgid "table reference \"%s\" is ambiguous" msgstr "Tabellenbezug »%s« ist nicht eindeutig" -#: parser/parse_relation.c:177 +#: parser/parse_relation.c:178 #, c-format msgid "table reference %u is ambiguous" msgstr "Tabellenbezug %u ist nicht eindeutig" -#: parser/parse_relation.c:337 +#: parser/parse_relation.c:338 #, c-format msgid "table name \"%s\" specified more than once" msgstr "Tabellenname »%s« mehrmals angegeben" -#: parser/parse_relation.c:472 parser/parse_relation.c:553 +#: parser/parse_relation.c:473 parser/parse_relation.c:554 #, c-format msgid "column reference \"%s\" is ambiguous" msgstr "Spaltenverweis »%s« ist nicht eindeutig" -#: parser/parse_relation.c:789 parser/parse_relation.c:1078 -#: parser/parse_relation.c:1438 +#: parser/parse_relation.c:791 parser/parse_relation.c:1080 +#: parser/parse_relation.c:1440 #, c-format msgid "table \"%s\" has %d columns available but %d columns specified" msgstr "Tabelle »%s« hat %d Spalten, aber %d Spalten wurden angegeben" -#: parser/parse_relation.c:819 +#: parser/parse_relation.c:821 #, c-format msgid "too many column aliases specified for function %s" msgstr "zu viele Spaltenaliasnamen für Funktion %s angegeben" -#: parser/parse_relation.c:885 +#: parser/parse_relation.c:887 #, c-format msgid "" "There is a WITH item named \"%s\", but it cannot be referenced from this " @@ -15270,59 +15274,59 @@ "Es gibt ein WITH-Element namens »%s«, aber darauf kann aus diesem Teil der " "Anfrage kein Bezug genommen werden." -#: parser/parse_relation.c:887 +#: parser/parse_relation.c:889 msgid "" "Use WITH RECURSIVE, or re-order the WITH items to remove forward references." msgstr "" "Verwenden Sie WITH RECURSIVE oder sortieren Sie die WITH-Ausdrücke um, um " "Vorwärtsreferenzen zu entfernen." -#: parser/parse_relation.c:1157 +#: parser/parse_relation.c:1159 msgid "" "a column definition list is only allowed for functions returning \"record\"" msgstr "" "eine Spaltendefinitionsliste ist nur erlaubt bei Funktionen, die »record« " "zurückgeben" -#: parser/parse_relation.c:1165 +#: parser/parse_relation.c:1167 msgid "a column definition list is required for functions returning \"record\"" msgstr "" "eine Spaltendefinitionsliste ist erforderlich bei Funktionen, die »record« " "zurückgeben" -#: parser/parse_relation.c:1212 +#: parser/parse_relation.c:1214 #, c-format msgid "function \"%s\" in FROM has unsupported return type %s" msgstr "Funktion »%s« in FROM hat nicht unterstützten Rückgabetyp %s" -#: parser/parse_relation.c:1284 +#: parser/parse_relation.c:1286 #, c-format msgid "VALUES lists \"%s\" have %d columns available but %d columns specified" msgstr "" "VALUES-Liste »%s« hat %d Spalten verfügbar, aber %d Spalten wurden angegeben" -#: parser/parse_relation.c:1340 +#: parser/parse_relation.c:1342 #, c-format msgid "joins can have at most %d columns" msgstr "Verbunde können höchstens %d Spalten haben" -#: parser/parse_relation.c:2110 +#: parser/parse_relation.c:2119 #, c-format msgid "column %d of relation \"%s\" does not exist" msgstr "Spalte %d von Relation »%s« existiert nicht" -#: parser/parse_relation.c:2472 +#: parser/parse_relation.c:2482 #, c-format msgid "invalid reference to FROM-clause entry for table \"%s\"" msgstr "ungültiger Verweis auf FROM-Klausel-Eintrag für Tabelle »%s«" -#: parser/parse_relation.c:2475 parser/parse_relation.c:2495 +#: parser/parse_relation.c:2485 parser/parse_relation.c:2505 #, c-format msgid "Perhaps you meant to reference the table alias \"%s\"." msgstr "" "Vielleicht wurde beabsichtigt, auf den Tabellenalias »%s« zu verweisen." -#: parser/parse_relation.c:2477 parser/parse_relation.c:2498 +#: parser/parse_relation.c:2487 parser/parse_relation.c:2508 #, c-format msgid "" "There is an entry for table \"%s\", but it cannot be referenced from this " @@ -15331,12 +15335,12 @@ "Es gibt einen Eintrag für Tabelle »%s«, aber auf ihn kann aus diesem Teil " "der Anfrage kein Bezug genommen werden." -#: parser/parse_relation.c:2483 +#: parser/parse_relation.c:2493 #, c-format msgid "missing FROM-clause entry for table \"%s\"" msgstr "fehlender Eintrag in FROM-Klausel für Tabelle »%s«" -#: parser/parse_relation.c:2492 +#: parser/parse_relation.c:2502 #, c-format msgid "adding missing FROM-clause entry for table \"%s\"" msgstr "fehlender Eintrag in FROM-Klausel für Tabelle »%s« wird hinzugefügt" @@ -15634,7 +15638,7 @@ msgid "invalid type name \"%s\"" msgstr "ungültiger Typname: »%s«" -#: parser/scansup.c:190 +#: parser/scansup.c:192 #, c-format msgid "identifier \"%s\" will be truncated to \"%s\"" msgstr "Bezeichner »%s« wird auf »%s« gekürzt" @@ -15977,12 +15981,12 @@ msgid "unrecognized error %d" msgstr "unbekannter Fehler %d" -#: ../port/win32error.c:184 +#: ../port/win32error.c:185 #, c-format msgid "mapped win32 error code %lu to %d" msgstr "win32-Fehlercode %lu nach %d abgebildet" -#: ../port/win32error.c:195 +#: ../port/win32error.c:197 #, c-format msgid "unrecognized win32 error code: %lu" msgstr "unbekannter win32-Fehlercode: %lu" diff -Nru postgresql-8.4-8.4.17/src/backend/po/fr.po postgresql-8.4-8.4.20/src/backend/po/fr.po --- postgresql-8.4-8.4.17/src/backend/po/fr.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/po/fr.po 2014-02-17 19:44:07.000000000 +0000 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: PostgreSQL 8.4\n" "Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" -"POT-Creation-Date: 2012-12-02 13:41+0000\n" -"PO-Revision-Date: 2012-12-02 15:37+0100\n" +"POT-Creation-Date: 2013-11-27 13:01+0000\n" +"PO-Revision-Date: 2013-11-27 21:58+0100\n" "Last-Translator: Guillaume Lelarge \n" "Language-Team: French \n" "Language: fr\n" @@ -17,6 +17,7 @@ "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 1.5.4\n" #: postmaster/bgwriter.c:471 #, c-format @@ -30,7 +31,8 @@ "(toutes les %d secondes)" #: postmaster/bgwriter.c:475 -msgid "Consider increasing the configuration parameter \"checkpoint_segments\"." +msgid "" +"Consider increasing the configuration parameter \"checkpoint_segments\"." msgstr "Considèrez l'augmentation du paramètre « checkpoint_segments »." #: postmaster/bgwriter.c:584 @@ -40,7 +42,8 @@ #: postmaster/bgwriter.c:893 msgid "not enough shared memory for background writer" -msgstr "pas assez de mémoire partagée pour le processus d'écriture en tâche de fond" +msgstr "" +"pas assez de mémoire partagée pour le processus d'écriture en tâche de fond" #: postmaster/bgwriter.c:1049 msgid "checkpoint request failed" @@ -49,7 +52,8 @@ #: postmaster/bgwriter.c:1050 msgid "Consult recent messages in the server log for details." msgstr "" -"Consultez les messages récents du serveur dans les journaux applicatifs pour\n" +"Consultez les messages récents du serveur dans les journaux applicatifs " +"pour\n" "plus de détails." #: postmaster/bgwriter.c:1223 @@ -64,7 +68,9 @@ #: postmaster/pgstat.c:346 msgid "trying another address for the statistics collector" -msgstr "nouvelle tentative avec une autre adresse pour le récupérateur de statistiques" +msgstr "" +"nouvelle tentative avec une autre adresse pour le récupérateur de " +"statistiques" #: postmaster/pgstat.c:355 #, c-format @@ -79,7 +85,9 @@ #: postmaster/pgstat.c:378 #, c-format msgid "could not get address of socket for statistics collector: %m" -msgstr "n'a pas pu obtenir l'adresse de la socket du récupérateur de statistiques : %m" +msgstr "" +"n'a pas pu obtenir l'adresse de la socket du récupérateur de statistiques : " +"%m" #: postmaster/pgstat.c:394 #, c-format @@ -93,8 +101,7 @@ "n'a pas pu envoyer le message de tests sur la socket du récupérateur de\n" "statistiques : %m" -#: postmaster/pgstat.c:441 -#: postmaster/pgstat.c:2744 +#: postmaster/pgstat.c:441 postmaster/pgstat.c:2744 #, c-format msgid "select() failed in statistics collector: %m" msgstr "échec du select() dans le récupérateur de statistiques : %m" @@ -115,14 +122,16 @@ #: postmaster/pgstat.c:481 msgid "incorrect test message transmission on socket for statistics collector" msgstr "" -"transmission incorrecte du message de tests sur la socket du récupérateur de\n" +"transmission incorrecte du message de tests sur la socket du récupérateur " +"de\n" "statistiques" #: postmaster/pgstat.c:504 #, c-format msgid "could not set statistics collector socket to nonblocking mode: %m" msgstr "" -"n'a pas pu initialiser la socket du récupérateur de statistiques dans le mode\n" +"n'a pas pu initialiser la socket du récupérateur de statistiques dans le " +"mode\n" "non bloquant : %m" #: postmaster/pgstat.c:514 @@ -140,7 +149,8 @@ #: postmaster/pgstat.c:1144 msgid "must be superuser to reset statistics counters" -msgstr "doit être super-utilisateur pour réinitialiser les compteurs statistiques" +msgstr "" +"doit être super-utilisateur pour réinitialiser les compteurs statistiques" #: postmaster/pgstat.c:2723 #, c-format @@ -174,15 +184,9 @@ "n'a pas pu renommer le fichier temporaire des statistiques « %s » en\n" "« %s » : %m" -#: postmaster/pgstat.c:3144 -#: postmaster/pgstat.c:3154 -#: postmaster/pgstat.c:3176 -#: postmaster/pgstat.c:3190 -#: postmaster/pgstat.c:3252 -#: postmaster/pgstat.c:3269 -#: postmaster/pgstat.c:3284 -#: postmaster/pgstat.c:3301 -#: postmaster/pgstat.c:3316 +#: postmaster/pgstat.c:3144 postmaster/pgstat.c:3154 postmaster/pgstat.c:3176 +#: postmaster/pgstat.c:3190 postmaster/pgstat.c:3252 postmaster/pgstat.c:3269 +#: postmaster/pgstat.c:3284 postmaster/pgstat.c:3301 postmaster/pgstat.c:3316 msgid "corrupted pgstat.stat file" msgstr "fichier pgstat.stat corrompu" @@ -215,17 +219,11 @@ msgid "autovacuum: processing database \"%s\"" msgstr "autovacuum : traitement de la base de données « %s »" -#: postmaster/autovacuum.c:1816 -#: utils/init/miscinit.c:1066 -#: utils/init/miscinit.c:1179 -#: utils/init/postinit.c:95 -#: utils/init/postinit.c:135 -#: utils/error/elog.c:1417 -#: access/transam/xlog.c:2334 -#: access/transam/xlog.c:3924 -#: access/transam/xlog.c:4014 -#: access/transam/xlog.c:4112 -#: libpq/hba.c:1272 +#: postmaster/autovacuum.c:1816 utils/init/miscinit.c:1066 +#: utils/init/miscinit.c:1179 utils/init/postinit.c:95 +#: utils/init/postinit.c:135 utils/error/elog.c:1418 +#: access/transam/xlog.c:2334 access/transam/xlog.c:3924 +#: access/transam/xlog.c:4014 access/transam/xlog.c:4112 libpq/hba.c:1272 #: storage/file/copydir.c:123 #, c-format msgid "could not open file \"%s\": %m" @@ -242,7 +240,8 @@ #, c-format msgid "autovacuum: found orphan temp table \"%s\".\"%s\" in database \"%s\"" msgstr "" -"autovacuum : a trouvé la table temporaire orpheline « %s.%s » dans la base de\n" +"autovacuum : a trouvé la table temporaire orpheline « %s.%s » dans la base " +"de\n" "données « %s »" #: postmaster/autovacuum.c:2290 @@ -272,8 +271,7 @@ msgid "select() failed in logger process: %m" msgstr "échec de select() dans le processus des journaux applicatifs : %m" -#: postmaster/syslogger.c:427 -#: postmaster/syslogger.c:1019 +#: postmaster/syslogger.c:427 postmaster/syslogger.c:1019 #, c-format msgid "could not read from logger pipe: %m" msgstr "n'a pas pu lire à partir du tube des journaux applicatifs : %m" @@ -282,14 +280,12 @@ msgid "logger shutting down" msgstr "arrêt en cours des journaux applicatifs" -#: postmaster/syslogger.c:518 -#: postmaster/syslogger.c:532 +#: postmaster/syslogger.c:518 postmaster/syslogger.c:532 #, c-format msgid "could not create pipe for syslog: %m" msgstr "n'a pas pu créer un tube pour syslog : %m" -#: postmaster/syslogger.c:561 -#: postmaster/syslogger.c:1062 +#: postmaster/syslogger.c:561 postmaster/syslogger.c:1062 #, c-format msgid "could not create log file \"%s\": %m" msgstr "n'a pas pu créer le journal applicatif « %s » : %m" @@ -304,8 +300,7 @@ msgid "could not redirect stdout: %m" msgstr "n'a pas pu rediriger la sortie (stdout) : %m" -#: postmaster/syslogger.c:612 -#: postmaster/syslogger.c:630 +#: postmaster/syslogger.c:612 postmaster/syslogger.c:630 #, c-format msgid "could not redirect stderr: %m" msgstr "n'a pas pu rediriger la sortie des erreurs (stderr) : %m" @@ -315,21 +310,22 @@ msgid "could not write to log file: %s\n" msgstr "n'a pas pu écrire dans le journal applicatif : %s\n" -#: postmaster/syslogger.c:1128 -#: postmaster/syslogger.c:1185 +#: postmaster/syslogger.c:1128 postmaster/syslogger.c:1185 #, c-format msgid "could not open new log file \"%s\": %m" msgstr "n'a pas pu ouvrir le nouveau journal applicatif « %s » : %m" -#: postmaster/syslogger.c:1140 -#: postmaster/syslogger.c:1197 +#: postmaster/syslogger.c:1140 postmaster/syslogger.c:1197 msgid "disabling automatic rotation (use SIGHUP to reenable)" -msgstr "désactivation de la rotation automatique (utilisez SIGHUP pour la réactiver)" +msgstr "" +"désactivation de la rotation automatique (utilisez SIGHUP pour la réactiver)" #: postmaster/pgarch.c:158 #, c-format msgid "could not fork archiver: %m" -msgstr "n'a pas pu lancer le processus fils correspondant au processus d'archivage : %m" +msgstr "" +"n'a pas pu lancer le processus fils correspondant au processus d'archivage : " +"%m" #: postmaster/pgarch.c:450 msgid "archive_mode enabled, yet archive_command is not set" @@ -338,18 +334,16 @@ #: postmaster/pgarch.c:465 #, c-format msgid "transaction log file \"%s\" could not be archived: too many failures" -msgstr "le journal des transactions « %s » n'a pas pu être archivé : trop d'échecs" +msgstr "" +"le journal des transactions « %s » n'a pas pu être archivé : trop d'échecs" #: postmaster/pgarch.c:568 #, c-format msgid "archive command failed with exit code %d" msgstr "échec de la commande d'archivage avec un code de retour %d" -#: postmaster/pgarch.c:570 -#: postmaster/pgarch.c:580 -#: postmaster/pgarch.c:587 -#: postmaster/pgarch.c:593 -#: postmaster/pgarch.c:602 +#: postmaster/pgarch.c:570 postmaster/pgarch.c:580 postmaster/pgarch.c:587 +#: postmaster/pgarch.c:593 postmaster/pgarch.c:602 #, c-format msgid "The failed archive command was: %s" msgstr "La commande d'archivage qui a échoué était : %s" @@ -359,11 +353,12 @@ msgid "archive command was terminated by exception 0x%X" msgstr "la commande d'archivage a été terminée par l'exception 0x%X" -#: postmaster/pgarch.c:579 -#: postmaster/postmaster.c:2741 -msgid "See C include file \"ntstatus.h\" for a description of the hexadecimal value." +#: postmaster/pgarch.c:579 postmaster/postmaster.c:2741 +msgid "" +"See C include file \"ntstatus.h\" for a description of the hexadecimal value." msgstr "" -"Voir le fichier d'en-tête C « ntstatus.h » pour une description de la valeur\n" +"Voir le fichier d'en-tête C « ntstatus.h » pour une description de la " +"valeur\n" "hexadécimale." #: postmaster/pgarch.c:584 @@ -391,12 +386,9 @@ msgid "could not open archive status directory \"%s\": %m" msgstr "n'a pas pu accéder au répertoire du statut des archives « %s » : %m" -#: postmaster/pgarch.c:715 -#: utils/init/flatfiles.c:289 -#: utils/init/flatfiles.c:673 -#: access/transam/xlog.c:4218 -#: access/transam/xlog.c:5039 -#: access/transam/xlog.c:5092 +#: postmaster/pgarch.c:715 utils/init/flatfiles.c:289 +#: utils/init/flatfiles.c:673 access/transam/xlog.c:4218 +#: access/transam/xlog.c:5039 access/transam/xlog.c:5092 #: access/transam/xlog.c:5506 #, c-format msgid "could not rename file \"%s\" to \"%s\": %m" @@ -412,22 +404,17 @@ msgid "%s: invalid argument for option -t: \"%s\"\n" msgstr "%s : argument invalide pour l'option -t : « %s »\n" -#: postmaster/postmaster.c:654 -#: bootstrap/bootstrap.c:294 -#: tcop/postgres.c:3223 +#: postmaster/postmaster.c:654 bootstrap/bootstrap.c:294 tcop/postgres.c:3230 #, c-format msgid "--%s requires a value" msgstr "--%s requiert une valeur" -#: postmaster/postmaster.c:659 -#: bootstrap/bootstrap.c:299 -#: tcop/postgres.c:3228 +#: postmaster/postmaster.c:659 bootstrap/bootstrap.c:299 tcop/postgres.c:3235 #, c-format msgid "-c %s requires a value" msgstr "-c %s requiert une valeur" -#: postmaster/postmaster.c:671 -#: postmaster/postmaster.c:684 +#: postmaster/postmaster.c:671 postmaster/postmaster.c:684 #: bootstrap/bootstrap.c:310 #, c-format msgid "Try \"%s --help\" for more information.\n" @@ -441,7 +428,8 @@ #: postmaster/postmaster.c:707 #, c-format msgid "%s: superuser_reserved_connections must be less than max_connections\n" -msgstr "%s : superuser_reserved_connections doit être inférieur à max_connections\n" +msgstr "" +"%s : superuser_reserved_connections doit être inférieur à max_connections\n" #: postmaster/postmaster.c:717 #, c-format @@ -478,8 +466,7 @@ msgid "%s: could not write external PID file \"%s\": %s\n" msgstr "%s : n'a pas pu écrire le fichier PID externe « %s » : %s\n" -#: postmaster/postmaster.c:1028 -#: postmaster/postmaster.c:3317 +#: postmaster/postmaster.c:1028 postmaster/postmaster.c:3317 msgid "could not load pg_hba.conf" msgstr "n'a pas pu charger pg_hba.conf" @@ -488,22 +475,21 @@ msgid "%s: could not locate matching postgres executable" msgstr "%s : n'a pas pu localiser l'exécutable postgres correspondant" -#: postmaster/postmaster.c:1096 -#: utils/misc/tzparser.c:345 -#: utils/adt/misc.c:210 -#: utils/adt/genfile.c:240 -#: commands/tablespace.c:581 -#: storage/file/fd.c:1568 +#: postmaster/postmaster.c:1096 utils/misc/tzparser.c:345 utils/adt/misc.c:210 +#: utils/adt/genfile.c:240 commands/tablespace.c:581 storage/file/fd.c:1577 #: storage/file/copydir.c:66 #, c-format msgid "could not open directory \"%s\": %m" msgstr "n'a pas pu ouvrir le répertoire « %s » : %m" -#: postmaster/postmaster.c:1098 -#: utils/misc/tzparser.c:347 +#: postmaster/postmaster.c:1098 utils/misc/tzparser.c:347 #, c-format -msgid "This may indicate an incomplete PostgreSQL installation, or that the file \"%s\" has been moved away from its proper location." -msgstr "Ceci peut indiquer une installation PostgreSQL incomplète, ou que le fichier « %s » a été déplacé." +msgid "" +"This may indicate an incomplete PostgreSQL installation, or that the file " +"\"%s\" has been moved away from its proper location." +msgstr "" +"Ceci peut indiquer une installation PostgreSQL incomplète, ou que le fichier " +"« %s » a été déplacé." #: postmaster/postmaster.c:1126 #, c-format @@ -578,8 +564,7 @@ msgid "select() failed in postmaster: %m" msgstr "échec de select() dans postmaster : %m" -#: postmaster/postmaster.c:1526 -#: postmaster/postmaster.c:1557 +#: postmaster/postmaster.c:1526 postmaster/postmaster.c:1557 msgid "incomplete startup packet" msgstr "paquet de démarrage incomplet" @@ -596,7 +581,8 @@ #, c-format msgid "unsupported frontend protocol %u.%u: server supports %u.0 to %u.%u" msgstr "" -"Protocole non supportée de l'interface %u.%u : le serveur supporte de %u.0 à\n" +"Protocole non supportée de l'interface %u.%u : le serveur supporte de %u.0 " +"à\n" "%u.%u" #: postmaster/postmaster.c:1689 @@ -607,7 +593,9 @@ #: postmaster/postmaster.c:1717 msgid "no PostgreSQL user name specified in startup packet" -msgstr "aucun nom d'utilisateur PostgreSQL n'a été spécifié dans le paquet de démarrage" +msgstr "" +"aucun nom d'utilisateur PostgreSQL n'a été spécifié dans le paquet de " +"démarrage" #: postmaster/postmaster.c:1770 msgid "the database system is starting up" @@ -621,10 +609,8 @@ msgid "the database system is in recovery mode" msgstr "le système de bases de données est en cours de restauration" -#: postmaster/postmaster.c:1785 -#: storage/ipc/procarray.c:151 -#: storage/ipc/sinvaladt.c:293 -#: storage/lmgr/proc.c:275 +#: postmaster/postmaster.c:1785 storage/ipc/procarray.c:151 +#: storage/ipc/sinvaladt.c:293 storage/lmgr/proc.c:275 msgid "sorry, too many clients already" msgstr "désolé, trop de clients sont déjà connectés" @@ -638,47 +624,22 @@ msgid "PID %d in cancel request did not match any process" msgstr "le PID %d dans la demande d'annulation ne correspond à aucun processus" -#: postmaster/postmaster.c:1922 -#: postmaster/postmaster.c:1955 -#: postmaster/postmaster.c:3033 -#: postmaster/postmaster.c:3783 -#: postmaster/postmaster.c:3869 -#: postmaster/postmaster.c:4438 -#: utils/hash/dynahash.c:363 -#: utils/hash/dynahash.c:435 -#: utils/hash/dynahash.c:950 -#: utils/misc/guc.c:2757 -#: utils/misc/guc.c:2770 -#: utils/misc/guc.c:2783 -#: utils/init/miscinit.c:212 -#: utils/init/miscinit.c:233 -#: utils/init/miscinit.c:243 -#: utils/fmgr/dfmgr.c:224 -#: utils/mb/mbutils.c:335 -#: utils/mb/mbutils.c:596 -#: utils/mmgr/aset.c:385 -#: utils/mmgr/aset.c:564 -#: utils/mmgr/aset.c:747 -#: utils/mmgr/aset.c:953 -#: utils/adt/regexp.c:208 -#: utils/adt/varlena.c:3031 -#: utils/adt/varlena.c:3052 -#: utils/adt/formatting.c:1493 -#: utils/adt/formatting.c:1549 -#: utils/adt/formatting.c:1606 -#: lib/stringinfo.c:245 -#: commands/sequence.c:933 -#: libpq/auth.c:911 -#: libpq/auth.c:1271 -#: libpq/auth.c:1339 -#: libpq/auth.c:1926 -#: storage/file/fd.c:338 -#: storage/file/fd.c:721 -#: storage/file/fd.c:839 -#: storage/ipc/procarray.c:392 -#: storage/ipc/procarray.c:720 -#: storage/ipc/procarray.c:727 -#: storage/buffer/localbuf.c:347 +#: postmaster/postmaster.c:1922 postmaster/postmaster.c:1955 +#: postmaster/postmaster.c:3033 postmaster/postmaster.c:3783 +#: postmaster/postmaster.c:3869 postmaster/postmaster.c:4438 +#: utils/hash/dynahash.c:367 utils/hash/dynahash.c:444 +#: utils/hash/dynahash.c:956 utils/misc/guc.c:2757 utils/misc/guc.c:2770 +#: utils/misc/guc.c:2783 utils/init/miscinit.c:212 utils/init/miscinit.c:233 +#: utils/init/miscinit.c:243 utils/fmgr/dfmgr.c:224 utils/mb/mbutils.c:335 +#: utils/mb/mbutils.c:596 utils/mmgr/aset.c:385 utils/mmgr/aset.c:564 +#: utils/mmgr/aset.c:747 utils/mmgr/aset.c:953 utils/adt/regexp.c:208 +#: utils/adt/varlena.c:3034 utils/adt/varlena.c:3055 +#: utils/adt/formatting.c:1493 utils/adt/formatting.c:1549 +#: utils/adt/formatting.c:1606 lib/stringinfo.c:245 commands/sequence.c:933 +#: libpq/auth.c:911 libpq/auth.c:1271 libpq/auth.c:1339 libpq/auth.c:1926 +#: storage/file/fd.c:344 storage/file/fd.c:727 storage/file/fd.c:845 +#: storage/ipc/procarray.c:392 storage/ipc/procarray.c:720 +#: storage/ipc/procarray.c:727 storage/buffer/localbuf.c:347 #: storage/buffer/buf_init.c:164 msgid "out of memory" msgstr "mémoire épuisée" @@ -707,14 +668,14 @@ msgid "received immediate shutdown request" msgstr "a reçu une demande d'arrêt immédiat" -#: postmaster/postmaster.c:2269 -#: postmaster/postmaster.c:2297 +#: postmaster/postmaster.c:2269 postmaster/postmaster.c:2297 msgid "startup process" msgstr "processus de lancement" #: postmaster/postmaster.c:2272 msgid "aborting startup due to startup process failure" -msgstr "annulation du démarrage à cause d'un échec dans le processus de lancement" +msgstr "" +"annulation du démarrage à cause d'un échec dans le processus de lancement" #: postmaster/postmaster.c:2337 msgid "database system is ready to accept connections" @@ -744,10 +705,8 @@ msgid "system logger process" msgstr "processus des journaux applicatifs" -#: postmaster/postmaster.c:2501 -#: postmaster/postmaster.c:2517 -#: postmaster/postmaster.c:2524 -#: postmaster/postmaster.c:2542 +#: postmaster/postmaster.c:2501 postmaster/postmaster.c:2517 +#: postmaster/postmaster.c:2524 postmaster/postmaster.c:2542 msgid "server process" msgstr "processus serveur" @@ -817,31 +776,20 @@ msgid "connection authorized: user=%s database=%s" msgstr "connexion autorisée : utilisateur=%s, base de données=%s" -#: postmaster/postmaster.c:3563 -#: access/transam/xlog.c:2216 -#: access/transam/xlog.c:2349 -#: access/transam/xlog.c:4093 -#: access/transam/xlog.c:7424 -#: access/transam/xlog.c:7559 +#: postmaster/postmaster.c:3563 access/transam/xlog.c:2216 +#: access/transam/xlog.c:2349 access/transam/xlog.c:4093 +#: access/transam/xlog.c:7424 access/transam/xlog.c:7559 #: storage/file/copydir.c:130 #, c-format msgid "could not create file \"%s\": %m" msgstr "n'a pas pu créer le fichier « %s » : %m" -#: postmaster/postmaster.c:3573 -#: postmaster/postmaster.c:3583 -#: utils/misc/guc.c:6836 -#: utils/misc/guc.c:6861 -#: utils/init/miscinit.c:1115 -#: utils/init/miscinit.c:1124 -#: utils/init/miscinit.c:1131 -#: access/transam/xlog.c:2248 -#: access/transam/xlog.c:2381 -#: access/transam/xlog.c:4145 -#: access/transam/xlog.c:4183 -#: commands/copy.c:1290 -#: commands/tablespace.c:706 -#: commands/tablespace.c:712 +#: postmaster/postmaster.c:3573 postmaster/postmaster.c:3583 +#: utils/misc/guc.c:6836 utils/misc/guc.c:6861 utils/init/miscinit.c:1115 +#: utils/init/miscinit.c:1124 utils/init/miscinit.c:1131 +#: access/transam/xlog.c:2248 access/transam/xlog.c:2381 +#: access/transam/xlog.c:4145 access/transam/xlog.c:4183 commands/copy.c:1290 +#: commands/tablespace.c:706 commands/tablespace.c:712 #: storage/file/copydir.c:155 #, c-format msgid "could not write to file \"%s\": %m" @@ -854,7 +802,8 @@ #: postmaster/postmaster.c:4128 msgid "database system is in consistent recovery mode" -msgstr "le système de bases de données est dans un mode de restauration cohérent" +msgstr "" +"le système de bases de données est dans un mode de restauration cohérent" #: postmaster/postmaster.c:4345 #, c-format @@ -890,8 +839,7 @@ msgid "could not create inherited socket: error code %d\n" msgstr "n'a pas pu créer la socket héritée : code d'erreur %d\n" -#: postmaster/postmaster.c:4691 -#: postmaster/postmaster.c:4698 +#: postmaster/postmaster.c:4691 postmaster/postmaster.c:4698 #, c-format msgid "could not read from backend variables file \"%s\": %s\n" msgstr "n'a pas pu lire le fichier de configuration serveur « %s » : %s\n" @@ -912,7 +860,8 @@ #, c-format msgid "could not unmap view of backend variables: error code %d\n" msgstr "" -"n'a pas pu exécuter UnmapViewOfFile sur les variables de configuration : code\n" +"n'a pas pu exécuter UnmapViewOfFile sur les variables de configuration : " +"code\n" "d'erreur %d\n" #: postmaster/postmaster.c:4736 @@ -930,22 +879,21 @@ msgid "could not post child completion status\n" msgstr "n'a pas pu poster le statut de fin de l'enfant\n" -#: utils/cache/ts_cache.c:624 -#: commands/tsearchcmds.c:1562 -#: commands/tsearchcmds.c:1722 -#: catalog/namespace.c:1960 +#: utils/cache/ts_cache.c:624 commands/tsearchcmds.c:1562 +#: commands/tsearchcmds.c:1722 catalog/namespace.c:1960 #, c-format msgid "text search configuration \"%s\" does not exist" msgstr "la configuration de recherche plein texte « %s » n'existe pas" -#: utils/cache/plancache.c:541 +#: utils/cache/plancache.c:558 msgid "cached plan must not change result type" msgstr "le plan en cache ne doit pas modifier le type en résultat" #: utils/cache/relcache.c:3876 #, c-format msgid "could not create relation-cache initialization file \"%s\": %m" -msgstr "n'a pas pu créer le fichier d'initialisation relation-cache « %s » : %m" +msgstr "" +"n'a pas pu créer le fichier d'initialisation relation-cache « %s » : %m" #: utils/cache/relcache.c:3878 msgid "Continuing anyway, but there's something wrong." @@ -956,10 +904,8 @@ msgid "could not remove cache file \"%s\": %m" msgstr "n'a pas pu supprimer le fichier cache « %s » : %m" -#: utils/cache/lsyscache.c:2319 -#: utils/cache/lsyscache.c:2354 -#: utils/cache/lsyscache.c:2389 -#: utils/cache/lsyscache.c:2424 +#: utils/cache/lsyscache.c:2319 utils/cache/lsyscache.c:2354 +#: utils/cache/lsyscache.c:2389 utils/cache/lsyscache.c:2424 #, c-format msgid "type %s is only a shell" msgstr "le type %s est seulement un shell" @@ -974,32 +920,24 @@ msgid "no output function available for type %s" msgstr "aucune fonction en sortie disponible pour le type %s" -#: utils/cache/lsyscache.c:2394 -#: utils/adt/arrayfuncs.c:1241 +#: utils/cache/lsyscache.c:2394 utils/adt/arrayfuncs.c:1241 #, c-format msgid "no binary input function available for type %s" msgstr "aucune fonction d'entrée binaire disponible pour le type %s" -#: utils/cache/lsyscache.c:2429 -#: utils/adt/arrayfuncs.c:1463 +#: utils/cache/lsyscache.c:2429 utils/adt/arrayfuncs.c:1463 #, c-format msgid "no binary output function available for type %s" msgstr "aucune fonction de sortie binaire disponible pour le type %s" -#: utils/cache/lsyscache.c:2762 -#: utils/init/miscinit.c:480 -#: commands/variable.c:737 -#: commands/variable.c:853 -#: commands/user.c:566 -#: commands/user.c:748 -#: commands/user.c:879 -#: commands/user.c:1033 +#: utils/cache/lsyscache.c:2762 utils/init/miscinit.c:480 +#: commands/variable.c:739 commands/variable.c:855 commands/user.c:566 +#: commands/user.c:748 commands/user.c:879 commands/user.c:1033 #, c-format msgid "role \"%s\" does not exist" msgstr "le rôle « %s » n'existe pas" -#: utils/cache/typcache.c:152 -#: parser/parse_type.c:205 +#: utils/cache/typcache.c:152 parser/parse_type.c:205 #, c-format msgid "type \"%s\" is only a shell" msgstr "le type « %s » est seulement un shell" @@ -1013,15 +951,9 @@ msgid "record type has not been registered" msgstr "le type d'enregistrement n'a pas été enregistré" -#: utils/hash/dynahash.c:946 -#: storage/ipc/shmem.c:190 -#: storage/ipc/shmem.c:359 -#: storage/lmgr/proc.c:186 -#: storage/lmgr/proc.c:199 -#: storage/lmgr/lock.c:583 -#: storage/lmgr/lock.c:649 -#: storage/lmgr/lock.c:2051 -#: storage/lmgr/lock.c:2339 +#: utils/hash/dynahash.c:952 storage/ipc/shmem.c:190 storage/ipc/shmem.c:359 +#: storage/lmgr/proc.c:186 storage/lmgr/proc.c:199 storage/lmgr/lock.c:583 +#: storage/lmgr/lock.c:649 storage/lmgr/lock.c:2051 storage/lmgr/lock.c:2339 #: storage/lmgr/lock.c:2404 msgid "out of shared memory" msgstr "mémoire partagée épuisée" @@ -1080,7 +1012,8 @@ #: utils/misc/guc.c:491 msgid "Query Tuning / Planner Method Configuration" -msgstr "Optimisation des requêtes / Configuration de la méthode du planificateur" +msgstr "" +"Optimisation des requêtes / Configuration de la méthode du planificateur" #: utils/misc/guc.c:493 msgid "Query Tuning / Planner Cost Constants" @@ -1120,7 +1053,9 @@ #: utils/misc/guc.c:511 msgid "Statistics / Query and Index Statistics Collector" -msgstr "Statistiques / Récupérateur des statistiques sur les requêtes et sur les index" +msgstr "" +"Statistiques / Récupérateur des statistiques sur les requêtes et sur les " +"index" #: utils/misc/guc.c:513 msgid "Autovacuum" @@ -1132,7 +1067,8 @@ #: utils/misc/guc.c:517 msgid "Client Connection Defaults / Statement Behavior" -msgstr "Valeurs par défaut pour les connexions client / Comportement des instructions" +msgstr "" +"Valeurs par défaut pour les connexions client / Comportement des instructions" #: utils/misc/guc.c:519 msgid "Client Connection Defaults / Locale and Formatting" @@ -1140,7 +1076,8 @@ #: utils/misc/guc.c:521 msgid "Client Connection Defaults / Other Defaults" -msgstr "Valeurs par défaut pour les connexions client / Autres valeurs par défaut" +msgstr "" +"Valeurs par défaut pour les connexions client / Autres valeurs par défaut" #: utils/misc/guc.c:523 msgid "Lock Management" @@ -1152,11 +1089,15 @@ #: utils/misc/guc.c:527 msgid "Version and Platform Compatibility / Previous PostgreSQL Versions" -msgstr "Compatibilité des versions et des plateformes / Anciennes versions de PostgreSQL" +msgstr "" +"Compatibilité des versions et des plateformes / Anciennes versions de " +"PostgreSQL" #: utils/misc/guc.c:529 msgid "Version and Platform Compatibility / Other Platforms and Clients" -msgstr "Compatibilité des versions et des plateformes / Anciennes plateformes et anciens clients" +msgstr "" +"Compatibilité des versions et des plateformes / Anciennes plateformes et " +"anciens clients" #: utils/misc/guc.c:531 msgid "Preset Options" @@ -1188,7 +1129,8 @@ #: utils/misc/guc.c:621 msgid "Enables the planner's use of explicit sort steps." -msgstr "Active l'utilisation des étapes de tris explicites par le planificateur." +msgstr "" +"Active l'utilisation des étapes de tris explicites par le planificateur." #: utils/misc/guc.c:629 msgid "Enables the planner's use of hashed aggregation plans." @@ -1196,7 +1138,9 @@ #: utils/misc/guc.c:637 msgid "Enables the planner's use of nested-loop join plans." -msgstr "Active l'utilisation de plans avec des jointures imbriquées par le planificateur." +msgstr "" +"Active l'utilisation de plans avec des jointures imbriquées par le " +"planificateur." #: utils/misc/guc.c:645 msgid "Enables the planner's use of merge join plans." @@ -1204,7 +1148,8 @@ #: utils/misc/guc.c:653 msgid "Enables the planner's use of hash join plans." -msgstr "Active l'utilisation de plans de jointures hâchées par le planificateur." +msgstr "" +"Active l'utilisation de plans de jointures hâchées par le planificateur." #: utils/misc/guc.c:661 msgid "Enables genetic query optimization." @@ -1212,7 +1157,8 @@ #: utils/misc/guc.c:662 msgid "This algorithm attempts to do planning without exhaustive searching." -msgstr "Cet algorithme essaie de faire une planification sans recherche exhaustive." +msgstr "" +"Cet algorithme essaie de faire une planification sans recherche exhaustive." #: utils/misc/guc.c:671 msgid "Shows whether the current user is a superuser." @@ -1227,10 +1173,15 @@ msgstr "Force la synchronisation des mises à jour sur le disque." #: utils/misc/guc.c:689 -msgid "The server will use the fsync() system call in several places to make sure that updates are physically written to disk. This insures that a database cluster will recover to a consistent state after an operating system or hardware crash." +msgid "" +"The server will use the fsync() system call in several places to make sure " +"that updates are physically written to disk. This insures that a database " +"cluster will recover to a consistent state after an operating system or " +"hardware crash." msgstr "" "Le serveur utilisera l'appel système fsync() à différents endroits pour\n" -"s'assurer que les mises à jour sont écrites physiquement sur le disque. Ceci\n" +"s'assurer que les mises à jour sont écrites physiquement sur le disque. " +"Ceci\n" "nous assure qu'un groupe de bases de données se retrouvera dans un état\n" "cohérent après un arrêt brutal dû au système d'exploitation ou au matériel." @@ -1243,7 +1194,12 @@ msgstr "Continue le travail après les en-têtes de page endommagés." #: utils/misc/guc.c:708 -msgid "Detection of a damaged page header normally causes PostgreSQL to report an error, aborting the current transaction. Setting zero_damaged_pages to true causes the system to instead report a warning, zero out the damaged page, and continue processing. This behavior will destroy data, namely all the rows on the damaged page." +msgid "" +"Detection of a damaged page header normally causes PostgreSQL to report an " +"error, aborting the current transaction. Setting zero_damaged_pages to true " +"causes the system to instead report a warning, zero out the damaged page, " +"and continue processing. This behavior will destroy data, namely all the " +"rows on the damaged page." msgstr "" "La détection d'une en-tête de page endommagée cause normalement le rapport\n" "d'une erreur par PostgreSQL, l'annulation de la transaction en cours.\n" @@ -1254,11 +1210,16 @@ #: utils/misc/guc.c:720 msgid "Writes full pages to WAL when first modified after a checkpoint." msgstr "" -"Écrit des pages complètes dans les WAL lors d'une première modification après\n" +"Écrit des pages complètes dans les WAL lors d'une première modification " +"après\n" "un point de vérification." #: utils/misc/guc.c:721 -msgid "A page write in process during an operating system crash might be only partially written to disk. During recovery, the row changes stored in WAL are not enough to recover. This option writes pages when first modified after a checkpoint to WAL so full recovery is possible." +msgid "" +"A page write in process during an operating system crash might be only " +"partially written to disk. During recovery, the row changes stored in WAL " +"are not enough to recover. This option writes pages when first modified " +"after a checkpoint to WAL so full recovery is possible." msgstr "" "Une page écrite au moment d'un arrêt brutal du système d'exploitation\n" "pourrait être seulement partiellement écrite sur le disque. Lors de la\n" @@ -1273,7 +1234,9 @@ msgstr "Lance le serveur de manière silencieuse." #: utils/misc/guc.c:733 -msgid "If this parameter is set, the server will automatically run in the background and any controlling terminals are dissociated." +msgid "" +"If this parameter is set, the server will automatically run in the " +"background and any controlling terminals are dissociated." msgstr "" "Si ce paramètre est initialisé, le serveur sera exécuté automatiquement en\n" "tâche de fond et les terminaux de contrôles seront dés-associés." @@ -1298,14 +1261,9 @@ msgid "This is a debugging aid." msgstr "C'est une aide de débogage." -#: utils/misc/guc.c:780 -#: utils/misc/guc.c:862 -#: utils/misc/guc.c:921 -#: utils/misc/guc.c:930 -#: utils/misc/guc.c:939 -#: utils/misc/guc.c:948 -#: utils/misc/guc.c:1514 -#: utils/misc/guc.c:1523 +#: utils/misc/guc.c:780 utils/misc/guc.c:862 utils/misc/guc.c:921 +#: utils/misc/guc.c:930 utils/misc/guc.c:939 utils/misc/guc.c:948 +#: utils/misc/guc.c:1514 utils/misc/guc.c:1523 msgid "No description available." msgstr "Aucune description disponible." @@ -1332,7 +1290,8 @@ #: utils/misc/guc.c:829 msgid "Writes parser performance statistics to the server log." msgstr "" -"Écrit les statistiques de performance de l'analyseur dans les journaux applicatifs\n" +"Écrit les statistiques de performance de l'analyseur dans les journaux " +"applicatifs\n" "du serveur." #: utils/misc/guc.c:837 @@ -1344,13 +1303,15 @@ #: utils/misc/guc.c:845 msgid "Writes executor performance statistics to the server log." msgstr "" -"Écrit les statistiques de performance de l'exécuteur dans les journaux applicatifs\n" +"Écrit les statistiques de performance de l'exécuteur dans les journaux " +"applicatifs\n" "du serveur." #: utils/misc/guc.c:853 msgid "Writes cumulative performance statistics to the server log." msgstr "" -"Écrit les statistiques de performance cumulatives dans les journaux applicatifs\n" +"Écrit les statistiques de performance cumulatives dans les journaux " +"applicatifs\n" "du serveur." #: utils/misc/guc.c:873 @@ -1358,7 +1319,9 @@ msgstr "Récupère les statistiques sur les commandes en exécution." #: utils/misc/guc.c:874 -msgid "Enables the collection of information on the currently executing command of each session, along with the time at which that command began execution." +msgid "" +"Enables the collection of information on the currently executing command of " +"each session, along with the time at which that command began execution." msgstr "" "Active la récupération d'informations sur la commande en cours d'exécution\n" "pour chaque session, avec l'heure de début de l'exécution de la commande." @@ -1374,7 +1337,9 @@ "d'exécution." #: utils/misc/guc.c:893 -msgid "Enables updating of the process title every time a new SQL command is received by the server." +msgid "" +"Enables updating of the process title every time a new SQL command is " +"received by the server." msgstr "" "Active la mise à jour du titre du processus chaque fois qu'une nouvelle\n" "commande SQL est reçue par le serveur." @@ -1396,7 +1361,11 @@ msgstr "Trace le nom d'hôte dans les traces de connexion." #: utils/misc/guc.c:969 -msgid "By default, connection logs only show the IP address of the connecting host. If you want them to show the host name you can turn this on, but depending on your host name resolution setup it might impose a non-negligible performance penalty." +msgid "" +"By default, connection logs only show the IP address of the connecting host. " +"If you want them to show the host name you can turn this on, but depending " +"on your host name resolution setup it might impose a non-negligible " +"performance penalty." msgstr "" "Par défaut, les traces de connexion n'affichent que l'adresse IP de l'hôte\n" "se connectant. Si vous voulez que s'affiche le nom de l'hôte, vous devez\n" @@ -1415,10 +1384,14 @@ msgstr "Chiffre les mots de passe." #: utils/misc/guc.c:988 -msgid "When a password is specified in CREATE USER or ALTER USER without writing either ENCRYPTED or UNENCRYPTED, this parameter determines whether the password is to be encrypted." +msgid "" +"When a password is specified in CREATE USER or ALTER USER without writing " +"either ENCRYPTED or UNENCRYPTED, this parameter determines whether the " +"password is to be encrypted." msgstr "" "Lorsqu'un mot de passe est spécifié dans CREATE USER ou ALTER USER sans\n" -"indiquer ENCRYPTED ou UNENCRYPTED, ce paramètre détermine si le mot de passe\n" +"indiquer ENCRYPTED ou UNENCRYPTED, ce paramètre détermine si le mot de " +"passe\n" "doit être chiffré." #: utils/misc/guc.c:997 @@ -1426,7 +1399,11 @@ msgstr "Traite « expr=NULL » comme « expr IS NULL »." #: utils/misc/guc.c:998 -msgid "When turned on, expressions of the form expr = NULL (or NULL = expr) are treated as expr IS NULL, that is, they return true if expr evaluates to the null value, and false otherwise. The correct behavior of expr = NULL is to always return null (unknown)." +msgid "" +"When turned on, expressions of the form expr = NULL (or NULL = expr) are " +"treated as expr IS NULL, that is, they return true if expr evaluates to the " +"null value, and false otherwise. The correct behavior of expr = NULL is to " +"always return null (unknown)." msgstr "" "Une fois activé, les expressions de la forme expr = NULL (ou NULL = expr)\n" "sont traitées comme expr IS NULL, c'est-à-dire qu'elles renvoient true si\n" @@ -1442,14 +1419,17 @@ msgstr "Ce paramètre ne fait rien." #: utils/misc/guc.c:1019 -msgid "It's just here so that we won't choke on SET AUTOCOMMIT TO ON from 7.3-vintage clients." +msgid "" +"It's just here so that we won't choke on SET AUTOCOMMIT TO ON from 7.3-" +"vintage clients." msgstr "" "C'est ici uniquement pour ne pas avoir de problèmes avec le SET AUTOCOMMIT\n" "TO ON des clients 7.3." #: utils/misc/guc.c:1027 msgid "Sets the default read-only status of new transactions." -msgstr "Initialise le statut de lecture seule par défaut des nouvelles transactions." +msgstr "" +"Initialise le statut de lecture seule par défaut des nouvelles transactions." #: utils/misc/guc.c:1035 msgid "Sets the current transaction's read-only status." @@ -1470,7 +1450,9 @@ msgstr "Active la saisie d'éléments NULL dans les tableaux." #: utils/misc/guc.c:1061 -msgid "When turned on, unquoted NULL in an array input value means a null value; otherwise it is taken literally." +msgid "" +"When turned on, unquoted NULL in an array input value means a null value; " +"otherwise it is taken literally." msgstr "" "Si activé, un NULL sans guillemets en tant que valeur d'entrée dans un\n" "tableau signifie une valeur NULL ; sinon, il sera pris littéralement." @@ -1480,7 +1462,8 @@ msgstr "Crée des nouvelles tables avec des OID par défaut." #: utils/misc/guc.c:1078 -msgid "Start a subprocess to capture stderr output and/or csvlogs into log files." +msgid "" +"Start a subprocess to capture stderr output and/or csvlogs into log files." msgstr "" "Lance un sous-processus pour capturer la sortie d'erreurs (stderr) et/ou\n" "csvlogs dans des journaux applicatifs." @@ -1512,14 +1495,18 @@ msgstr "Les types datetime sont basés sur des entiers" #: utils/misc/guc.c:1160 -msgid "Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive." +msgid "" +"Sets whether Kerberos and GSSAPI user names should be treated as case-" +"insensitive." msgstr "" -"Indique si les noms d'utilisateurs Kerberos et GSSAPI devraient être traités\n" +"Indique si les noms d'utilisateurs Kerberos et GSSAPI devraient être " +"traités\n" "sans se soucier de la casse." #: utils/misc/guc.c:1169 msgid "Warn about backslash escapes in ordinary string literals." -msgstr "Avertie sur les échappements par antislash dans les chaînes ordinaires." +msgstr "" +"Avertie sur les échappements par antislash dans les chaînes ordinaires." #: utils/misc/guc.c:1178 msgid "Causes '...' strings to treat backslashes literally." @@ -1531,7 +1518,9 @@ #: utils/misc/guc.c:1197 msgid "Allows archiving of WAL files using archive_command." -msgstr "Autorise l'archivage des journaux de transactions en utilisant archive_command." +msgstr "" +"Autorise l'archivage des journaux de transactions en utilisant " +"archive_command." #: utils/misc/guc.c:1206 msgid "Allows modifications of the structure of system tables." @@ -1542,13 +1531,17 @@ msgstr "Désactive la lecture des index système." #: utils/misc/guc.c:1217 -msgid "It does not prevent updating the indexes, so it is safe to use. The worst consequence is slowness." +msgid "" +"It does not prevent updating the indexes, so it is safe to use. The worst " +"consequence is slowness." msgstr "" "Cela n'empêche pas la mise à jour des index, donc vous pouvez l'utiliser en\n" "toute sécurité. La pire conséquence est la lenteur." #: utils/misc/guc.c:1236 -msgid "Forces a switch to the next xlog file if a new file has not been started within N seconds." +msgid "" +"Forces a switch to the next xlog file if a new file has not been started " +"within N seconds." msgstr "" "Force un changement du journal de transaction si un nouveau fichier n'a pas\n" "été créé depuis N secondes." @@ -1557,8 +1550,7 @@ msgid "Waits N seconds on connection startup after authentication." msgstr "Attends N secondes après l'authentification." -#: utils/misc/guc.c:1247 -#: utils/misc/guc.c:1585 +#: utils/misc/guc.c:1247 utils/misc/guc.c:1585 msgid "This allows attaching a debugger to the process." msgstr "Ceci permet d'attacher un débogueur au processus." @@ -1567,7 +1559,9 @@ msgstr "Initialise la cible par défaut des statistiques." #: utils/misc/guc.c:1256 -msgid "This applies to table columns that have not had a column-specific target set via ALTER TABLE SET STATISTICS." +msgid "" +"This applies to table columns that have not had a column-specific target set " +"via ALTER TABLE SET STATISTICS." msgstr "" "Ceci s'applique aux colonnes de tables qui n'ont pas de cible spécifique\n" "pour la colonne initialisée via ALTER TABLE SET STATISTICS." @@ -1579,7 +1573,9 @@ "sous-requêtes ne sont pas rassemblées." #: utils/misc/guc.c:1266 -msgid "The planner will merge subqueries into upper queries if the resulting FROM list would have no more than this many items." +msgid "" +"The planner will merge subqueries into upper queries if the resulting FROM " +"list would have no more than this many items." msgstr "" "Le planificateur fusionne les sous-requêtes dans des requêtes supérieures\n" "si la liste FROM résultante n'a pas plus de ce nombre d'éléments." @@ -1587,19 +1583,25 @@ #: utils/misc/guc.c:1275 msgid "Sets the FROM-list size beyond which JOIN constructs are not flattened." msgstr "" -"Initialise la taille de la liste FROM en dehors de laquelle les contructions\n" +"Initialise la taille de la liste FROM en dehors de laquelle les " +"contructions\n" "JOIN ne sont pas aplanies." #: utils/misc/guc.c:1277 -msgid "The planner will flatten explicit JOIN constructs into lists of FROM items whenever a list of no more than this many items would result." +msgid "" +"The planner will flatten explicit JOIN constructs into lists of FROM items " +"whenever a list of no more than this many items would result." msgstr "" -"La planificateur applanira les constructions JOIN explicites dans des listes\n" +"La planificateur applanira les constructions JOIN explicites dans des " +"listes\n" "d'éléments FROM lorsqu'une liste d'au plus ce nombre d'éléments en\n" "résulterait." #: utils/misc/guc.c:1286 msgid "Sets the threshold of FROM items beyond which GEQO is used." -msgstr "Initialise la limite des éléments FROM en dehors de laquelle GEQO est utilisé." +msgstr "" +"Initialise la limite des éléments FROM en dehors de laquelle GEQO est " +"utilisé." #: utils/misc/guc.c:1294 msgid "GEQO: effort is used to set the default for other GEQO parameters." @@ -1611,8 +1613,7 @@ msgid "GEQO: number of individuals in the population." msgstr "GEQO : nombre d'individus dans une population." -#: utils/misc/guc.c:1303 -#: utils/misc/guc.c:1311 +#: utils/misc/guc.c:1303 utils/misc/guc.c:1311 msgid "Zero selects a suitable default value." msgstr "Zéro sélectionne une valeur par défaut convenable." @@ -1638,7 +1639,8 @@ #: utils/misc/guc.c:1366 msgid "Sets the maximum number of temporary buffers used by each session." -msgstr "Nombre maximum de tampons en mémoire partagée utilisés par chaque session." +msgstr "" +"Nombre maximum de tampons en mémoire partagée utilisés par chaque session." #: utils/misc/guc.c:1376 msgid "Sets the TCP port the server listens on." @@ -1649,26 +1651,37 @@ msgstr "Droits d'accès au socket domaine Unix." #: utils/misc/guc.c:1386 -msgid "Unix-domain sockets use the usual Unix file system permission set. The parameter value is expected to be a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)" +msgid "" +"Unix-domain sockets use the usual Unix file system permission set. The " +"parameter value is expected to be a numeric mode specification in the form " +"accepted by the chmod and umask system calls. (To use the customary octal " +"format the number must start with a 0 (zero).)" msgstr "" -"Les sockets de domaine Unix utilise l'ensemble des droits habituels du système\n" +"Les sockets de domaine Unix utilise l'ensemble des droits habituels du " +"système\n" "de fichiers Unix. La valeur de ce paramètre doit être une spécification en\n" "mode numérique de la forme acceptée par les appels système chmod et umask\n" "(pour utiliser le format octal, le nombre doit commencer avec un zéro)." #: utils/misc/guc.c:1398 msgid "Sets the maximum memory to be used for query workspaces." -msgstr "Initialise la mémoire maximum utilisée pour les espaces de travail des requêtes." +msgstr "" +"Initialise la mémoire maximum utilisée pour les espaces de travail des " +"requêtes." #: utils/misc/guc.c:1399 -msgid "This much memory can be used by each internal sort operation and hash table before switching to temporary disk files." +msgid "" +"This much memory can be used by each internal sort operation and hash table " +"before switching to temporary disk files." msgstr "" "Spécifie la mémoire à utiliser par les opérations de tris internes et par\n" -"les tables de hachage avant de passer sur des fichiers temporaires sur disque." +"les tables de hachage avant de passer sur des fichiers temporaires sur " +"disque." #: utils/misc/guc.c:1410 msgid "Sets the maximum memory to be used for maintenance operations." -msgstr "Initialise la mémoire maximum utilisée pour les opérations de maintenance." +msgstr "" +"Initialise la mémoire maximum utilisée pour les opérations de maintenance." #: utils/misc/guc.c:1411 msgid "This includes operations such as VACUUM and CREATE INDEX." @@ -1707,7 +1720,8 @@ msgstr "Coût du VACUUM disponible avant un repos, pour autovacuum." #: utils/misc/guc.c:1495 -msgid "Sets the maximum number of simultaneously open files for each server process." +msgid "" +"Sets the maximum number of simultaneously open files for each server process." msgstr "" "Initialise le nombre maximum de fichiers ouverts simultanément pour chaque\n" "processus serveur." @@ -1731,7 +1745,8 @@ #: utils/misc/guc.c:1553 msgid "Age at which VACUUM should scan whole table to freeze tuples." msgstr "" -"Âge à partir duquel VACUUM devra parcourir une table complète pour geler les\n" +"Âge à partir duquel VACUUM devra parcourir une table complète pour geler " +"les\n" "lignes." #: utils/misc/guc.c:1562 @@ -1739,7 +1754,10 @@ msgstr "Initialise le nombre maximum de verrous par transaction." #: utils/misc/guc.c:1563 -msgid "The shared lock table is sized on the assumption that at most max_locks_per_transaction * max_connections distinct objects will need to be locked at any one time." +msgid "" +"The shared lock table is sized on the assumption that at most " +"max_locks_per_transaction * max_connections distinct objects will need to be " +"locked at any one time." msgstr "" "La table des verrous partagés est dimensionnée sur l'idée qu'au plus\n" "max_locks_per_transaction * max_connections objets distincts auront besoin\n" @@ -1753,12 +1771,15 @@ #: utils/misc/guc.c:1584 msgid "Waits N seconds on connection startup before authentication." -msgstr "Attends N secondes au lancement de la connexion avant l'authentification." +msgstr "" +"Attends N secondes au lancement de la connexion avant l'authentification." #: utils/misc/guc.c:1594 -msgid "Sets the maximum distance in log segments between automatic WAL checkpoints." +msgid "" +"Sets the maximum distance in log segments between automatic WAL checkpoints." msgstr "" -"Initialise la distance maximale dans les journaux de transaction entre chaque\n" +"Initialise la distance maximale dans les journaux de transaction entre " +"chaque\n" "point de vérification (checkpoints) des journaux." #: utils/misc/guc.c:1603 @@ -1768,13 +1789,17 @@ "pour les journaux de transactions." #: utils/misc/guc.c:1613 -msgid "Enables warnings if checkpoint segments are filled more frequently than this." +msgid "" +"Enables warnings if checkpoint segments are filled more frequently than this." msgstr "" "Active des messages d'avertissement si les segments des points de\n" "vérifications se remplissent plus fréquemment que cette durée." #: utils/misc/guc.c:1615 -msgid "Write a message to the server log if checkpoints caused by the filling of checkpoint segment files happens more frequently than this number of seconds. Zero turns off the warning." +msgid "" +"Write a message to the server log if checkpoints caused by the filling of " +"checkpoint segment files happens more frequently than this number of " +"seconds. Zero turns off the warning." msgstr "" "Écrit un message dans les journaux applicatifs du serveur si les points de\n" "vérifications causées par le remplissage des journaux de transaction avec\n" @@ -1794,23 +1819,32 @@ "journaux de transactions en millisecondes." #: utils/misc/guc.c:1646 -msgid "Sets the delay in microseconds between transaction commit and flushing WAL to disk." +msgid "" +"Sets the delay in microseconds between transaction commit and flushing WAL " +"to disk." msgstr "" "Initialise le délai en microsecondes entre l'acceptation de la transaction\n" "et le vidage du journal de transaction sur disque." #: utils/misc/guc.c:1656 -msgid "Sets the minimum concurrent open transactions before performing commit_delay." +msgid "" +"Sets the minimum concurrent open transactions before performing commit_delay." msgstr "" -"Initialise le nombre minimum de transactions ouvertes simultanément avant le\n" +"Initialise le nombre minimum de transactions ouvertes simultanément avant " +"le\n" "commit_delay." #: utils/misc/guc.c:1666 msgid "Sets the number of digits displayed for floating-point values." -msgstr "Initialise le nombre de chiffres affichés pour les valeurs à virgule flottante." +msgstr "" +"Initialise le nombre de chiffres affichés pour les valeurs à virgule " +"flottante." #: utils/misc/guc.c:1667 -msgid "This affects real, double precision, and geometric data types. The parameter value is added to the standard number of digits (FLT_DIG or DBL_DIG as appropriate)." +msgid "" +"This affects real, double precision, and geometric data types. The parameter " +"value is added to the standard number of digits (FLT_DIG or DBL_DIG as " +"appropriate)." msgstr "" "Ceci affecte les types de données real, double precision et géométriques.\n" "La valeur du paramètre est ajoutée au nombre standard de chiffres (FLT_DIG\n" @@ -1819,7 +1853,8 @@ #: utils/misc/guc.c:1677 msgid "Sets the minimum execution time above which statements will be logged." msgstr "" -"Initialise le temps d'exécution minimum au-dessus de lequel les instructions\n" +"Initialise le temps d'exécution minimum au-dessus de lequel les " +"instructions\n" "seront tracées." #: utils/misc/guc.c:1679 @@ -1827,7 +1862,9 @@ msgstr "Zéro affiche toutes les requêtes. -1 désactive cette fonctionnalité." #: utils/misc/guc.c:1688 -msgid "Sets the minimum execution time above which autovacuum actions will be logged." +msgid "" +"Sets the minimum execution time above which autovacuum actions will be " +"logged." msgstr "" "Initialise le temps d'exécution minimum au-dessus duquel les actions\n" "autovacuum seront tracées." @@ -1849,11 +1886,17 @@ "tâche de fond." #: utils/misc/guc.c:1724 -msgid "Number of simultaneous requests that can be handled efficiently by the disk subsystem." -msgstr "Nombre de requêtes simultanées pouvant être gérées efficacement par le sous-système disque." +msgid "" +"Number of simultaneous requests that can be handled efficiently by the disk " +"subsystem." +msgstr "" +"Nombre de requêtes simultanées pouvant être gérées efficacement par le sous-" +"système disque." #: utils/misc/guc.c:1725 -msgid "For RAID arrays, this should be approximately the number of drive spindles in the array." +msgid "" +"For RAID arrays, this should be approximately the number of drive spindles " +"in the array." msgstr "" "Pour les systèmes RAID, cela devrait être approximativement le nombre de\n" "têtes de lecture du système." @@ -1866,7 +1909,8 @@ #: utils/misc/guc.c:1748 msgid "Automatic log file rotation will occur after N kilobytes." -msgstr "La rotation automatique des journaux applicatifs s'effectue après N Ko." +msgstr "" +"La rotation automatique des journaux applicatifs s'effectue après N Ko." #: utils/misc/guc.c:1758 msgid "Shows the maximum number of function arguments." @@ -1906,24 +1950,30 @@ #: utils/misc/guc.c:1848 msgid "Minimum number of tuple inserts, updates or deletes prior to analyze." -msgstr "Nombre minimum de lignes insérées, mises à jour ou supprimées avant un ANALYZE." +msgstr "" +"Nombre minimum de lignes insérées, mises à jour ou supprimées avant un " +"ANALYZE." #: utils/misc/guc.c:1857 -msgid "Age at which to autovacuum a table to prevent transaction ID wraparound." +msgid "" +"Age at which to autovacuum a table to prevent transaction ID wraparound." msgstr "" -"Âge à partir duquel l'autovacuum se déclenche sur une table pour empêcher la\n" +"Âge à partir duquel l'autovacuum se déclenche sur une table pour empêcher " +"la\n" "réinitialisation de l'identifiant de transaction" #: utils/misc/guc.c:1866 -msgid "Sets the maximum number of simultaneously running autovacuum worker processes." -msgstr "Initialise le nombre maximum de processus autovacuum exécutés simultanément." +msgid "" +"Sets the maximum number of simultaneously running autovacuum worker " +"processes." +msgstr "" +"Initialise le nombre maximum de processus autovacuum exécutés simultanément." #: utils/misc/guc.c:1875 msgid "Time between issuing TCP keepalives." msgstr "Secondes entre l'exécution de « TCP keepalives »." -#: utils/misc/guc.c:1876 -#: utils/misc/guc.c:1886 +#: utils/misc/guc.c:1876 utils/misc/guc.c:1886 msgid "A value of 0 uses the system default." msgstr "Une valeur de 0 désactive la valeur système par défaut." @@ -1932,9 +1982,12 @@ msgstr "Secondes entre les retransmissions de « TCP keepalive »." #: utils/misc/guc.c:1895 -msgid "Set the amount of traffic to send and receive before renegotiating the encryption keys." +msgid "" +"Set the amount of traffic to send and receive before renegotiating the " +"encryption keys." msgstr "" -"Configure la quantité de trafic à envoyer et recevoir avant la renégotiation\n" +"Configure la quantité de trafic à envoyer et recevoir avant la " +"renégotiation\n" "des clés de chiffrement." #: utils/misc/guc.c:1905 @@ -1942,7 +1995,10 @@ msgstr "Nombre maximum de retransmissions de « TCP keepalive »." #: utils/misc/guc.c:1906 -msgid "This controls the number of consecutive keepalive retransmits that can be lost before a connection is considered dead. A value of 0 uses the system default." +msgid "" +"This controls the number of consecutive keepalive retransmits that can be " +"lost before a connection is considered dead. A value of 0 uses the system " +"default." msgstr "" "Ceci contrôle le nombre de retransmissions keepalive consécutives qui\n" "peuvent être perdues avant qu'une connexion ne soit considérée morte. Une\n" @@ -1954,10 +2010,14 @@ #: utils/misc/guc.c:1926 msgid "Sets the planner's assumption about the size of the disk cache." -msgstr "Initialise le sentiment du planificateur sur la taille du cache disque." +msgstr "" +"Initialise le sentiment du planificateur sur la taille du cache disque." #: utils/misc/guc.c:1927 -msgid "That is, the portion of the kernel's disk cache that will be used for PostgreSQL data files. This is measured in disk pages, which are normally 8 kB each." +msgid "" +"That is, the portion of the kernel's disk cache that will be used for " +"PostgreSQL data files. This is measured in disk pages, which are normally 8 " +"kB each." msgstr "" "C'est-à-dire, la portion du cache disque du noyau qui sera utilisé pour les\n" "fichiers de données de PostgreSQL. C'est mesuré en pages disque, qui font\n" @@ -1981,16 +2041,20 @@ #: utils/misc/guc.c:1959 msgid "Sets the size reserved for pg_stat_activity.current_query, in bytes." -msgstr "Configure la taille réservée pour pg_stat_activity.current_query, en octets." +msgstr "" +"Configure la taille réservée pour pg_stat_activity.current_query, en octets." #: utils/misc/guc.c:1977 -msgid "Sets the planner's estimate of the cost of a sequentially fetched disk page." +msgid "" +"Sets the planner's estimate of the cost of a sequentially fetched disk page." msgstr "" "Initialise l'estimation du planificateur pour le coût d'une page disque\n" "récupérée séquentiellement." #: utils/misc/guc.c:1986 -msgid "Sets the planner's estimate of the cost of a nonsequentially fetched disk page." +msgid "" +"Sets the planner's estimate of the cost of a nonsequentially fetched disk " +"page." msgstr "" "Initialise l'estimation du plnnificateur pour le coût d'une page disque\n" "récupérée non séquentiellement." @@ -1998,24 +2062,33 @@ #: utils/misc/guc.c:1995 msgid "Sets the planner's estimate of the cost of processing each tuple (row)." msgstr "" -"Initialise l'estimation du planificateur pour le coût d'exécution sur chaque\n" +"Initialise l'estimation du planificateur pour le coût d'exécution sur " +"chaque\n" "ligne." #: utils/misc/guc.c:2004 -msgid "Sets the planner's estimate of the cost of processing each index entry during an index scan." +msgid "" +"Sets the planner's estimate of the cost of processing each index entry " +"during an index scan." msgstr "" "Initialise l'estimation du planificateur pour le coût de traitement de\n" "chaque ligne indexée lors d'un parcours d'index." #: utils/misc/guc.c:2013 -msgid "Sets the planner's estimate of the cost of processing each operator or function call." +msgid "" +"Sets the planner's estimate of the cost of processing each operator or " +"function call." msgstr "" "Initialise l'estimation du planificateur pour le coût de traitement de\n" "chaque opérateur ou appel de fonction." #: utils/misc/guc.c:2023 -msgid "Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved." -msgstr "Initialise l'estimation du planificateur de la fraction des lignes d'un curseur à récupérer." +msgid "" +"Sets the planner's estimate of the fraction of a cursor's rows that will be " +"retrieved." +msgstr "" +"Initialise l'estimation du planificateur de la fraction des lignes d'un " +"curseur à récupérer." #: utils/misc/guc.c:2033 msgid "GEQO: selective pressure within the population." @@ -2030,26 +2103,33 @@ msgstr "Initialise la clé pour la génération de nombres aléatoires." #: utils/misc/guc.c:2062 -msgid "Number of tuple updates or deletes prior to vacuum as a fraction of reltuples." +msgid "" +"Number of tuple updates or deletes prior to vacuum as a fraction of " +"reltuples." msgstr "" "Nombre de lignes modifiées ou supprimées avant d'exécuter un VACUUM\n" "(fraction de reltuples)." #: utils/misc/guc.c:2070 -msgid "Number of tuple inserts, updates or deletes prior to analyze as a fraction of reltuples." +msgid "" +"Number of tuple inserts, updates or deletes prior to analyze as a fraction " +"of reltuples." msgstr "" "Nombre de lignes insérées, mises à jour ou supprimées avant d'analyser\n" "(fraction de reltuples)." #: utils/misc/guc.c:2079 -msgid "Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval." +msgid "" +"Time spent flushing dirty buffers during checkpoint, as fraction of " +"checkpoint interval." msgstr "" "Temps passé à vider les tampons lors du point de vérification, en tant que\n" "fraction de l'intervalle du point de vérification." #: utils/misc/guc.c:2097 msgid "Sets the shell command that will be called to archive a WAL file." -msgstr "La commande shell qui sera appelée pour archiver un journal de transaction." +msgstr "" +"La commande shell qui sera appelée pour archiver un journal de transaction." #: utils/misc/guc.c:2106 msgid "Sets the client's character set encoding." @@ -2081,12 +2161,14 @@ #: utils/misc/guc.c:2146 msgid "An empty string selects the database's default tablespace." -msgstr "Une chaîne vide sélectionne le tablespace par défaut de la base de données." +msgstr "" +"Une chaîne vide sélectionne le tablespace par défaut de la base de données." #: utils/misc/guc.c:2155 msgid "Sets the tablespace(s) to use for temporary tables and sort files." msgstr "" -"Initialise le(s) tablespace(s) à utiliser pour les tables temporaires et les\n" +"Initialise le(s) tablespace(s) à utiliser pour les tables temporaires et " +"les\n" "fichiers de tri." #: utils/misc/guc.c:2165 @@ -2094,7 +2176,10 @@ msgstr "Initialise le chemin des modules chargeables dynamiquement." #: utils/misc/guc.c:2166 -msgid "If a dynamically loadable module needs to be opened and the specified name does not have a directory component (i.e., the name does not contain a slash), the system will search this path for the specified file." +msgid "" +"If a dynamically loadable module needs to be opened and the specified name " +"does not have a directory component (i.e., the name does not contain a " +"slash), the system will search this path for the specified file." msgstr "" "Si un module chargeable dynamiquement a besoin d'être ouvert et que le nom\n" "spécifié n'a pas une composante répertoire (c'est-à-dire que le nom ne\n" @@ -2142,7 +2227,8 @@ #: utils/misc/guc.c:2274 msgid "Lists shared libraries to preload into each backend." -msgstr "Liste les bibliothèques partagées à précharger dans chaque processus serveur." +msgstr "" +"Liste les bibliothèques partagées à précharger dans chaque processus serveur." #: utils/misc/guc.c:2284 msgid "Sets the schema search order for names that are not schema-qualified." @@ -2171,7 +2257,9 @@ msgstr "Initialise la destination des journaux applicatifs du serveur." #: utils/misc/guc.c:2339 -msgid "Valid values are combinations of \"stderr\", \"syslog\", \"csvlog\", and \"eventlog\", depending on the platform." +msgid "" +"Valid values are combinations of \"stderr\", \"syslog\", \"csvlog\", and " +"\"eventlog\", depending on the platform." msgstr "" "Les valeurs valides sont une combinaison de « stderr », « syslog »,\n" "« csvlog » et « eventlog », suivant la plateforme." @@ -2196,11 +2284,13 @@ #: utils/misc/guc.c:2381 msgid "Sets the time zone for displaying and interpreting time stamps." -msgstr "Initialise la zone horaire pour afficher et interpréter les dates/heures." +msgstr "" +"Initialise la zone horaire pour afficher et interpréter les dates/heures." #: utils/misc/guc.c:2390 msgid "Selects a file of time zone abbreviations." -msgstr "Sélectionne un fichier contenant les abréviations des fuseaux horaires." +msgstr "" +"Sélectionne un fichier contenant les abréviations des fuseaux horaires." #: utils/misc/guc.c:2399 msgid "Sets the current transaction's isolation level." @@ -2211,8 +2301,10 @@ msgstr "Initialise le groupe d'appartenance du socket domaine Unix." #: utils/misc/guc.c:2410 -msgid "The owning user of the socket is always the user that starts the server." -msgstr "Le propriétaire du socket est toujours l'utilisateur qui a lancé le serveur." +msgid "" +"The owning user of the socket is always the user that starts the server." +msgstr "" +"Le propriétaire du socket est toujours l'utilisateur qui a lancé le serveur." #: utils/misc/guc.c:2419 msgid "Sets the directory where the Unix-domain socket will be created." @@ -2248,7 +2340,8 @@ #: utils/misc/guc.c:2499 msgid "Writes temporary statistics files to the specified directory." -msgstr "Écrit les fichiers statistiques temporaires dans le répertoire indiqué." +msgstr "" +"Écrit les fichiers statistiques temporaires dans le répertoire indiqué." #: utils/misc/guc.c:2509 msgid "Sets default text search configuration." @@ -2266,27 +2359,33 @@ msgid "Sets the message levels that are sent to the client." msgstr "Initialise les niveaux de message envoyés au client." -#: utils/misc/guc.c:2549 -#: utils/misc/guc.c:2598 -#: utils/misc/guc.c:2608 -msgid "Each level includes all the levels that follow it. The later the level, the fewer messages are sent." +#: utils/misc/guc.c:2549 utils/misc/guc.c:2598 utils/misc/guc.c:2608 +msgid "" +"Each level includes all the levels that follow it. The later the level, the " +"fewer messages are sent." msgstr "" "Chaque niveau inclut les niveaux qui suivent. Plus loin sera le niveau,\n" "moindre sera le nombre de messages envoyés." #: utils/misc/guc.c:2558 msgid "Enables the planner to use constraints to optimize queries." -msgstr "Active l'utilisation des contraintes par le planificateur pour optimiser les requêtes." +msgstr "" +"Active l'utilisation des contraintes par le planificateur pour optimiser les " +"requêtes." #: utils/misc/guc.c:2559 -msgid "Table scans will be skipped if their constraints guarantee that no rows match the query." +msgid "" +"Table scans will be skipped if their constraints guarantee that no rows " +"match the query." msgstr "" "Les parcours de tables seront ignorés si leur contraintes garantissent\n" "qu'aucune ligne ne correspond à la requête." #: utils/misc/guc.c:2569 msgid "Sets the transaction isolation level of each new transaction." -msgstr "Initialise le niveau d'isolation des transactions pour chaque nouvelle transaction." +msgstr "" +"Initialise le niveau d'isolation des transactions pour chaque nouvelle " +"transaction." #: utils/misc/guc.c:2578 msgid "Sets the display format for interval values." @@ -2301,7 +2400,8 @@ msgstr "Initialise les niveaux de messages tracés." #: utils/misc/guc.c:2607 -msgid "Causes all statements generating error at or above this level to be logged." +msgid "" +"Causes all statements generating error at or above this level to be logged." msgstr "" "Génère une trace pour toutes les instructions qui produisent une erreur de\n" "ce niveau ou de niveaux plus importants." @@ -2313,7 +2413,8 @@ #: utils/misc/guc.c:2627 msgid "Sets the syslog \"facility\" to be used when syslog enabled." msgstr "" -"Initialise le niveau (« facility ») de syslog à utilisé lors de l'activation\n" +"Initialise le niveau (« facility ») de syslog à utilisé lors de " +"l'activation\n" "de syslog." #: utils/misc/guc.c:2637 @@ -2328,7 +2429,9 @@ #: utils/misc/guc.c:2656 msgid "Collects function-level statistics on database activity." -msgstr "Récupère les statistiques niveau fonction sur l'activité de la base de données." +msgstr "" +"Récupère les statistiques niveau fonction sur l'activité de la base de " +"données." #: utils/misc/guc.c:2665 msgid "Selects the method used for forcing WAL updates to disk." @@ -2341,7 +2444,9 @@ msgstr "Configure comment les valeurs binaires seront codées en XML." #: utils/misc/guc.c:2684 -msgid "Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments." +msgid "" +"Sets whether XML data in implicit parsing and serialization operations is to " +"be considered as documents or content fragments." msgstr "" "Configure si les données XML dans des opérations d'analyse et de\n" "sérialisation implicite doivent être considérées comme des documents\n" @@ -2351,7 +2456,8 @@ #, c-format msgid "" "%s does not know where to find the server configuration file.\n" -"You must specify the --config-file or -D invocation option or set the PGDATA environment variable.\n" +"You must specify the --config-file or -D invocation option or set the PGDATA " +"environment variable.\n" msgstr "" "%s ne sait pas où trouver le fichier de configuration du serveur.\n" "Vous devez soit spécifier l'option --config-file soit spécifier l'option -D\n" @@ -2366,7 +2472,8 @@ #, c-format msgid "" "%s does not know where to find the database system data.\n" -"This can be specified as \"data_directory\" in \"%s\", or by the -D invocation option, or by the PGDATA environment variable.\n" +"This can be specified as \"data_directory\" in \"%s\", or by the -D " +"invocation option, or by the PGDATA environment variable.\n" msgstr "" "%s ne sait pas où trouver les données du système de bases de données.\n" "Il est configurable avec « data_directory » dans « %s » ou avec l'option -D\n" @@ -2376,7 +2483,8 @@ #, c-format msgid "" "%s does not know where to find the \"hba\" configuration file.\n" -"This can be specified as \"hba_file\" in \"%s\", or by the -D invocation option, or by the PGDATA environment variable.\n" +"This can be specified as \"hba_file\" in \"%s\", or by the -D invocation " +"option, or by the PGDATA environment variable.\n" msgstr "" "%s ne sait pas où trouver le fichier de configuration « hba ».\n" "Il est configurable avec « hba_file » dans « %s » ou avec l'option -D ou\n" @@ -2386,14 +2494,14 @@ #, c-format msgid "" "%s does not know where to find the \"ident\" configuration file.\n" -"This can be specified as \"ident_file\" in \"%s\", or by the -D invocation option, or by the PGDATA environment variable.\n" +"This can be specified as \"ident_file\" in \"%s\", or by the -D invocation " +"option, or by the PGDATA environment variable.\n" msgstr "" "%s ne sait pas où trouver le fichier de configuration « hba ».\n" "Il est configurable avec « ident_file » dans « %s » ou avec l'option -D ou\n" "encore avec la variable d'environnement PGDATA.\n" -#: utils/misc/guc.c:4152 -#: utils/misc/guc.c:4320 +#: utils/misc/guc.c:4152 utils/misc/guc.c:4320 msgid "Value exceeds integer range." msgstr "La valeur dépasse l'échelle des entiers." @@ -2402,17 +2510,14 @@ msgstr "Les unités valides pour ce paramètre sont « kB », « MB » et « GB »." #: utils/misc/guc.c:4234 -msgid "Valid units for this parameter are \"ms\", \"s\", \"min\", \"h\", and \"d\"." +msgid "" +"Valid units for this parameter are \"ms\", \"s\", \"min\", \"h\", and \"d\"." msgstr "" "Les unités valides pour ce paramètre sont « ms », « s », « min », « h » et\n" "« d »." -#: utils/misc/guc.c:4542 -#: utils/misc/guc.c:5203 -#: utils/misc/guc.c:5251 -#: utils/misc/guc.c:5372 -#: utils/misc/guc.c:5952 -#: utils/misc/guc.c:6093 +#: utils/misc/guc.c:4542 utils/misc/guc.c:5203 utils/misc/guc.c:5251 +#: utils/misc/guc.c:5372 utils/misc/guc.c:5952 utils/misc/guc.c:6093 #: guc-file.l:217 #, c-format msgid "unrecognized configuration parameter \"%s\"" @@ -2423,16 +2528,12 @@ msgid "parameter \"%s\" cannot be changed" msgstr "le paramètre « %s » ne peut pas être changé" -#: utils/misc/guc.c:4586 -#: utils/misc/guc.c:4595 -#: guc-file.l:264 +#: utils/misc/guc.c:4586 utils/misc/guc.c:4595 guc-file.l:264 #, c-format msgid "attempted change of parameter \"%s\" ignored" msgstr "tentative de modification du paramètre « %s » ignoré" -#: utils/misc/guc.c:4588 -#: utils/misc/guc.c:4597 -#: guc-file.l:266 +#: utils/misc/guc.c:4588 utils/misc/guc.c:4597 guc-file.l:266 msgid "This parameter cannot be changed after server start." msgstr "Ce paramètre ne peut pas être modifié après le lancement du serveur" @@ -2444,7 +2545,8 @@ #: utils/misc/guc.c:4636 #, c-format msgid "parameter \"%s\" cannot be set after connection start" -msgstr "le paramètre « %s » ne peut pas être initialisé après le lancement du serveur" +msgstr "" +"le paramètre « %s » ne peut pas être initialisé après le lancement du serveur" #: utils/misc/guc.c:4646 #, c-format @@ -2455,15 +2557,16 @@ #, c-format msgid "cannot set parameter \"%s\" within security-definer function" msgstr "" -"ne peut pas initialiser le paramètre « %s » dans la fonction de type SECURITY\n" +"ne peut pas initialiser le paramètre « %s » dans la fonction de type " +"SECURITY\n" "DEFINER" -#: utils/misc/guc.c:4692 -#: utils/init/miscinit.c:443 +#: utils/misc/guc.c:4692 utils/init/miscinit.c:443 #, c-format msgid "cannot set parameter \"%s\" within security-restricted operation" msgstr "" -"ne peut pas initialiser le paramètre « %s » dans la fonction restreinte pour\n" +"ne peut pas initialiser le paramètre « %s » dans la fonction restreinte " +"pour\n" "sécurité" #: utils/misc/guc.c:4741 @@ -2471,45 +2574,26 @@ msgid "parameter \"%s\" requires a Boolean value" msgstr "le paramètre « %s » requiert une valeur booléenne" -#: utils/misc/guc.c:4763 -#: utils/misc/guc.c:4838 +#: utils/misc/guc.c:4763 utils/misc/guc.c:4838 #, c-format msgid "invalid value for parameter \"%s\": %d" msgstr "valeur invalide pour le paramètre « %s » : %d" -#: utils/misc/guc.c:4807 -#: utils/misc/guc.c:5009 -#: utils/misc/guc.c:5075 -#: utils/misc/guc.c:5101 -#: guc-file.l:178 +#: utils/misc/guc.c:4807 utils/misc/guc.c:5009 utils/misc/guc.c:5075 +#: utils/misc/guc.c:5101 guc-file.l:178 #, c-format msgid "invalid value for parameter \"%s\": \"%s\"" msgstr "valeur invalide pour le paramètre « %s » : « %s »" -#: utils/misc/guc.c:4809 -#: utils/misc/guc.c:5077 -#: utils/fmgr/dfmgr.c:381 -#: utils/adt/xml.c:1393 -#: utils/adt/xml.c:1394 -#: utils/adt/xml.c:1400 -#: utils/adt/xml.c:1471 -#: tcop/postgres.c:4099 -#: commands/tablecmds.c:621 -#: commands/user.c:930 -#: commands/user.c:931 -#: commands/trigger.c:578 -#: commands/trigger.c:594 -#: commands/trigger.c:606 -#: nodes/print.c:85 -#: storage/lmgr/proc.c:939 -#: storage/lmgr/deadlock.c:950 -#: storage/lmgr/deadlock.c:951 -#: catalog/dependency.c:907 -#: catalog/dependency.c:908 -#: catalog/dependency.c:914 -#: catalog/dependency.c:915 -#: catalog/dependency.c:926 -#: catalog/dependency.c:927 +#: utils/misc/guc.c:4809 utils/misc/guc.c:5077 utils/fmgr/dfmgr.c:381 +#: utils/adt/xml.c:1393 utils/adt/xml.c:1394 utils/adt/xml.c:1400 +#: utils/adt/xml.c:1471 tcop/postgres.c:4106 commands/tablecmds.c:621 +#: commands/user.c:930 commands/user.c:931 commands/trigger.c:578 +#: commands/trigger.c:594 commands/trigger.c:606 nodes/print.c:85 +#: storage/lmgr/proc.c:939 storage/lmgr/deadlock.c:950 +#: storage/lmgr/deadlock.c:951 catalog/dependency.c:907 +#: catalog/dependency.c:908 catalog/dependency.c:914 catalog/dependency.c:915 +#: catalog/dependency.c:926 catalog/dependency.c:927 #, c-format msgid "%s" msgstr "%s" @@ -2517,7 +2601,8 @@ #: utils/misc/guc.c:4816 #, c-format msgid "%d is outside the valid range for parameter \"%s\" (%d .. %d)" -msgstr "%d est en dehors des limites valides pour le paramètre « %s » (%d .. %d)" +msgstr "" +"%d est en dehors des limites valides pour le paramètre « %s » (%d .. %d)" #: utils/misc/guc.c:4880 #, c-format @@ -2527,16 +2612,15 @@ #: utils/misc/guc.c:4888 #, c-format msgid "%g is outside the valid range for parameter \"%s\" (%g .. %g)" -msgstr "%g est en dehors des limites valides pour le paramètre « %s » (%g .. %g)" +msgstr "" +"%g est en dehors des limites valides pour le paramètre « %s » (%g .. %g)" #: utils/misc/guc.c:4910 #, c-format msgid "invalid value for parameter \"%s\": %g" msgstr "valeur invalide pour le paramètre « %s » : %g" -#: utils/misc/guc.c:5207 -#: utils/misc/guc.c:5255 -#: utils/misc/guc.c:6097 +#: utils/misc/guc.c:5207 utils/misc/guc.c:5255 utils/misc/guc.c:6097 #, c-format msgid "must be superuser to examine \"%s\"" msgstr "doit être super-utilisateur pour examiner « %s »" @@ -2555,9 +2639,7 @@ msgid "attempt to redefine parameter \"%s\"" msgstr "tentative de redéfinition du paramètre « %s »" -#: utils/misc/guc.c:6931 -#: utils/init/miscinit.c:1075 -#: commands/copy.c:2180 +#: utils/misc/guc.c:6931 utils/init/miscinit.c:1075 commands/copy.c:2180 #, c-format msgid "could not read from file \"%s\": %m" msgstr "n'a pas pu lire à partir du fichier « %s » : %m" @@ -2582,7 +2664,8 @@ #: utils/misc/guc.c:7495 msgid "assertion checking is not supported by this build" -msgstr "la vérification de l'assertion n'a pas été intégrée lors de la compilation" +msgstr "" +"la vérification de l'assertion n'a pas été intégrée lors de la compilation" #: utils/misc/guc.c:7510 msgid "SSL is not supported by this build" @@ -2593,7 +2676,9 @@ msgstr "ne peut pas activer le paramètre avec « log_statement_stats » à true" #: utils/misc/guc.c:7540 -msgid "cannot enable \"log_statement_stats\" when \"log_parser_stats\", \"log_planner_stats\", or \"log_executor_stats\" is true" +msgid "" +"cannot enable \"log_statement_stats\" when \"log_parser_stats\", " +"\"log_planner_stats\", or \"log_executor_stats\" is true" msgstr "" "ne peut pas activer « log_statement_stats » lorsque « log_parser_stats »,\n" "« log_planner_stats » ou « log_executor_stats » est true" @@ -2606,13 +2691,13 @@ #: guc-file.l:380 #, c-format -msgid "could not open configuration file \"%s\": maximum nesting depth exceeded" +msgid "" +"could not open configuration file \"%s\": maximum nesting depth exceeded" msgstr "" "n'a pas pu ouvrir le fichier de configuration « %s » : profondeur\n" "d'imbrication dépassé" -#: guc-file.l:404 -#: libpq/hba.c:1364 +#: guc-file.l:404 libpq/hba.c:1364 #, c-format msgid "could not open configuration file \"%s\": %m" msgstr "n'a pas pu ouvrir le fichier de configuration « %s » : %m" @@ -2620,23 +2705,30 @@ #: guc-file.l:543 #, c-format msgid "syntax error in file \"%s\" line %u, near end of line" -msgstr "erreur de syntaxe dans le fichier « %s », ligne %u, près de la fin de ligne" +msgstr "" +"erreur de syntaxe dans le fichier « %s », ligne %u, près de la fin de ligne" #: guc-file.l:548 #, c-format msgid "syntax error in file \"%s\" line %u, near token \"%s\"" -msgstr "erreur de syntaxe dans le fichier « %s », ligne %u, près du mot clé « %s »" +msgstr "" +"erreur de syntaxe dans le fichier « %s », ligne %u, près du mot clé « %s »" #: utils/misc/tzparser.c:63 #, c-format -msgid "time zone abbreviation \"%s\" is too long (maximum %d characters) in time zone file \"%s\", line %d" +msgid "" +"time zone abbreviation \"%s\" is too long (maximum %d characters) in time " +"zone file \"%s\", line %d" msgstr "" -"l'abréviation « %s » du fuseau horaire est trop long (maximum %d caractères)\n" +"l'abréviation « %s » du fuseau horaire est trop long (maximum %d " +"caractères)\n" "dans le fichier de fuseaux horaires « %s », ligne %d" #: utils/misc/tzparser.c:72 #, c-format -msgid "time zone offset %d is not a multiple of 900 sec (15 min) in time zone file \"%s\", line %d" +msgid "" +"time zone offset %d is not a multiple of 900 sec (15 min) in time zone file " +"\"%s\", line %d" msgstr "" "le décalage %d du fuseau horaire n'est pas un multiples de 900 secondes\n" "(15 minutes) dans le fichier des fuseaux horaires « %s », ligne %d" @@ -2651,7 +2743,8 @@ #: utils/misc/tzparser.c:123 #, c-format msgid "missing time zone abbreviation in time zone file \"%s\", line %d" -msgstr "abréviation du fuseau horaire manquant dans le fichier « %s », ligne %d" +msgstr "" +"abréviation du fuseau horaire manquant dans le fichier « %s », ligne %d" #: utils/misc/tzparser.c:134 #, c-format @@ -2677,7 +2770,9 @@ #: utils/misc/tzparser.c:236 #, c-format -msgid "Entry in time zone file \"%s\", line %d, conflicts with entry in file \"%s\", line %d." +msgid "" +"Entry in time zone file \"%s\", line %d, conflicts with entry in file \"%s" +"\", line %d." msgstr "" "L'entrée dans le fichier des fuseaux horaires « %s », ligne %d, est en\n" "conflit avec l'entrée du fichier « %s », ligne %d." @@ -2694,8 +2789,7 @@ "limite de récursion dépassée dans le fichier « %s » (fichier des fuseaux\n" "horaires)" -#: utils/misc/tzparser.c:361 -#: utils/misc/tzparser.c:376 +#: utils/misc/tzparser.c:361 utils/misc/tzparser.c:376 #, c-format msgid "could not read time zone file \"%s\": %m" msgstr "n'a pas pu lire le fichier des fuseaux horaires « %s » : %m" @@ -2775,12 +2869,16 @@ #: utils/init/miscinit.c:869 #, c-format msgid "Is another postgres (PID %d) using socket file \"%s\"?" -msgstr "Un autre postgres (de PID %d) est-il déjà lancé en utilisant la socket « %s » ?" +msgstr "" +"Un autre postgres (de PID %d) est-il déjà lancé en utilisant la socket « %s " +"» ?" #: utils/init/miscinit.c:871 #, c-format msgid "Is another postmaster (PID %d) using socket file \"%s\"?" -msgstr "Un autre postmaster (de PID %d) est-il déjà lancé en utilisant la socket « %s » ?" +msgstr "" +"Un autre postmaster (de PID %d) est-il déjà lancé en utilisant la socket « " +"%s » ?" #: utils/init/miscinit.c:902 #, c-format @@ -2791,7 +2889,9 @@ #: utils/init/miscinit.c:905 #, c-format -msgid "If you're sure there are no old server processes still running, remove the shared memory block or just delete the file \"%s\"." +msgid "" +"If you're sure there are no old server processes still running, remove the " +"shared memory block or just delete the file \"%s\"." msgstr "" "Si vous êtes sûr qu'aucun processus serveur n'est toujours en cours\n" "d'exécution, supprimez le bloc de mémoire partagée\n" @@ -2803,20 +2903,21 @@ msgstr "n'a pas pu supprimer le vieux fichier verrou « %s » : %m" #: utils/init/miscinit.c:924 -msgid "The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again." +msgid "" +"The file seems accidentally left over, but it could not be removed. Please " +"remove the file by hand and try again." msgstr "" -"Le fichier semble avoir été oublié accidentellement mais il ne peut pas être\n" +"Le fichier semble avoir été oublié accidentellement mais il ne peut pas " +"être\n" "supprimé. Merci de supprimer ce fichier manuellement et de ré-essayer." -#: utils/init/miscinit.c:946 -#: utils/init/miscinit.c:957 +#: utils/init/miscinit.c:946 utils/init/miscinit.c:957 #: utils/init/miscinit.c:967 #, c-format msgid "could not write lock file \"%s\": %m" msgstr "n'a pas pu écrire le fichier verrou « %s » : %m" -#: utils/init/miscinit.c:1173 -#: utils/init/miscinit.c:1186 +#: utils/init/miscinit.c:1173 utils/init/miscinit.c:1186 #, c-format msgid "\"%s\" is not a valid data directory" msgstr "« %s » n'est pas un répertoire de données valide" @@ -2835,31 +2936,24 @@ msgid "You might need to initdb." msgstr "Vous pouvez avoir besoin d'exécuter initdb." -#: utils/init/miscinit.c:1197 -#: access/transam/xlog.c:4359 -#: access/transam/xlog.c:4368 -#: access/transam/xlog.c:4392 -#: access/transam/xlog.c:4399 -#: access/transam/xlog.c:4406 -#: access/transam/xlog.c:4411 -#: access/transam/xlog.c:4418 -#: access/transam/xlog.c:4425 -#: access/transam/xlog.c:4432 -#: access/transam/xlog.c:4439 -#: access/transam/xlog.c:4446 -#: access/transam/xlog.c:4453 -#: access/transam/xlog.c:4462 -#: access/transam/xlog.c:4469 -#: access/transam/xlog.c:4478 -#: access/transam/xlog.c:4485 -#: access/transam/xlog.c:4494 +#: utils/init/miscinit.c:1197 access/transam/xlog.c:4359 +#: access/transam/xlog.c:4368 access/transam/xlog.c:4392 +#: access/transam/xlog.c:4399 access/transam/xlog.c:4406 +#: access/transam/xlog.c:4411 access/transam/xlog.c:4418 +#: access/transam/xlog.c:4425 access/transam/xlog.c:4432 +#: access/transam/xlog.c:4439 access/transam/xlog.c:4446 +#: access/transam/xlog.c:4453 access/transam/xlog.c:4462 +#: access/transam/xlog.c:4469 access/transam/xlog.c:4478 +#: access/transam/xlog.c:4485 access/transam/xlog.c:4494 #: access/transam/xlog.c:4501 msgid "database files are incompatible with server" msgstr "les fichiers de la base de données sont incompatibles avec le serveur" #: utils/init/miscinit.c:1198 #, c-format -msgid "The data directory was initialized by PostgreSQL version %ld.%ld, which is not compatible with this version %s." +msgid "" +"The data directory was initialized by PostgreSQL version %ld.%ld, which is " +"not compatible with this version %s." msgstr "" "Le répertoire des données a été initialisé avec PostgreSQL version %ld.%ld,\n" "qui est non compatible avec cette version %s." @@ -2903,28 +2997,33 @@ msgid "too many connections for database \"%s\"" msgstr "trop de connexions pour la base de données « %s »" -#: utils/init/postinit.c:253 -#: utils/init/postinit.c:260 +#: utils/init/postinit.c:253 utils/init/postinit.c:260 msgid "database locale is incompatible with operating system" -msgstr "la locale de la base de données est incompatible avec le système d'exploitation" +msgstr "" +"la locale de la base de données est incompatible avec le système " +"d'exploitation" #: utils/init/postinit.c:254 #, c-format -msgid "The database was initialized with LC_COLLATE \"%s\", which is not recognized by setlocale()." +msgid "" +"The database was initialized with LC_COLLATE \"%s\", which is not " +"recognized by setlocale()." msgstr "" "La base de données a été initialisée avec un LC_COLLATE à « %s »,\n" "qui n'est pas reconnu par setlocale()." -#: utils/init/postinit.c:256 -#: utils/init/postinit.c:263 -msgid "Recreate the database with another locale or install the missing locale." +#: utils/init/postinit.c:256 utils/init/postinit.c:263 +msgid "" +"Recreate the database with another locale or install the missing locale." msgstr "" "Recréez la base de données avec une autre locale ou installez la locale\n" "manquante." #: utils/init/postinit.c:261 #, c-format -msgid "The database was initialized with LC_CTYPE \"%s\", which is not recognized by setlocale()." +msgid "" +"The database was initialized with LC_CTYPE \"%s\", which is not recognized " +"by setlocale()." msgstr "" "La base de données a été initialisée avec un LC_CTYPE à « %s »,\n" "qui n'est pas reconnu par setlocale()." @@ -2934,20 +3033,12 @@ msgid "database %u does not exist" msgstr "la base de données « %u » n'existe pas" -#: utils/init/postinit.c:421 -#: utils/init/postinit.c:540 -#: utils/init/postinit.c:556 -#: utils/adt/dbsize.c:148 -#: utils/adt/acl.c:2514 -#: commands/dbcommands.c:759 -#: commands/dbcommands.c:903 -#: commands/dbcommands.c:1010 -#: commands/dbcommands.c:1187 -#: commands/dbcommands.c:1374 -#: commands/dbcommands.c:1446 -#: commands/dbcommands.c:1554 -#: commands/comment.c:626 -#: catalog/aclchk.c:536 +#: utils/init/postinit.c:421 utils/init/postinit.c:540 +#: utils/init/postinit.c:556 utils/adt/dbsize.c:148 utils/adt/acl.c:2514 +#: commands/dbcommands.c:786 commands/dbcommands.c:930 +#: commands/dbcommands.c:1037 commands/dbcommands.c:1214 +#: commands/dbcommands.c:1401 commands/dbcommands.c:1473 +#: commands/dbcommands.c:1581 commands/comment.c:626 catalog/aclchk.c:536 #, c-format msgid "database \"%s\" does not exist" msgstr "la base de données « %s » n'existe pas" @@ -2978,17 +3069,16 @@ #: utils/init/postinit.c:627 msgid "must be superuser to connect during database shutdown" msgstr "" -"doit être super-utilisateur pour se connecter pendant un arrêt de la base de\n" +"doit être super-utilisateur pour se connecter pendant un arrêt de la base " +"de\n" "données" #: utils/init/postinit.c:637 msgid "connection limit exceeded for non-superusers" msgstr "limite de connexions dépassée pour les utilisateurs standards" -#: utils/init/flatfiles.c:209 -#: utils/init/flatfiles.c:279 -#: utils/init/flatfiles.c:408 -#: utils/init/flatfiles.c:663 +#: utils/init/flatfiles.c:209 utils/init/flatfiles.c:279 +#: utils/init/flatfiles.c:408 utils/init/flatfiles.c:663 #, c-format msgid "could not write to temporary file \"%s\": %m" msgstr "n'a pas pu écrire le fichier temporaire « %s » : %m" @@ -3008,106 +3098,100 @@ msgid "invalid role password \"%s\"" msgstr "mot de passe « %s » de l'utilisateur invalide" -#: utils/error/elog.c:1427 +#: utils/error/elog.c:1428 #, c-format msgid "could not reopen file \"%s\" as stderr: %m" msgstr "n'a pas pu ré-ouvrir le fichier « %s » comme stderr : %m" -#: utils/error/elog.c:1440 +#: utils/error/elog.c:1441 #, c-format msgid "could not reopen file \"%s\" as stdout: %m" msgstr "n'a pas pu ré-ouvrir le fichier « %s » comme stdout : %m" -#: utils/error/elog.c:1750 -#: utils/error/elog.c:1760 +#: utils/error/elog.c:1751 utils/error/elog.c:1761 msgid "[unknown]" msgstr "[inconnu]" -#: utils/error/elog.c:2100 -#: utils/error/elog.c:2382 -#: utils/error/elog.c:2460 +#: utils/error/elog.c:2101 utils/error/elog.c:2383 utils/error/elog.c:2461 msgid "missing error text" msgstr "texte d'erreur manquant" -#: utils/error/elog.c:2103 -#: utils/error/elog.c:2106 -#: utils/error/elog.c:2463 -#: utils/error/elog.c:2466 +#: utils/error/elog.c:2104 utils/error/elog.c:2107 utils/error/elog.c:2464 +#: utils/error/elog.c:2467 #, c-format msgid " at character %d" msgstr " au caractère %d" -#: utils/error/elog.c:2116 -#: utils/error/elog.c:2123 +#: utils/error/elog.c:2117 utils/error/elog.c:2124 msgid "DETAIL: " msgstr "DÉTAIL: " -#: utils/error/elog.c:2130 +#: utils/error/elog.c:2131 msgid "HINT: " msgstr "ASTUCE : " -#: utils/error/elog.c:2137 +#: utils/error/elog.c:2138 msgid "QUERY: " msgstr "REQUÊTE : " -#: utils/error/elog.c:2144 +#: utils/error/elog.c:2145 msgid "CONTEXT: " msgstr "CONTEXTE : " -#: utils/error/elog.c:2154 +#: utils/error/elog.c:2155 #, c-format msgid "LOCATION: %s, %s:%d\n" msgstr "EMPLACEMENT : %s, %s:%d\n" -#: utils/error/elog.c:2161 +#: utils/error/elog.c:2162 #, c-format msgid "LOCATION: %s:%d\n" msgstr "EMPLACEMENT : %s:%d\n" -#: utils/error/elog.c:2175 +#: utils/error/elog.c:2176 msgid "STATEMENT: " msgstr "INSTRUCTION : " -#: utils/error/elog.c:2272 +#: utils/error/elog.c:2273 msgid "Not safe to send CSV data\n" msgstr "Envoi non sûr des données CSV\n" #. translator: This string will be truncated at 47 #. characters expanded. -#: utils/error/elog.c:2575 +#: utils/error/elog.c:2582 #, c-format msgid "operating system error %d" msgstr "erreur %d du système d'exploitation" -#: utils/error/elog.c:2598 +#: utils/error/elog.c:2777 msgid "DEBUG" msgstr "DEBUG" -#: utils/error/elog.c:2602 +#: utils/error/elog.c:2781 msgid "LOG" msgstr "LOG" -#: utils/error/elog.c:2605 +#: utils/error/elog.c:2784 msgid "INFO" msgstr "INFO" -#: utils/error/elog.c:2608 +#: utils/error/elog.c:2787 msgid "NOTICE" msgstr "NOTICE" -#: utils/error/elog.c:2611 +#: utils/error/elog.c:2790 msgid "WARNING" msgstr "ATTENTION" -#: utils/error/elog.c:2614 +#: utils/error/elog.c:2793 msgid "ERROR" msgstr "ERREUR" -#: utils/error/elog.c:2617 +#: utils/error/elog.c:2796 msgid "FATAL" msgstr "FATAL" -#: utils/error/elog.c:2620 +#: utils/error/elog.c:2799 msgid "PANIC" msgstr "PANIC" @@ -3146,15 +3230,15 @@ #: utils/fmgr/fmgr.c:266 #, c-format msgid "internal function \"%s\" is not in internal lookup table" -msgstr "la fonction interne « %s » n'est pas dans une table de recherche interne" +msgstr "" +"la fonction interne « %s » n'est pas dans une table de recherche interne" #: utils/fmgr/fmgr.c:478 #, c-format msgid "unrecognized API version %d reported by info function \"%s\"" msgstr "version API %d non reconnue mais rapportée par la fonction info « %s »" -#: utils/fmgr/fmgr.c:849 -#: utils/fmgr/fmgr.c:2082 +#: utils/fmgr/fmgr.c:849 utils/fmgr/fmgr.c:2082 #, c-format msgid "function %u has too many arguments (%d, maximum is %d)" msgstr "la fonction %u a trop d'arguments (%d, le maximum étant %d)" @@ -3164,9 +3248,7 @@ msgid "could not find function \"%s\" in file \"%s\"" msgstr "n'a pas pu trouver la fonction « %s » dans le fichier « %s »" -#: utils/fmgr/dfmgr.c:204 -#: utils/fmgr/dfmgr.c:413 -#: utils/fmgr/dfmgr.c:461 +#: utils/fmgr/dfmgr.c:204 utils/fmgr/dfmgr.c:413 utils/fmgr/dfmgr.c:461 #, c-format msgid "could not access file \"%s\": %m" msgstr "n'a pas pu accéder au fichier « %s » : %m" @@ -3224,7 +3306,8 @@ #: utils/fmgr/dfmgr.c:376 msgid "Magic block has unexpected length or padding difference." -msgstr "Le bloc magique a une longueur inattendue ou une différence de padding." +msgstr "" +"Le bloc magique a une longueur inattendue ou une différence de padding." #: utils/fmgr/dfmgr.c:379 #, c-format @@ -3247,17 +3330,12 @@ #: utils/fmgr/dfmgr.c:636 msgid "component in parameter \"dynamic_library_path\" is not an absolute path" -msgstr "Un composant du paramètre « dynamic_library_path » n'est pas un chemin absolu" +msgstr "" +"Un composant du paramètre « dynamic_library_path » n'est pas un chemin absolu" -#: utils/fmgr/funcapi.c:60 -#: utils/mmgr/portalmem.c:937 -#: commands/prepare.c:749 -#: foreign/foreign.c:281 -#: executor/functions.c:649 -#: executor/execQual.c:1658 -#: executor/execQual.c:1683 -#: executor/execQual.c:2044 -#: executor/execQual.c:5223 +#: utils/fmgr/funcapi.c:60 utils/mmgr/portalmem.c:937 commands/prepare.c:749 +#: foreign/foreign.c:281 executor/functions.c:649 executor/execQual.c:1658 +#: executor/execQual.c:1683 executor/execQual.c:2044 executor/execQual.c:5223 msgid "set-valued function called in context that cannot accept a set" msgstr "" "la fonction avec set-value a été appelé dans un contexte qui n'accepte pas\n" @@ -3265,13 +3343,14 @@ #: utils/fmgr/funcapi.c:356 #, c-format -msgid "could not determine actual result type for function \"%s\" declared to return type %s" +msgid "" +"could not determine actual result type for function \"%s\" declared to " +"return type %s" msgstr "" "n'a pas pu déterminer le type du résultat actuel pour la fonction « %s »\n" "déclarant retourner le type %s" -#: utils/fmgr/funcapi.c:1105 -#: utils/fmgr/funcapi.c:1136 +#: utils/fmgr/funcapi.c:1105 utils/fmgr/funcapi.c:1136 msgid "number of aliases does not match number of columns" msgstr "le nombre d'alias ne correspond pas au nombre de colonnes" @@ -3289,7 +3368,8 @@ #: utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c:163 #, c-format msgid "unexpected encoding ID %d for ISO 8859 character sets" -msgstr "identifiant d'encodage %d inattendu pour les jeux de caractères ISO-8859" +msgstr "" +"identifiant d'encodage %d inattendu pour les jeux de caractères ISO-8859" #: utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c:126 #: utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c:153 @@ -3306,21 +3386,20 @@ msgid "encoding name too long" msgstr "nom d'encodage trop long" -#: utils/mb/mbutils.c:240 -#: commands/variable.c:665 +#: utils/mb/mbutils.c:240 commands/variable.c:667 #, c-format msgid "conversion between %s and %s is not supported" msgstr "la conversion entre %s et %s n'est pas supportée" #: utils/mb/mbutils.c:310 #, c-format -msgid "default conversion function for encoding \"%s\" to \"%s\" does not exist" +msgid "" +"default conversion function for encoding \"%s\" to \"%s\" does not exist" msgstr "" "la fonction de conversion par défaut pour l'encodage de « %s » en « %s »\n" "n'existe pas" -#: utils/mb/mbutils.c:336 -#: utils/mb/mbutils.c:597 +#: utils/mb/mbutils.c:336 utils/mb/mbutils.c:597 #, c-format msgid "String of %d bytes is too long for encoding conversion." msgstr "Une chaîne de %d octets est trop longue pour la conversion d'encodage." @@ -3335,8 +3414,7 @@ msgid "invalid destination encoding name \"%s\"" msgstr "nom de l'encodage destination « %s » invalide" -#: utils/mb/mbutils.c:477 -#: utils/adt/xml.c:159 +#: utils/mb/mbutils.c:477 utils/adt/xml.c:159 #, c-format msgid "invalid encoding name \"%s\"" msgstr "nom d'encodage « %s » invalide" @@ -3351,7 +3429,9 @@ msgstr "caractère multi-octets invalide pour la locale" #: utils/mb/mbutils.c:725 -msgid "The server's LC_CTYPE locale is probably incompatible with the database encoding." +msgid "" +"The server's LC_CTYPE locale is probably incompatible with the database " +"encoding." msgstr "" "La locale LC_CTYPE du serveur est probablement incompatible avec l'encodage\n" "de la base de données." @@ -3362,7 +3442,9 @@ msgstr "séquence d'octets invalide pour l'encodage « %s » : 0x%s" #: utils/mb/wchar.c:1778 -msgid "This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by \"client_encoding\"." +msgid "" +"This error can also happen if the byte sequence does not match the encoding " +"expected by the server, which is controlled by \"client_encoding\"." msgstr "" "Cette erreur peut aussi survenir si la séquence d'octets ne correspond pas\n" "au jeu de caractères attendu par le serveur, le jeu étant contrôlé par\n" @@ -3378,9 +3460,7 @@ msgid "Failed while creating memory context \"%s\"." msgstr "Échec lors de la création du contexte mémoire « %s »." -#: utils/mmgr/aset.c:565 -#: utils/mmgr/aset.c:748 -#: utils/mmgr/aset.c:954 +#: utils/mmgr/aset.c:565 utils/mmgr/aset.c:748 utils/mmgr/aset.c:954 #, c-format msgid "Failed on request of size %lu." msgstr "Échec d'une requête de taille %lu." @@ -3404,9 +3484,7 @@ msgid "cannot PREPARE a transaction that has created a cursor WITH HOLD" msgstr "ne peut pas préparer une transaction qui a créé un curseur WITH HOLD" -#: utils/mmgr/portalmem.c:941 -#: commands/prepare.c:753 -#: foreign/foreign.c:286 +#: utils/mmgr/portalmem.c:941 commands/prepare.c:753 foreign/foreign.c:286 msgid "materialize mode required, but it is not allowed in this context" msgstr "mode matérialisé requis mais interdit dans ce contexte" @@ -3424,14 +3502,14 @@ #: utils/adt/xml.c:139 msgid "This functionality requires the server to be built with libxml support." -msgstr "Cette fonctionnalité nécessite que le serveur dispose du support de libxml." +msgstr "" +"Cette fonctionnalité nécessite que le serveur dispose du support de libxml." #: utils/adt/xml.c:140 msgid "You need to rebuild PostgreSQL using --with-libxml." msgstr "Vous devez recompiler PostgreSQL en utilisant --with-libxml." -#: utils/adt/xml.c:405 -#: utils/adt/xml.c:410 +#: utils/adt/xml.c:405 utils/adt/xml.c:410 msgid "invalid XML comment" msgstr "commentaire XML invalide" @@ -3439,15 +3517,15 @@ msgid "not an XML document" msgstr "pas un document XML" -#: utils/adt/xml.c:692 -#: utils/adt/xml.c:715 +#: utils/adt/xml.c:692 utils/adt/xml.c:715 msgid "invalid XML processing instruction" msgstr "instruction de traitement XML invalide" #: utils/adt/xml.c:693 #, c-format msgid "XML processing instruction target name cannot be \"%s\"." -msgstr "le nom de cible de l'instruction de traitement XML ne peut pas être « %s »." +msgstr "" +"le nom de cible de l'instruction de traitement XML ne peut pas être « %s »." #: utils/adt/xml.c:716 msgid "XML processing instruction cannot contain \"?>\"." @@ -3463,7 +3541,8 @@ #: utils/adt/xml.c:881 #, c-format -msgid "libxml2 has incompatible char type: sizeof(char)=%u, sizeof(xmlChar)=%u." +msgid "" +"libxml2 has incompatible char type: sizeof(char)=%u, sizeof(xmlChar)=%u." msgstr "" "libxml2 a un type de caractère incompatible : sizeof(char)=%u,\n" "sizeof(xmlChar)=%u." @@ -3505,67 +3584,37 @@ msgid "XML does not support infinite date values." msgstr "XML ne supporte pas les valeurs infinies de date." -#: utils/adt/xml.c:1743 -#: utils/adt/xml.c:1750 -#: utils/adt/xml.c:1770 -#: utils/adt/xml.c:1777 -#: utils/adt/timestamp.c:226 -#: utils/adt/timestamp.c:264 -#: utils/adt/timestamp.c:486 -#: utils/adt/timestamp.c:526 -#: utils/adt/timestamp.c:2525 -#: utils/adt/timestamp.c:2546 -#: utils/adt/timestamp.c:2559 -#: utils/adt/timestamp.c:2568 -#: utils/adt/timestamp.c:2626 -#: utils/adt/timestamp.c:2649 -#: utils/adt/timestamp.c:2662 -#: utils/adt/timestamp.c:2673 -#: utils/adt/timestamp.c:3103 -#: utils/adt/timestamp.c:3233 -#: utils/adt/timestamp.c:3274 -#: utils/adt/timestamp.c:3362 -#: utils/adt/timestamp.c:3409 -#: utils/adt/timestamp.c:3520 -#: utils/adt/timestamp.c:3833 -#: utils/adt/timestamp.c:3970 -#: utils/adt/timestamp.c:3977 -#: utils/adt/timestamp.c:3991 -#: utils/adt/timestamp.c:4001 -#: utils/adt/timestamp.c:4064 -#: utils/adt/timestamp.c:4204 -#: utils/adt/timestamp.c:4214 -#: utils/adt/timestamp.c:4429 -#: utils/adt/timestamp.c:4508 -#: utils/adt/timestamp.c:4515 -#: utils/adt/timestamp.c:4542 -#: utils/adt/timestamp.c:4546 -#: utils/adt/timestamp.c:4603 -#: utils/adt/formatting.c:2961 -#: utils/adt/formatting.c:2993 -#: utils/adt/formatting.c:3061 -#: utils/adt/date.c:901 -#: utils/adt/date.c:948 -#: utils/adt/date.c:1504 -#: utils/adt/date.c:1541 -#: utils/adt/date.c:2414 -#: utils/adt/nabstime.c:480 -#: utils/adt/nabstime.c:523 -#: utils/adt/nabstime.c:553 +#: utils/adt/xml.c:1743 utils/adt/xml.c:1750 utils/adt/xml.c:1770 +#: utils/adt/xml.c:1777 utils/adt/timestamp.c:226 utils/adt/timestamp.c:264 +#: utils/adt/timestamp.c:486 utils/adt/timestamp.c:526 +#: utils/adt/timestamp.c:2526 utils/adt/timestamp.c:2547 +#: utils/adt/timestamp.c:2560 utils/adt/timestamp.c:2569 +#: utils/adt/timestamp.c:2627 utils/adt/timestamp.c:2650 +#: utils/adt/timestamp.c:2663 utils/adt/timestamp.c:2674 +#: utils/adt/timestamp.c:3104 utils/adt/timestamp.c:3234 +#: utils/adt/timestamp.c:3275 utils/adt/timestamp.c:3363 +#: utils/adt/timestamp.c:3410 utils/adt/timestamp.c:3521 +#: utils/adt/timestamp.c:3834 utils/adt/timestamp.c:3971 +#: utils/adt/timestamp.c:3978 utils/adt/timestamp.c:3992 +#: utils/adt/timestamp.c:4002 utils/adt/timestamp.c:4065 +#: utils/adt/timestamp.c:4205 utils/adt/timestamp.c:4215 +#: utils/adt/timestamp.c:4430 utils/adt/timestamp.c:4509 +#: utils/adt/timestamp.c:4516 utils/adt/timestamp.c:4543 +#: utils/adt/timestamp.c:4547 utils/adt/timestamp.c:4604 +#: utils/adt/formatting.c:3049 utils/adt/formatting.c:3081 +#: utils/adt/formatting.c:3149 utils/adt/date.c:901 utils/adt/date.c:948 +#: utils/adt/date.c:1504 utils/adt/date.c:1541 utils/adt/date.c:2414 +#: utils/adt/nabstime.c:480 utils/adt/nabstime.c:523 utils/adt/nabstime.c:553 #: utils/adt/nabstime.c:596 msgid "timestamp out of range" msgstr "timestamp en dehors des limites" -#: utils/adt/xml.c:1744 -#: utils/adt/xml.c:1771 +#: utils/adt/xml.c:1744 utils/adt/xml.c:1771 msgid "XML does not support infinite timestamp values." msgstr "XML ne supporte pas les valeurs infinies de timestamp." -#: utils/adt/xml.c:2061 -#: utils/adt/xml.c:2225 -#: commands/portalcmds.c:168 -#: commands/portalcmds.c:222 -#: executor/execCurrent.c:66 +#: utils/adt/xml.c:2061 utils/adt/xml.c:2225 commands/portalcmds.c:168 +#: commands/portalcmds.c:222 executor/execCurrent.c:66 #, c-format msgid "cursor \"%s\" does not exist" msgstr "le curseur « %s » n'existe pas" @@ -3579,7 +3628,8 @@ msgstr "tableau invalide pour la correspondance de l'espace de nom XML" #: utils/adt/xml.c:3374 -msgid "The array must be two-dimensional with length of the second axis equal to 2." +msgid "" +"The array must be two-dimensional with length of the second axis equal to 2." msgstr "" "Le tableau doit avoir deux dimensions avec une longueur de 2 pour le\n" "deuxième axe." @@ -3595,17 +3645,15 @@ #: utils/adt/xml.c:3453 #, c-format msgid "could not register XML namespace with name \"%s\" and URI \"%s\"" -msgstr "n'a pas pu enregistrer l'espace de noms XML de nom « %s » et d'URI « %s »" +msgstr "" +"n'a pas pu enregistrer l'espace de noms XML de nom « %s » et d'URI « %s »" -#: utils/adt/regexp.c:193 -#: tsearch/spell.c:365 +#: utils/adt/regexp.c:193 tsearch/spell.c:365 #, c-format msgid "invalid regular expression: %s" msgstr "expression rationnelle invalide : %s" -#: utils/adt/regexp.c:272 -#: utils/adt/regexp.c:1200 -#: utils/adt/varlena.c:2582 +#: utils/adt/regexp.c:272 utils/adt/regexp.c:1199 utils/adt/varlena.c:2582 #, c-format msgid "regular expression failed: %s" msgstr "l'expression rationnelle a échoué : %s" @@ -3615,13 +3663,11 @@ msgid "invalid regexp option: \"%c\"" msgstr "option invalide de l'expression rationnelle : « %c »" -#: utils/adt/regexp.c:680 -#: utils/adt/like_match.c:285 +#: utils/adt/regexp.c:680 utils/adt/like_match.c:285 msgid "invalid escape string" msgstr "chaîne d'échappement invalide" -#: utils/adt/regexp.c:681 -#: utils/adt/like_match.c:286 +#: utils/adt/regexp.c:681 utils/adt/like_match.c:286 msgid "Escape string must be empty or one character." msgstr "La chaîne d'échappement doit être vide ou ne contenir qu'un caractère." @@ -3629,8 +3675,7 @@ msgid "regexp_split does not support the global option" msgstr "regexp_split ne supporte pas l'option globale" -#: utils/adt/datum.c:80 -#: utils/adt/datum.c:92 +#: utils/adt/datum.c:80 utils/adt/datum.c:92 msgid "invalid Datum pointer" msgstr "pointeur Datum invalide" @@ -3642,29 +3687,14 @@ msgid "neither input type is an array" msgstr "aucun type de données n'est un tableau" -#: utils/adt/array_userfuncs.c:104 -#: utils/adt/array_userfuncs.c:114 -#: utils/adt/int.c:613 -#: utils/adt/int.c:642 -#: utils/adt/int.c:663 -#: utils/adt/int.c:694 -#: utils/adt/int.c:727 -#: utils/adt/int.c:749 -#: utils/adt/int.c:897 -#: utils/adt/int.c:918 -#: utils/adt/int.c:945 -#: utils/adt/int.c:985 -#: utils/adt/int.c:1006 -#: utils/adt/int.c:1033 -#: utils/adt/int.c:1066 -#: utils/adt/int.c:1149 -#: utils/adt/int8.c:1258 -#: utils/adt/float.c:1100 -#: utils/adt/float.c:1159 -#: utils/adt/float.c:2716 -#: utils/adt/float.c:2732 -#: utils/adt/varbit.c:1392 -#: utils/adt/numeric.c:2035 +#: utils/adt/array_userfuncs.c:104 utils/adt/array_userfuncs.c:114 +#: utils/adt/int.c:613 utils/adt/int.c:642 utils/adt/int.c:663 +#: utils/adt/int.c:694 utils/adt/int.c:727 utils/adt/int.c:749 +#: utils/adt/int.c:897 utils/adt/int.c:918 utils/adt/int.c:945 +#: utils/adt/int.c:985 utils/adt/int.c:1006 utils/adt/int.c:1033 +#: utils/adt/int.c:1066 utils/adt/int.c:1149 utils/adt/int8.c:1258 +#: utils/adt/float.c:1156 utils/adt/float.c:1215 utils/adt/float.c:2772 +#: utils/adt/float.c:2788 utils/adt/varbit.c:1392 utils/adt/numeric.c:2035 #: utils/adt/numeric.c:2044 msgid "integer out of range" msgstr "entier en dehors des limites" @@ -3673,17 +3703,16 @@ msgid "argument must be empty or one-dimensional array" msgstr "l'argument doit être vide ou doit être un tableau à une dimension" -#: utils/adt/array_userfuncs.c:225 -#: utils/adt/array_userfuncs.c:264 -#: utils/adt/array_userfuncs.c:301 -#: utils/adt/array_userfuncs.c:330 +#: utils/adt/array_userfuncs.c:225 utils/adt/array_userfuncs.c:264 +#: utils/adt/array_userfuncs.c:301 utils/adt/array_userfuncs.c:330 #: utils/adt/array_userfuncs.c:358 msgid "cannot concatenate incompatible arrays" msgstr "ne peut pas concaténer des tableaux non compatibles" #: utils/adt/array_userfuncs.c:226 #, c-format -msgid "Arrays with element types %s and %s are not compatible for concatenation." +msgid "" +"Arrays with element types %s and %s are not compatible for concatenation." msgstr "" "Les tableaux avec les types d'élément %s et %s ne sont pas compatibles\n" "pour la concaténation." @@ -3696,38 +3725,33 @@ "concaténation." #: utils/adt/array_userfuncs.c:302 -msgid "Arrays with differing element dimensions are not compatible for concatenation." +msgid "" +"Arrays with differing element dimensions are not compatible for " +"concatenation." msgstr "" "Les tableaux de dimensions différentes ne sont pas compatibles pour\n" "une concaténation." -#: utils/adt/array_userfuncs.c:331 -#: utils/adt/array_userfuncs.c:359 +#: utils/adt/array_userfuncs.c:331 utils/adt/array_userfuncs.c:359 msgid "Arrays with differing dimensions are not compatible for concatenation." msgstr "" "Les tableaux de dimensions différentes ne sont pas compatibles pour\n" "une concaténation." -#: utils/adt/array_userfuncs.c:425 -#: utils/adt/arrayfuncs.c:1186 -#: utils/adt/arrayfuncs.c:2845 -#: utils/adt/arrayfuncs.c:4525 +#: utils/adt/array_userfuncs.c:425 utils/adt/arrayfuncs.c:1186 +#: utils/adt/arrayfuncs.c:2845 utils/adt/arrayfuncs.c:4525 #, c-format msgid "invalid number of dimensions: %d" msgstr "nombre de dimensions invalides : %d" -#: utils/adt/array_userfuncs.c:429 -#: utils/adt/arrayfuncs.c:203 -#: utils/adt/arrayfuncs.c:455 -#: utils/adt/arrayfuncs.c:1190 -#: utils/adt/arrayfuncs.c:2849 -#: utils/adt/arrayfuncs.c:4529 -#: executor/execQual.c:300 -#: executor/execQual.c:328 -#: executor/execQual.c:3097 +#: utils/adt/array_userfuncs.c:429 utils/adt/arrayfuncs.c:203 +#: utils/adt/arrayfuncs.c:455 utils/adt/arrayfuncs.c:1190 +#: utils/adt/arrayfuncs.c:2849 utils/adt/arrayfuncs.c:4529 +#: executor/execQual.c:300 executor/execQual.c:328 executor/execQual.c:3097 #, c-format msgid "number of array dimensions (%d) exceeds the maximum allowed (%d)" -msgstr "le nombre de dimensions du tableau (%d) dépasse le maximum autorisé (%d)" +msgstr "" +"le nombre de dimensions du tableau (%d) dépasse le maximum autorisé (%d)" #: utils/adt/array_userfuncs.c:485 msgid "could not determine input data type" @@ -3741,52 +3765,26 @@ msgid "invalid int2vector data" msgstr "données int2vector invalide" -#: utils/adt/int.c:339 -#: utils/adt/int.c:765 -#: utils/adt/int.c:794 -#: utils/adt/int.c:815 -#: utils/adt/int.c:835 -#: utils/adt/int.c:869 -#: utils/adt/int.c:1164 -#: utils/adt/int8.c:1283 -#: utils/adt/float.c:1118 -#: utils/adt/float.c:1176 -#: utils/adt/numeric.c:2136 -#: utils/adt/numeric.c:2147 +#: utils/adt/int.c:339 utils/adt/int.c:765 utils/adt/int.c:794 +#: utils/adt/int.c:815 utils/adt/int.c:835 utils/adt/int.c:869 +#: utils/adt/int.c:1164 utils/adt/int8.c:1283 utils/adt/float.c:1174 +#: utils/adt/float.c:1232 utils/adt/numeric.c:2136 utils/adt/numeric.c:2147 msgid "smallint out of range" msgstr "smallint en dehors des limites" -#: utils/adt/int.c:709 -#: utils/adt/int.c:851 -#: utils/adt/int.c:959 -#: utils/adt/int.c:1048 -#: utils/adt/int.c:1087 -#: utils/adt/int.c:1115 -#: utils/adt/timestamp.c:2865 -#: utils/adt/geo_ops.c:3967 -#: utils/adt/int8.c:606 -#: utils/adt/int8.c:666 -#: utils/adt/int8.c:857 -#: utils/adt/int8.c:965 -#: utils/adt/int8.c:1054 -#: utils/adt/int8.c:1162 -#: utils/adt/float.c:763 -#: utils/adt/float.c:827 -#: utils/adt/float.c:2475 -#: utils/adt/float.c:2538 -#: utils/adt/cash.c:538 -#: utils/adt/cash.c:589 -#: utils/adt/cash.c:638 -#: utils/adt/cash.c:690 -#: utils/adt/cash.c:740 -#: utils/adt/numeric.c:4183 +#: utils/adt/int.c:709 utils/adt/int.c:851 utils/adt/int.c:959 +#: utils/adt/int.c:1048 utils/adt/int.c:1087 utils/adt/int.c:1115 +#: utils/adt/timestamp.c:2866 utils/adt/geo_ops.c:3967 utils/adt/int8.c:606 +#: utils/adt/int8.c:666 utils/adt/int8.c:857 utils/adt/int8.c:965 +#: utils/adt/int8.c:1054 utils/adt/int8.c:1162 utils/adt/float.c:819 +#: utils/adt/float.c:883 utils/adt/float.c:2531 utils/adt/float.c:2594 +#: utils/adt/cash.c:538 utils/adt/cash.c:589 utils/adt/cash.c:638 +#: utils/adt/cash.c:690 utils/adt/cash.c:740 utils/adt/numeric.c:4183 #: utils/adt/numeric.c:4466 msgid "division by zero" msgstr "division par zéro" -#: utils/adt/int.c:1352 -#: utils/adt/timestamp.c:4701 -#: utils/adt/timestamp.c:4782 +#: utils/adt/int.c:1352 utils/adt/timestamp.c:4702 utils/adt/timestamp.c:4783 #: utils/adt/int8.c:1420 msgid "step size cannot equal zero" msgstr "la taille du pas ne peut pas valoir zéro" @@ -3800,14 +3798,10 @@ msgid "invalid input syntax for type boolean: \"%s\"" msgstr "syntaxe en entrée invalide pour le type booléen : « %s »" -#: utils/adt/arrayutils.c:93 -#: utils/adt/arrayutils.c:102 -#: utils/adt/arrayutils.c:109 -#: utils/adt/arrayfuncs.c:819 -#: utils/adt/arrayfuncs.c:1407 -#: utils/adt/arrayfuncs.c:2729 -#: utils/adt/arrayfuncs.c:2877 -#: utils/adt/arrayfuncs.c:4625 +#: utils/adt/arrayutils.c:93 utils/adt/arrayutils.c:102 +#: utils/adt/arrayutils.c:109 utils/adt/arrayfuncs.c:819 +#: utils/adt/arrayfuncs.c:1407 utils/adt/arrayfuncs.c:2729 +#: utils/adt/arrayfuncs.c:2877 utils/adt/arrayfuncs.c:4625 #, c-format msgid "array size exceeds the maximum allowed (%d)" msgstr "la taille du tableau dépasse le maximum permis (%d)" @@ -3830,19 +3824,20 @@ #: utils/adt/trigfuncs.c:47 msgid "suppress_redundant_updates_trigger: must be called on update" -msgstr "suppress_redundant_updates_trigger : doit être appelé sur une mise à jour" +msgstr "" +"suppress_redundant_updates_trigger : doit être appelé sur une mise à jour" #: utils/adt/trigfuncs.c:53 msgid "suppress_redundant_updates_trigger: must be called before update" -msgstr "suppress_redundant_updates_trigger : doit être appelé avant une mise à jour" +msgstr "" +"suppress_redundant_updates_trigger : doit être appelé avant une mise à jour" #: utils/adt/trigfuncs.c:59 msgid "suppress_redundant_updates_trigger: must be called for each row" -msgstr "suppress_redundant_updates_trigger : doit être appelé pour chaque ligne" +msgstr "" +"suppress_redundant_updates_trigger : doit être appelé pour chaque ligne" -#: utils/adt/timestamp.c:92 -#: utils/adt/varchar.c:43 -#: utils/adt/date.c:66 +#: utils/adt/timestamp.c:92 utils/adt/varchar.c:43 utils/adt/date.c:66 #: utils/adt/varbit.c:44 msgid "invalid type modifier" msgstr "modifieur de type invalide" @@ -3857,14 +3852,12 @@ msgid "TIMESTAMP(%d)%s precision reduced to maximum allowed, %d" msgstr "la précision de TIMESTAMP(%d)%s est réduit au maximum autorisé, %d" -#: utils/adt/timestamp.c:171 -#: utils/adt/timestamp.c:430 +#: utils/adt/timestamp.c:171 utils/adt/timestamp.c:430 #, c-format msgid "timestamp out of range: \"%s\"" msgstr "timestamp en dehors de limites : « %s »" -#: utils/adt/timestamp.c:189 -#: utils/adt/timestamp.c:448 +#: utils/adt/timestamp.c:189 utils/adt/timestamp.c:448 #: utils/adt/timestamp.c:659 #, c-format msgid "date/time value \"%s\" is no longer supported" @@ -3875,15 +3868,12 @@ msgid "timestamp(%d) precision must be between %d and %d" msgstr "la précision de timestamp(%d) doit être comprise entre %d et %d" -#: utils/adt/timestamp.c:653 -#: utils/adt/timestamp.c:3098 -#: utils/adt/timestamp.c:3228 -#: utils/adt/timestamp.c:3613 +#: utils/adt/timestamp.c:653 utils/adt/timestamp.c:3099 +#: utils/adt/timestamp.c:3229 utils/adt/timestamp.c:3614 msgid "interval out of range" msgstr "intervalle en dehors des limites" -#: utils/adt/timestamp.c:782 -#: utils/adt/timestamp.c:815 +#: utils/adt/timestamp.c:782 utils/adt/timestamp.c:815 msgid "invalid INTERVAL type modifier" msgstr "modificateur de type INTERVAL invalide" @@ -3895,104 +3885,93 @@ #: utils/adt/timestamp.c:804 #, c-format msgid "INTERVAL(%d) precision reduced to maximum allowed, %d" -msgstr "La précision de l'intervalle INTERVAL(%d) doit être réduit au maximum permis, %d" +msgstr "" +"La précision de l'intervalle INTERVAL(%d) doit être réduit au maximum " +"permis, %d" #: utils/adt/timestamp.c:1096 #, c-format msgid "interval(%d) precision must be between %d and %d" msgstr "La précision de interval(%d) doit être comprise entre %d et %d" -#: utils/adt/timestamp.c:2301 +#: utils/adt/timestamp.c:2302 msgid "cannot subtract infinite timestamps" msgstr "ne peut pas soustraire les valeurs timestamps infinies" -#: utils/adt/timestamp.c:3354 -#: utils/adt/timestamp.c:3950 -#: utils/adt/timestamp.c:4009 +#: utils/adt/timestamp.c:3355 utils/adt/timestamp.c:3951 +#: utils/adt/timestamp.c:4010 #, c-format msgid "timestamp units \"%s\" not supported" msgstr "les unités timestamp « %s » ne sont pas supportées" -#: utils/adt/timestamp.c:3368 -#: utils/adt/timestamp.c:4019 +#: utils/adt/timestamp.c:3369 utils/adt/timestamp.c:4020 #, c-format msgid "timestamp units \"%s\" not recognized" msgstr "les unité « %s » ne sont pas reconnues pour le type timestamp" -#: utils/adt/timestamp.c:3509 -#: utils/adt/timestamp.c:4181 -#: utils/adt/timestamp.c:4222 +#: utils/adt/timestamp.c:3510 utils/adt/timestamp.c:4182 +#: utils/adt/timestamp.c:4223 #, c-format msgid "timestamp with time zone units \"%s\" not supported" msgstr "" -"les unités « %s » ne sont pas supportées pour le type « timestamp with time\n" +"les unités « %s » ne sont pas supportées pour le type « timestamp with " +"time\n" "zone »" -#: utils/adt/timestamp.c:3526 -#: utils/adt/timestamp.c:4231 +#: utils/adt/timestamp.c:3527 utils/adt/timestamp.c:4232 #, c-format msgid "timestamp with time zone units \"%s\" not recognized" msgstr "" "Les unités « %s » ne sont pas reconnues pour le type « timestamp with time\n" "zone »" -#: utils/adt/timestamp.c:3606 -#: utils/adt/timestamp.c:4337 +#: utils/adt/timestamp.c:3607 utils/adt/timestamp.c:4338 #, c-format msgid "interval units \"%s\" not supported" msgstr "Les unités « %s » ne sont pas supportées pour le type interval" -#: utils/adt/timestamp.c:3622 -#: utils/adt/timestamp.c:4364 +#: utils/adt/timestamp.c:3623 utils/adt/timestamp.c:4365 #, c-format msgid "interval units \"%s\" not recognized" msgstr "Les unités « %s » ne sont pas reconnues pour le type interval" -#: utils/adt/timestamp.c:4434 -#: utils/adt/timestamp.c:4607 +#: utils/adt/timestamp.c:4435 utils/adt/timestamp.c:4608 #, c-format msgid "could not convert to time zone \"%s\"" msgstr "n'a pas pu convertir vers le fuseau horaire « %s »" -#: utils/adt/timestamp.c:4441 -#: utils/adt/timestamp.c:4614 -#: utils/adt/date.c:2619 -#: utils/adt/datetime.c:928 -#: utils/adt/datetime.c:1663 +#: utils/adt/timestamp.c:4442 utils/adt/timestamp.c:4615 utils/adt/date.c:2619 +#: utils/adt/datetime.c:928 utils/adt/datetime.c:1657 #, c-format msgid "time zone \"%s\" not recognized" msgstr "le fuseau horaire « %s » n'est pas reconnu" -#: utils/adt/timestamp.c:4466 -#: utils/adt/timestamp.c:4640 +#: utils/adt/timestamp.c:4467 utils/adt/timestamp.c:4641 #, c-format msgid "interval time zone \"%s\" must not specify month" msgstr "l'intervalle de fuseau horaire « %s » ne doit pas spécifier le mois" -#: utils/adt/selfuncs.c:4566 +#: utils/adt/selfuncs.c:4572 msgid "case insensitive matching not supported on type bytea" -msgstr "la recherche insensible à la casse n'est pas supportée avec le type bytea" +msgstr "" +"la recherche insensible à la casse n'est pas supportée avec le type bytea" -#: utils/adt/selfuncs.c:4661 +#: utils/adt/selfuncs.c:4667 msgid "regular-expression matching not supported on type bytea" -msgstr "la recherche par expression rationnelle n'est pas supportée sur le type bytea" +msgstr "" +"la recherche par expression rationnelle n'est pas supportée sur le type bytea" -#: utils/adt/varlena.c:211 -#: utils/adt/varlena.c:252 -#: utils/adt/encode.c:441 +#: utils/adt/varlena.c:211 utils/adt/varlena.c:252 utils/adt/encode.c:441 #: utils/adt/encode.c:506 msgid "invalid input syntax for type bytea" msgstr "syntaxe en entrée invalide pour le type bytea" -#: utils/adt/varlena.c:670 -#: utils/adt/varlena.c:734 -#: utils/adt/varlena.c:1684 +#: utils/adt/varlena.c:670 utils/adt/varlena.c:734 utils/adt/varlena.c:1684 #: utils/adt/varbit.c:961 msgid "negative substring length not allowed" msgstr "longueur de sous-chaîne négative non autorisée" -#: utils/adt/varlena.c:1213 -#: utils/adt/varlena.c:1226 +#: utils/adt/varlena.c:1213 utils/adt/varlena.c:1226 #, c-format msgid "could not convert string to UTF-16: error %lu" msgstr "n'a pas pu convertir la chaîne en UTF16 : erreur %lu" @@ -4002,9 +3981,7 @@ msgid "could not compare Unicode strings: %m" msgstr "n'a pas pu comparer les chaînes unicode : %m" -#: utils/adt/varlena.c:1779 -#: utils/adt/varlena.c:1810 -#: utils/adt/varlena.c:1846 +#: utils/adt/varlena.c:1779 utils/adt/varlena.c:1810 utils/adt/varlena.c:1846 #: utils/adt/varlena.c:1889 #, c-format msgid "index %d out of valid range, 0..%d" @@ -4014,14 +3991,12 @@ msgid "new bit must be 0 or 1" msgstr "le nouveau bit doit valoir soit 0 soit 1" -#: utils/adt/varlena.c:1983 -#: utils/adt/varlena.c:1988 -#: utils/adt/regproc.c:1336 +#: utils/adt/varlena.c:1983 utils/adt/varlena.c:1988 utils/adt/regproc.c:1336 #: utils/adt/regproc.c:1341 msgid "invalid name syntax" msgstr "syntaxe du nom invalide" -#: utils/adt/varlena.c:2675 +#: utils/adt/varlena.c:2678 msgid "field position must be greater than zero" msgstr "la position du champ doit être plus grand que zéro" @@ -4029,16 +4004,12 @@ msgid "LIKE pattern must not end with escape character" msgstr "le motif LIKE ne se termine pas de caractères d'échappement" -#: utils/adt/tid.c:70 -#: utils/adt/tid.c:78 -#: utils/adt/tid.c:86 +#: utils/adt/tid.c:70 utils/adt/tid.c:78 utils/adt/tid.c:86 #, c-format msgid "invalid input syntax for type tid: \"%s\"" msgstr "syntaxe en entrée invalide pour le type tid : « %s »" -#: utils/adt/geo_ops.c:292 -#: utils/adt/geo_ops.c:4088 -#: utils/adt/geo_ops.c:5009 +#: utils/adt/geo_ops.c:292 utils/adt/geo_ops.c:4088 utils/adt/geo_ops.c:5009 msgid "too many points requested" msgstr "trop de points demandé" @@ -4056,15 +4027,12 @@ msgid "invalid input syntax for type line: \"%s\"" msgstr "syntaxe en entrée invalide pour le type line: « %s »" -#: utils/adt/geo_ops.c:961 -#: utils/adt/geo_ops.c:1028 -#: utils/adt/geo_ops.c:1043 +#: utils/adt/geo_ops.c:961 utils/adt/geo_ops.c:1028 utils/adt/geo_ops.c:1043 #: utils/adt/geo_ops.c:1055 msgid "type \"line\" not yet implemented" msgstr "le type « line » n'est pas encore implémenté" -#: utils/adt/geo_ops.c:1409 -#: utils/adt/geo_ops.c:1432 +#: utils/adt/geo_ops.c:1409 utils/adt/geo_ops.c:1432 #, c-format msgid "invalid input syntax for type path: \"%s\"" msgstr "syntaxe en entrée invalide pour le type path : « %s »" @@ -4095,8 +4063,7 @@ msgid "cannot create bounding box for empty polygon" msgstr "ne peut pas créer une boîte entourée pour un polygône vide" -#: utils/adt/geo_ops.c:3448 -#: utils/adt/geo_ops.c:3460 +#: utils/adt/geo_ops.c:3448 utils/adt/geo_ops.c:3460 #, c-format msgid "invalid input syntax for type polygon: \"%s\"" msgstr "syntaxe en entrée invalide pour le type polygon : « %s »" @@ -4117,16 +4084,13 @@ msgid "open path cannot be converted to polygon" msgstr "le chemin ouvert ne peut être converti en polygône" -#: utils/adt/geo_ops.c:4386 -#: utils/adt/geo_ops.c:4396 -#: utils/adt/geo_ops.c:4411 +#: utils/adt/geo_ops.c:4386 utils/adt/geo_ops.c:4396 utils/adt/geo_ops.c:4411 #: utils/adt/geo_ops.c:4417 #, c-format msgid "invalid input syntax for type circle: \"%s\"" msgstr "syntaxe en entrée invalide pour le type circle : « %s »" -#: utils/adt/geo_ops.c:4439 -#: utils/adt/geo_ops.c:4447 +#: utils/adt/geo_ops.c:4439 utils/adt/geo_ops.c:4447 msgid "could not format \"circle\" value" msgstr "n'a pas pu formater la valeur « circle »" @@ -4142,40 +4106,32 @@ msgid "must request at least 2 points" msgstr "doit demander au moins deux points" -#: utils/adt/geo_ops.c:5044 -#: utils/adt/geo_ops.c:5067 +#: utils/adt/geo_ops.c:5044 utils/adt/geo_ops.c:5067 msgid "cannot convert empty polygon to circle" msgstr "ne peut pas convertir un polygône vide en cercle" -#: utils/adt/varchar.c:48 -#: utils/adt/varbit.c:49 +#: utils/adt/varchar.c:48 utils/adt/varbit.c:49 #, c-format msgid "length for type %s must be at least 1" msgstr "la longueur du type %s doit être d'au moins 1" -#: utils/adt/varchar.c:52 -#: utils/adt/varbit.c:54 +#: utils/adt/varchar.c:52 utils/adt/varbit.c:54 #, c-format msgid "length for type %s cannot exceed %d" msgstr "la longueur du type %s ne peut pas excéder %d" -#: utils/adt/varchar.c:152 -#: utils/adt/varchar.c:305 +#: utils/adt/varchar.c:152 utils/adt/varchar.c:305 #, c-format msgid "value too long for type character(%d)" msgstr "valeur trop longue pour le type character(%d)" -#: utils/adt/varchar.c:467 -#: utils/adt/varchar.c:588 +#: utils/adt/varchar.c:467 utils/adt/varchar.c:588 #, c-format msgid "value too long for type character varying(%d)" msgstr "valeur trop longue pour le type character varying(%d)" -#: utils/adt/int8.c:101 -#: utils/adt/int8.c:136 -#: utils/adt/numutils.c:53 -#: utils/adt/numutils.c:63 -#: utils/adt/numutils.c:105 +#: utils/adt/int8.c:101 utils/adt/int8.c:136 utils/adt/numutils.c:53 +#: utils/adt/numutils.c:63 utils/adt/numutils.c:105 #, c-format msgid "invalid input syntax for integer: \"%s\"" msgstr "syntaxe en entrée invalide pour l'entier : « %s »" @@ -4185,32 +4141,15 @@ msgid "value \"%s\" is out of range for type bigint" msgstr "la valeur « %s » est en dehors des limites du type bigint" -#: utils/adt/int8.c:506 -#: utils/adt/int8.c:535 -#: utils/adt/int8.c:556 -#: utils/adt/int8.c:590 -#: utils/adt/int8.c:624 -#: utils/adt/int8.c:649 -#: utils/adt/int8.c:708 -#: utils/adt/int8.c:725 -#: utils/adt/int8.c:794 -#: utils/adt/int8.c:815 -#: utils/adt/int8.c:842 -#: utils/adt/int8.c:875 -#: utils/adt/int8.c:903 -#: utils/adt/int8.c:924 -#: utils/adt/int8.c:951 -#: utils/adt/int8.c:991 -#: utils/adt/int8.c:1012 -#: utils/adt/int8.c:1039 -#: utils/adt/int8.c:1072 -#: utils/adt/int8.c:1100 -#: utils/adt/int8.c:1121 -#: utils/adt/int8.c:1148 -#: utils/adt/int8.c:1321 -#: utils/adt/int8.c:1360 -#: utils/adt/varbit.c:1476 -#: utils/adt/numeric.c:2088 +#: utils/adt/int8.c:506 utils/adt/int8.c:535 utils/adt/int8.c:556 +#: utils/adt/int8.c:590 utils/adt/int8.c:624 utils/adt/int8.c:649 +#: utils/adt/int8.c:708 utils/adt/int8.c:725 utils/adt/int8.c:794 +#: utils/adt/int8.c:815 utils/adt/int8.c:842 utils/adt/int8.c:875 +#: utils/adt/int8.c:903 utils/adt/int8.c:924 utils/adt/int8.c:951 +#: utils/adt/int8.c:991 utils/adt/int8.c:1012 utils/adt/int8.c:1039 +#: utils/adt/int8.c:1072 utils/adt/int8.c:1100 utils/adt/int8.c:1121 +#: utils/adt/int8.c:1148 utils/adt/int8.c:1321 utils/adt/int8.c:1360 +#: utils/adt/varbit.c:1476 utils/adt/numeric.c:2088 msgid "bigint out of range" msgstr "bigint en dehors des limites" @@ -4226,88 +4165,72 @@ msgid "value out of range: underflow" msgstr "valeur en dehors des limites : trop petit" -#: utils/adt/float.c:205 -#: utils/adt/float.c:246 -#: utils/adt/float.c:297 +#: utils/adt/float.c:205 utils/adt/float.c:269 utils/adt/float.c:325 #, c-format msgid "invalid input syntax for type real: \"%s\"" msgstr "syntaxe en entrée invalide pour le type real : « %s »" -#: utils/adt/float.c:241 +#: utils/adt/float.c:264 #, c-format msgid "\"%s\" is out of range for type real" msgstr "« %s » est hors des limites du type real" -#: utils/adt/float.c:398 -#: utils/adt/float.c:439 -#: utils/adt/float.c:490 -#: utils/adt/numeric.c:3645 -#: utils/adt/numeric.c:3671 +#: utils/adt/float.c:426 utils/adt/float.c:490 utils/adt/float.c:546 +#: utils/adt/numeric.c:3645 utils/adt/numeric.c:3671 #, c-format msgid "invalid input syntax for type double precision: \"%s\"" msgstr "syntaxe en entrée invalide pour le type double precision : « %s »" -#: utils/adt/float.c:434 +#: utils/adt/float.c:485 #, c-format msgid "\"%s\" is out of range for type double precision" msgstr "« %s » est en dehors des limites du type double precision" -#: utils/adt/float.c:1302 -#: utils/adt/numeric.c:4859 +#: utils/adt/float.c:1358 utils/adt/numeric.c:4859 msgid "cannot take square root of a negative number" msgstr "ne peut pas calculer la racine carré d'un nombre négatif" -#: utils/adt/float.c:1344 -#: utils/adt/numeric.c:1948 +#: utils/adt/float.c:1400 utils/adt/numeric.c:1948 msgid "zero raised to a negative power is undefined" msgstr "zéro à une puissance négative est indéfini" -#: utils/adt/float.c:1348 -#: utils/adt/numeric.c:1954 +#: utils/adt/float.c:1404 utils/adt/numeric.c:1954 msgid "a negative number raised to a non-integer power yields a complex result" -msgstr "un nombre négatif élevé à une puissance non entière donne un résultat complexe" +msgstr "" +"un nombre négatif élevé à une puissance non entière donne un résultat " +"complexe" -#: utils/adt/float.c:1414 -#: utils/adt/float.c:1444 -#: utils/adt/numeric.c:5077 +#: utils/adt/float.c:1470 utils/adt/float.c:1500 utils/adt/numeric.c:5077 msgid "cannot take logarithm of zero" msgstr "ne peut pas calculer le logarithme de zéro" -#: utils/adt/float.c:1418 -#: utils/adt/float.c:1448 -#: utils/adt/numeric.c:5081 +#: utils/adt/float.c:1474 utils/adt/float.c:1504 utils/adt/numeric.c:5081 msgid "cannot take logarithm of a negative number" msgstr "ne peut pas calculer le logarithme sur un nombre négatif" -#: utils/adt/float.c:1475 -#: utils/adt/float.c:1496 -#: utils/adt/float.c:1517 -#: utils/adt/float.c:1539 -#: utils/adt/float.c:1560 -#: utils/adt/float.c:1581 -#: utils/adt/float.c:1603 -#: utils/adt/float.c:1624 +#: utils/adt/float.c:1531 utils/adt/float.c:1552 utils/adt/float.c:1573 +#: utils/adt/float.c:1595 utils/adt/float.c:1616 utils/adt/float.c:1637 +#: utils/adt/float.c:1659 utils/adt/float.c:1680 msgid "input is out of range" msgstr "l'entrée est en dehors des limites" -#: utils/adt/float.c:2692 -#: utils/adt/numeric.c:955 +#: utils/adt/float.c:2748 utils/adt/numeric.c:955 msgid "count must be greater than zero" msgstr "le total doit être supérieur à zéro" -#: utils/adt/float.c:2697 -#: utils/adt/numeric.c:962 +#: utils/adt/float.c:2753 utils/adt/numeric.c:962 msgid "operand, lower bound and upper bound cannot be NaN" -msgstr "la limite inférieure et supérieure de l'opérande ne peuvent pas être NaN" +msgstr "" +"la limite inférieure et supérieure de l'opérande ne peuvent pas être NaN" -#: utils/adt/float.c:2703 +#: utils/adt/float.c:2759 msgid "lower and upper bounds must be finite" msgstr "les limites basse et haute doivent être finies" -#: utils/adt/float.c:2741 -#: utils/adt/numeric.c:975 +#: utils/adt/float.c:2797 utils/adt/numeric.c:975 msgid "lower bound cannot equal upper bound" -msgstr "la limite inférieure ne peut pas être plus égale à la limite supérieure" +msgstr "" +"la limite inférieure ne peut pas être plus égale à la limite supérieure" #: utils/adt/formatting.c:489 msgid "invalid format specification for an interval value" @@ -4329,8 +4252,7 @@ msgid "multiple decimal points" msgstr "multiples points décimaux" -#: utils/adt/formatting.c:1110 -#: utils/adt/formatting.c:1214 +#: utils/adt/formatting.c:1110 utils/adt/formatting.c:1214 msgid "cannot use \"V\" and decimal point together" msgstr "ne peut pas utiliser « V » et le point décimal ensemble" @@ -4367,99 +4289,108 @@ msgid "\"%s\" is not a number" msgstr "« %s » n'est pas un nombre" -#: utils/adt/formatting.c:1790 +#: utils/adt/formatting.c:1885 msgid "invalid combination of date conventions" msgstr "combinaison invalide des conventions de date" -#: utils/adt/formatting.c:1791 -msgid "Do not mix Gregorian and ISO week date conventions in a formatting template." +#: utils/adt/formatting.c:1886 +msgid "" +"Do not mix Gregorian and ISO week date conventions in a formatting template." msgstr "" "Ne pas mixer les conventions de jour de semaine grégorien et ISO dans un\n" "modèle de formatage." -#: utils/adt/formatting.c:1808 +#: utils/adt/formatting.c:1903 #, c-format msgid "conflicting values for \"%s\" field in formatting string" msgstr "valeur conflictuelle pour le champ « %s » dans la chaîne de formatage" -#: utils/adt/formatting.c:1810 +#: utils/adt/formatting.c:1905 msgid "This value contradicts a previous setting for the same field type." -msgstr "Cette valeur contredit une configuration précédente pour le même type de champ." +msgstr "" +"Cette valeur contredit une configuration précédente pour le même type de " +"champ." -#: utils/adt/formatting.c:1871 +#: utils/adt/formatting.c:1966 #, c-format msgid "source string too short for \"%s\" formatting field" msgstr "chaîne source trop petite pour le champ de formatage « %s »" -#: utils/adt/formatting.c:1873 +#: utils/adt/formatting.c:1968 #, c-format msgid "Field requires %d characters, but only %d remain." msgstr "Le champ requiert %d caractères, mais seuls %d restent." -#: utils/adt/formatting.c:1876 -#: utils/adt/formatting.c:1890 -msgid "If your source string is not fixed-width, try using the \"FM\" modifier." +#: utils/adt/formatting.c:1971 utils/adt/formatting.c:1985 +msgid "" +"If your source string is not fixed-width, try using the \"FM\" modifier." msgstr "" "Si votre chaîne source n'a pas une taille fixe, essayez d'utiliser le\n" "modifieur « FM »." -#: utils/adt/formatting.c:1886 -#: utils/adt/formatting.c:1899 -#: utils/adt/formatting.c:2029 +#: utils/adt/formatting.c:1981 utils/adt/formatting.c:1994 +#: utils/adt/formatting.c:2124 #, c-format msgid "invalid value \"%s\" for \"%s\"" msgstr "valeur « %s » invalide pour « %s »" -#: utils/adt/formatting.c:1888 +#: utils/adt/formatting.c:1983 #, c-format msgid "Field requires %d characters, but only %d could be parsed." -msgstr "Le champ nécessite %d caractères, mais seulement %d ont pu être analysés." +msgstr "" +"Le champ nécessite %d caractères, mais seulement %d ont pu être analysés." -#: utils/adt/formatting.c:1901 +#: utils/adt/formatting.c:1996 msgid "Value must be an integer." msgstr "La valeur doit être un entier" -#: utils/adt/formatting.c:1906 +#: utils/adt/formatting.c:2001 #, c-format msgid "value for \"%s\" in source string is out of range" msgstr "la valeur pour « %s » dans la chaîne source est en dehors des limites" -#: utils/adt/formatting.c:1908 +#: utils/adt/formatting.c:2003 #, c-format msgid "Value must be in the range %d to %d." msgstr "La valeur doit être compris entre %d et %d" -#: utils/adt/formatting.c:2031 +#: utils/adt/formatting.c:2126 msgid "The given value did not match any of the allowed values for this field." -msgstr "La valeur donnée ne correspond pas aux valeurs autorisées pour ce champ." +msgstr "" +"La valeur donnée ne correspond pas aux valeurs autorisées pour ce champ." -#: utils/adt/formatting.c:2593 +#: utils/adt/formatting.c:2681 msgid "\"TZ\"/\"tz\" format patterns are not supported in to_date" msgstr "les motifs de format « TZ »/ « tz » ne sont pas supportés dans to_date" -#: utils/adt/formatting.c:2694 +#: utils/adt/formatting.c:2782 msgid "invalid input string for \"Y,YYY\"" msgstr "chaîne invalide en entrée pour « Y,YYY »" -#: utils/adt/formatting.c:3208 +#: utils/adt/formatting.c:3173 utils/adt/date.c:167 +#, c-format +msgid "date out of range: \"%s\"" +msgstr "date en dehors des limites : « %s »" + +#: utils/adt/formatting.c:3302 #, c-format msgid "hour \"%d\" is invalid for the 12-hour clock" msgstr "l'heure « %d » est invalide pour une horloge sur 12 heures" -#: utils/adt/formatting.c:3210 +#: utils/adt/formatting.c:3304 msgid "Use the 24-hour clock, or give an hour between 1 and 12." msgstr "Utilisez une horloge sur 24 heures ou donnez une heure entre 1 et 12." -#: utils/adt/formatting.c:3248 +#: utils/adt/formatting.c:3342 #, c-format msgid "inconsistent use of year %04d and \"BC\"" msgstr "utilisation non cohérente de l'année %04d et de « BC »" -#: utils/adt/formatting.c:3295 +#: utils/adt/formatting.c:3389 msgid "cannot calculate day of year without year information" msgstr "ne peut pas calculer le jour de l'année sans information sur l'année" -#: utils/adt/formatting.c:4160 +#: utils/adt/formatting.c:4254 msgid "\"RN\" not supported" msgstr "« RN » non supporté" @@ -4473,23 +4404,15 @@ msgid "TIME(%d)%s precision reduced to maximum allowed, %d" msgstr "la précision de TIME(%d)%s a été réduit au maximum autorisée, %d" -#: utils/adt/date.c:142 -#: utils/adt/datetime.c:1186 -#: utils/adt/datetime.c:1934 +#: utils/adt/date.c:142 utils/adt/datetime.c:1186 utils/adt/datetime.c:1928 msgid "date/time value \"current\" is no longer supported" msgstr "la valeur « current » pour la date et heure n'est plus supportée" -#: utils/adt/date.c:167 -#, c-format -msgid "date out of range: \"%s\"" -msgstr "date en dehors des limites : « %s »" - #: utils/adt/date.c:347 msgid "cannot subtract infinite dates" msgstr "ne peut pas soustraire les valeurs dates infinies" -#: utils/adt/date.c:404 -#: utils/adt/date.c:441 +#: utils/adt/date.c:404 utils/adt/date.c:441 msgid "date out of range for timestamp" msgstr "date en dehors des limites pour un timestamp" @@ -4497,15 +4420,12 @@ msgid "cannot convert reserved abstime value to date" msgstr "ne peut pas convertir la valeur réservée abstime en date" -#: utils/adt/date.c:1128 -#: utils/adt/date.c:1135 -#: utils/adt/date.c:1903 +#: utils/adt/date.c:1128 utils/adt/date.c:1135 utils/adt/date.c:1903 #: utils/adt/date.c:1910 msgid "time out of range" msgstr "heure en dehors des limites" -#: utils/adt/date.c:1781 -#: utils/adt/date.c:1798 +#: utils/adt/date.c:1781 utils/adt/date.c:1798 #, c-format msgid "\"time\" units \"%s\" not recognized" msgstr "l'unité « %s » n'est pas reconnu pour le type « time »" @@ -4514,8 +4434,7 @@ msgid "time zone displacement out of range" msgstr "déplacement du fuseau horaire en dehors des limites" -#: utils/adt/date.c:2544 -#: utils/adt/date.c:2561 +#: utils/adt/date.c:2544 utils/adt/date.c:2561 #, c-format msgid "\"time with time zone\" units \"%s\" not recognized" msgstr "L'unité « %s » n'est pas reconnu pour le type « time with time zone »" @@ -4525,48 +4444,49 @@ msgid "\"interval\" time zone \"%s\" not valid" msgstr "le fuseau horaire « %s » n'est pas valide pour le type « interval »" -#: utils/adt/varbit.c:157 -#: utils/adt/varbit.c:297 -#: utils/adt/varbit.c:353 +#: utils/adt/varbit.c:157 utils/adt/varbit.c:297 utils/adt/varbit.c:353 #, c-format msgid "bit string length %d does not match type bit(%d)" -msgstr "la longueur (en bits) de la chaîne %d ne doit pas correspondre au type bit(%d)" +msgstr "" +"la longueur (en bits) de la chaîne %d ne doit pas correspondre au type " +"bit(%d)" -#: utils/adt/varbit.c:179 -#: utils/adt/varbit.c:477 +#: utils/adt/varbit.c:179 utils/adt/varbit.c:477 #, c-format msgid "\"%c\" is not a valid binary digit" msgstr "« %c » n'est pas un chiffre binaire valide" -#: utils/adt/varbit.c:204 -#: utils/adt/varbit.c:502 +#: utils/adt/varbit.c:204 utils/adt/varbit.c:502 #, c-format msgid "\"%c\" is not a valid hexadecimal digit" msgstr "« %c » n'est pas un chiffre hexadécimal valide" -#: utils/adt/varbit.c:288 -#: utils/adt/varbit.c:589 +#: utils/adt/varbit.c:288 utils/adt/varbit.c:589 msgid "invalid length in external bit string" msgstr "longueur invalide dans la chaîne bit externe" -#: utils/adt/varbit.c:455 -#: utils/adt/varbit.c:598 -#: utils/adt/varbit.c:659 +#: utils/adt/varbit.c:455 utils/adt/varbit.c:598 utils/adt/varbit.c:659 #, c-format msgid "bit string too long for type bit varying(%d)" msgstr "la chaîne bit est trop longue pour le type bit varying(%d)" #: utils/adt/varbit.c:1058 msgid "cannot AND bit strings of different sizes" -msgstr "ne peut pas utiliser l'opérateur AND sur des chaînes bit de tailles différentes" +msgstr "" +"ne peut pas utiliser l'opérateur AND sur des chaînes bit de tailles " +"différentes" #: utils/adt/varbit.c:1099 msgid "cannot OR bit strings of different sizes" -msgstr "ne peut pas utiliser l'opérateur OR sur des chaînes bit de tailles différentes" +msgstr "" +"ne peut pas utiliser l'opérateur OR sur des chaînes bit de tailles " +"différentes" #: utils/adt/varbit.c:1145 msgid "cannot XOR bit strings of different sizes" -msgstr "ne peut pas utiliser l'opérateur XOR sur des chaînes bit de tailles différentes" +msgstr "" +"ne peut pas utiliser l'opérateur XOR sur des chaînes bit de tailles " +"différentes" #: utils/adt/tsvector.c:215 #, c-format @@ -4578,9 +4498,7 @@ msgid "string is too long for tsvector (%ld bytes, max %ld bytes)" msgstr "la chaîne est trop longue pour tsvector (%ld octets, max %ld octets)" -#: utils/adt/tsvector.c:272 -#: utils/adt/tsvector_op.c:530 -#: tsearch/to_tsany.c:165 +#: utils/adt/tsvector.c:272 utils/adt/tsvector_op.c:530 tsearch/to_tsany.c:165 #, c-format msgid "string is too long for tsvector (%d bytes, max %d bytes)" msgstr "la chaîne est trop longue (%d octets, max %d octets)" @@ -4590,58 +4508,40 @@ msgid "encoding conversion from %s to ASCII not supported" msgstr "la conversion de l'encodage de %s vers l'ASCII n'est pas supportée" -#: utils/adt/ascii.c:126 -#: commands/dbcommands.c:234 +#: utils/adt/ascii.c:126 commands/dbcommands.c:235 #, c-format msgid "%s is not a valid encoding name" msgstr "%s n'est pas un nom d'encodage valide" -#: utils/adt/ascii.c:144 -#: commands/dbcommands.c:224 +#: utils/adt/ascii.c:144 commands/dbcommands.c:225 #, c-format msgid "%d is not a valid encoding code" msgstr "%d n'est pas un code d'encodage valide" -#: utils/adt/dbsize.c:64 -#: utils/adt/dbsize.c:215 -#: utils/adt/dbsize.c:286 -#: utils/adt/genfile.c:166 -#: access/transam/xlog.c:2697 -#: access/transam/xlog.c:2849 -#: access/transam/xlog.c:7407 +#: utils/adt/dbsize.c:64 utils/adt/dbsize.c:215 utils/adt/dbsize.c:286 +#: utils/adt/genfile.c:166 access/transam/xlog.c:2697 +#: access/transam/xlog.c:2849 access/transam/xlog.c:7407 #: storage/file/copydir.c:85 #, c-format msgid "could not stat file \"%s\": %m" msgstr "n'a pas pu tester le fichier « %s » : %m" -#: utils/adt/dbsize.c:104 -#: utils/adt/dbsize.c:193 +#: utils/adt/dbsize.c:104 utils/adt/dbsize.c:193 #, c-format msgid "could not open tablespace directory \"%s\": %m" msgstr "n'a pas pu ouvrir le répertoire du tablespace « %s » : %m" -#: utils/adt/dbsize.c:126 -#: catalog/aclchk.c:2522 -#: catalog/aclchk.c:3535 +#: utils/adt/dbsize.c:126 catalog/aclchk.c:2522 catalog/aclchk.c:3535 #, c-format msgid "database with OID %u does not exist" msgstr "la base de données d'OID %u n'existe pas" -#: utils/adt/dbsize.c:246 -#: utils/adt/acl.c:3695 -#: commands/tablecmds.c:412 -#: commands/tablecmds.c:6567 -#: commands/dbcommands.c:431 -#: commands/dbcommands.c:1043 -#: commands/indexcmds.c:210 -#: commands/comment.c:665 -#: commands/tablespace.c:415 -#: commands/tablespace.c:770 -#: commands/tablespace.c:837 -#: commands/tablespace.c:939 -#: commands/tablespace.c:1072 -#: executor/execMain.c:2922 -#: catalog/aclchk.c:613 +#: utils/adt/dbsize.c:246 utils/adt/acl.c:3695 commands/tablecmds.c:412 +#: commands/tablecmds.c:6567 commands/dbcommands.c:432 +#: commands/dbcommands.c:1070 commands/indexcmds.c:211 commands/comment.c:665 +#: commands/tablespace.c:415 commands/tablespace.c:770 +#: commands/tablespace.c:837 commands/tablespace.c:939 +#: commands/tablespace.c:1072 executor/execMain.c:2922 catalog/aclchk.c:613 #, c-format msgid "tablespace \"%s\" does not exist" msgstr "le tablespace « %s » n'existe pas" @@ -4663,25 +4563,21 @@ msgid "array of weight must not contain nulls" msgstr "le tableau de poids ne doit pas contenir de valeurs NULL" -#: utils/adt/tsrank.c:423 -#: utils/adt/tsrank.c:749 +#: utils/adt/tsrank.c:423 utils/adt/tsrank.c:749 msgid "weight out of range" msgstr "poids en dehors des limites" -#: utils/adt/name.c:91 -#: utils/adt/acl.c:160 +#: utils/adt/name.c:91 utils/adt/acl.c:160 msgid "identifier too long" msgstr "identifiant trop long" -#: utils/adt/name.c:92 -#: utils/adt/acl.c:161 +#: utils/adt/name.c:92 utils/adt/acl.c:161 #, c-format msgid "Identifier must be less than %d characters." msgstr "L'identifiant doit faire moins de %d caractères." #. translator: first %s is inet or cidr -#: utils/adt/network.c:107 -#: utils/adt/datetime.c:3561 +#: utils/adt/network.c:107 utils/adt/datetime.c:3555 #, c-format msgid "invalid input syntax for type %s: \"%s\"" msgstr "syntaxe en entrée invalide pour le type %s : « %s »" @@ -4691,14 +4587,11 @@ msgid "invalid cidr value: \"%s\"" msgstr "valeur cidr invalide : « %s »" -#: utils/adt/network.c:119 -#: utils/adt/network.c:249 +#: utils/adt/network.c:119 utils/adt/network.c:249 msgid "Value has bits set to right of mask." msgstr "La valeur a des bits positionnés à la droite du masque." -#: utils/adt/network.c:160 -#: utils/adt/network.c:614 -#: utils/adt/network.c:639 +#: utils/adt/network.c:160 utils/adt/network.c:614 utils/adt/network.c:639 #: utils/adt/network.c:664 #, c-format msgid "could not format inet value: %m" @@ -4726,8 +4619,7 @@ msgid "invalid external \"cidr\" value" msgstr "valeur externe « cidr » invalide" -#: utils/adt/network.c:370 -#: utils/adt/network.c:397 +#: utils/adt/network.c:370 utils/adt/network.c:397 #, c-format msgid "invalid mask length: %d" msgstr "longueur du masque invalide : %d" @@ -4749,8 +4641,7 @@ "ne peut pas utiliser l'opérateur OR sur des champs de type inet de tailles\n" "différentes" -#: utils/adt/network.c:1348 -#: utils/adt/network.c:1424 +#: utils/adt/network.c:1348 utils/adt/network.c:1424 msgid "result is out of range" msgstr "le résultat est en dehors des limites" @@ -4773,46 +4664,32 @@ msgid "type %s is not a domain" msgstr "le type %s n'est pas un domaine" -#: utils/adt/domains.c:128 -#: executor/execQual.c:3889 +#: utils/adt/domains.c:128 executor/execQual.c:3889 #, c-format msgid "domain %s does not allow null values" msgstr "le domaine %s n'autorise pas les valeurs NULL" -#: utils/adt/domains.c:164 -#: executor/execQual.c:3918 +#: utils/adt/domains.c:164 executor/execQual.c:3918 #, c-format msgid "value for domain %s violates check constraint \"%s\"" -msgstr "la valeur pour le domaine %s viole la contrainte de vérification « %s »" +msgstr "" +"la valeur pour le domaine %s viole la contrainte de vérification « %s »" -#: utils/adt/ruleutils.c:1361 -#: utils/adt/acl.c:2303 -#: commands/tablecmds.c:3752 -#: commands/tablecmds.c:3846 -#: commands/tablecmds.c:3893 -#: commands/tablecmds.c:3989 -#: commands/tablecmds.c:4050 -#: commands/tablecmds.c:4114 -#: commands/tablecmds.c:5538 -#: commands/tablecmds.c:5677 -#: commands/analyze.c:271 -#: commands/sequence.c:1349 -#: commands/copy.c:3417 -#: commands/comment.c:579 -#: catalog/aclchk.c:672 -#: parser/analyze.c:1837 -#: parser/parse_target.c:804 -#: parser/parse_relation.c:2068 -#: parser/parse_relation.c:2123 +#: utils/adt/ruleutils.c:1361 utils/adt/acl.c:2303 commands/tablecmds.c:3752 +#: commands/tablecmds.c:3846 commands/tablecmds.c:3893 +#: commands/tablecmds.c:3989 commands/tablecmds.c:4050 +#: commands/tablecmds.c:4114 commands/tablecmds.c:5538 +#: commands/tablecmds.c:5677 commands/analyze.c:271 commands/sequence.c:1349 +#: commands/copy.c:3417 commands/comment.c:579 catalog/aclchk.c:672 +#: parser/analyze.c:1837 parser/parse_target.c:805 +#: parser/parse_relation.c:2077 parser/parse_relation.c:2132 #: parser/parse_type.c:117 #, c-format msgid "column \"%s\" of relation \"%s\" does not exist" msgstr "la colonne « %s » de la relation « %s » n'existe pas" -#: utils/adt/ruleutils.c:1476 -#: commands/functioncmds.c:976 -#: commands/functioncmds.c:1082 -#: commands/functioncmds.c:1147 +#: utils/adt/ruleutils.c:1476 commands/functioncmds.c:976 +#: commands/functioncmds.c:1082 commands/functioncmds.c:1147 #: commands/functioncmds.c:1302 #, c-format msgid "\"%s\" is an aggregate function" @@ -4823,11 +4700,8 @@ msgid "rule \"%s\" has unsupported event type %d" msgstr "la règle « %s » a un type d'événement %d non supporté" -#: utils/adt/ruleutils.c:5316 -#: utils/adt/ruleutils.c:5353 -#: utils/adt/ruleutils.c:5387 -#: utils/adt/regproc.c:641 -#: utils/adt/regproc.c:1501 +#: utils/adt/ruleutils.c:5319 utils/adt/ruleutils.c:5356 +#: utils/adt/ruleutils.c:5390 utils/adt/regproc.c:641 utils/adt/regproc.c:1501 msgid "too many arguments" msgstr "trop d'arguments" @@ -4839,8 +4713,7 @@ msgid "cannot display a value of type any" msgstr "ne peut pas afficher une valeur de type any" -#: utils/adt/pseudotypes.c:121 -#: utils/adt/pseudotypes.c:149 +#: utils/adt/pseudotypes.c:121 utils/adt/pseudotypes.c:149 msgid "cannot accept a value of type anyarray" msgstr "ne peut pas accepter une valeur de type anyarray" @@ -4908,8 +4781,7 @@ msgid "\"char\" out of range" msgstr "« char » hors des limites" -#: utils/adt/arrayfuncs.c:210 -#: utils/adt/arrayfuncs.c:222 +#: utils/adt/arrayfuncs.c:210 utils/adt/arrayfuncs.c:222 msgid "missing dimension value" msgstr "valeur de la dimension manquant" @@ -4917,15 +4789,13 @@ msgid "missing \"]\" in array dimensions" msgstr "« ] » dans les dimensions manquant" -#: utils/adt/arrayfuncs.c:240 -#: utils/adt/arrayfuncs.c:2370 -#: utils/adt/arrayfuncs.c:2398 -#: utils/adt/arrayfuncs.c:2413 +#: utils/adt/arrayfuncs.c:240 utils/adt/arrayfuncs.c:2370 +#: utils/adt/arrayfuncs.c:2398 utils/adt/arrayfuncs.c:2413 msgid "upper bound cannot be less than lower bound" -msgstr "la limite supérieure ne peut pas être plus petite que la limite inférieure" +msgstr "" +"la limite supérieure ne peut pas être plus petite que la limite inférieure" -#: utils/adt/arrayfuncs.c:252 -#: utils/adt/arrayfuncs.c:278 +#: utils/adt/arrayfuncs.c:252 utils/adt/arrayfuncs.c:278 msgid "array value must start with \"{\" or dimension information" msgstr "" "la valeur du tableau doit commencer avec « { » ou avec l'information de la\n" @@ -4935,34 +4805,26 @@ msgid "missing assignment operator" msgstr "opérateur d'affectation manquant" -#: utils/adt/arrayfuncs.c:283 -#: utils/adt/arrayfuncs.c:289 +#: utils/adt/arrayfuncs.c:283 utils/adt/arrayfuncs.c:289 msgid "array dimensions incompatible with array literal" msgstr "les dimensions du tableau sont incompatibles avec le tableau litéral" -#: utils/adt/arrayfuncs.c:392 -#: utils/adt/arrayfuncs.c:407 -#: utils/adt/arrayfuncs.c:416 -#: utils/adt/arrayfuncs.c:430 -#: utils/adt/arrayfuncs.c:450 -#: utils/adt/arrayfuncs.c:478 -#: utils/adt/arrayfuncs.c:483 -#: utils/adt/arrayfuncs.c:523 -#: utils/adt/arrayfuncs.c:544 -#: utils/adt/arrayfuncs.c:563 -#: utils/adt/arrayfuncs.c:673 -#: utils/adt/arrayfuncs.c:682 -#: utils/adt/arrayfuncs.c:712 -#: utils/adt/arrayfuncs.c:727 +#: utils/adt/arrayfuncs.c:392 utils/adt/arrayfuncs.c:407 +#: utils/adt/arrayfuncs.c:416 utils/adt/arrayfuncs.c:430 +#: utils/adt/arrayfuncs.c:450 utils/adt/arrayfuncs.c:478 +#: utils/adt/arrayfuncs.c:483 utils/adt/arrayfuncs.c:523 +#: utils/adt/arrayfuncs.c:544 utils/adt/arrayfuncs.c:563 +#: utils/adt/arrayfuncs.c:673 utils/adt/arrayfuncs.c:682 +#: utils/adt/arrayfuncs.c:712 utils/adt/arrayfuncs.c:727 #: utils/adt/arrayfuncs.c:780 #, c-format msgid "malformed array literal: \"%s\"" msgstr "tableau litéral mal formé : « %s »" -#: utils/adt/arrayfuncs.c:490 -#: executor/execQual.c:3117 +#: utils/adt/arrayfuncs.c:490 executor/execQual.c:3117 #: executor/execQual.c:3144 -msgid "multidimensional arrays must have array expressions with matching dimensions" +msgid "" +"multidimensional arrays must have array expressions with matching dimensions" msgstr "" "les tableaux multidimensionnels doivent avoir des expressions de tableaux\n" "avec les dimensions correspondantes" @@ -4975,11 +4837,8 @@ msgid "wrong element type" msgstr "mauvais type d'élément" -#: utils/adt/arrayfuncs.c:1345 -#: utils/adt/rowtypes.c:566 -#: libpq/pqformat.c:611 -#: libpq/pqformat.c:629 -#: libpq/pqformat.c:650 +#: utils/adt/arrayfuncs.c:1345 utils/adt/rowtypes.c:566 libpq/pqformat.c:611 +#: libpq/pqformat.c:629 libpq/pqformat.c:650 msgid "insufficient data left in message" msgstr "données insuffisantes laissées dans le message" @@ -4992,25 +4851,23 @@ msgid "slices of fixed-length arrays not implemented" msgstr "les morceaux des tableaux à longueur fixe ne sont pas implémentés" -#: utils/adt/arrayfuncs.c:2010 -#: utils/adt/arrayfuncs.c:2032 -#: utils/adt/arrayfuncs.c:2066 -#: utils/adt/arrayfuncs.c:2352 -#: utils/adt/arrayfuncs.c:4505 -#: utils/adt/arrayfuncs.c:4537 +#: utils/adt/arrayfuncs.c:2010 utils/adt/arrayfuncs.c:2032 +#: utils/adt/arrayfuncs.c:2066 utils/adt/arrayfuncs.c:2352 +#: utils/adt/arrayfuncs.c:4505 utils/adt/arrayfuncs.c:4537 #: utils/adt/arrayfuncs.c:4554 msgid "wrong number of array subscripts" msgstr "mauvais nombre d'indices du tableau" -#: utils/adt/arrayfuncs.c:2015 -#: utils/adt/arrayfuncs.c:2108 +#: utils/adt/arrayfuncs.c:2015 utils/adt/arrayfuncs.c:2108 #: utils/adt/arrayfuncs.c:2403 msgid "array subscript out of range" msgstr "indice du tableau en dehors de l'échelle" #: utils/adt/arrayfuncs.c:2020 msgid "cannot assign null value to an element of a fixed-length array" -msgstr "ne peut pas affecter une valeur NULL à un élément d'un tableau à longueur fixe" +msgstr "" +"ne peut pas affecter une valeur NULL à un élément d'un tableau à longueur " +"fixe" #: utils/adt/arrayfuncs.c:2306 msgid "updates on slices of fixed-length arrays not implemented" @@ -5018,8 +4875,7 @@ "les mises à jour de morceaux des tableaux à longueur fixe ne sont pas\n" "implémentées" -#: utils/adt/arrayfuncs.c:2342 -#: utils/adt/arrayfuncs.c:2429 +#: utils/adt/arrayfuncs.c:2342 utils/adt/arrayfuncs.c:2429 msgid "source array too small" msgstr "tableau source trop petit" @@ -5027,58 +4883,51 @@ msgid "null array element not allowed in this context" msgstr "élément NULL de tableau interdit dans ce contexte" -#: utils/adt/arrayfuncs.c:3045 -#: utils/adt/arrayfuncs.c:3252 +#: utils/adt/arrayfuncs.c:3045 utils/adt/arrayfuncs.c:3252 #: utils/adt/arrayfuncs.c:3452 msgid "cannot compare arrays of different element types" -msgstr "ne peut pas comparer des tableaux ayant des types d'éléments différents" +msgstr "" +"ne peut pas comparer des tableaux ayant des types d'éléments différents" -#: utils/adt/arrayfuncs.c:3068 -#: utils/adt/arrayfuncs.c:3469 -#: utils/adt/rowtypes.c:1161 -#: parser/parse_oper.c:259 +#: utils/adt/arrayfuncs.c:3068 utils/adt/arrayfuncs.c:3469 +#: utils/adt/rowtypes.c:1161 parser/parse_oper.c:259 #, c-format msgid "could not identify an equality operator for type %s" msgstr "n'a pas pu identifier un opérateur d'égalité pour le type %s" -#: utils/adt/arrayfuncs.c:3269 -#: utils/adt/rowtypes.c:935 +#: utils/adt/arrayfuncs.c:3269 utils/adt/rowtypes.c:935 #: executor/execQual.c:4879 #, c-format msgid "could not identify a comparison function for type %s" msgstr "n'a pas pu identifier une fonction de comparaison pour le type %s" -#: utils/adt/arrayfuncs.c:4403 -#: utils/adt/arrayfuncs.c:4443 +#: utils/adt/arrayfuncs.c:4403 utils/adt/arrayfuncs.c:4443 msgid "dimension array or low bound array cannot be NULL" msgstr "la dimension ou la limite basse du tableau ne peut pas être NULL" -#: utils/adt/arrayfuncs.c:4506 -#: utils/adt/arrayfuncs.c:4538 +#: utils/adt/arrayfuncs.c:4506 utils/adt/arrayfuncs.c:4538 msgid "Dimension array must be one dimensional." msgstr "le tableau doit avoir une seule dimension" -#: utils/adt/arrayfuncs.c:4511 -#: utils/adt/arrayfuncs.c:4543 +#: utils/adt/arrayfuncs.c:4511 utils/adt/arrayfuncs.c:4543 msgid "wrong range of array subscripts" msgstr "mauvais échelle des indices du tableau" -#: utils/adt/arrayfuncs.c:4512 -#: utils/adt/arrayfuncs.c:4544 +#: utils/adt/arrayfuncs.c:4512 utils/adt/arrayfuncs.c:4544 msgid "Lower bound of dimension array must be one." msgstr "La limite inférieure du tableau doit valoir un." -#: utils/adt/arrayfuncs.c:4517 -#: utils/adt/arrayfuncs.c:4549 +#: utils/adt/arrayfuncs.c:4517 utils/adt/arrayfuncs.c:4549 msgid "dimension values cannot be null" msgstr "les valeurs de dimension ne peuvent pas être NULL" #: utils/adt/arrayfuncs.c:4555 msgid "Low bound array has different size than dimensions array." -msgstr "La limite basse du tableau a une taille différentes des dimensions du tableau." +msgstr "" +"La limite basse du tableau a une taille différentes des dimensions du " +"tableau." -#: utils/adt/tsquery.c:156 -#: utils/adt/tsquery.c:392 +#: utils/adt/tsquery.c:156 utils/adt/tsquery.c:392 #: utils/adt/tsvector_parser.c:136 #, c-format msgid "syntax error in tsquery: \"%s\"" @@ -5107,19 +4956,21 @@ #: utils/adt/tsquery.c:512 #, c-format msgid "text-search query doesn't contain lexemes: \"%s\"" -msgstr "la requête de recherche plein texte ne contient pas de lexemes : « %s »" +msgstr "" +"la requête de recherche plein texte ne contient pas de lexemes : « %s »" #: utils/adt/misc.c:79 msgid "must be superuser to signal other server processes" -msgstr "doit être super-utilisateur pour envoyer un signal aux autres processus serveur" +msgstr "" +"doit être super-utilisateur pour envoyer un signal aux autres processus " +"serveur" #: utils/adt/misc.c:88 #, c-format msgid "PID %d is not a PostgreSQL server process" msgstr "le PID %d n'est pas un processus du serveur PostgreSQL" -#: utils/adt/misc.c:101 -#: storage/lmgr/proc.c:949 +#: utils/adt/misc.c:101 storage/lmgr/proc.c:949 #, c-format msgid "could not send signal to process %d: %m" msgstr "n'a pas pu envoyer le signal au processus %d : %m" @@ -5135,11 +4986,15 @@ #: utils/adt/misc.c:147 msgid "must be superuser to rotate log files" -msgstr "doit être super-utilisateur pour exécuter la rotation des journaux applicatifs" +msgstr "" +"doit être super-utilisateur pour exécuter la rotation des journaux " +"applicatifs" #: utils/adt/misc.c:152 msgid "rotation not possible because log collection not active" -msgstr "rotation impossible car la récupération des journaux applicatifs n'est pas activée" +msgstr "" +"rotation impossible car la récupération des journaux applicatifs n'est pas " +"activée" #: utils/adt/misc.c:193 msgid "global tablespace never has databases" @@ -5166,10 +5021,8 @@ msgid "reserved" msgstr "réservé" -#: utils/adt/oracle_compat.c:181 -#: utils/adt/oracle_compat.c:279 -#: utils/adt/oracle_compat.c:755 -#: utils/adt/oracle_compat.c:1045 +#: utils/adt/oracle_compat.c:181 utils/adt/oracle_compat.c:279 +#: utils/adt/oracle_compat.c:755 utils/adt/oracle_compat.c:1045 #: utils/adt/genfile.c:123 msgid "requested length too large" msgstr "longueur demandée trop importante" @@ -5178,8 +5031,7 @@ msgid "requested character too large" msgstr "caractère demandé trop long" -#: utils/adt/oracle_compat.c:938 -#: utils/adt/oracle_compat.c:992 +#: utils/adt/oracle_compat.c:938 utils/adt/oracle_compat.c:992 #, c-format msgid "requested character too large for encoding: %d" msgstr "caractère demandé trop long pour l'encodage : %d" @@ -5224,11 +5076,8 @@ "le nom de la configuration de la recherche plein texte « %s » doit être\n" "qualifié par son schéma" -#: utils/adt/tsvector_op.c:1371 -#: commands/tablecmds.c:1838 -#: commands/copy.c:3422 -#: commands/indexcmds.c:826 -#: parser/parse_expr.c:472 +#: utils/adt/tsvector_op.c:1371 commands/tablecmds.c:1838 commands/copy.c:3422 +#: commands/indexcmds.c:833 parser/parse_expr.c:474 #, c-format msgid "column \"%s\" does not exist" msgstr "la colonne « %s » n'existe pas" @@ -5238,22 +5087,21 @@ msgid "column \"%s\" is not of a character type" msgstr "la colonne « %s » n'est pas de type caractère" -#: utils/adt/datetime.c:3534 -#: utils/adt/datetime.c:3541 +#: utils/adt/datetime.c:3528 utils/adt/datetime.c:3535 #, c-format msgid "date/time field value out of range: \"%s\"" msgstr "valeur du champ date/time en dehors des limites : « %s »" -#: utils/adt/datetime.c:3543 +#: utils/adt/datetime.c:3537 msgid "Perhaps you need a different \"datestyle\" setting." msgstr "Peut-être avez-vous besoin d'un paramètrage « datestyle » différent." -#: utils/adt/datetime.c:3548 +#: utils/adt/datetime.c:3542 #, c-format msgid "interval field value out of range: \"%s\"" msgstr "valeur du champ interval en dehors des limites : « %s »" -#: utils/adt/datetime.c:3554 +#: utils/adt/datetime.c:3548 #, c-format msgid "time zone displacement out of range: \"%s\"" msgstr "déplacement du fuseau horaire en dehors des limites : « %s »" @@ -5270,8 +5118,7 @@ msgid "must be superuser to read files" msgstr "doit être super-utilisateur pour lire des fichiers" -#: utils/adt/genfile.c:105 -#: commands/copy.c:1748 +#: utils/adt/genfile.c:105 commands/copy.c:1748 #, c-format msgid "could not open file \"%s\" for reading: %m" msgstr "n'a pas pu ouvrir le fichier « %s » pour une lecture : %m" @@ -5285,14 +5132,10 @@ msgid "requested length cannot be negative" msgstr "la longueur demandée ne peut pas être négative" -#: utils/adt/genfile.c:132 -#: access/transam/xlog.c:2362 -#: access/transam/xlog.c:4124 -#: access/transam/xlog.c:7531 -#: access/transam/xlog.c:7581 -#: access/transam/xlog.c:7873 -#: access/transam/xlog.c:7898 -#: access/transam/xlog.c:7936 +#: utils/adt/genfile.c:132 access/transam/xlog.c:2362 +#: access/transam/xlog.c:4124 access/transam/xlog.c:7531 +#: access/transam/xlog.c:7581 access/transam/xlog.c:7873 +#: access/transam/xlog.c:7898 access/transam/xlog.c:7936 #: storage/file/copydir.c:144 #, c-format msgid "could not read file \"%s\": %m" @@ -5300,7 +5143,8 @@ #: utils/adt/genfile.c:159 msgid "must be superuser to get file information" -msgstr "doit être super-utilisateur pour obtenir des informations sur le fichier" +msgstr "" +"doit être super-utilisateur pour obtenir des informations sur le fichier" #: utils/adt/genfile.c:223 msgid "must be superuser to get directory listings" @@ -5311,7 +5155,9 @@ msgstr "la requête ts_rewrite doit renvoyer deux colonnes tsquery" #: utils/adt/tsquery_cleanup.c:285 -msgid "text-search query contains only stop words or doesn't contain lexemes, ignored" +msgid "" +"text-search query contains only stop words or doesn't contain lexemes, " +"ignored" msgstr "" "la requête de recherche plein texte ne contient que des termes courants\n" "ou ne contient pas de lexemes, ignoré" @@ -5321,17 +5167,12 @@ msgid "invalid input syntax for uuid: \"%s\"" msgstr "syntaxe invalide en entrée pour l'uuid : « %s »" -#: utils/adt/rowtypes.c:99 -#: utils/adt/rowtypes.c:482 +#: utils/adt/rowtypes.c:99 utils/adt/rowtypes.c:482 msgid "input of anonymous composite types is not implemented" msgstr "l'ajout de colonnes ayant un type composé n'est pas implémenté" -#: utils/adt/rowtypes.c:146 -#: utils/adt/rowtypes.c:174 -#: utils/adt/rowtypes.c:197 -#: utils/adt/rowtypes.c:205 -#: utils/adt/rowtypes.c:257 -#: utils/adt/rowtypes.c:265 +#: utils/adt/rowtypes.c:146 utils/adt/rowtypes.c:174 utils/adt/rowtypes.c:197 +#: utils/adt/rowtypes.c:205 utils/adt/rowtypes.c:257 utils/adt/rowtypes.c:265 #, c-format msgid "malformed record literal: \"%s\"" msgstr "enregistrement litéral invalide : « %s »" @@ -5344,8 +5185,7 @@ msgid "Too few columns." msgstr "Pas assez de colonnes." -#: utils/adt/rowtypes.c:199 -#: utils/adt/rowtypes.c:207 +#: utils/adt/rowtypes.c:199 utils/adt/rowtypes.c:207 msgid "Unexpected end of input." msgstr "Fin de l'entrée inattendue." @@ -5372,16 +5212,14 @@ msgid "improper binary format in record column %d" msgstr "format binaire invalide dans l'enregistrement de la colonne %d" -#: utils/adt/rowtypes.c:918 -#: utils/adt/rowtypes.c:1144 +#: utils/adt/rowtypes.c:918 utils/adt/rowtypes.c:1144 #, c-format msgid "cannot compare dissimilar column types %s and %s at record column %d" msgstr "" "ne peut pas comparer les types de colonnes non similaires %s et %s pour la\n" "colonne %d de l'enregistrement" -#: utils/adt/rowtypes.c:996 -#: utils/adt/rowtypes.c:1207 +#: utils/adt/rowtypes.c:996 utils/adt/rowtypes.c:1207 msgid "cannot compare record types with different numbers of columns" msgstr "" "ne peut pas comparer les types d'enregistrement avec des numéros différents\n" @@ -5392,8 +5230,7 @@ msgid "invalid time zone name: \"%s\"" msgstr "nom du fuseau horaire invalide : « %s »" -#: utils/adt/nabstime.c:506 -#: utils/adt/nabstime.c:579 +#: utils/adt/nabstime.c:506 utils/adt/nabstime.c:579 msgid "cannot convert abstime \"invalid\" to timestamp" msgstr "ne peut pas convertir un abstime « invalid » en timestamp" @@ -5425,8 +5262,7 @@ msgid "value \"%s\" is out of range for 8-bit integer" msgstr "la valeur « %s » est en dehors des limites des entiers sur 8 bits" -#: utils/adt/encode.c:55 -#: utils/adt/encode.c:91 +#: utils/adt/encode.c:55 utils/adt/encode.c:91 #, c-format msgid "unrecognized encoding: \"%s\"" msgstr "encodage non reconnu : « %s »" @@ -5452,16 +5288,12 @@ msgid "invalid end sequence" msgstr "fin de séquence invalide" -#: utils/adt/oid.c:43 -#: utils/adt/oid.c:57 -#: utils/adt/oid.c:63 -#: utils/adt/oid.c:84 +#: utils/adt/oid.c:43 utils/adt/oid.c:57 utils/adt/oid.c:63 utils/adt/oid.c:84 #, c-format msgid "invalid input syntax for type oid: \"%s\"" msgstr "syntaxe invalide en entrée pour le type oid : « %s »" -#: utils/adt/oid.c:69 -#: utils/adt/oid.c:107 +#: utils/adt/oid.c:69 utils/adt/oid.c:107 #, c-format msgid "value \"%s\" is out of range for type oid" msgstr "la valeur « %s » est en dehors des limites pour le type oid" @@ -5507,7 +5339,8 @@ #: utils/adt/acl.c:343 #, c-format msgid "defaulting grantor to user ID %u" -msgstr "par défaut, le « donneur de droits » devient l'utilisateur d'identifiant %u" +msgstr "" +"par défaut, le « donneur de droits » devient l'utilisateur d'identifiant %u" #: utils/adt/acl.c:433 msgid "ACL array contains wrong data type" @@ -5545,42 +5378,28 @@ msgid "aclremove is no longer supported" msgstr "aclremove n'est plus supporté" -#: utils/adt/acl.c:1431 -#: utils/adt/acl.c:1485 +#: utils/adt/acl.c:1431 utils/adt/acl.c:1485 #, c-format msgid "unrecognized privilege type: \"%s\"" msgstr "type de droit non reconnu : « %s »" -#: utils/adt/acl.c:2909 -#: utils/adt/regproc.c:118 -#: utils/adt/regproc.c:139 +#: utils/adt/acl.c:2909 utils/adt/regproc.c:118 utils/adt/regproc.c:139 #: utils/adt/regproc.c:291 #, c-format msgid "function \"%s\" does not exist" msgstr "la fonction « %s » n'existe pas" -#: utils/adt/acl.c:3115 -#: commands/proclang.c:433 -#: commands/proclang.c:506 -#: commands/proclang.c:550 -#: commands/functioncmds.c:805 -#: commands/comment.c:1195 +#: utils/adt/acl.c:3115 commands/proclang.c:433 commands/proclang.c:506 +#: commands/proclang.c:550 commands/functioncmds.c:805 commands/comment.c:1195 #: catalog/aclchk.c:564 #, c-format msgid "language \"%s\" does not exist" msgstr "le langage « %s » n'existe pas" -#: utils/adt/acl.c:3321 -#: commands/comment.c:736 -#: commands/schemacmds.c:191 -#: commands/schemacmds.c:268 -#: commands/schemacmds.c:344 -#: catalog/aclchk.c:584 -#: catalog/namespace.c:338 -#: catalog/namespace.c:2124 -#: catalog/namespace.c:2165 -#: catalog/namespace.c:2213 -#: catalog/namespace.c:3128 +#: utils/adt/acl.c:3321 commands/comment.c:736 commands/schemacmds.c:191 +#: commands/schemacmds.c:268 commands/schemacmds.c:344 catalog/aclchk.c:584 +#: catalog/namespace.c:338 catalog/namespace.c:2124 catalog/namespace.c:2165 +#: catalog/namespace.c:2213 catalog/namespace.c:3128 #, c-format msgid "schema \"%s\" does not exist" msgstr "le schéma « %s » n'existe pas" @@ -5590,59 +5409,43 @@ msgid "must be member of role \"%s\"" msgstr "doit être un membre du rôle « %s »" -#: utils/adt/enum.c:44 -#: utils/adt/enum.c:55 -#: utils/adt/enum.c:108 -#: utils/adt/enum.c:119 +#: utils/adt/enum.c:45 utils/adt/enum.c:56 utils/adt/enum.c:113 +#: utils/adt/enum.c:124 #, c-format msgid "invalid input value for enum %s: \"%s\"" msgstr "valeur en entrée invalide pour le enum %s : « %s »" -#: utils/adt/enum.c:80 -#: utils/adt/enum.c:146 +#: utils/adt/enum.c:81 utils/adt/enum.c:151 #, c-format msgid "invalid internal value for enum: %u" msgstr "valeur interne invalide pour le enum : %u" -#: utils/adt/enum.c:266 -#: utils/adt/enum.c:307 -#: utils/adt/enum.c:356 -#: utils/adt/enum.c:376 +#: utils/adt/enum.c:271 utils/adt/enum.c:312 utils/adt/enum.c:361 +#: utils/adt/enum.c:381 msgid "could not determine actual enum type" msgstr "n'a pas pu déterminer le type enum actuel" -#: utils/adt/ri_triggers.c:373 -#: utils/adt/ri_triggers.c:433 -#: utils/adt/ri_triggers.c:596 -#: utils/adt/ri_triggers.c:836 -#: utils/adt/ri_triggers.c:1024 -#: utils/adt/ri_triggers.c:1186 -#: utils/adt/ri_triggers.c:1374 -#: utils/adt/ri_triggers.c:1545 -#: utils/adt/ri_triggers.c:1728 -#: utils/adt/ri_triggers.c:1899 -#: utils/adt/ri_triggers.c:2115 -#: utils/adt/ri_triggers.c:2297 -#: utils/adt/ri_triggers.c:2500 -#: utils/adt/ri_triggers.c:2548 -#: utils/adt/ri_triggers.c:2593 -#: utils/adt/ri_triggers.c:2721 -#: gram.y:2429 +#: utils/adt/ri_triggers.c:373 utils/adt/ri_triggers.c:433 +#: utils/adt/ri_triggers.c:596 utils/adt/ri_triggers.c:836 +#: utils/adt/ri_triggers.c:1024 utils/adt/ri_triggers.c:1186 +#: utils/adt/ri_triggers.c:1374 utils/adt/ri_triggers.c:1545 +#: utils/adt/ri_triggers.c:1728 utils/adt/ri_triggers.c:1899 +#: utils/adt/ri_triggers.c:2115 utils/adt/ri_triggers.c:2297 +#: utils/adt/ri_triggers.c:2500 utils/adt/ri_triggers.c:2548 +#: utils/adt/ri_triggers.c:2593 utils/adt/ri_triggers.c:2721 gram.y:2429 msgid "MATCH PARTIAL not yet implemented" msgstr "MATCH PARTIAL non implémenté" -#: utils/adt/ri_triggers.c:407 -#: utils/adt/ri_triggers.c:2803 -#: utils/adt/ri_triggers.c:3463 -#: utils/adt/ri_triggers.c:3500 +#: utils/adt/ri_triggers.c:407 utils/adt/ri_triggers.c:2803 +#: utils/adt/ri_triggers.c:3463 utils/adt/ri_triggers.c:3500 #, c-format msgid "insert or update on table \"%s\" violates foreign key constraint \"%s\"" msgstr "" -"une instruction insert ou update sur la table « %s » viole la contrainte de clé\n" +"une instruction insert ou update sur la table « %s » viole la contrainte de " +"clé\n" "étrangère « %s »" -#: utils/adt/ri_triggers.c:410 -#: utils/adt/ri_triggers.c:2806 +#: utils/adt/ri_triggers.c:410 utils/adt/ri_triggers.c:2806 msgid "MATCH FULL does not allow mixing of null and nonnull key values." msgstr "MATCH FULL n'autorise pas le mixage de valeurs clés NULL et non NULL." @@ -5669,7 +5472,8 @@ #: utils/adt/ri_triggers.c:3033 #, c-format msgid "function \"%s\" must be fired for INSERT or UPDATE" -msgstr "la fonction « %s » doit être exécutée pour les instructions INSERT ou UPDATE" +msgstr "" +"la fonction « %s » doit être exécutée pour les instructions INSERT ou UPDATE" #: utils/adt/ri_triggers.c:3040 #, c-format @@ -5682,16 +5486,21 @@ msgstr "aucune entrée pg_constraint pour le trigger « %s » sur la table « %s »" #: utils/adt/ri_triggers.c:3071 -msgid "Remove this referential integrity trigger and its mates, then do ALTER TABLE ADD CONSTRAINT." +msgid "" +"Remove this referential integrity trigger and its mates, then do ALTER TABLE " +"ADD CONSTRAINT." msgstr "" "Supprimez ce trigger sur une intégrité référentielle et ses enfants,\n" "puis faites un ALTER TABLE ADD CONSTRAINT." #: utils/adt/ri_triggers.c:3430 #, c-format -msgid "referential integrity query on \"%s\" from constraint \"%s\" on \"%s\" gave unexpected result" +msgid "" +"referential integrity query on \"%s\" from constraint \"%s\" on \"%s\" gave " +"unexpected result" msgstr "" -"la requête d'intégrité référentielle sur « %s » à partir de la contrainte « %s »\n" +"la requête d'intégrité référentielle sur « %s » à partir de la contrainte « " +"%s »\n" "sur « %s » donne des résultats inattendus" #: utils/adt/ri_triggers.c:3434 @@ -5710,7 +5519,9 @@ #: utils/adt/ri_triggers.c:3508 #, c-format -msgid "update or delete on table \"%s\" violates foreign key constraint \"%s\" on table \"%s\"" +msgid "" +"update or delete on table \"%s\" violates foreign key constraint \"%s\" on " +"table \"%s\"" msgstr "" "UPDATE ou DELETE sur la table « %s » viole la contrainte de clé étrangère\n" "« %s » de la table « %s »" @@ -5720,12 +5531,8 @@ msgid "Key (%s)=(%s) is still referenced from table \"%s\"." msgstr "La clé (%s)=(%s) est toujours référencée à partir de la table « %s »." -#: utils/adt/numeric.c:351 -#: utils/adt/numeric.c:378 -#: utils/adt/numeric.c:3072 -#: utils/adt/numeric.c:3095 -#: utils/adt/numeric.c:3119 -#: utils/adt/numeric.c:3126 +#: utils/adt/numeric.c:351 utils/adt/numeric.c:378 utils/adt/numeric.c:3072 +#: utils/adt/numeric.c:3095 utils/adt/numeric.c:3119 utils/adt/numeric.c:3126 #, c-format msgid "invalid input syntax for type numeric: \"%s\"" msgstr "syntaxe en entrée invalide pour le type numeric : « %s »" @@ -5742,8 +5549,7 @@ msgid "invalid digit in external \"numeric\" value" msgstr "chiffre invalide dans la valeur externe « numeric »" -#: utils/adt/numeric.c:607 -#: utils/adt/numeric.c:621 +#: utils/adt/numeric.c:607 utils/adt/numeric.c:621 #, c-format msgid "NUMERIC precision %d must be between 1 and %d" msgstr "la précision NUMERIC %d doit être comprise entre 1 et %d" @@ -5757,8 +5563,7 @@ msgid "invalid NUMERIC type modifier" msgstr "modificateur de type NUMERIC invalide" -#: utils/adt/numeric.c:1663 -#: utils/adt/numeric.c:3430 +#: utils/adt/numeric.c:1663 utils/adt/numeric.c:3430 msgid "value overflows numeric format" msgstr "la valeur dépasse le format numeric" @@ -5780,7 +5585,9 @@ #: utils/adt/numeric.c:3501 #, c-format -msgid "A field with precision %d, scale %d must round to an absolute value less than %s%d." +msgid "" +"A field with precision %d, scale %d must round to an absolute value less " +"than %s%d." msgstr "" "Un champ de précision %d et d'échelle %d doit être arrondi à une valeur\n" "absolue inférieure à %s%d." @@ -5804,57 +5611,44 @@ msgid "wrong position info in tsvector: \"%s\"" msgstr "mauvaise information de position dans tsvector : « %s »" -#: utils/adt/regproc.c:123 -#: utils/adt/regproc.c:143 +#: utils/adt/regproc.c:123 utils/adt/regproc.c:143 #, c-format msgid "more than one function named \"%s\"" msgstr "il existe plus d'une fonction nommée « %s »" -#: utils/adt/regproc.c:468 -#: utils/adt/regproc.c:488 -#: utils/adt/regproc.c:649 -#: parser/parse_oper.c:124 -#: parser/parse_oper.c:762 +#: utils/adt/regproc.c:468 utils/adt/regproc.c:488 utils/adt/regproc.c:649 +#: parser/parse_oper.c:124 parser/parse_oper.c:762 #, c-format msgid "operator does not exist: %s" msgstr "l'opérateur n'existe pas : %s" -#: utils/adt/regproc.c:472 -#: utils/adt/regproc.c:492 +#: utils/adt/regproc.c:472 utils/adt/regproc.c:492 #, c-format msgid "more than one operator named %s" msgstr "il existe plus d'un opérateur nommé%s" -#: utils/adt/regproc.c:636 -#: gram.y:5043 +#: utils/adt/regproc.c:636 gram.y:5043 msgid "missing argument" msgstr "argument manquant" -#: utils/adt/regproc.c:637 -#: gram.y:5044 +#: utils/adt/regproc.c:637 gram.y:5044 msgid "Use NONE to denote the missing argument of a unary operator." -msgstr "Utilisez NONE pour dénoter l'argument manquant d'un opérateur unitaire." +msgstr "" +"Utilisez NONE pour dénoter l'argument manquant d'un opérateur unitaire." #: utils/adt/regproc.c:642 msgid "Provide two argument types for operator." msgstr "Fournit deux types d'argument pour l'opérateur." -#: utils/adt/regproc.c:818 -#: commands/lockcmds.c:118 -#: catalog/namespace.c:275 -#: parser/parse_relation.c:883 -#: parser/parse_relation.c:891 +#: utils/adt/regproc.c:818 commands/lockcmds.c:118 catalog/namespace.c:275 +#: parser/parse_relation.c:885 parser/parse_relation.c:893 #, c-format msgid "relation \"%s\" does not exist" msgstr "la relation « %s » n'existe pas" -#: utils/adt/regproc.c:983 -#: commands/tablecmds.c:216 -#: commands/functioncmds.c:126 -#: commands/typecmds.c:648 -#: commands/typecmds.c:2535 -#: parser/parse_func.c:1320 -#: parser/parse_type.c:199 +#: utils/adt/regproc.c:983 commands/tablecmds.c:216 +#: commands/functioncmds.c:126 commands/typecmds.c:648 +#: commands/typecmds.c:2535 parser/parse_func.c:1320 parser/parse_type.c:199 #, c-format msgid "type \"%s\" does not exist" msgstr "le type « %s » n'existe pas" @@ -5878,10 +5672,10 @@ #: snowball/dict_snowball.c:183 #, c-format msgid "no Snowball stemmer available for language \"%s\" and encoding \"%s\"" -msgstr "aucun stemmer Snowball disponible pour la langue « %s » et l'encodage « %s »" +msgstr "" +"aucun stemmer Snowball disponible pour la langue « %s » et l'encodage « %s »" -#: snowball/dict_snowball.c:206 -#: tsearch/dict_ispell.c:74 +#: snowball/dict_snowball.c:206 tsearch/dict_ispell.c:74 #: tsearch/dict_simple.c:50 msgid "multiple StopWords parameters" msgstr "plusieurs paramètres StopWords" @@ -5907,37 +5701,21 @@ #: lib/stringinfo.c:246 #, c-format msgid "Cannot enlarge string buffer containing %d bytes by %d more bytes." -msgstr "Ne peut pas agrandir de %d octets le tampon de chaîne contenant déjà %d octets" +msgstr "" +"Ne peut pas agrandir de %d octets le tampon de chaîne contenant déjà %d " +"octets" #: tsearch/ts_locale.c:168 #, c-format msgid "line %d of configuration file \"%s\": \"%s\"" msgstr "ligne %d du fichier de configuration « %s » : « %s »" -#: tsearch/ts_locale.c:173 -#: libpq/hba.c:595 -#: libpq/hba.c:611 -#: libpq/hba.c:660 -#: libpq/hba.c:669 -#: libpq/hba.c:692 -#: libpq/hba.c:704 -#: libpq/hba.c:717 -#: libpq/hba.c:732 -#: libpq/hba.c:762 -#: libpq/hba.c:784 -#: libpq/hba.c:801 -#: libpq/hba.c:814 -#: libpq/hba.c:842 -#: libpq/hba.c:910 -#: libpq/hba.c:921 -#: libpq/hba.c:933 -#: libpq/hba.c:944 -#: libpq/hba.c:960 -#: libpq/hba.c:983 -#: libpq/hba.c:1012 -#: libpq/hba.c:1024 -#: libpq/hba.c:1037 -#: libpq/hba.c:1071 +#: tsearch/ts_locale.c:173 libpq/hba.c:595 libpq/hba.c:611 libpq/hba.c:660 +#: libpq/hba.c:669 libpq/hba.c:692 libpq/hba.c:704 libpq/hba.c:717 +#: libpq/hba.c:732 libpq/hba.c:762 libpq/hba.c:784 libpq/hba.c:801 +#: libpq/hba.c:814 libpq/hba.c:842 libpq/hba.c:910 libpq/hba.c:921 +#: libpq/hba.c:933 libpq/hba.c:944 libpq/hba.c:960 libpq/hba.c:983 +#: libpq/hba.c:1012 libpq/hba.c:1024 libpq/hba.c:1037 libpq/hba.c:1071 #: libpq/hba.c:1115 #, c-format msgid "line %d of configuration file \"%s\"" @@ -5957,8 +5735,7 @@ msgid "unexpected delimiter" msgstr "délimiteur inattendu" -#: tsearch/dict_thesaurus.c:263 -#: tsearch/dict_thesaurus.c:279 +#: tsearch/dict_thesaurus.c:263 tsearch/dict_thesaurus.c:279 msgid "unexpected end of line or lexeme" msgstr "fin de ligne ou lexeme inattendu" @@ -5968,7 +5745,8 @@ #: tsearch/dict_thesaurus.c:412 #, c-format -msgid "thesaurus sample word \"%s\" isn't recognized by subdictionary (rule %d)" +msgid "" +"thesaurus sample word \"%s\" isn't recognized by subdictionary (rule %d)" msgstr "" "le mot d'exemple « %s » du thésaurus n'est pas reconnu par le\n" "sous-dictionnaire (règle %d)" @@ -5989,7 +5767,8 @@ #: tsearch/dict_thesaurus.c:574 #, c-format -msgid "thesaurus substitute word \"%s\" isn't recognized by subdictionary (rule %d)" +msgid "" +"thesaurus substitute word \"%s\" isn't recognized by subdictionary (rule %d)" msgstr "" "le mot substitut « %s » du thésaurus n'est pas reconnu par le\n" "sous-dictionnaire (règle %d)" @@ -5999,8 +5778,7 @@ msgid "thesaurus substitute phrase is empty (rule %d)" msgstr "la phrase substitut du thésaurus est vide (règle %d)" -#: tsearch/dict_thesaurus.c:615 -#: tsearch/dict_ispell.c:52 +#: tsearch/dict_thesaurus.c:615 tsearch/dict_ispell.c:52 msgid "multiple DictFile parameters" msgstr "multiples paramètres DictFile" @@ -6013,8 +5791,7 @@ msgid "unrecognized Thesaurus parameter: \"%s\"" msgstr "paramètre Thesaurus non reconnu : « %s »" -#: tsearch/dict_thesaurus.c:639 -#: tsearch/dict_ispell.c:102 +#: tsearch/dict_thesaurus.c:639 tsearch/dict_ispell.c:102 msgid "missing DictFile parameter" msgstr "paramètre DictFile manquant" @@ -6022,16 +5799,12 @@ msgid "missing Dictionary parameter" msgstr "paramètre Dictionary manquant" -#: tsearch/ts_parse.c:383 -#: tsearch/ts_parse.c:390 -#: tsearch/ts_parse.c:553 +#: tsearch/ts_parse.c:383 tsearch/ts_parse.c:390 tsearch/ts_parse.c:553 #: tsearch/ts_parse.c:560 msgid "word is too long to be indexed" msgstr "le mot est trop long pour être indexé" -#: tsearch/ts_parse.c:384 -#: tsearch/ts_parse.c:391 -#: tsearch/ts_parse.c:554 +#: tsearch/ts_parse.c:384 tsearch/ts_parse.c:391 tsearch/ts_parse.c:554 #: tsearch/ts_parse.c:561 #, c-format msgid "Words longer than %d characters are ignored." @@ -6067,32 +5840,24 @@ msgid "could not open dictionary file \"%s\": %m" msgstr "n'a pas pu ouvrir le fichier dictionnaire « %s » : %m" -#: tsearch/spell.c:444 -#: tsearch/spell.c:461 -#: tsearch/spell.c:478 -#: tsearch/spell.c:495 -#: tsearch/spell.c:517 -#: gram.y:10787 -#: gram.y:10804 +#: tsearch/spell.c:444 tsearch/spell.c:461 tsearch/spell.c:478 +#: tsearch/spell.c:495 tsearch/spell.c:517 gram.y:10810 gram.y:10827 msgid "syntax error" msgstr "erreur de syntaxe" -#: tsearch/spell.c:522 -#: tsearch/spell.c:772 -#: tsearch/spell.c:792 +#: tsearch/spell.c:522 tsearch/spell.c:772 tsearch/spell.c:792 msgid "multibyte flag character is not allowed" msgstr "un caractère drapeau multi-octet n'est pas autorisé" -#: tsearch/spell.c:557 -#: tsearch/spell.c:615 -#: tsearch/spell.c:710 +#: tsearch/spell.c:557 tsearch/spell.c:615 tsearch/spell.c:710 #, c-format msgid "could not open affix file \"%s\": %m" msgstr "n'a pas pu ouvrir le fichier affixe « %s » : %m" #: tsearch/spell.c:603 msgid "Ispell dictionary supports only default flag value" -msgstr "le dictionnaire Ispell supporte seulement la valeur par défaut du drapeau" +msgstr "" +"le dictionnaire Ispell supporte seulement la valeur par défaut du drapeau" #: tsearch/spell.c:803 msgid "wrong affix file format for flag" @@ -6114,7 +5879,8 @@ #: tsearch/ts_utils.c:53 #, c-format msgid "invalid text search configuration file name \"%s\"" -msgstr "nom du fichier de configuration de la recherche plein texte invalide : « %s »" +msgstr "" +"nom du fichier de configuration de la recherche plein texte invalide : « %s »" #: tsearch/ts_utils.c:91 #, c-format @@ -6144,67 +5910,55 @@ msgid "unrecognized simple dictionary parameter: \"%s\"" msgstr "paramètre de dictionnaire simple non reconnu : « %s »" -#: tcop/pquery.c:668 +#: tcop/pquery.c:669 #, c-format msgid "bind message has %d result formats but query has %d columns" msgstr "le message bind a %d formats de résultat mais la requête a %d colonnes" -#: tcop/pquery.c:745 -#: tcop/pquery.c:1366 -#: commands/portalcmds.c:329 +#: tcop/pquery.c:746 tcop/pquery.c:1368 commands/portalcmds.c:330 #, c-format msgid "portal \"%s\" cannot be run" msgstr "le portail « %s » ne peut pas être exécuté de nouveau" -#: tcop/pquery.c:979 +#: tcop/pquery.c:981 msgid "cursor can only scan forward" msgstr "le curseur peut seulement parcourir en avant" -#: tcop/pquery.c:980 +#: tcop/pquery.c:982 msgid "Declare it with SCROLL option to enable backward scan." msgstr "Déclarez-le avec l'option SCROLL pour activer le parcours inverse." -#: tcop/fastpath.c:110 -#: tcop/fastpath.c:494 -#: tcop/fastpath.c:624 +#: tcop/fastpath.c:110 tcop/fastpath.c:494 tcop/fastpath.c:624 #, c-format msgid "invalid argument size %d in function call message" -msgstr "taille de l'argument %d invalide dans le message d'appel de la fonction" +msgstr "" +"taille de l'argument %d invalide dans le message d'appel de la fonction" -#: tcop/fastpath.c:181 -#: tcop/fastpath.c:563 -#: tcop/postgres.c:1638 +#: tcop/fastpath.c:181 tcop/fastpath.c:563 tcop/postgres.c:1638 #: access/common/printtup.c:278 #, c-format msgid "unsupported format code: %d" msgstr "code de format non supporté : %d" -#: tcop/fastpath.c:224 -#: catalog/aclchk.c:2578 -#: catalog/aclchk.c:3266 +#: tcop/fastpath.c:224 catalog/aclchk.c:2578 catalog/aclchk.c:3266 #, c-format msgid "function with OID %u does not exist" msgstr "la fonction d'OID %u n'existe pas" -#: tcop/fastpath.c:293 -#: tcop/postgres.c:334 -#: tcop/postgres.c:357 -#: commands/copy.c:514 -#: commands/copy.c:533 -#: commands/copy.c:537 +#: tcop/fastpath.c:293 tcop/postgres.c:334 tcop/postgres.c:357 +#: commands/copy.c:514 commands/copy.c:533 commands/copy.c:537 msgid "unexpected EOF on client connection" msgstr "fin de fichier (EOF) inattendue de la connexion du client" -#: tcop/fastpath.c:306 -#: tcop/postgres.c:899 -#: tcop/postgres.c:1208 -#: tcop/postgres.c:1488 -#: tcop/postgres.c:1924 -#: tcop/postgres.c:2241 +#: tcop/fastpath.c:306 tcop/postgres.c:899 tcop/postgres.c:1208 +#: tcop/postgres.c:1488 tcop/postgres.c:1924 tcop/postgres.c:2241 #: tcop/postgres.c:2321 -msgid "current transaction is aborted, commands ignored until end of transaction block" +msgid "" +"current transaction is aborted, commands ignored until end of transaction " +"block" msgstr "" -"la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc\n" +"la transaction est annulée, les commandes sont ignorées jusqu'à la fin du " +"bloc\n" "de la transaction" #: tcop/fastpath.c:334 @@ -6212,16 +5966,12 @@ msgid "fastpath function call: \"%s\" (OID %u)" msgstr "appel de fonction fastpath : « %s » (OID %u)" -#: tcop/fastpath.c:361 -#: parser/parse_func.c:1491 +#: tcop/fastpath.c:361 parser/parse_func.c:1491 msgid "argument to pg_get_expr() must come from system catalogs" msgstr "l'argument de pg_get_expr() doit provenir des catalogues systèmes" -#: tcop/fastpath.c:420 -#: tcop/postgres.c:1068 -#: tcop/postgres.c:1354 -#: tcop/postgres.c:1765 -#: tcop/postgres.c:1981 +#: tcop/fastpath.c:420 tcop/postgres.c:1068 tcop/postgres.c:1354 +#: tcop/postgres.c:1765 tcop/postgres.c:1981 #, c-format msgid "duration: %s ms" msgstr "durée : %s ms" @@ -6231,8 +5981,7 @@ msgid "duration: %s ms fastpath function call: \"%s\" (OID %u)" msgstr "durée : %s ms, appel de fonction fastpath : « %s » (OID %u)" -#: tcop/fastpath.c:462 -#: tcop/fastpath.c:589 +#: tcop/fastpath.c:462 tcop/fastpath.c:589 #, c-format msgid "function call message contains %d arguments but function requires %d" msgstr "" @@ -6246,17 +5995,14 @@ "le message d'appel de la fonction contient %d formats d'argument mais %d\n" " arguments" -#: tcop/fastpath.c:557 -#: tcop/fastpath.c:640 +#: tcop/fastpath.c:557 tcop/fastpath.c:640 #, c-format msgid "incorrect binary data format in function argument %d" -msgstr "format des données binaires incorrect dans l'argument de la fonction %d" +msgstr "" +"format des données binaires incorrect dans l'argument de la fonction %d" -#: tcop/postgres.c:384 -#: tcop/postgres.c:396 -#: tcop/postgres.c:407 -#: tcop/postgres.c:419 -#: tcop/postgres.c:3948 +#: tcop/postgres.c:384 tcop/postgres.c:396 tcop/postgres.c:407 +#: tcop/postgres.c:419 tcop/postgres.c:3955 #, c-format msgid "invalid frontend message type %d" msgstr "type %d du message de l'interface invalide" @@ -6278,11 +6024,10 @@ #: tcop/postgres.c:1181 msgid "cannot insert multiple commands into a prepared statement" -msgstr "ne peut pas insérer les commandes multiples dans une instruction préparée" +msgstr "" +"ne peut pas insérer les commandes multiples dans une instruction préparée" -#: tcop/postgres.c:1247 -#: commands/prepare.c:122 -#: parser/analyze.c:2282 +#: tcop/postgres.c:1247 commands/prepare.c:122 parser/analyze.c:2282 #, c-format msgid "could not determine data type of parameter $%d" msgstr "n'a pas pu déterminer le type de données du paramètre $%d" @@ -6297,8 +6042,7 @@ msgid "bind %s to %s" msgstr "lie %s à %s" -#: tcop/postgres.c:1424 -#: tcop/postgres.c:2221 +#: tcop/postgres.c:1424 tcop/postgres.c:2221 msgid "unnamed prepared statement does not exist" msgstr "l'instruction préparée non nommée n'existe pas" @@ -6309,9 +6053,12 @@ #: tcop/postgres.c:1472 #, c-format -msgid "bind message supplies %d parameters, but prepared statement \"%s\" requires %d" +msgid "" +"bind message supplies %d parameters, but prepared statement \"%s\" requires " +"%d" msgstr "" -"le message bind fournit %d paramètres, mais l'instruction préparée « %s » en\n" +"le message bind fournit %d paramètres, mais l'instruction préparée « %s » " +"en\n" "requiert %d" #: tcop/postgres.c:1631 @@ -6324,19 +6071,16 @@ msgid "duration: %s ms bind %s%s%s: %s" msgstr "durée : %s ms, lien %s%s%s : %s" -#: tcop/postgres.c:1818 -#: tcop/postgres.c:2307 +#: tcop/postgres.c:1818 tcop/postgres.c:2307 #, c-format msgid "portal \"%s\" does not exist" msgstr "le portail « %s » n'existe pas" -#: tcop/postgres.c:1905 -#: tcop/postgres.c:1989 +#: tcop/postgres.c:1905 tcop/postgres.c:1989 msgid "execute fetch from" msgstr "exécute fetch à partir de" -#: tcop/postgres.c:1906 -#: tcop/postgres.c:1990 +#: tcop/postgres.c:1906 tcop/postgres.c:1990 msgid "execute" msgstr "exécute" @@ -6360,131 +6104,136 @@ msgid "parameters: %s" msgstr "paramètres : %s" -#: tcop/postgres.c:2497 +#: tcop/postgres.c:2504 msgid "terminating connection because of crash of another server process" -msgstr "arrêt de la connexion à cause de l'arrêt brutal d'un autre processus serveur" +msgstr "" +"arrêt de la connexion à cause de l'arrêt brutal d'un autre processus serveur" -#: tcop/postgres.c:2498 -msgid "The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory." +#: tcop/postgres.c:2505 +msgid "" +"The postmaster has commanded this server process to roll back the current " +"transaction and exit, because another server process exited abnormally and " +"possibly corrupted shared memory." msgstr "" "Le postmaster a commandé à ce processus serveur d'annuler la transaction\n" "courante et de quitter car un autre processus serveur a quitté anormalement\n" "et qu'il existe probablement de la mémoire partagée corrompue." -#: tcop/postgres.c:2502 -msgid "In a moment you should be able to reconnect to the database and repeat your command." +#: tcop/postgres.c:2509 +msgid "" +"In a moment you should be able to reconnect to the database and repeat your " +"command." msgstr "" "Dans un moment, vous devriez être capable de vous reconnecter à la base de\n" "données et de relancer votre commande." -#: tcop/postgres.c:2621 +#: tcop/postgres.c:2628 msgid "floating-point exception" msgstr "exception dû à une virgule flottante" -#: tcop/postgres.c:2622 -msgid "An invalid floating-point operation was signaled. This probably means an out-of-range result or an invalid operation, such as division by zero." +#: tcop/postgres.c:2629 +msgid "" +"An invalid floating-point operation was signaled. This probably means an out-" +"of-range result or an invalid operation, such as division by zero." msgstr "" "Une opération invalide sur les virgules flottantes a été signalée.\n" "Ceci signifie probablement un résultat en dehors de l'échelle ou une\n" "opération invalide telle qu'une division par zéro." -#: tcop/postgres.c:2659 +#: tcop/postgres.c:2666 msgid "terminating autovacuum process due to administrator command" msgstr "arrêt du processus autovacuum suite à la demande de l'administrateur" -#: tcop/postgres.c:2663 +#: tcop/postgres.c:2670 msgid "terminating connection due to administrator command" msgstr "arrêt des connexions suite à la demande de l'administrateur" -#: tcop/postgres.c:2674 +#: tcop/postgres.c:2681 msgid "canceling statement due to statement timeout" -msgstr "annulation de la requête à cause du délai écoulé pour l'exécution de l'instruction" +msgstr "" +"annulation de la requête à cause du délai écoulé pour l'exécution de " +"l'instruction" -#: tcop/postgres.c:2678 +#: tcop/postgres.c:2685 msgid "canceling autovacuum task" msgstr "annulation de la tâche d'autovacuum" -#: tcop/postgres.c:2682 +#: tcop/postgres.c:2689 msgid "canceling statement due to user request" msgstr "annulation de la requête à la demande de l'utilisateur" -#: tcop/postgres.c:2809 -#: tcop/postgres.c:2830 +#: tcop/postgres.c:2816 tcop/postgres.c:2837 msgid "stack depth limit exceeded" msgstr "dépassement de limite (en profondeur) de la pile" -#: tcop/postgres.c:2810 -#: tcop/postgres.c:2831 -msgid "Increase the configuration parameter \"max_stack_depth\", after ensuring the platform's stack depth limit is adequate." +#: tcop/postgres.c:2817 tcop/postgres.c:2838 +msgid "" +"Increase the configuration parameter \"max_stack_depth\", after ensuring the " +"platform's stack depth limit is adequate." msgstr "" "Augmenter le paramètre « max_stack_depth » après vous être assuré que la\n" "limite de profondeur de la pile de la plateforme est adéquate." -#: tcop/postgres.c:2848 +#: tcop/postgres.c:2855 #, c-format msgid "\"max_stack_depth\" must not exceed %ldkB" msgstr "« max_stack_depth » ne doit pas dépasser %ld Ko" -#: tcop/postgres.c:2850 -msgid "Increase the platform's stack depth limit via \"ulimit -s\" or local equivalent." +#: tcop/postgres.c:2857 +msgid "" +"Increase the platform's stack depth limit via \"ulimit -s\" or local " +"equivalent." msgstr "" "Augmenter la limite de profondeur de la pile sur votre plateforme via\n" "« ulimit -s » ou l'équivalent local." -#: tcop/postgres.c:3363 +#: tcop/postgres.c:3370 msgid "invalid command-line arguments for server process" msgstr "arguments invalides en ligne de commande pour le processus serveur" -#: tcop/postgres.c:3364 -#: tcop/postgres.c:3378 +#: tcop/postgres.c:3371 tcop/postgres.c:3385 #, c-format msgid "Try \"%s --help\" for more information." msgstr "Essayez « %s --help » pour plus d'informations." -#: tcop/postgres.c:3376 +#: tcop/postgres.c:3383 #, c-format msgid "%s: invalid command-line arguments" msgstr "%s : arguments invalides en ligne de commande" -#: tcop/postgres.c:3386 +#: tcop/postgres.c:3393 #, c-format msgid "%s: no database nor user name specified" msgstr "%s : aucune base de données et aucun utilisateur spécifiés" -#: tcop/postgres.c:3858 +#: tcop/postgres.c:3865 #, c-format msgid "invalid CLOSE message subtype %d" msgstr "sous-type %d du message CLOSE invalide" -#: tcop/postgres.c:3891 +#: tcop/postgres.c:3898 #, c-format msgid "invalid DESCRIBE message subtype %d" msgstr "sous-type %d du message DESCRIBE invalide" -#: tcop/postgres.c:4129 +#: tcop/postgres.c:4136 #, c-format -msgid "disconnection: session time: %d:%02d:%02d.%03d user=%s database=%s host=%s%s%s" +msgid "" +"disconnection: session time: %d:%02d:%02d.%03d user=%s database=%s host=%s%s" +"%s" msgstr "" "déconnexion : durée de la session : %d:%02d:%02d.%03d\n" "utilisateur=%s base=%s hôte=%s%s%s" -#: tcop/utility.c:90 -#: commands/tablecmds.c:744 -#: commands/tablecmds.c:1054 -#: commands/tablecmds.c:1785 -#: commands/tablecmds.c:3171 -#: commands/tablecmds.c:3200 -#: commands/tablecmds.c:4558 -#: commands/trigger.c:121 -#: commands/trigger.c:813 -#: rewrite/rewriteDefine.c:259 +#: tcop/utility.c:90 commands/tablecmds.c:744 commands/tablecmds.c:1054 +#: commands/tablecmds.c:1785 commands/tablecmds.c:3171 +#: commands/tablecmds.c:3200 commands/tablecmds.c:4558 commands/trigger.c:121 +#: commands/trigger.c:813 rewrite/rewriteDefine.c:259 #, c-format msgid "permission denied: \"%s\" is a system catalog" msgstr "droit refusé : « %s » est un catalogue système" -#: tcop/utility.c:218 -#: commands/copy.c:1007 -#: executor/execMain.c:637 +#: tcop/utility.c:218 commands/copy.c:1007 executor/execMain.c:637 msgid "transaction is read-only" msgstr "la transaction est en lecture seule" @@ -6496,24 +6245,33 @@ #: tcop/utility.c:1047 msgid "must be superuser to do CHECKPOINT" -msgstr "doit être super-utilisateur pour exécuter un point de vérification (CHECKPOINT)" +msgstr "" +"doit être super-utilisateur pour exécuter un point de vérification " +"(CHECKPOINT)" #: access/common/tupconvert.c:108 #, c-format msgid "Returned type %s does not match expected type %s in column %d." -msgstr "Le type %s renvoyé ne correspond pas au type %s attendu dans la colonne %d." +msgstr "" +"Le type %s renvoyé ne correspond pas au type %s attendu dans la colonne %d." #: access/common/tupconvert.c:136 #, c-format -msgid "Number of returned columns (%d) does not match expected column count (%d)." +msgid "" +"Number of returned columns (%d) does not match expected column count (%d)." msgstr "" -"Le nombre de colonnes renvoyées (%d) ne correspond pas au nombre de colonnes\n" +"Le nombre de colonnes renvoyées (%d) ne correspond pas au nombre de " +"colonnes\n" "attendues (%d)." #: access/common/tupconvert.c:241 #, c-format -msgid "Attribute \"%s\" of type %s does not match corresponding attribute of type %s." -msgstr "L'attribut « %s » du type %s ne correspond pas à l'attribut correspondant du type %s." +msgid "" +"Attribute \"%s\" of type %s does not match corresponding attribute of type " +"%s." +msgstr "" +"L'attribut « %s » du type %s ne correspond pas à l'attribut correspondant du " +"type %s." #: access/common/tupconvert.c:253 #, c-format @@ -6532,7 +6290,9 @@ #: access/common/reloptions.c:289 msgid "user-defined relation parameter types limit exceeded" -msgstr "limite dépassée des types de paramètres de la relation définie par l'utilisateur" +msgstr "" +"limite dépassée des types de paramètres de la relation définie par " +"l'utilisateur" #: access/common/reloptions.c:588 msgid "RESET must not include values for parameters" @@ -6563,8 +6323,7 @@ msgid "invalid value for integer option \"%s\": %s" msgstr "valeur invalide pour l'option de type integer « %s » : %s" -#: access/common/reloptions.c:917 -#: access/common/reloptions.c:935 +#: access/common/reloptions.c:917 access/common/reloptions.c:935 #, c-format msgid "value %s out of bounds for option \"%s\"" msgstr "valeur %s en dehors des limites pour l'option « %s »" @@ -6584,14 +6343,12 @@ msgid "Valid values are between \"%f\" and \"%f\"." msgstr "Les valeurs valides sont entre « %f » et « %f »." -#: access/common/tupdesc.c:547 -#: parser/parse_relation.c:1200 +#: access/common/tupdesc.c:553 parser/parse_relation.c:1202 #, c-format msgid "column \"%s\" cannot be declared SETOF" msgstr "la colonne « %s » ne peut pas être déclarée SETOF" -#: access/common/heaptuple.c:686 -#: access/common/heaptuple.c:1438 +#: access/common/heaptuple.c:686 access/common/heaptuple.c:1438 #, c-format msgid "number of columns (%d) exceeds limit (%d)" msgstr "le nombre de colonnes (%d) dépasse la limite (%d)" @@ -6612,30 +6369,24 @@ #: access/hash/hashinsert.c:76 msgid "Values larger than a buffer page cannot be indexed." -msgstr "Les valeurs plus larges qu'une page de tampon ne peuvent pas être indexées." +msgstr "" +"Les valeurs plus larges qu'une page de tampon ne peuvent pas être indexées." -#: access/hash/hashutil.c:169 -#: access/nbtree/nbtpage.c:432 -#: access/gist/gistutil.c:644 +#: access/hash/hashutil.c:169 access/nbtree/nbtpage.c:432 +#: access/gist/gistutil.c:640 #, c-format msgid "index \"%s\" contains unexpected zero page at block %u" msgstr "l'index « %s » contient une page zéro inattendue au bloc %u" -#: access/hash/hashutil.c:172 -#: access/hash/hashutil.c:183 -#: access/hash/hashutil.c:195 -#: access/hash/hashutil.c:216 -#: access/nbtree/nbtpage.c:435 -#: access/nbtree/nbtpage.c:446 -#: access/gist/gistutil.c:647 -#: access/gist/gistutil.c:658 +#: access/hash/hashutil.c:172 access/hash/hashutil.c:183 +#: access/hash/hashutil.c:195 access/hash/hashutil.c:216 +#: access/nbtree/nbtpage.c:435 access/nbtree/nbtpage.c:446 +#: access/gist/gistutil.c:643 access/gist/gistutil.c:654 msgid "Please REINDEX it." msgstr "Merci d'exécuter REINDEX sur cet objet." -#: access/hash/hashutil.c:180 -#: access/hash/hashutil.c:192 -#: access/nbtree/nbtpage.c:443 -#: access/gist/gistutil.c:655 +#: access/hash/hashutil.c:180 access/hash/hashutil.c:192 +#: access/nbtree/nbtpage.c:443 access/gist/gistutil.c:651 #, c-format msgid "index \"%s\" contains corrupted page at block %u" msgstr "l'index « %s » contient une page corrompue au bloc %u" @@ -6650,33 +6401,25 @@ msgid "index \"%s\" has wrong hash version" msgstr "l'index « %s » a la mauvaise version de hachage" -#: access/heap/hio.c:174 -#: access/heap/rewriteheap.c:592 +#: access/heap/hio.c:174 access/heap/rewriteheap.c:592 #, c-format msgid "row is too big: size %lu, maximum size %lu" msgstr "la ligne est trop grande : taille %lu, taille maximale %lu" -#: access/heap/heapam.c:1081 -#: access/heap/heapam.c:1109 -#: access/heap/heapam.c:1139 -#: catalog/aclchk.c:916 +#: access/heap/heapam.c:1081 access/heap/heapam.c:1109 +#: access/heap/heapam.c:1139 catalog/aclchk.c:916 #, c-format msgid "\"%s\" is an index" msgstr "« %s » est un index" -#: access/heap/heapam.c:1086 -#: access/heap/heapam.c:1114 -#: access/heap/heapam.c:1144 -#: commands/tablecmds.c:1986 -#: commands/tablecmds.c:6235 -#: commands/tablecmds.c:7613 -#: catalog/aclchk.c:923 +#: access/heap/heapam.c:1086 access/heap/heapam.c:1114 +#: access/heap/heapam.c:1144 commands/tablecmds.c:1986 +#: commands/tablecmds.c:6235 commands/tablecmds.c:7613 catalog/aclchk.c:923 #, c-format msgid "\"%s\" is a composite type" msgstr "« %s » est un type composite" -#: access/heap/heapam.c:3154 -#: access/heap/heapam.c:3185 +#: access/heap/heapam.c:3154 access/heap/heapam.c:3185 #: access/heap/heapam.c:3220 #, c-format msgid "could not obtain lock on row in relation \"%s\"" @@ -6727,27 +6470,26 @@ msgid "there is already a transaction in progress" msgstr "une transaction est déjà en cours" -#: access/transam/xact.c:3052 -#: access/transam/xact.c:3144 +#: access/transam/xact.c:3052 access/transam/xact.c:3144 msgid "there is no transaction in progress" msgstr "aucune transaction en cours" -#: access/transam/xact.c:3238 -#: access/transam/xact.c:3288 -#: access/transam/xact.c:3294 -#: access/transam/xact.c:3338 -#: access/transam/xact.c:3386 -#: access/transam/xact.c:3392 +#: access/transam/xact.c:3238 access/transam/xact.c:3288 +#: access/transam/xact.c:3294 access/transam/xact.c:3338 +#: access/transam/xact.c:3386 access/transam/xact.c:3392 msgid "no such savepoint" msgstr "aucun point de sauvegarde" #: access/transam/xact.c:4043 msgid "cannot have more than 2^32-1 subtransactions in a transaction" -msgstr "ne peut pas avoir plus de 2^32-1 sous-transactions dans une transaction" +msgstr "" +"ne peut pas avoir plus de 2^32-1 sous-transactions dans une transaction" #: access/transam/varsup.c:87 #, c-format -msgid "database is not accepting commands to avoid wraparound data loss in database \"%s\"" +msgid "" +"database is not accepting commands to avoid wraparound data loss in database " +"\"%s\"" msgstr "" "la base de données n'accepte plus de requêtes pour éviter des pertes de\n" "données à cause de la réinitialisation de l'identifiant de transaction dans\n" @@ -6761,18 +6503,18 @@ msgstr "" "Arrêtez le postmaster et utilisez un moteur autonome pour exécuter VACUUM\n" "sur la base de données « %s ».\n" -"Vous pouvez avoir besoin d'enregistrer ou d'annuler les anciennes transactions préparées." +"Vous pouvez avoir besoin d'enregistrer ou d'annuler les anciennes " +"transactions préparées." -#: access/transam/varsup.c:94 -#: access/transam/varsup.c:301 +#: access/transam/varsup.c:94 access/transam/varsup.c:301 #, c-format msgid "database \"%s\" must be vacuumed within %u transactions" msgstr "" -"Un VACUUM doit être exécuté sur la base de données « %s » dans un maximum de\n" +"Un VACUUM doit être exécuté sur la base de données « %s » dans un maximum " +"de\n" "%u transactions" -#: access/transam/varsup.c:97 -#: access/transam/varsup.c:304 +#: access/transam/varsup.c:97 access/transam/varsup.c:304 #, c-format msgid "" "To avoid a database shutdown, execute a database-wide VACUUM in \"%s\".\n" @@ -6780,7 +6522,8 @@ msgstr "" "Pour éviter un arrêt de la base de données, exécutez un VACUUM complet dans\n" "« %s ».\n" -"Vous pouvez avoir besoin d'enregistrer ou d'annuler les anciennes transactions préparées." +"Vous pouvez avoir besoin d'enregistrer ou d'annuler les anciennes " +"transactions préparées." #: access/transam/varsup.c:284 #, c-format @@ -6827,14 +6570,16 @@ #: access/transam/twophase.c:423 msgid "Must be superuser or the user that prepared the transaction." -msgstr "Doit être super-utilisateur ou l'utilisateur qui a préparé la transaction." +msgstr "" +"Doit être super-utilisateur ou l'utilisateur qui a préparé la transaction." #: access/transam/twophase.c:434 msgid "prepared transaction belongs to another database" msgstr "la transaction préparée appartient à une autre base de données" #: access/transam/twophase.c:435 -msgid "Connect to the database where the transaction was prepared to finish it." +msgid "" +"Connect to the database where the transaction was prepared to finish it." msgstr "" "Connectez-vous à la base de données où la transaction a été préparée pour\n" "la terminer." @@ -6857,14 +6602,13 @@ "n'a pas pu créer le fichier de statut de la validation en deux phases nommé\n" "« %s » : %m" -#: access/transam/twophase.c:949 -#: access/transam/twophase.c:966 -#: access/transam/twophase.c:1015 -#: access/transam/twophase.c:1378 +#: access/transam/twophase.c:949 access/transam/twophase.c:966 +#: access/transam/twophase.c:1015 access/transam/twophase.c:1378 #: access/transam/twophase.c:1385 #, c-format msgid "could not write two-phase state file: %m" -msgstr "n'a pas pu écrire dans le fichier d'état de la validation en deux phases : %m" +msgstr "" +"n'a pas pu écrire dans le fichier d'état de la validation en deux phases : %m" #: access/transam/twophase.c:975 #, c-format @@ -6873,14 +6617,13 @@ "n'a pas pu se déplacer dans le fichier de statut de la validation en deux\n" "phases : %m" -#: access/transam/twophase.c:1021 -#: access/transam/twophase.c:1403 +#: access/transam/twophase.c:1021 access/transam/twophase.c:1403 #, c-format msgid "could not close two-phase state file: %m" -msgstr "n'a pas pu fermer le fichier d'état de la validation en deux phases : %m" +msgstr "" +"n'a pas pu fermer le fichier d'état de la validation en deux phases : %m" -#: access/transam/twophase.c:1092 -#: access/transam/twophase.c:1483 +#: access/transam/twophase.c:1092 access/transam/twophase.c:1483 #, c-format msgid "could not open two-phase state file \"%s\": %m" msgstr "" @@ -6891,7 +6634,8 @@ #, c-format msgid "could not stat two-phase state file \"%s\": %m" msgstr "" -"n'a pas pu récupérer des informations sur le fichier d'état de la validation\n" +"n'a pas pu récupérer des informations sur le fichier d'état de la " +"validation\n" "en deux phases nommé « %s » : %m" #: access/transam/twophase.c:1139 @@ -6946,21 +6690,25 @@ #: access/transam/twophase.c:1557 #, c-format msgid "removing future two-phase state file \"%s\"" -msgstr "suppression du futur fichier d'état de la validation en deux phases nommé « %s »" +msgstr "" +"suppression du futur fichier d'état de la validation en deux phases nommé « " +"%s »" -#: access/transam/twophase.c:1573 -#: access/transam/twophase.c:1584 +#: access/transam/twophase.c:1573 access/transam/twophase.c:1584 #: access/transam/twophase.c:1672 #, c-format msgid "removing corrupt two-phase state file \"%s\"" msgstr "" -"suppression du fichier d'état corrompu de la validation en deux phases nommé\n" +"suppression du fichier d'état corrompu de la validation en deux phases " +"nommé\n" "« %s »" #: access/transam/twophase.c:1661 #, c-format msgid "removing stale two-phase state file \"%s\"" -msgstr "suppression du vieux fichier d'état de la validation en deux phases nommé « %s »" +msgstr "" +"suppression du vieux fichier d'état de la validation en deux phases nommé « " +"%s »" #: access/transam/twophase.c:1679 #, c-format @@ -6972,12 +6720,9 @@ msgid "file \"%s\" doesn't exist, reading as zeroes" msgstr "le fichier « %s » n'existe pas, contenu lu comme des zéros" -#: access/transam/slru.c:844 -#: access/transam/slru.c:850 -#: access/transam/slru.c:857 -#: access/transam/slru.c:864 -#: access/transam/slru.c:871 -#: access/transam/slru.c:878 +#: access/transam/slru.c:844 access/transam/slru.c:850 +#: access/transam/slru.c:857 access/transam/slru.c:864 +#: access/transam/slru.c:871 access/transam/slru.c:878 #, c-format msgid "could not access status of transaction %u" msgstr "n'a pas pu accéder au statut de la transaction %u" @@ -7032,8 +6777,7 @@ msgid "could not write archive status file \"%s\": %m" msgstr "n'a pas pu écrire le fichier de statut d'archivage « %s » : %m" -#: access/transam/xlog.c:1638 -#: access/transam/xlog.c:3508 +#: access/transam/xlog.c:1638 access/transam/xlog.c:3508 #, c-format msgid "could not seek in log file %u, segment %u to offset %u: %m" msgstr "" @@ -7052,27 +6796,23 @@ msgid "updated min recovery point to %X/%X" msgstr "mise à jour du point minimum de restauration sur %X/%X" -#: access/transam/xlog.c:2191 -#: access/transam/xlog.c:2295 -#: access/transam/xlog.c:2524 -#: access/transam/xlog.c:2591 +#: access/transam/xlog.c:2191 access/transam/xlog.c:2295 +#: access/transam/xlog.c:2524 access/transam/xlog.c:2591 #: access/transam/xlog.c:2600 #, c-format msgid "could not open file \"%s\" (log file %u, segment %u): %m" -msgstr "n'a pas pu ouvrir le fichier « %s » (journal de transactions %u, segment %u) : %m" +msgstr "" +"n'a pas pu ouvrir le fichier « %s » (journal de transactions %u, segment " +"%u) : %m" -#: access/transam/xlog.c:2256 -#: access/transam/xlog.c:2388 -#: access/transam/xlog.c:4189 -#: storage/file/copydir.c:165 +#: access/transam/xlog.c:2256 access/transam/xlog.c:2388 +#: access/transam/xlog.c:4189 storage/file/copydir.c:165 #, c-format msgid "could not fsync file \"%s\": %m" msgstr "n'a pas pu synchroniser sur disque (fsync) le fichier « %s » : %m" -#: access/transam/xlog.c:2261 -#: access/transam/xlog.c:2393 -#: access/transam/xlog.c:4194 -#: storage/file/copydir.c:170 +#: access/transam/xlog.c:2261 access/transam/xlog.c:2393 +#: access/transam/xlog.c:4194 storage/file/copydir.c:170 #, c-format msgid "could not close file \"%s\": %m" msgstr "n'a pas pu fermer le fichier « %s » : %m" @@ -7084,14 +6824,18 @@ #: access/transam/xlog.c:2484 #, c-format -msgid "could not link file \"%s\" to \"%s\" (initialization of log file %u, segment %u): %m" +msgid "" +"could not link file \"%s\" to \"%s\" (initialization of log file %u, segment " +"%u): %m" msgstr "" "n'a pas pu lier le fichier « %s » à « %s » (initialisation du journal de\n" "transactions %u, segment %u) : %m" #: access/transam/xlog.c:2496 #, c-format -msgid "could not rename file \"%s\" to \"%s\" (initialization of log file %u, segment %u): %m" +msgid "" +"could not rename file \"%s\" to \"%s\" (initialization of log file %u, " +"segment %u): %m" msgstr "" "n'a pas pu renommer le fichier « %s » en « %s » (initialisation du journal\n" "de transactions %u, segment %u) : %m" @@ -7101,8 +6845,7 @@ msgid "could not close log file %u, segment %u: %m" msgstr "n'a pas pu fermer le journal de transactions %u, segment %u : %m" -#: access/transam/xlog.c:2705 -#: access/transam/xlog.c:7586 +#: access/transam/xlog.c:2705 access/transam/xlog.c:7586 #: commands/tablespace.c:631 #, c-format msgid "could not remove file \"%s\": %m" @@ -7121,18 +6864,20 @@ #: access/transam/xlog.c:2887 #, c-format msgid "could not restore file \"%s\" from archive: return code %d" -msgstr "n'a pas pu restaurer le fichier « %s » à partir de l'archive : code de retour %d" +msgstr "" +"n'a pas pu restaurer le fichier « %s » à partir de l'archive : code de " +"retour %d" #: access/transam/xlog.c:2990 #, c-format msgid "recovery_end_command \"%s\": return code %d" msgstr "recovery_end_command « %s » : code de retour %d" -#: access/transam/xlog.c:3058 -#: access/transam/xlog.c:3223 +#: access/transam/xlog.c:3058 access/transam/xlog.c:3223 #, c-format msgid "could not open transaction log directory \"%s\": %m" -msgstr "n'a pas pu ouvrir le répertoire des journaux de transactions « %s » : %m" +msgstr "" +"n'a pas pu ouvrir le répertoire des journaux de transactions « %s » : %m" #: access/transam/xlog.c:3095 #, c-format @@ -7154,16 +6899,17 @@ msgid "could not remove old transaction log file \"%s\": %m" msgstr "n'a pas pu supprimer le vieux journal de transaction « %s » : %m" -#: access/transam/xlog.c:3183 -#: access/transam/xlog.c:3193 +#: access/transam/xlog.c:3183 access/transam/xlog.c:3193 #, c-format msgid "required WAL directory \"%s\" does not exist" -msgstr "le répertoire « %s » requis pour les journaux de transactions n'existe pas" +msgstr "" +"le répertoire « %s » requis pour les journaux de transactions n'existe pas" #: access/transam/xlog.c:3199 #, c-format msgid "creating missing WAL directory \"%s\"" -msgstr "création du répertoire manquant « %s » pour les journaux de transactions" +msgstr "" +"création du répertoire manquant « %s » pour les journaux de transactions" #: access/transam/xlog.c:3202 #, c-format @@ -7192,18 +6938,17 @@ "somme de contrôle des données du gestionnaire de ressources incorrecte à\n" "l'enregistrement %X/%X" -#: access/transam/xlog.c:3450 -#: access/transam/xlog.c:3540 +#: access/transam/xlog.c:3450 access/transam/xlog.c:3540 #, c-format msgid "invalid record offset at %X/%X" msgstr "décalage invalide de l'enregistrement %X/%X" -#: access/transam/xlog.c:3492 -#: access/transam/xlog.c:3516 +#: access/transam/xlog.c:3492 access/transam/xlog.c:3516 #: access/transam/xlog.c:3683 #, c-format msgid "could not read from log file %u, segment %u, offset %u: %m" -msgstr "n'a pas pu lire le journal de transactions %u, segment %u, décalage %u : %m" +msgstr "" +"n'a pas pu lire le journal de transactions %u, segment %u, décalage %u : %m" #: access/transam/xlog.c:3548 #, c-format @@ -7213,7 +6958,8 @@ #: access/transam/xlog.c:3565 #, c-format msgid "invalid xlog switch record at %X/%X" -msgstr "enregistrement de basculement du journal de transaction invalide à %X/%X" +msgstr "" +"enregistrement de basculement du journal de transaction invalide à %X/%X" #: access/transam/xlog.c:3573 #, c-format @@ -7230,8 +6976,7 @@ msgid "invalid resource manager ID %u at %X/%X" msgstr "identifiant du gestionnaire de ressources invalide %u à %X/%X" -#: access/transam/xlog.c:3602 -#: access/transam/xlog.c:3618 +#: access/transam/xlog.c:3602 access/transam/xlog.c:3618 #, c-format msgid "record with incorrect prev-link %X/%X at %X/%X" msgstr "enregistrement avec prev-link %X/%X incorrect à %X/%X" @@ -7259,19 +7004,18 @@ #, c-format msgid "invalid magic number %04X in log file %u, segment %u, offset %u" msgstr "" -"numéro magique invalide %04X dans le journal de transactions %u, segment %u,\n" +"numéro magique invalide %04X dans le journal de transactions %u, segment " +"%u,\n" "décalage %u" -#: access/transam/xlog.c:3798 -#: access/transam/xlog.c:3844 +#: access/transam/xlog.c:3798 access/transam/xlog.c:3844 #, c-format msgid "invalid info bits %04X in log file %u, segment %u, offset %u" msgstr "" "bits info %04X invalides dans le journal de transactions %u, segment %u,\n" "décalage %u" -#: access/transam/xlog.c:3820 -#: access/transam/xlog.c:3828 +#: access/transam/xlog.c:3820 access/transam/xlog.c:3828 #: access/transam/xlog.c:3835 msgid "WAL file is from different system" msgstr "le journal de transactions provient d'un système différent" @@ -7279,7 +7023,8 @@ #: access/transam/xlog.c:3821 #, c-format msgid "WAL file SYSID is %s, pg_control SYSID is %s" -msgstr "le SYSID du journal de transactions WAL est %s, celui de pg_control est %s" +msgstr "" +"le SYSID du journal de transactions WAL est %s, celui de pg_control est %s" #: access/transam/xlog.c:3829 msgid "Incorrect XLOG_SEG_SIZE in page header." @@ -7305,7 +7050,9 @@ #: access/transam/xlog.c:3884 #, c-format -msgid "out-of-sequence timeline ID %u (after %u) in log file %u, segment %u, offset %u" +msgid "" +"out-of-sequence timeline ID %u (after %u) in log file %u, segment %u, offset " +"%u" msgstr "" "identifiant timeline %u hors de la séquence (après %u) dans le journal de\n" "transactions %u, segment %u, décalage %u" @@ -7349,26 +7096,22 @@ msgid "could not create control file \"%s\": %m" msgstr "n'a pas pu créer le fichier de contrôle « %s » : %m" -#: access/transam/xlog.c:4311 -#: access/transam/xlog.c:4536 +#: access/transam/xlog.c:4311 access/transam/xlog.c:4536 #, c-format msgid "could not write to control file: %m" msgstr "n'a pas pu écrire le fichier de contrôle : %m" -#: access/transam/xlog.c:4317 -#: access/transam/xlog.c:4542 +#: access/transam/xlog.c:4317 access/transam/xlog.c:4542 #, c-format msgid "could not fsync control file: %m" msgstr "n'a pas pu synchroniser sur disque (fsync) le fichier de contrôle : %m" -#: access/transam/xlog.c:4322 -#: access/transam/xlog.c:4547 +#: access/transam/xlog.c:4322 access/transam/xlog.c:4547 #, c-format msgid "could not close control file: %m" msgstr "n'a pas pu fermer le fichier de contrôle : %m" -#: access/transam/xlog.c:4340 -#: access/transam/xlog.c:4525 +#: access/transam/xlog.c:4340 access/transam/xlog.c:4525 #, c-format msgid "could not open control file \"%s\": %m" msgstr "n'a pas pu ouvrir le fichier de contrôle « %s » : %m" @@ -7380,29 +7123,33 @@ #: access/transam/xlog.c:4360 #, c-format -msgid "The database cluster was initialized with PG_CONTROL_VERSION %d (0x%08x), but the server was compiled with PG_CONTROL_VERSION %d (0x%08x)." +msgid "" +"The database cluster was initialized with PG_CONTROL_VERSION %d (0x%08x), " +"but the server was compiled with PG_CONTROL_VERSION %d (0x%08x)." msgstr "" "Le cluster de base de données a été initialisé avec un PG_CONTROL_VERSION à\n" "%d (0x%08x) alors que le serveur a été compilé avec un PG_CONTROL_VERSION à\n" "%d (0x%08x)." #: access/transam/xlog.c:4364 -msgid "This could be a problem of mismatched byte ordering. It looks like you need to initdb." +msgid "" +"This could be a problem of mismatched byte ordering. It looks like you need " +"to initdb." msgstr "" "Ceci peut être un problème d'incohérence dans l'ordre des octets.\n" "Il se peut que vous ayez besoin d'initdb." #: access/transam/xlog.c:4369 #, c-format -msgid "The database cluster was initialized with PG_CONTROL_VERSION %d, but the server was compiled with PG_CONTROL_VERSION %d." +msgid "" +"The database cluster was initialized with PG_CONTROL_VERSION %d, but the " +"server was compiled with PG_CONTROL_VERSION %d." msgstr "" "Le cluster de base de données a été initialisé avec un PG_CONTROL_VERSION à\n" "%d alors que le serveur a été compilé avec un PG_CONTROL_VERSION à %d." -#: access/transam/xlog.c:4372 -#: access/transam/xlog.c:4396 -#: access/transam/xlog.c:4403 -#: access/transam/xlog.c:4408 +#: access/transam/xlog.c:4372 access/transam/xlog.c:4396 +#: access/transam/xlog.c:4403 access/transam/xlog.c:4408 msgid "It looks like you need to initdb." msgstr "Il semble que vous avez besoin d'initdb." @@ -7412,119 +7159,149 @@ #: access/transam/xlog.c:4393 #, c-format -msgid "The database cluster was initialized with CATALOG_VERSION_NO %d, but the server was compiled with CATALOG_VERSION_NO %d." +msgid "" +"The database cluster was initialized with CATALOG_VERSION_NO %d, but the " +"server was compiled with CATALOG_VERSION_NO %d." msgstr "" "Le cluster de base de données a été initialisé avec un CATALOG_VERSION_NO à\n" "%d alors que le serveur a été compilé avec un CATALOG_VERSION_NO à %d." #: access/transam/xlog.c:4400 #, c-format -msgid "The database cluster was initialized with MAXALIGN %d, but the server was compiled with MAXALIGN %d." +msgid "" +"The database cluster was initialized with MAXALIGN %d, but the server was " +"compiled with MAXALIGN %d." msgstr "" "Le cluster de bases de données a été initialisé avec un MAXALIGN à %d alors\n" "que le serveur a été compilé avec un MAXALIGN à %d." #: access/transam/xlog.c:4407 -msgid "The database cluster appears to use a different floating-point number format than the server executable." +msgid "" +"The database cluster appears to use a different floating-point number format " +"than the server executable." msgstr "" "Le cluster de bases de données semble utiliser un format différent pour les\n" "nombres à virgule flottante de celui de l'exécutable serveur." #: access/transam/xlog.c:4412 #, c-format -msgid "The database cluster was initialized with BLCKSZ %d, but the server was compiled with BLCKSZ %d." +msgid "" +"The database cluster was initialized with BLCKSZ %d, but the server was " +"compiled with BLCKSZ %d." msgstr "" -"Le cluster de base de données a été initialisé avec un BLCKSZ à %d alors que\n" +"Le cluster de base de données a été initialisé avec un BLCKSZ à %d alors " +"que\n" "le serveur a été compilé avec un BLCKSZ à %d." -#: access/transam/xlog.c:4415 -#: access/transam/xlog.c:4422 -#: access/transam/xlog.c:4429 -#: access/transam/xlog.c:4436 -#: access/transam/xlog.c:4443 -#: access/transam/xlog.c:4450 -#: access/transam/xlog.c:4457 -#: access/transam/xlog.c:4465 -#: access/transam/xlog.c:4472 -#: access/transam/xlog.c:4481 -#: access/transam/xlog.c:4488 -#: access/transam/xlog.c:4497 +#: access/transam/xlog.c:4415 access/transam/xlog.c:4422 +#: access/transam/xlog.c:4429 access/transam/xlog.c:4436 +#: access/transam/xlog.c:4443 access/transam/xlog.c:4450 +#: access/transam/xlog.c:4457 access/transam/xlog.c:4465 +#: access/transam/xlog.c:4472 access/transam/xlog.c:4481 +#: access/transam/xlog.c:4488 access/transam/xlog.c:4497 #: access/transam/xlog.c:4504 msgid "It looks like you need to recompile or initdb." msgstr "Il semble que vous avez besoin de recompiler ou de relancer initdb." #: access/transam/xlog.c:4419 #, c-format -msgid "The database cluster was initialized with RELSEG_SIZE %d, but the server was compiled with RELSEG_SIZE %d." +msgid "" +"The database cluster was initialized with RELSEG_SIZE %d, but the server was " +"compiled with RELSEG_SIZE %d." msgstr "" "Le cluster de bases de données a été initialisé avec un RELSEG_SIZE à %d\n" "alors que le serveur a été compilé avec un RELSEG_SIZE à %d." #: access/transam/xlog.c:4426 #, c-format -msgid "The database cluster was initialized with XLOG_BLCKSZ %d, but the server was compiled with XLOG_BLCKSZ %d." +msgid "" +"The database cluster was initialized with XLOG_BLCKSZ %d, but the server was " +"compiled with XLOG_BLCKSZ %d." msgstr "" "Le cluster de base de données a été initialisé avec un XLOG_BLCKSZ à %d\n" "alors que le serveur a été compilé avec un XLOG_BLCKSZ à %d." #: access/transam/xlog.c:4433 #, c-format -msgid "The database cluster was initialized with XLOG_SEG_SIZE %d, but the server was compiled with XLOG_SEG_SIZE %d." +msgid "" +"The database cluster was initialized with XLOG_SEG_SIZE %d, but the server " +"was compiled with XLOG_SEG_SIZE %d." msgstr "" "Le cluster de bases de données a été initialisé avec un XLOG_SEG_SIZE à %d\n" "alors que le serveur a été compilé avec un XLOG_SEG_SIZE à %d." #: access/transam/xlog.c:4440 #, c-format -msgid "The database cluster was initialized with NAMEDATALEN %d, but the server was compiled with NAMEDATALEN %d." +msgid "" +"The database cluster was initialized with NAMEDATALEN %d, but the server was " +"compiled with NAMEDATALEN %d." msgstr "" "Le cluster de bases de données a été initialisé avec un NAMEDATALEN à %d\n" "alors que le serveur a été compilé avec un NAMEDATALEN à %d." #: access/transam/xlog.c:4447 #, c-format -msgid "The database cluster was initialized with INDEX_MAX_KEYS %d, but the server was compiled with INDEX_MAX_KEYS %d." +msgid "" +"The database cluster was initialized with INDEX_MAX_KEYS %d, but the server " +"was compiled with INDEX_MAX_KEYS %d." msgstr "" "Le groupe de bases de données a été initialisé avec un INDEX_MAX_KEYS à %d\n" "alors que le serveur a été compilé avec un INDEX_MAX_KEYS à %d." #: access/transam/xlog.c:4454 #, c-format -msgid "The database cluster was initialized with TOAST_MAX_CHUNK_SIZE %d, but the server was compiled with TOAST_MAX_CHUNK_SIZE %d." +msgid "" +"The database cluster was initialized with TOAST_MAX_CHUNK_SIZE %d, but the " +"server was compiled with TOAST_MAX_CHUNK_SIZE %d." msgstr "" -"Le cluster de bases de données a été initialisé avec un TOAST_MAX_CHUNK_SIZE\n" +"Le cluster de bases de données a été initialisé avec un " +"TOAST_MAX_CHUNK_SIZE\n" "à %d alors que le serveur a été compilé avec un TOAST_MAX_CHUNK_SIZE à %d." #: access/transam/xlog.c:4463 -msgid "The database cluster was initialized without HAVE_INT64_TIMESTAMP but the server was compiled with HAVE_INT64_TIMESTAMP." -msgstr "Le cluster de bases de données a été initialisé sans HAVE_INT64_TIMESTAMPalors que le serveur a été compilé avec." +msgid "" +"The database cluster was initialized without HAVE_INT64_TIMESTAMP but the " +"server was compiled with HAVE_INT64_TIMESTAMP." +msgstr "" +"Le cluster de bases de données a été initialisé sans " +"HAVE_INT64_TIMESTAMPalors que le serveur a été compilé avec." #: access/transam/xlog.c:4470 -msgid "The database cluster was initialized with HAVE_INT64_TIMESTAMP but the server was compiled without HAVE_INT64_TIMESTAMP." +msgid "" +"The database cluster was initialized with HAVE_INT64_TIMESTAMP but the " +"server was compiled without HAVE_INT64_TIMESTAMP." msgstr "" "Le cluster de bases de données a été initialisé avec HAVE_INT64_TIMESTAMP\n" "alors que le serveur a été compilé sans." #: access/transam/xlog.c:4479 -msgid "The database cluster was initialized without USE_FLOAT4_BYVAL but the server was compiled with USE_FLOAT4_BYVAL." +msgid "" +"The database cluster was initialized without USE_FLOAT4_BYVAL but the server " +"was compiled with USE_FLOAT4_BYVAL." msgstr "" "Le cluster de base de données a été initialisé sans USE_FLOAT4_BYVAL\n" "alors que le serveur a été compilé avec USE_FLOAT4_BYVAL." #: access/transam/xlog.c:4486 -msgid "The database cluster was initialized with USE_FLOAT4_BYVAL but the server was compiled without USE_FLOAT4_BYVAL." +msgid "" +"The database cluster was initialized with USE_FLOAT4_BYVAL but the server " +"was compiled without USE_FLOAT4_BYVAL." msgstr "" "Le cluster de base de données a été initialisé avec USE_FLOAT4_BYVAL\n" "alors que le serveur a été compilé sans USE_FLOAT4_BYVAL." #: access/transam/xlog.c:4495 -msgid "The database cluster was initialized without USE_FLOAT8_BYVAL but the server was compiled with USE_FLOAT8_BYVAL." +msgid "" +"The database cluster was initialized without USE_FLOAT8_BYVAL but the server " +"was compiled with USE_FLOAT8_BYVAL." msgstr "" "Le cluster de base de données a été initialisé sans USE_FLOAT8_BYVAL\n" "alors que le serveur a été compilé avec USE_FLOAT8_BYVAL." #: access/transam/xlog.c:4502 -msgid "The database cluster was initialized with USE_FLOAT8_BYVAL but the server was compiled without USE_FLOAT8_BYVAL." +msgid "" +"The database cluster was initialized with USE_FLOAT8_BYVAL but the server " +"was compiled without USE_FLOAT8_BYVAL." msgstr "" "Le cluster de base de données a été initialisé avec USE_FLOAT8_BYVAL\n" "alors que le serveur a été compilé sans USE_FLOAT8_BYVAL." @@ -7596,7 +7373,8 @@ #: access/transam/xlog.c:4929 msgid "parameter \"recovery_target_inclusive\" requires a Boolean value" -msgstr "le paramètre « recovery_target_inclusive » requiert une valeur booléenne" +msgstr "" +"le paramètre « recovery_target_inclusive » requiert une valeur booléenne" #: access/transam/xlog.c:4931 #, c-format @@ -7663,15 +7441,20 @@ #: access/transam/xlog.c:5261 #, c-format msgid "database system shutdown was interrupted; last known up at %s" -msgstr "le système de bases de données a été interrompu ; dernier lancement connu à %s" +msgstr "" +"le système de bases de données a été interrompu ; dernier lancement connu à " +"%s" #: access/transam/xlog.c:5265 #, c-format msgid "database system was interrupted while in recovery at %s" -msgstr "le système de bases de données a été interrompu lors d'une restauration à %s" +msgstr "" +"le système de bases de données a été interrompu lors d'une restauration à %s" #: access/transam/xlog.c:5267 -msgid "This probably means that some data is corrupted and you will have to use the last backup for recovery." +msgid "" +"This probably means that some data is corrupted and you will have to use the " +"last backup for recovery." msgstr "" "Ceci signifie probablement que des données ont été corrompues et que vous\n" "devrez utiliser la dernière sauvegarde pour la restauration." @@ -7680,11 +7463,14 @@ #, c-format msgid "database system was interrupted while in recovery at log time %s" msgstr "" -"le système de bases de données a été interrompu lors d'une récupération à %s\n" +"le système de bases de données a été interrompu lors d'une récupération à " +"%s\n" "(moment de la journalisation)" #: access/transam/xlog.c:5273 -msgid "If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target." +msgid "" +"If this has occurred more than once some data might be corrupted and you " +"might need to choose an earlier recovery target." msgstr "" "Si c'est arrivé plus d'une fois, des données ont pu être corrompues et vous\n" "pourriez avoir besoin de choisir une cible de récupération antérieure." @@ -7692,7 +7478,9 @@ #: access/transam/xlog.c:5277 #, c-format msgid "database system was interrupted; last known up at %s" -msgstr "le système de bases de données a été interrompu ; dernier lancement connu à %s" +msgstr "" +"le système de bases de données a été interrompu ; dernier lancement connu à " +"%s" #: access/transam/xlog.c:5316 #, c-format @@ -7701,36 +7489,41 @@ "le timeline requis %u n'est pas un fils du timeline %u du système de bases\n" "de données" -#: access/transam/xlog.c:5332 -#: access/transam/xlog.c:5371 +#: access/transam/xlog.c:5332 access/transam/xlog.c:5371 #, c-format msgid "checkpoint record is at %X/%X" msgstr "l'enregistrement du point de vérification est à %X/%X" #: access/transam/xlog.c:5346 msgid "could not find redo location referenced by checkpoint record" -msgstr "n'a pas pu localiser l'enregistrement redo référencé par le point de vérification" +msgstr "" +"n'a pas pu localiser l'enregistrement redo référencé par le point de " +"vérification" -#: access/transam/xlog.c:5347 -#: access/transam/xlog.c:5354 +#: access/transam/xlog.c:5347 access/transam/xlog.c:5354 #, c-format -msgid "If you are not restoring from a backup, try removing the file \"%s/backup_label\"." +msgid "" +"If you are not restoring from a backup, try removing the file \"%s/" +"backup_label\"." msgstr "" "Si vous n'avez pas pu restaurer une sauvegarde, essayez de supprimer le\n" "fichier « %s/backup_label »." #: access/transam/xlog.c:5353 msgid "could not locate required checkpoint record" -msgstr "n'a pas pu localiser l'enregistrement d'un point de vérification requis" +msgstr "" +"n'a pas pu localiser l'enregistrement d'un point de vérification requis" #: access/transam/xlog.c:5381 #, c-format msgid "using previous checkpoint record at %X/%X" -msgstr "utilisation du précédent enregistrement d'un point de vérification à %X/%X" +msgstr "" +"utilisation du précédent enregistrement d'un point de vérification à %X/%X" #: access/transam/xlog.c:5387 msgid "could not locate a valid checkpoint record" -msgstr "n'a pas pu localiser un enregistrement d'un point de vérification valide" +msgstr "" +"n'a pas pu localiser un enregistrement d'un point de vérification valide" #: access/transam/xlog.c:5396 #, c-format @@ -7757,14 +7550,16 @@ #: access/transam/xlog.c:5437 msgid "invalid redo record in shutdown checkpoint" -msgstr "enregistrement de ré-exécution invalide dans le point de vérification d'arrêt" +msgstr "" +"enregistrement de ré-exécution invalide dans le point de vérification d'arrêt" #: access/transam/xlog.c:5462 msgid "automatic recovery in progress" msgstr "restauration automatique en cours" #: access/transam/xlog.c:5468 -msgid "database system was not properly shut down; automatic recovery in progress" +msgid "" +"database system was not properly shut down; automatic recovery in progress" msgstr "" "le système de bases de données n'a pas été arrêté proprement ; restauration\n" "automatique en cours" @@ -7788,8 +7583,7 @@ msgid "redo done at %X/%X" msgstr "ré-exécution faite à %X/%X" -#: access/transam/xlog.c:5688 -#: access/transam/xlog.c:6934 +#: access/transam/xlog.c:5688 access/transam/xlog.c:6934 #, c-format msgid "last completed transaction was at log time %s" msgstr "la dernière transaction a eu lieu à %s (moment de la journalisation)" @@ -7806,7 +7600,8 @@ #: access/transam/xlog.c:5722 msgid "WAL ends before consistent recovery point" -msgstr "Le journal de transaction se termine avant un point de restauration cohérent" +msgstr "" +"Le journal de transaction se termine avant un point de restauration cohérent" #: access/transam/xlog.c:5743 #, c-format @@ -7815,11 +7610,13 @@ #: access/transam/xlog.c:6044 msgid "invalid primary checkpoint link in control file" -msgstr "lien du point de vérification primaire invalide dans le fichier de contrôle" +msgstr "" +"lien du point de vérification primaire invalide dans le fichier de contrôle" #: access/transam/xlog.c:6048 msgid "invalid secondary checkpoint link in control file" -msgstr "lien du point de vérification secondaire invalide dans le fichier de contrôle" +msgstr "" +"lien du point de vérification secondaire invalide dans le fichier de contrôle" #: access/transam/xlog.c:6052 msgid "invalid checkpoint link in backup_label file" @@ -7839,23 +7636,31 @@ #: access/transam/xlog.c:6085 msgid "invalid resource manager ID in primary checkpoint record" -msgstr "identifiant du gestionnaire de ressource invalide dans l'enregistrement primaire du point de vérification" +msgstr "" +"identifiant du gestionnaire de ressource invalide dans l'enregistrement " +"primaire du point de vérification" #: access/transam/xlog.c:6089 msgid "invalid resource manager ID in secondary checkpoint record" -msgstr "identifiant du gestionnaire de ressource invalide dans l'enregistrement secondaire du point de vérification" +msgstr "" +"identifiant du gestionnaire de ressource invalide dans l'enregistrement " +"secondaire du point de vérification" #: access/transam/xlog.c:6093 msgid "invalid resource manager ID in checkpoint record" -msgstr "identifiant du gestionnaire de ressource invalide dans l'enregistrement du point de vérification" +msgstr "" +"identifiant du gestionnaire de ressource invalide dans l'enregistrement du " +"point de vérification" #: access/transam/xlog.c:6105 msgid "invalid xl_info in primary checkpoint record" -msgstr "xl_info invalide dans l'enregistrement du point de vérification primaire" +msgstr "" +"xl_info invalide dans l'enregistrement du point de vérification primaire" #: access/transam/xlog.c:6109 msgid "invalid xl_info in secondary checkpoint record" -msgstr "xl_info invalide dans l'enregistrement du point de vérification secondaire" +msgstr "" +"xl_info invalide dans l'enregistrement du point de vérification secondaire" #: access/transam/xlog.c:6113 msgid "invalid xl_info in checkpoint record" @@ -7863,11 +7668,13 @@ #: access/transam/xlog.c:6125 msgid "invalid length of primary checkpoint record" -msgstr "longueur invalide de l'enregistrement primaire du point de vérification" +msgstr "" +"longueur invalide de l'enregistrement primaire du point de vérification" #: access/transam/xlog.c:6129 msgid "invalid length of secondary checkpoint record" -msgstr "longueur invalide de l'enregistrement secondaire du point de vérification" +msgstr "" +"longueur invalide de l'enregistrement secondaire du point de vérification" #: access/transam/xlog.c:6133 msgid "invalid length of checkpoint record" @@ -7882,7 +7689,8 @@ msgstr "le système de base de données est arrêté" #: access/transam/xlog.c:6665 -msgid "concurrent transaction log activity while database system is shutting down" +msgid "" +"concurrent transaction log activity while database system is shutting down" msgstr "" "activité en cours du journal de transactions alors que le système de bases\n" "de données est en cours d'arrêt" @@ -7912,11 +7720,11 @@ #, c-format msgid "unexpected timeline ID %u (should be %u) in checkpoint record" msgstr "" -"identifiant timeline %u inattendu (devrait être %u) dans l'enregistrement du\n" +"identifiant timeline %u inattendu (devrait être %u) dans l'enregistrement " +"du\n" "point de vérification" -#: access/transam/xlog.c:7221 -#: access/transam/xlog.c:7244 +#: access/transam/xlog.c:7221 access/transam/xlog.c:7244 #, c-format msgid "could not fsync log file %u, segment %u: %m" msgstr "" @@ -7937,30 +7745,27 @@ "n'a pas pu synchroniser sur disque (fdatasync) le journal de transactions\n" "%u, segment %u : %m" -#: access/transam/xlog.c:7304 -#: access/transam/xlog.c:7491 +#: access/transam/xlog.c:7304 access/transam/xlog.c:7491 msgid "must be superuser to run a backup" msgstr "doit être super-utilisateur pour exécuter une sauvegarde" -#: access/transam/xlog.c:7309 -#: access/transam/xlog.c:7315 +#: access/transam/xlog.c:7309 access/transam/xlog.c:7315 #: access/transam/xlog.c:7496 msgid "WAL archiving is not active" msgstr "l'archivage des journaux de transactions n'est pas actif" -#: access/transam/xlog.c:7310 -#: access/transam/xlog.c:7497 +#: access/transam/xlog.c:7310 access/transam/xlog.c:7497 msgid "archive_mode must be enabled at server start." msgstr "archive_mode doit être activé au lancement du serveur." #: access/transam/xlog.c:7316 -msgid "archive_command must be defined before online backups can be made safely." +msgid "" +"archive_command must be defined before online backups can be made safely." msgstr "" "archive_command doit être défini avant que les sauvegardes à chaud puissent\n" "s'effectuer correctement." -#: access/transam/xlog.c:7344 -#: access/transam/xlog.c:7413 +#: access/transam/xlog.c:7344 access/transam/xlog.c:7413 msgid "a backup is already in progress" msgstr "une sauvegarde est déjà en cours" @@ -7970,13 +7775,14 @@ #: access/transam/xlog.c:7414 #, c-format -msgid "If you're sure there is no backup in progress, remove file \"%s\" and try again." +msgid "" +"If you're sure there is no backup in progress, remove file \"%s\" and try " +"again." msgstr "" "Si vous êtes certain qu'aucune sauvegarde n'est en cours, supprimez le\n" "fichier « %s » et recommencez de nouveau." -#: access/transam/xlog.c:7435 -#: access/transam/xlog.c:7572 +#: access/transam/xlog.c:7435 access/transam/xlog.c:7572 #, c-format msgid "could not write file \"%s\": %m" msgstr "impossible d'écrire le fichier « %s » : %m" @@ -7985,10 +7791,8 @@ msgid "a backup is not in progress" msgstr "une sauvegarde n'est pas en cours" -#: access/transam/xlog.c:7547 -#: access/transam/xlog.c:7888 -#: access/transam/xlog.c:7894 -#: access/transam/xlog.c:7925 +#: access/transam/xlog.c:7547 access/transam/xlog.c:7888 +#: access/transam/xlog.c:7894 access/transam/xlog.c:7925 #: access/transam/xlog.c:7931 #, c-format msgid "invalid data in file \"%s\"" @@ -7996,20 +7800,20 @@ #: access/transam/xlog.c:7627 #, c-format -msgid "pg_stop_backup still waiting for archive to complete (%d seconds elapsed)" -msgstr "pg_stop_backup toujours en attente de la fin de l'archive (%d secondes passées)" +msgid "" +"pg_stop_backup still waiting for archive to complete (%d seconds elapsed)" +msgstr "" +"pg_stop_backup toujours en attente de la fin de l'archive (%d secondes " +"passées)" #: access/transam/xlog.c:7652 msgid "must be superuser to switch transaction log files" msgstr "doit être super-utilisateur pour changer de journal de transactions" -#: access/transam/xlog.c:7749 -#: access/transam/xlog.c:7815 +#: access/transam/xlog.c:7749 access/transam/xlog.c:7815 #, c-format msgid "could not parse transaction log location \"%s\"" -msgstr "" -"n'a pas pu analyser l'emplacement du journal des transactions nommé « %s » :\n" -"%m" +msgstr "n'a pas pu analyser l'emplacement du journal des transactions « %s »" #: access/transam/xlog.c:7959 #, c-format @@ -8034,16 +7838,14 @@ msgid "Could not rename \"%s\" to \"%s\": %m." msgstr "N'a pas pu renommer « %s » en « %s » : %m" -#: access/gin/ginentrypage.c:83 -#: access/gin/ginentrypage.c:118 -#: access/nbtree/nbtsort.c:483 -#: access/nbtree/nbtinsert.c:420 +#: access/gin/ginentrypage.c:83 access/gin/ginentrypage.c:118 +#: access/nbtree/nbtsort.c:483 access/nbtree/nbtinsert.c:420 #, c-format msgid "index row size %lu exceeds maximum %lu for index \"%s\"" -msgstr "la taille de la ligne index, %lu, dépasse le maximum %lu pour l'index « %s »" +msgstr "" +"la taille de la ligne index, %lu, dépasse le maximum %lu pour l'index « %s »" -#: access/gin/ginscan.c:168 -#: access/gin/ginscan.c:231 +#: access/gin/ginscan.c:168 access/gin/ginscan.c:231 msgid "GIN indexes do not support whole-index scans" msgstr "les index GIN ne supportent pas les parcours complets d'index" @@ -8051,25 +7853,26 @@ msgid "array must not contain null values" msgstr "le tableau ne doit pas contenir de valeurs NULL" -#: access/nbtree/nbtpage.c:160 -#: access/nbtree/nbtpage.c:364 +#: access/nbtree/nbtpage.c:160 access/nbtree/nbtpage.c:364 #, c-format msgid "index \"%s\" is not a btree" msgstr "l'index « %s » n'est pas un btree" -#: access/nbtree/nbtpage.c:166 -#: access/nbtree/nbtpage.c:370 +#: access/nbtree/nbtpage.c:166 access/nbtree/nbtpage.c:370 #, c-format msgid "version mismatch in index \"%s\": file version %d, code version %d" -msgstr "la version ne correspond pas dans l'index « %s » : version du fichier %d, version du code %d" +msgstr "" +"la version ne correspond pas dans l'index « %s » : version du fichier %d, " +"version du code %d" -#: access/nbtree/nbtsort.c:487 -#: access/nbtree/nbtinsert.c:424 +#: access/nbtree/nbtsort.c:487 access/nbtree/nbtinsert.c:424 msgid "" "Values larger than 1/3 of a buffer page cannot be indexed.\n" -"Consider a function index of an MD5 hash of the value, or use full text indexing." +"Consider a function index of an MD5 hash of the value, or use full text " +"indexing." msgstr "" -"Les valeurs plus larges qu'un tiers d'une page de tampon ne peuvent pas être\n" +"Les valeurs plus larges qu'un tiers d'une page de tampon ne peuvent pas " +"être\n" "indexées.\n" "Utilisez un index sur le hachage MD5 de la valeur ou passez à l'indexation\n" "de la recherche plein texte." @@ -8079,22 +7882,21 @@ msgid "duplicate key value violates unique constraint \"%s\"" msgstr "la valeur d'une clé dupliquée rompt la contrainte unique « %s »" -#: access/index/indexam.c:149 -#: commands/tablecmds.c:212 -#: commands/tablecmds.c:2183 -#: commands/indexcmds.c:1315 -#: commands/comment.c:502 +#: access/index/indexam.c:149 commands/tablecmds.c:212 +#: commands/tablecmds.c:2183 commands/indexcmds.c:1322 commands/comment.c:502 #, c-format msgid "\"%s\" is not an index" msgstr "« %s » n'est pas un index" -#: access/gist/gistsplit.c:372 +#: access/gist/gistsplit.c:444 #, c-format msgid "picksplit method for column %d of index \"%s\" failed" msgstr "échec de la méthode picksplit pour la colonne %d de l'index « %s »" -#: access/gist/gistsplit.c:374 -msgid "The index is not optimal. To optimize it, contact a developer, or try to use the column as the second one in the CREATE INDEX command." +#: access/gist/gistsplit.c:446 +msgid "" +"The index is not optimal. To optimize it, contact a developer, or try to use " +"the column as the second one in the CREATE INDEX command." msgstr "" "L'index n'est pas optimal. Pour l'optimiser, contactez un développeur\n" "ou essayez d'utiliser la colonne comme second dans la commande\n" @@ -8104,7 +7906,8 @@ #, c-format msgid "index %u/%u/%u needs VACUUM FULL or REINDEX to finish crash recovery" msgstr "" -"l'index %u/%u/%u a besoin d'un VACUUM FULL ou d'un REINDEX pour terminer la\n" +"l'index %u/%u/%u a besoin d'un VACUUM FULL ou d'un REINDEX pour terminer " +"la\n" "récupération suite à un arrêt brutal" #: access/gist/gistxlog.c:799 @@ -8113,7 +7916,7 @@ "Insertion incomplète détectée lors de la ré-exécution des requêtes suite à\n" "l'arrêt brutal." -#: access/gist/gistutil.c:428 +#: access/gist/gistutil.c:424 #, c-format msgid "index \"%s\" needs VACUUM or REINDEX to finish crash recovery" msgstr "" @@ -8137,38 +7940,26 @@ msgid "could not obtain lock on relation with OID %u" msgstr "n'a pas pu obtenir un verrou sur la relation d'OID « %u »" -#: commands/lockcmds.c:113 -#: catalog/namespace.c:270 -#: parser/parse_relation.c:870 +#: commands/lockcmds.c:113 catalog/namespace.c:270 parser/parse_relation.c:872 #, c-format msgid "relation \"%s.%s\" does not exist" msgstr "la relation « %s.%s » n'existe pas" -#: commands/lockcmds.c:140 -#: commands/tablecmds.c:194 -#: commands/tablecmds.c:1041 -#: commands/tablecmds.c:3159 -#: commands/indexcmds.c:172 -#: commands/indexcmds.c:1349 -#: commands/comment.c:516 -#: commands/trigger.c:115 -#: commands/trigger.c:807 -#: catalog/toasting.c:94 +#: commands/lockcmds.c:140 commands/tablecmds.c:194 commands/tablecmds.c:1041 +#: commands/tablecmds.c:3159 commands/indexcmds.c:173 +#: commands/indexcmds.c:1356 commands/comment.c:516 commands/trigger.c:115 +#: commands/trigger.c:807 catalog/toasting.c:94 #, c-format msgid "\"%s\" is not a table" msgstr "« %s » n'est pas une table" -#: commands/define.c:67 -#: commands/define.c:213 -#: commands/define.c:245 +#: commands/define.c:67 commands/define.c:213 commands/define.c:245 #: commands/define.c:273 #, c-format msgid "%s requires a parameter" msgstr "%s requiert un paramètre" -#: commands/define.c:106 -#: commands/define.c:117 -#: commands/define.c:180 +#: commands/define.c:106 commands/define.c:117 commands/define.c:180 #: commands/define.c:198 #, c-format msgid "%s requires a numeric value" @@ -8214,40 +8005,40 @@ #: commands/variable.c:285 msgid "invalid interval value for time zone: month not allowed" -msgstr "valeur d'intervalle invalide pour le fuseau horaire : les mois ne sont pas autorisés" +msgstr "" +"valeur d'intervalle invalide pour le fuseau horaire : les mois ne sont pas " +"autorisés" #: commands/variable.c:293 msgid "invalid interval value for time zone: day not allowed" -msgstr "valeur d'intervalle invalide pour le fuseau horaire : jour non autorisé" +msgstr "" +"valeur d'intervalle invalide pour le fuseau horaire : jour non autorisé" -#: commands/variable.c:361 -#: commands/variable.c:493 +#: commands/variable.c:363 commands/variable.c:495 #, c-format msgid "unrecognized time zone name: \"%s\"" msgstr "nom de fuseau horaire non reconnu : « %s »" -#: commands/variable.c:370 -#: commands/variable.c:502 +#: commands/variable.c:372 commands/variable.c:504 #, c-format msgid "time zone \"%s\" appears to use leap seconds" msgstr "le fuseau horaire « %s » semble utiliser les secondes « leap »" -#: commands/variable.c:372 -#: commands/variable.c:504 +#: commands/variable.c:374 commands/variable.c:506 msgid "PostgreSQL does not support leap seconds." msgstr "PostgreSQL ne supporte pas les secondes « leap »." -#: commands/variable.c:557 +#: commands/variable.c:559 msgid "SET TRANSACTION ISOLATION LEVEL must be called before any query" msgstr "SET TRANSACTION ISOLATION LEVEL doit être appelé avant toute requête" -#: commands/variable.c:566 +#: commands/variable.c:568 msgid "SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction" msgstr "" "SET TRANSACTION ISOLATION LEVEL ne doit pas être appelé dans une\n" "sous-transaction" -#: commands/variable.c:869 +#: commands/variable.c:871 #, c-format msgid "permission denied to set role \"%s\"" msgstr "droit refusé pour configurer le rôle « %s »" @@ -8260,9 +8051,7 @@ msgid "utility statements cannot be prepared" msgstr "les instructions utilitaires ne peuvent pas être préparées" -#: commands/prepare.c:240 -#: commands/prepare.c:247 -#: commands/prepare.c:702 +#: commands/prepare.c:240 commands/prepare.c:247 commands/prepare.c:702 msgid "prepared statement is not a SELECT" msgstr "l'instruction préparée n'est pas un SELECT" @@ -8292,18 +8081,16 @@ #, c-format msgid "parameter $%d of type %s cannot be coerced to the expected type %s" msgstr "" -"le paramètre $%d de type %s ne peut être utilisé dans la coercion à cause du\n" +"le paramètre $%d de type %s ne peut être utilisé dans la coercion à cause " +"du\n" "type %s attendu" -#: commands/prepare.c:370 -#: rewrite/rewriteHandler.c:949 -#: catalog/heap.c:2211 -#: parser/parse_target.c:471 -#: parser/parse_target.c:730 -#: parser/parse_target.c:740 -#: parser/parse_node.c:367 +#: commands/prepare.c:370 rewrite/rewriteHandler.c:949 catalog/heap.c:2211 +#: parser/parse_target.c:472 parser/parse_target.c:731 +#: parser/parse_target.c:741 parser/parse_node.c:379 msgid "You will need to rewrite or cast the expression." -msgstr "Vous devez réécrire l'expression ou lui appliquer une transformation de type." +msgstr "" +"Vous devez réécrire l'expression ou lui appliquer une transformation de type." #: commands/prepare.c:459 #, c-format @@ -8339,13 +8126,9 @@ msgid "sequence \"%s\" does not exist, skipping" msgstr "la séquence « %s » n'existe pas, poursuite du traitement" -#: commands/tablecmds.c:200 -#: commands/tablecmds.c:1970 -#: commands/tablecmds.c:2191 -#: commands/tablecmds.c:7572 -#: commands/sequence.c:950 -#: commands/comment.c:509 -#: catalog/aclchk.c:931 +#: commands/tablecmds.c:200 commands/tablecmds.c:1970 +#: commands/tablecmds.c:2191 commands/tablecmds.c:7572 commands/sequence.c:950 +#: commands/comment.c:509 catalog/aclchk.c:931 #, c-format msgid "\"%s\" is not a sequence" msgstr "« %s » n'est pas une séquence" @@ -8364,11 +8147,8 @@ msgid "view \"%s\" does not exist, skipping" msgstr "la vue « %s » n'existe pas, poursuite du traitement" -#: commands/tablecmds.c:206 -#: commands/tablecmds.c:1976 -#: commands/tablecmds.c:2199 -#: commands/tablecmds.c:7580 -#: commands/view.c:162 +#: commands/tablecmds.c:206 commands/tablecmds.c:1976 +#: commands/tablecmds.c:2199 commands/tablecmds.c:7580 commands/view.c:162 #: commands/comment.c:523 #, c-format msgid "\"%s\" is not a view" @@ -8392,8 +8172,7 @@ msgid "Use DROP INDEX to remove an index." msgstr "Utilisez DROP INDEX pour supprimer un index." -#: commands/tablecmds.c:217 -#: commands/typecmds.c:654 +#: commands/tablecmds.c:217 commands/typecmds.c:654 #, c-format msgid "type \"%s\" does not exist, skipping" msgstr "le type « %s » n'existe pas, poursuite du traitement" @@ -8407,15 +8186,15 @@ msgid "Use DROP TYPE to remove a type." msgstr "Utilisez DROP TYPE pour supprimer un type." -#: commands/tablecmds.c:372 -#: executor/execMain.c:2888 +#: commands/tablecmds.c:372 executor/execMain.c:2888 msgid "ON COMMIT can only be used on temporary tables" msgstr "ON COMMIT peut seulement être utilisé sur des tables temporaires" -#: commands/tablecmds.c:382 -#: executor/execMain.c:2898 +#: commands/tablecmds.c:382 executor/execMain.c:2898 msgid "cannot create temporary table within security-restricted operation" -msgstr "ne peut pas créer la table temporaire dans la fonction restreinte pour sécurité" +msgstr "" +"ne peut pas créer la table temporaire dans la fonction restreinte pour " +"sécurité" #: commands/tablecmds.c:855 #, c-format @@ -8431,37 +8210,30 @@ msgid "cannot truncate temporary tables of other sessions" msgstr "ne peut pas tronquer les tables temporaires des autres sessions" -#: commands/tablecmds.c:1168 -#: commands/tablecmds.c:1501 -#: commands/tablecmds.c:3525 -#: catalog/heap.c:362 +#: commands/tablecmds.c:1168 commands/tablecmds.c:1501 +#: commands/tablecmds.c:3525 catalog/heap.c:362 #, c-format msgid "tables can have at most %d columns" msgstr "les tables peuvent avoir au plus %d colonnes" -#: commands/tablecmds.c:1190 -#: commands/copy.c:3429 -#: parser/parse_target.c:820 -#: parser/parse_target.c:831 +#: commands/tablecmds.c:1190 commands/copy.c:3429 parser/parse_target.c:821 +#: parser/parse_target.c:832 #, c-format msgid "column \"%s\" specified more than once" msgstr "la colonne « %s » est spécifiée plus d'une fois" -#: commands/tablecmds.c:1215 -#: parser/parse_utilcmd.c:559 +#: commands/tablecmds.c:1215 parser/parse_utilcmd.c:559 #: parser/parse_utilcmd.c:1219 #, c-format msgid "inherited relation \"%s\" is not a table" msgstr "la relation héritée « %s » n'est pas une table" -#: commands/tablecmds.c:1221 -#: commands/tablecmds.c:6985 +#: commands/tablecmds.c:1221 commands/tablecmds.c:6985 #, c-format msgid "cannot inherit from temporary relation \"%s\"" msgstr "ine peut pas hériter à partir d'une relation temporaire « %s »" -#: commands/tablecmds.c:1238 -#: commands/tablecmds.c:7013 +#: commands/tablecmds.c:1238 commands/tablecmds.c:7013 #, c-format msgid "relation \"%s\" would be inherited from more than once" msgstr "la relation « %s » serait héritée plus d'une fois" @@ -8476,29 +8248,25 @@ msgid "inherited column \"%s\" has a type conflict" msgstr "la colonne héritée « %s » a un conflit de type" -#: commands/tablecmds.c:1295 -#: commands/tablecmds.c:1469 -#: parser/parse_coerce.c:302 -#: parser/parse_coerce.c:1488 -#: parser/parse_coerce.c:1507 -#: parser/parse_coerce.c:1552 -#: parser/parse_expr.c:1881 +#: commands/tablecmds.c:1295 commands/tablecmds.c:1469 +#: parser/parse_coerce.c:302 parser/parse_coerce.c:1488 +#: parser/parse_coerce.c:1507 parser/parse_coerce.c:1552 +#: parser/parse_expr.c:1896 #, c-format msgid "%s versus %s" msgstr "%s versus %s" -#: commands/tablecmds.c:1396 -#: parser/parse_utilcmd.c:712 -#: parser/parse_utilcmd.c:899 -#: parser/parse_utilcmd.c:969 +#: commands/tablecmds.c:1396 parser/parse_utilcmd.c:712 +#: parser/parse_utilcmd.c:899 parser/parse_utilcmd.c:969 msgid "cannot convert whole-row table reference" msgstr "ne peut pas convertir la référence d'une ligne complète" -#: commands/tablecmds.c:1397 -#: parser/parse_utilcmd.c:713 +#: commands/tablecmds.c:1397 parser/parse_utilcmd.c:713 #, c-format msgid "Constraint \"%s\" contains a whole-row reference to table \"%s\"." -msgstr "La contrainte « %s » contient une référence de ligne complète à la table « %s »." +msgstr "" +"La contrainte « %s » contient une référence de ligne complète à la table « " +"%s »." #: commands/tablecmds.c:1459 #, c-format @@ -8517,11 +8285,14 @@ #: commands/tablecmds.c:1520 msgid "To resolve the conflict, specify a default explicitly." -msgstr "Pour résoudre le conflit, spécifiez explicitement une valeur par défaut." +msgstr "" +"Pour résoudre le conflit, spécifiez explicitement une valeur par défaut." #: commands/tablecmds.c:1567 #, c-format -msgid "check constraint name \"%s\" appears multiple times but with different expressions" +msgid "" +"check constraint name \"%s\" appears multiple times but with different " +"expressions" msgstr "" "le nom de la contrainte de vérification, « %s », apparaît plusieurs fois\n" "mais avec des expressions différentes" @@ -8529,7 +8300,8 @@ #: commands/tablecmds.c:1828 #, c-format msgid "inherited column \"%s\" must be renamed in child tables too" -msgstr "la colonne héritée « %s » doit aussi être renommée pour les tables filles" +msgstr "" +"la colonne héritée « %s » doit aussi être renommée pour les tables filles" #: commands/tablecmds.c:1846 #, c-format @@ -8541,21 +8313,17 @@ msgid "cannot rename inherited column \"%s\"" msgstr "ne peut pas renommer la colonne héritée « %s »" -#: commands/tablecmds.c:1867 -#: commands/tablecmds.c:3513 +#: commands/tablecmds.c:1867 commands/tablecmds.c:3513 #, c-format msgid "column \"%s\" of relation \"%s\" already exists" msgstr "la colonne « %s » de la relation « %s » existe déjà" -#: commands/tablecmds.c:1988 -#: commands/tablecmds.c:6237 +#: commands/tablecmds.c:1988 commands/tablecmds.c:6237 #: commands/tablecmds.c:7615 msgid "Use ALTER TYPE instead." msgstr "Utilisez ALTER TYPE à la place." -#: commands/tablecmds.c:2037 -#: catalog/index.c:595 -#: catalog/heap.c:901 +#: commands/tablecmds.c:2037 catalog/index.c:595 catalog/heap.c:901 #, c-format msgid "relation \"%s\" already exists" msgstr "la relation « %s » existe déjà" @@ -8563,7 +8331,8 @@ #. translator: first %s is a SQL command, eg ALTER TABLE #: commands/tablecmds.c:2113 #, c-format -msgid "cannot %s \"%s\" because it is being used by active queries in this session" +msgid "" +"cannot %s \"%s\" because it is being used by active queries in this session" msgstr "" "ne peut pas exécuter %s « %s » car cet objet est en cours d'utilisation par\n" "des requêtes actives dans cette session" @@ -8572,7 +8341,8 @@ #: commands/tablecmds.c:2122 #, c-format msgid "cannot %s \"%s\" because it has pending trigger events" -msgstr "ne peut pas exécuter %s « %s » car il reste des événements sur les triggers" +msgstr "" +"ne peut pas exécuter %s « %s » car il reste des événements sur les triggers" #: commands/tablecmds.c:2720 #, c-format @@ -8593,14 +8363,12 @@ msgid "check constraint \"%s\" is violated by some row" msgstr "la contrainte de vérification « %s » est rompue par une ligne" -#: commands/tablecmds.c:3153 -#: rewrite/rewriteDefine.c:253 +#: commands/tablecmds.c:3153 rewrite/rewriteDefine.c:253 #, c-format msgid "\"%s\" is not a table or view" msgstr "« %s » n'est pas une table ou une vue" -#: commands/tablecmds.c:3189 -#: commands/tablecmds.c:3943 +#: commands/tablecmds.c:3189 commands/tablecmds.c:3943 #, c-format msgid "\"%s\" is not a table or index" msgstr "« %s » n'est pas une table ou un index" @@ -8615,14 +8383,14 @@ #: commands/tablecmds.c:3351 #, c-format msgid "cannot alter type \"%s\" because column \"%s\".\"%s\" uses it" -msgstr "ne peux pas modifier le type « %s » car la colonne « %s ».« %s » l'utilise" +msgstr "" +"ne peux pas modifier le type « %s » car la colonne « %s ».« %s » l'utilise" #: commands/tablecmds.c:3422 msgid "column must be added to child tables too" msgstr "la colonne doit aussi être ajoutée aux tables filles" -#: commands/tablecmds.c:3467 -#: commands/tablecmds.c:7169 +#: commands/tablecmds.c:3467 commands/tablecmds.c:7169 #, c-format msgid "child table \"%s\" has different type for column \"%s\"" msgstr "la table fille « %s » a un type différent pour la colonne « %s »" @@ -8637,12 +8405,9 @@ msgid "merging definition of column \"%s\" for child \"%s\"" msgstr "assemblage de la définition de la colonne « %s » pour le fils « %s »" -#: commands/tablecmds.c:3761 -#: commands/tablecmds.c:3855 -#: commands/tablecmds.c:3900 -#: commands/tablecmds.c:3996 -#: commands/tablecmds.c:4057 -#: commands/tablecmds.c:5547 +#: commands/tablecmds.c:3761 commands/tablecmds.c:3855 +#: commands/tablecmds.c:3900 commands/tablecmds.c:3996 +#: commands/tablecmds.c:4057 commands/tablecmds.c:5547 #, c-format msgid "cannot alter system column \"%s\"" msgstr "n'a pas pu modifier la colonne système « %s »" @@ -8684,9 +8449,7 @@ msgid "cannot drop inherited column \"%s\"" msgstr "ne peut pas supprimer la colonne héritée « %s »" -#: commands/tablecmds.c:4361 -#: catalog/pg_constraint.c:613 -#: catalog/heap.c:2060 +#: commands/tablecmds.c:4361 catalog/pg_constraint.c:613 catalog/heap.c:2060 #, c-format msgid "constraint \"%s\" for relation \"%s\" already exists" msgstr "la contrainte « %s » de la relation « %s » existe déjà" @@ -8695,8 +8458,7 @@ msgid "constraint must be added to child tables too" msgstr "la contrainte doit aussi être ajoutée aux tables filles" -#: commands/tablecmds.c:4552 -#: commands/sequence.c:1331 +#: commands/tablecmds.c:4552 commands/sequence.c:1331 #, c-format msgid "referenced relation \"%s\" is not a table" msgstr "la relation référencée « %s » n'est pas une table" @@ -8715,7 +8477,9 @@ #: commands/tablecmds.c:4641 msgid "number of referencing and referenced columns for foreign key disagree" -msgstr "nombre de colonnes de référence et référencées pour la clé étrangère en désaccord" +msgstr "" +"nombre de colonnes de référence et référencées pour la clé étrangère en " +"désaccord" #: commands/tablecmds.c:4732 #, c-format @@ -8725,12 +8489,14 @@ #: commands/tablecmds.c:4735 #, c-format msgid "Key columns \"%s\" and \"%s\" are of incompatible types: %s and %s." -msgstr "Les colonnes clés « %s » et « %s » sont de types incompatibles : %s et %s." +msgstr "" +"Les colonnes clés « %s » et « %s » sont de types incompatibles : %s et %s." #: commands/tablecmds.c:4828 #, c-format msgid "column \"%s\" referenced in foreign key constraint does not exist" -msgstr "la colonne « %s » référencée dans la contrainte de clé étrangère n'existe pas" +msgstr "" +"la colonne « %s » référencée dans la contrainte de clé étrangère n'existe pas" #: commands/tablecmds.c:4833 #, c-format @@ -8744,7 +8510,8 @@ #: commands/tablecmds.c:5042 #, c-format -msgid "there is no unique constraint matching given keys for referenced table \"%s\"" +msgid "" +"there is no unique constraint matching given keys for referenced table \"%s\"" msgstr "" "il n'existe aucune contrainte unique correspondant aux clés données pour la\n" "table « %s » référencée" @@ -8752,10 +8519,10 @@ #: commands/tablecmds.c:5376 #, c-format msgid "cannot drop inherited constraint \"%s\" of relation \"%s\"" -msgstr "ne peut pas supprimer la contrainte héritée « %s » de la relation « %s »" +msgstr "" +"ne peut pas supprimer la contrainte héritée « %s » de la relation « %s »" -#: commands/tablecmds.c:5400 -#: commands/tablecmds.c:5503 +#: commands/tablecmds.c:5400 commands/tablecmds.c:5503 #, c-format msgid "constraint \"%s\" of relation \"%s\" does not exist" msgstr "la contrainte « %s » de la relation « %s » n'existe pas" @@ -8771,15 +8538,20 @@ #: commands/tablecmds.c:5596 msgid "cannot use subquery in transform expression" -msgstr "ne peut pas utiliser une sous-requête dans l'expression de transformation" +msgstr "" +"ne peut pas utiliser une sous-requête dans l'expression de transformation" #: commands/tablecmds.c:5600 msgid "cannot use aggregate function in transform expression" -msgstr "ne peut pas utiliser la fonction d'agrégat dans l'expression de la transformation" +msgstr "" +"ne peut pas utiliser la fonction d'agrégat dans l'expression de la " +"transformation" #: commands/tablecmds.c:5604 msgid "cannot use window function in transform expression" -msgstr "ne peut pas utiliser la fonction window dans l'expression de la transformation" +msgstr "" +"ne peut pas utiliser la fonction window dans l'expression de la " +"transformation" #: commands/tablecmds.c:5622 #, c-format @@ -8789,7 +8561,9 @@ #: commands/tablecmds.c:5648 #, c-format msgid "type of inherited column \"%s\" must be changed in child tables too" -msgstr "le type de colonne héritée « %s » doit aussi être renommée pour les tables filles" +msgstr "" +"le type de colonne héritée « %s » doit aussi être renommée pour les tables " +"filles" #: commands/tablecmds.c:5687 #, c-format @@ -8800,12 +8574,14 @@ #, c-format msgid "default for column \"%s\" cannot be cast to type %s" msgstr "" -"la valeur par défaut de la colonne « %s » ne peut pas être convertie vers le\n" +"la valeur par défaut de la colonne « %s » ne peut pas être convertie vers " +"le\n" "type %s" #: commands/tablecmds.c:5847 msgid "cannot alter type of a column used by a view or rule" -msgstr "ne peut pas modifier le type d'une colonne utilisée dans une vue ou une règle" +msgstr "" +"ne peut pas modifier le type d'une colonne utilisée dans une vue ou une règle" #: commands/tablecmds.c:5848 #, c-format @@ -8826,20 +8602,17 @@ msgid "cannot change owner of sequence \"%s\"" msgstr "ne peut pas modifier le propriétaire de la séquence « %s »" -#: commands/tablecmds.c:6225 -#: commands/tablecmds.c:7605 +#: commands/tablecmds.c:6225 commands/tablecmds.c:7605 #, c-format msgid "Sequence \"%s\" is linked to table \"%s\"." msgstr "La séquence « %s » est liée à la table « %s »." -#: commands/tablecmds.c:6246 -#: commands/tablecmds.c:7623 +#: commands/tablecmds.c:6246 commands/tablecmds.c:7623 #, c-format msgid "\"%s\" is not a table, view, or sequence" msgstr "« %s » n'est pas une table, une vue ou une séquence" -#: commands/tablecmds.c:6531 -#: commands/cluster.c:169 +#: commands/tablecmds.c:6531 commands/cluster.c:169 #, c-format msgid "index \"%s\" for table \"%s\" does not exist" msgstr "l'index « %s » pour la table « %s » n'existe pas" @@ -8858,12 +8631,12 @@ msgid "cannot move system relation \"%s\"" msgstr "ne peut pas déplacer la colonne système « %s »" -#: commands/tablecmds.c:6751 -#: executor/execMain.c:2948 -#: catalog/index.c:589 +#: commands/tablecmds.c:6751 executor/execMain.c:2948 catalog/index.c:589 #: catalog/heap.c:940 msgid "only shared relations can be placed in pg_global tablespace" -msgstr "seules les relations partagées peuvent être placées dans le tablespace pg_global" +msgstr "" +"seules les relations partagées peuvent être placées dans le tablespace " +"pg_global" #: commands/tablecmds.c:6760 msgid "cannot move temporary tables of other sessions" @@ -8881,7 +8654,9 @@ #: commands/tablecmds.c:7049 #, c-format msgid "table \"%s\" without OIDs cannot inherit from table \"%s\" with OIDs" -msgstr "la table « %s » qui n'a pas d'OID ne peut pas hériter de la table « %s » qui en a" +msgstr "" +"la table « %s » qui n'a pas d'OID ne peut pas hériter de la table « %s » qui " +"en a" #: commands/tablecmds.c:7176 #, c-format @@ -8896,7 +8671,9 @@ #: commands/tablecmds.c:7271 #, c-format msgid "child table \"%s\" has different definition for check constraint \"%s\"" -msgstr "la table fille « %s » a un type différent pour la contrainte de vérification « %s »" +msgstr "" +"la table fille « %s » a un type différent pour la contrainte de vérification " +"« %s »" #: commands/tablecmds.c:7295 #, c-format @@ -8917,14 +8694,13 @@ msgid "relation \"%s\" is already in schema \"%s\"" msgstr "la relation « %s » existe déjà dans le schéma « %s »" -#: commands/tablecmds.c:7641 -#: commands/functioncmds.c:1880 +#: commands/tablecmds.c:7641 commands/functioncmds.c:1880 #: commands/typecmds.c:2761 msgid "cannot move objects into or out of temporary schemas" -msgstr "ne peut pas déplacer les objets dans ou à partir des schémas temporaires" +msgstr "" +"ne peut pas déplacer les objets dans ou à partir des schémas temporaires" -#: commands/tablecmds.c:7647 -#: commands/functioncmds.c:1886 +#: commands/tablecmds.c:7647 commands/functioncmds.c:1886 #: commands/typecmds.c:2767 msgid "cannot move objects into or out of TOAST schema" msgstr "ne peut pas déplacer les objets dans ou à partir des schémas TOAST" @@ -8934,8 +8710,7 @@ msgid "relation \"%s\" already exists in schema \"%s\"" msgstr "la relation « %s » existe déjà dans le schéma « %s »" -#: commands/proclang.c:83 -#: commands/proclang.c:514 +#: commands/proclang.c:83 commands/proclang.c:514 #, c-format msgid "language \"%s\" already exists" msgstr "le langage « %s » existe déjà" @@ -8951,8 +8726,7 @@ msgid "must be superuser to create procedural language \"%s\"" msgstr "doit être super-utilisateur pour créer le langage de procédures « %s »" -#: commands/proclang.c:128 -#: commands/proclang.c:245 +#: commands/proclang.c:128 commands/proclang.c:245 #, c-format msgid "function %s must return type \"language_handler\"" msgstr "la fonction %s doit renvoyer le type « language_handler »" @@ -8964,15 +8738,18 @@ #: commands/proclang.c:211 msgid "The supported languages are listed in the pg_pltemplate system catalog." -msgstr "Les langages supportés sont listés dans le catalogue système pg_pltemplate." +msgstr "" +"Les langages supportés sont listés dans le catalogue système pg_pltemplate." #: commands/proclang.c:219 msgid "must be superuser to create custom procedural language" -msgstr "doit être super-utilisateur pour créer un langage de procédures personnalisé" +msgstr "" +"doit être super-utilisateur pour créer un langage de procédures personnalisé" #: commands/proclang.c:238 #, c-format -msgid "changing return type of function %s from \"opaque\" to \"language_handler\"" +msgid "" +"changing return type of function %s from \"opaque\" to \"language_handler\"" msgstr "" "changement du type du code retour de la fonction %s d'« opaque » à\n" "« language_handler »" @@ -8991,7 +8768,8 @@ #, c-format msgid "skipping \"%s\" --- only superuser or database owner can analyze it" msgstr "" -"ignore « %s » --- seul le super-utilisateur ou le propriétaire de la base de\n" +"ignore « %s » --- seul le super-utilisateur ou le propriétaire de la base " +"de\n" "données peut l'analyser" #: commands/analyze.c:180 @@ -9003,8 +8781,10 @@ #: commands/analyze.c:196 #, c-format -msgid "skipping \"%s\" --- cannot analyze indexes, views, or special system tables" -msgstr "ignore « %s » --- ne peut pas analyser les index, vues ou tables système" +msgid "" +"skipping \"%s\" --- cannot analyze indexes, views, or special system tables" +msgstr "" +"ignore « %s » --- ne peut pas analyser les index, vues ou tables système" #: commands/analyze.c:224 #, c-format @@ -9014,11 +8794,14 @@ #: commands/analyze.c:503 #, c-format msgid "automatic analyze of table \"%s.%s.%s\" system usage: %s" -msgstr "ANALYZE automatique de la table « %s.%s.%s » ; utilisation système : %s" +msgstr "" +"ANALYZE automatique de la table « %s.%s.%s » ; utilisation système : %s" #: commands/analyze.c:1116 #, c-format -msgid "\"%s\": scanned %d of %u pages, containing %.0f live rows and %.0f dead rows; %d rows in sample, %.0f estimated total rows" +msgid "" +"\"%s\": scanned %d of %u pages, containing %.0f live rows and %.0f dead " +"rows; %d rows in sample, %.0f estimated total rows" msgstr "" "« %s » : %d pages parcourues sur %u,\n" " contenant %.0f lignes à conserver et %.0f lignes à supprimer,\n" @@ -9040,10 +8823,8 @@ msgid "encoding conversion function %s must return type \"void\"" msgstr "la fonction de conversion d'encodage %s doit renvoyer le type « void »" -#: commands/conversioncmds.c:153 -#: commands/conversioncmds.c:211 -#: commands/conversioncmds.c:267 -#: commands/comment.c:1156 +#: commands/conversioncmds.c:153 commands/conversioncmds.c:211 +#: commands/conversioncmds.c:267 commands/comment.c:1156 #, c-format msgid "conversion \"%s\" does not exist" msgstr "la conversion « %s » n'existe pas" @@ -9058,11 +8839,8 @@ msgid "conversion \"%s\" already exists in schema \"%s\"" msgstr "la conversion « %s » existe déjà dans le schéma « %s »" -#: commands/sequence.c:462 -#: commands/sequence.c:672 -#: commands/sequence.c:716 -#: commands/sequence.c:753 -#: catalog/aclchk.c:2113 +#: commands/sequence.c:462 commands/sequence.c:672 commands/sequence.c:716 +#: commands/sequence.c:753 catalog/aclchk.c:2113 #, c-format msgid "permission denied for sequence %s" msgstr "droit refusé pour la séquence %s" @@ -9084,67 +8862,37 @@ "la valeur courante (currval) de la séquence « %s » n'est pas encore définie\n" "dans cette session" -#: commands/sequence.c:697 -#: commands/sequence.c:705 +#: commands/sequence.c:697 commands/sequence.c:705 msgid "lastval is not yet defined in this session" -msgstr "la dernière valeur (lastval) n'est pas encore définie dans cette session" +msgstr "" +"la dernière valeur (lastval) n'est pas encore définie dans cette session" #: commands/sequence.c:770 #, c-format msgid "setval: value %s is out of bounds for sequence \"%s\" (%s..%s)" -msgstr "setval : la valeur %s est en dehors des limites de la séquence « %s » (%s..%s)" +msgstr "" +"setval : la valeur %s est en dehors des limites de la séquence « %s » (%s.." +"%s)" -#: commands/sequence.c:1048 -#: commands/sequence.c:1056 -#: commands/sequence.c:1064 -#: commands/sequence.c:1072 -#: commands/sequence.c:1080 -#: commands/sequence.c:1088 -#: commands/sequence.c:1096 -#: commands/sequence.c:1104 -#: commands/functioncmds.c:452 -#: commands/functioncmds.c:542 -#: commands/functioncmds.c:550 -#: commands/functioncmds.c:558 -#: commands/copy.c:746 -#: commands/copy.c:754 -#: commands/copy.c:762 -#: commands/copy.c:770 -#: commands/copy.c:778 -#: commands/copy.c:786 -#: commands/copy.c:794 -#: commands/copy.c:802 -#: commands/copy.c:810 -#: commands/copy.c:818 -#: commands/dbcommands.c:145 -#: commands/dbcommands.c:153 -#: commands/dbcommands.c:161 -#: commands/dbcommands.c:169 -#: commands/dbcommands.c:177 -#: commands/dbcommands.c:185 -#: commands/dbcommands.c:193 -#: commands/dbcommands.c:1323 -#: commands/dbcommands.c:1331 -#: commands/user.c:135 -#: commands/user.c:152 -#: commands/user.c:160 -#: commands/user.c:168 -#: commands/user.c:176 -#: commands/user.c:184 -#: commands/user.c:192 -#: commands/user.c:200 -#: commands/user.c:208 -#: commands/user.c:216 -#: commands/user.c:224 -#: commands/user.c:452 -#: commands/user.c:464 -#: commands/user.c:472 -#: commands/user.c:480 -#: commands/user.c:488 -#: commands/user.c:496 -#: commands/user.c:504 -#: commands/user.c:513 -#: commands/user.c:521 +#: commands/sequence.c:1048 commands/sequence.c:1056 commands/sequence.c:1064 +#: commands/sequence.c:1072 commands/sequence.c:1080 commands/sequence.c:1088 +#: commands/sequence.c:1096 commands/sequence.c:1104 +#: commands/functioncmds.c:452 commands/functioncmds.c:542 +#: commands/functioncmds.c:550 commands/functioncmds.c:558 commands/copy.c:746 +#: commands/copy.c:754 commands/copy.c:762 commands/copy.c:770 +#: commands/copy.c:778 commands/copy.c:786 commands/copy.c:794 +#: commands/copy.c:802 commands/copy.c:810 commands/copy.c:818 +#: commands/dbcommands.c:146 commands/dbcommands.c:154 +#: commands/dbcommands.c:162 commands/dbcommands.c:170 +#: commands/dbcommands.c:178 commands/dbcommands.c:186 +#: commands/dbcommands.c:194 commands/dbcommands.c:1350 +#: commands/dbcommands.c:1358 commands/user.c:135 commands/user.c:152 +#: commands/user.c:160 commands/user.c:168 commands/user.c:176 +#: commands/user.c:184 commands/user.c:192 commands/user.c:200 +#: commands/user.c:208 commands/user.c:216 commands/user.c:224 +#: commands/user.c:452 commands/user.c:464 commands/user.c:472 +#: commands/user.c:480 commands/user.c:488 commands/user.c:496 +#: commands/user.c:504 commands/user.c:513 commands/user.c:521 #: commands/typecmds.c:275 msgid "conflicting or redundant options" msgstr "options en conflit ou redondantes" @@ -9161,22 +8909,28 @@ #: commands/sequence.c:1207 #, c-format msgid "START value (%s) cannot be less than MINVALUE (%s)" -msgstr "la valeur START (%s) ne peut pas être plus petite que celle de MINVALUE (%s)" +msgstr "" +"la valeur START (%s) ne peut pas être plus petite que celle de MINVALUE (%s)" #: commands/sequence.c:1219 #, c-format msgid "START value (%s) cannot be greater than MAXVALUE (%s)" -msgstr "la valeur START (%s) ne peut pas être plus grande que celle de MAXVALUE (%s)" +msgstr "" +"la valeur START (%s) ne peut pas être plus grande que celle de MAXVALUE (%s)" #: commands/sequence.c:1249 #, c-format msgid "RESTART value (%s) cannot be less than MINVALUE (%s)" -msgstr "la valeur RESTART (%s) ne peut pas être plus petite que celle de MINVALUE (%s)" +msgstr "" +"la valeur RESTART (%s) ne peut pas être plus petite que celle de MINVALUE " +"(%s)" #: commands/sequence.c:1261 #, c-format msgid "RESTART value (%s) cannot be greater than MAXVALUE (%s)" -msgstr "la valeur RESTART (%s) ne peut pas être plus grande que celle de MAXVALUE (%s)" +msgstr "" +"la valeur RESTART (%s) ne peut pas être plus grande que celle de MAXVALUE " +"(%s)" #: commands/sequence.c:1276 #, c-format @@ -9193,11 +8947,15 @@ #: commands/sequence.c:1338 msgid "sequence must have same owner as table it is linked to" -msgstr "la séquence doit avoir le même propriétaire que la table avec laquelle elle est liée" +msgstr "" +"la séquence doit avoir le même propriétaire que la table avec laquelle elle " +"est liée" #: commands/sequence.c:1342 msgid "sequence must be in same schema as table it is linked to" -msgstr "la séquence doit être dans le même schéma que la table avec laquelle elle est liée" +msgstr "" +"la séquence doit être dans le même schéma que la table avec laquelle elle " +"est liée" #: commands/functioncmds.c:98 #, c-format @@ -9209,11 +8967,11 @@ msgid "return type %s is only a shell" msgstr "le type de retour %s est seulement un shell" -#: commands/functioncmds.c:132 -#: parser/parse_type.c:264 +#: commands/functioncmds.c:132 parser/parse_type.c:264 #, c-format msgid "type modifier cannot be specified for shell type \"%s\"" -msgstr "le modificateur de type ne peut pas être précisé pour le type shell « %s »" +msgstr "" +"le modificateur de type ne peut pas être précisé pour le type shell « %s »" #: commands/functioncmds.c:138 #, c-format @@ -9263,7 +9021,9 @@ #: commands/functioncmds.c:327 msgid "cannot use subquery in parameter default value" -msgstr "ne peut pas utiliser une sous-requête dans une valeur par défaut d'un paramètre" +msgstr "" +"ne peut pas utiliser une sous-requête dans une valeur par défaut d'un " +"paramètre" #: commands/functioncmds.c:331 msgid "cannot use aggregate function in parameter default value" @@ -9273,11 +9033,15 @@ #: commands/functioncmds.c:335 msgid "cannot use window function in parameter default value" -msgstr "ne peut pas utiliser la fonction window dans la valeur par défaut d'un paramètre" +msgstr "" +"ne peut pas utiliser la fonction window dans la valeur par défaut d'un " +"paramètre" #: commands/functioncmds.c:345 msgid "input parameters after one with a default value must also have defaults" -msgstr "les paramètres en entrée suivant un paramètre avec valeur par défaut doivent aussi avoir des valeurs par défaut" +msgstr "" +"les paramètres en entrée suivant un paramètre avec valeur par défaut doivent " +"aussi avoir des valeurs par défaut" #: commands/functioncmds.c:584 msgid "no function body specified" @@ -9287,13 +9051,11 @@ msgid "no language specified" msgstr "aucun langage spécifié" -#: commands/functioncmds.c:615 -#: commands/functioncmds.c:1332 +#: commands/functioncmds.c:615 commands/functioncmds.c:1332 msgid "COST must be positive" msgstr "COST doit être positif" -#: commands/functioncmds.c:623 -#: commands/functioncmds.c:1340 +#: commands/functioncmds.c:623 commands/functioncmds.c:1340 msgid "ROWS must be positive" msgstr "ROWS doit être positif" @@ -9309,19 +9071,20 @@ #: commands/functioncmds.c:807 msgid "Use CREATE LANGUAGE to load the language into the database." -msgstr "Utiliser CREATE LANGUAGE pour charger le langage dans la base de données." +msgstr "" +"Utiliser CREATE LANGUAGE pour charger le langage dans la base de données." #: commands/functioncmds.c:854 #, c-format msgid "function result type must be %s because of OUT parameters" -msgstr "le type de résultat de la fonction doit être %s à cause des paramètres OUT" +msgstr "" +"le type de résultat de la fonction doit être %s à cause des paramètres OUT" #: commands/functioncmds.c:867 msgid "function result type must be specified" msgstr "le type de résultat de la fonction doit être spécifié" -#: commands/functioncmds.c:902 -#: commands/functioncmds.c:1344 +#: commands/functioncmds.c:902 commands/functioncmds.c:1344 msgid "ROWS is not applicable when function does not return a set" msgstr "ROWS n'est pas applicable quand la fonction ne renvoie pas un ensemble" @@ -9343,15 +9106,16 @@ msgid "Use ALTER AGGREGATE to rename aggregate functions." msgstr "Utiliser ALTER AGGREGATE pour renommer les fonctions d'agrégat." -#: commands/functioncmds.c:1097 -#: commands/aggregatecmds.c:297 +#: commands/functioncmds.c:1097 commands/aggregatecmds.c:297 #, c-format msgid "function %s already exists in schema \"%s\"" msgstr "la fonction %s existe déjà dans le schéma « %s »" #: commands/functioncmds.c:1149 msgid "Use ALTER AGGREGATE to change owner of aggregate functions." -msgstr "Utiliser ALTER AGGREGATE pour changer le propriétaire des fonctions d'agrégat." +msgstr "" +"Utiliser ALTER AGGREGATE pour changer le propriétaire des fonctions " +"d'agrégat." #: commands/functioncmds.c:1495 #, c-format @@ -9363,8 +9127,7 @@ msgid "target data type %s is a pseudo-type" msgstr "le type de données cible %s est un pseudo-type" -#: commands/functioncmds.c:1509 -#: commands/functioncmds.c:1785 +#: commands/functioncmds.c:1509 commands/functioncmds.c:1785 #: commands/comment.c:1478 #, c-format msgid "must be owner of type %s or type %s" @@ -9375,21 +9138,28 @@ msgstr "la fonction de conversion doit prendre de un à trois arguments" #: commands/functioncmds.c:1544 -msgid "argument of cast function must match or be binary-coercible from source data type" +msgid "" +"argument of cast function must match or be binary-coercible from source data " +"type" msgstr "" -"l'argument de la fonction de conversion doit correspondre ou être binary-coercible\n" +"l'argument de la fonction de conversion doit correspondre ou être binary-" +"coercible\n" "à partir du type de la donnée source" #: commands/functioncmds.c:1548 msgid "second argument of cast function must be type integer" -msgstr "le second argument de la fonction de conversion doit être de type entier" +msgstr "" +"le second argument de la fonction de conversion doit être de type entier" #: commands/functioncmds.c:1552 msgid "third argument of cast function must be type boolean" -msgstr "le troisième argument de la fonction de conversion doit être de type booléen" +msgstr "" +"le troisième argument de la fonction de conversion doit être de type booléen" #: commands/functioncmds.c:1556 -msgid "return data type of cast function must match or be binary-coercible to target data type" +msgid "" +"return data type of cast function must match or be binary-coercible to " +"target data type" msgstr "" "le type de donnée en retour de la fonction de conversion doit correspondre\n" "ou être coercible binairement au type de données cible" @@ -9412,11 +9182,14 @@ #: commands/functioncmds.c:1606 msgid "must be superuser to create a cast WITHOUT FUNCTION" -msgstr "doit être super-utilisateur pour créer une fonction de conversion SANS FONCTION" +msgstr "" +"doit être super-utilisateur pour créer une fonction de conversion SANS " +"FONCTION" #: commands/functioncmds.c:1621 msgid "source and target data types are not physically compatible" -msgstr "les types de données source et cible ne sont pas physiquement compatibles" +msgstr "" +"les types de données source et cible ne sont pas physiquement compatibles" #: commands/functioncmds.c:1636 msgid "composite data types are not binary-compatible" @@ -9439,8 +9212,7 @@ msgid "cast from type %s to type %s already exists" msgstr "la conversion du type %s vers le type %s existe déjà" -#: commands/functioncmds.c:1768 -#: commands/comment.c:1466 +#: commands/functioncmds.c:1768 commands/comment.c:1466 #, c-format msgid "cast from type %s to type %s does not exist" msgstr "la conversion du type %s vers le type %s n'existe pas" @@ -9448,7 +9220,9 @@ #: commands/functioncmds.c:1773 #, c-format msgid "cast from type %s to type %s does not exist, skipping" -msgstr "la conversion du type %s vers le type %s n'existe pas, poursuite du traitement" +msgstr "" +"la conversion du type %s vers le type %s n'existe pas, poursuite du " +"traitement" #: commands/functioncmds.c:1872 #, c-format @@ -9460,9 +9234,7 @@ msgid "function \"%s\" already exists in schema \"%s\"" msgstr "la fonction « %s » existe déjà dans le schéma « %s »" -#: commands/copy.c:311 -#: commands/copy.c:323 -#: commands/copy.c:357 +#: commands/copy.c:311 commands/copy.c:323 commands/copy.c:357 #: commands/copy.c:367 msgid "COPY BINARY is not supported to stdout or from stdin" msgstr "COPY BINARY n'est pas supporté vers stdout ou à partir de stdin" @@ -9489,11 +9261,14 @@ #: commands/copy.c:565 #, c-format msgid "unexpected message type 0x%02X during COPY from stdin" -msgstr "type 0x%02X du message, inattendu, lors d'une opération COPY à partir de stdin" +msgstr "" +"type 0x%02X du message, inattendu, lors d'une opération COPY à partir de " +"stdin" #: commands/copy.c:830 msgid "cannot specify DELIMITER in BINARY mode" -msgstr "ne peut pas spécifier le délimiteur (DELIMITER) en mode binaire (BINARY)" +msgstr "" +"ne peut pas spécifier le délimiteur (DELIMITER) en mode binaire (BINARY)" #: commands/copy.c:835 msgid "cannot specify CSV in BINARY mode" @@ -9509,7 +9284,9 @@ #: commands/copy.c:869 msgid "COPY delimiter cannot be newline or carriage return" -msgstr "le délimiteur de COPY ne peut pas être un retour à la ligne ou un retour chariot" +msgstr "" +"le délimiteur de COPY ne peut pas être un retour à la ligne ou un retour " +"chariot" #: commands/copy.c:875 msgid "COPY null representation cannot use newline or carriage return" @@ -9544,7 +9321,8 @@ #: commands/copy.c:925 msgid "COPY escape must be a single one-byte character" -msgstr "le caractère d'échappement COPY doit être sur un seul caractère sur un octet" +msgstr "" +"le caractère d'échappement COPY doit être sur un seul caractère sur un octet" #: commands/copy.c:931 msgid "COPY force quote available only in CSV mode" @@ -9564,18 +9342,24 @@ #: commands/copy.c:951 msgid "COPY delimiter must not appear in the NULL specification" -msgstr "le délimiteur COPY ne doit pas apparaître dans la spécification de NULL" +msgstr "" +"le délimiteur COPY ne doit pas apparaître dans la spécification de NULL" #: commands/copy.c:958 msgid "CSV quote character must not appear in the NULL specification" -msgstr "le caractère guillemet de CSV ne doit pas apparaître dans la spécification de NULL" +msgstr "" +"le caractère guillemet de CSV ne doit pas apparaître dans la spécification " +"de NULL" #: commands/copy.c:964 msgid "must be superuser to COPY to or from a file" -msgstr "doit être super-utilisateur pour utiliser COPY à partir ou vers un fichier" +msgstr "" +"doit être super-utilisateur pour utiliser COPY à partir ou vers un fichier" #: commands/copy.c:965 -msgid "Anyone can COPY to stdout or from stdin. psql's \\copy command also works for anyone." +msgid "" +"Anyone can COPY to stdout or from stdin. psql's \\copy command also works " +"for anyone." msgstr "" "Tout le monde peut utiliser COPY vers stdout ou à partir de stdin.\n" "La commande \\copy de psql fonctionne aussi pour tout le monde." @@ -9620,7 +9404,8 @@ #: commands/copy.c:1220 #, c-format msgid "cannot copy from non-table relation \"%s\"" -msgstr "ne peut pas copier à partir de la relation « %s », qui n'est pas une table" +msgstr "" +"ne peut pas copier à partir de la relation « %s », qui n'est pas une table" #: commands/copy.c:1244 msgid "relative path not allowed for COPY to file" @@ -9631,8 +9416,7 @@ msgid "could not open file \"%s\" for writing: %m" msgstr "n'a pas pu ouvrir le fichier « %s » en écriture : %m" -#: commands/copy.c:1260 -#: commands/copy.c:1755 +#: commands/copy.c:1260 commands/copy.c:1755 #, c-format msgid "\"%s\" is a directory" msgstr "« %s » est un répertoire" @@ -9642,8 +9426,7 @@ msgid "COPY %s, line %d, column %s" msgstr "COPY %s, ligne %d, colonne %s" -#: commands/copy.c:1550 -#: commands/copy.c:1595 +#: commands/copy.c:1550 commands/copy.c:1595 #, c-format msgid "COPY %s, line %d" msgstr "COPY %s, ligne %d" @@ -9706,8 +9489,7 @@ msgid "null OID in COPY data" msgstr "OID NULL dans les données du COPY" -#: commands/copy.c:1987 -#: commands/copy.c:2059 +#: commands/copy.c:1987 commands/copy.c:2059 msgid "invalid OID in COPY data" msgstr "OID invalide dans les données du COPY" @@ -9721,25 +9503,22 @@ msgid "row field count is %d, expected %d" msgstr "le nombre de champs de la ligne est %d, %d attendus" -#: commands/copy.c:2457 -#: commands/copy.c:2474 +#: commands/copy.c:2457 commands/copy.c:2474 msgid "literal carriage return found in data" msgstr "retour chariot trouvé dans les données" -#: commands/copy.c:2458 -#: commands/copy.c:2475 +#: commands/copy.c:2458 commands/copy.c:2475 msgid "unquoted carriage return found in data" msgstr "retour chariot sans guillemet trouvé dans les données" -#: commands/copy.c:2460 -#: commands/copy.c:2477 +#: commands/copy.c:2460 commands/copy.c:2477 msgid "Use \"\\r\" to represent carriage return." msgstr "Utilisez « \\r » pour représenter un retour chariot." -#: commands/copy.c:2461 -#: commands/copy.c:2478 +#: commands/copy.c:2461 commands/copy.c:2478 msgid "Use quoted CSV field to represent carriage return." -msgstr "Utiliser le champ CSV entre guillemets pour représenter un retour chariot." +msgstr "" +"Utiliser le champ CSV entre guillemets pour représenter un retour chariot." #: commands/copy.c:2490 msgid "literal newline found in data" @@ -9750,30 +9529,25 @@ msgstr "retour à la ligne trouvé dans les données" #: commands/copy.c:2493 -msgid "" -"Use \"\\n" -"\" to represent newline." -msgstr "" -"Utilisez « \\n" -" » pour représenter un retour à la ligne." +msgid "Use \"\\n\" to represent newline." +msgstr "Utilisez « \\n » pour représenter un retour à la ligne." #: commands/copy.c:2494 msgid "Use quoted CSV field to represent newline." -msgstr "Utiliser un champ CSV entre guillemets pour représenter un retour à la ligne." +msgstr "" +"Utiliser un champ CSV entre guillemets pour représenter un retour à la ligne." -#: commands/copy.c:2540 -#: commands/copy.c:2576 +#: commands/copy.c:2540 commands/copy.c:2576 msgid "end-of-copy marker does not match previous newline style" -msgstr "le marqueur fin-de-copie ne correspond pas à un précédent style de fin de ligne" +msgstr "" +"le marqueur fin-de-copie ne correspond pas à un précédent style de fin de " +"ligne" -#: commands/copy.c:2549 -#: commands/copy.c:2565 +#: commands/copy.c:2549 commands/copy.c:2565 msgid "end-of-copy marker corrupt" msgstr "marqueur fin-de-copie corrompu" -#: commands/copy.c:2692 -#: commands/copy.c:2727 -#: commands/copy.c:2920 +#: commands/copy.c:2692 commands/copy.c:2727 commands/copy.c:2920 #: commands/copy.c:2955 msgid "extra data after last expected column" msgstr "données supplémentaires après la dernière colonne attendue" @@ -9782,8 +9556,7 @@ msgid "unterminated CSV quoted field" msgstr "champ CSV entre guillemets non terminé" -#: commands/copy.c:3079 -#: commands/copy.c:3098 +#: commands/copy.c:3079 commands/copy.c:3098 msgid "unexpected EOF in COPY data" msgstr "fin de fichier (EOF) inattendu dans les données du COPY" @@ -9795,10 +9568,10 @@ msgid "incorrect binary data format" msgstr "format de données binaires incorrect" -#: commands/cluster.c:124 -#: commands/cluster.c:472 +#: commands/cluster.c:124 commands/cluster.c:472 msgid "cannot cluster temporary tables of other sessions" -msgstr "ne peut pas exécuter CLUSTER sur les tables temporaires des autres sessions" +msgstr "" +"ne peut pas exécuter CLUSTER sur les tables temporaires des autres sessions" #: commands/cluster.c:155 #, c-format @@ -9822,34 +9595,46 @@ #: commands/cluster.c:398 #, c-format -msgid "cannot cluster on index \"%s\" because access method does not support clustering" +msgid "" +"cannot cluster on index \"%s\" because access method does not support " +"clustering" msgstr "" "ne peut pas exécuter CLUSTER sur l'index « %s » car la méthode d'accès de\n" "l'index ne gère pas cette commande" #: commands/cluster.c:418 #, c-format -msgid "cannot cluster on index \"%s\" because access method does not handle null values" +msgid "" +"cannot cluster on index \"%s\" because access method does not handle null " +"values" msgstr "" "ne peut pas créer un cluster sur l'index « %s » car la méthode d'accès de\n" "l'index ne gère pas les valeurs NULL" #: commands/cluster.c:421 #, c-format -msgid "You might be able to work around this by marking column \"%s\" NOT NULL, or use ALTER TABLE ... SET WITHOUT CLUSTER to remove the cluster specification from the table." +msgid "" +"You might be able to work around this by marking column \"%s\" NOT NULL, or " +"use ALTER TABLE ... SET WITHOUT CLUSTER to remove the cluster specification " +"from the table." msgstr "" "Vous pourriez contourner ceci en marquant la colonne « %s » avec la\n" -"contrainte NOT NULL ou en utilisant ALTER TABLE ... SET WITHOUT CLUSTER pour\n" +"contrainte NOT NULL ou en utilisant ALTER TABLE ... SET WITHOUT CLUSTER " +"pour\n" "supprimer la spécification CLUSTER de la table." #: commands/cluster.c:423 #, c-format -msgid "You might be able to work around this by marking column \"%s\" NOT NULL." -msgstr "Vous pouvez contourner ceci en marquant la colonne « %s » comme NOT NULL." +msgid "" +"You might be able to work around this by marking column \"%s\" NOT NULL." +msgstr "" +"Vous pouvez contourner ceci en marquant la colonne « %s » comme NOT NULL." #: commands/cluster.c:434 #, c-format -msgid "cannot cluster on expressional index \"%s\" because its index access method does not handle null values" +msgid "" +"cannot cluster on expressional index \"%s\" because its index access method " +"does not handle null values" msgstr "" "ne peut pas exécuter CLUSTER sur l'index à expression « %s » car sa méthode\n" "d'accès ne gère pas les valeurs NULL" @@ -9864,7 +9649,7 @@ msgid "\"%s\" is a system catalog" msgstr "« %s » est un catalogue système" -#: commands/vacuumlazy.c:269 +#: commands/vacuumlazy.c:283 #, c-format msgid "" "automatic vacuum of table \"%s.%s.%s\": index scans: %d\n" @@ -9877,31 +9662,32 @@ "lignes : %.0f supprimés, %.0f restantes\n" "utilisation système : %s" -#: commands/vacuumlazy.c:324 -#: commands/vacuum.c:1459 +#: commands/vacuumlazy.c:338 commands/vacuum.c:1459 #, c-format msgid "vacuuming \"%s.%s\"" msgstr "exécution du VACUUM sur « %s.%s »" -#: commands/vacuumlazy.c:484 -#: commands/vacuum.c:1518 +#: commands/vacuumlazy.c:498 commands/vacuum.c:1518 #, c-format msgid "relation \"%s\" page %u is uninitialized --- fixing" -msgstr "relation « %s » : la page %u n'est pas initialisée --- correction en cours" +msgstr "" +"relation « %s » : la page %u n'est pas initialisée --- correction en cours" -#: commands/vacuumlazy.c:831 +#: commands/vacuumlazy.c:849 #, c-format msgid "\"%s\": removed %.0f row versions in %u pages" msgstr "« %s » : %.0f versions de ligne supprimées parmi %u pages" -#: commands/vacuumlazy.c:836 +#: commands/vacuumlazy.c:854 #, c-format -msgid "\"%s\": found %.0f removable, %.0f nonremovable row versions in %u out of %u pages" +msgid "" +"\"%s\": found %.0f removable, %.0f nonremovable row versions in %u out of %u " +"pages" msgstr "" "« %s » : %.0f versions de ligne supprimables, %.0f non supprimables\n" "parmi %u pages sur %u" -#: commands/vacuumlazy.c:840 +#: commands/vacuumlazy.c:858 #, c-format msgid "" "%.0f dead row versions cannot be removed yet.\n" @@ -9914,33 +9700,29 @@ "%u pages sont entièrement vides.\n" "%s." -#: commands/vacuumlazy.c:898 +#: commands/vacuumlazy.c:916 #, c-format msgid "\"%s\": removed %d row versions in %d pages" msgstr "« %s »: %d versions de ligne supprimée parmi %d pages" -#: commands/vacuumlazy.c:901 -#: commands/vacuumlazy.c:994 -#: commands/vacuumlazy.c:1129 -#: commands/vacuum.c:2861 +#: commands/vacuumlazy.c:919 commands/vacuumlazy.c:1012 +#: commands/vacuumlazy.c:1147 commands/vacuum.c:2861 #, c-format msgid "%s." msgstr "%s." -#: commands/vacuumlazy.c:991 +#: commands/vacuumlazy.c:1009 #, c-format msgid "scanned index \"%s\" to remove %d row versions" msgstr "a parcouru l'index « %s » pour supprimer %d versions de lignes" -#: commands/vacuumlazy.c:1033 -#: commands/vacuum.c:3528 -#: commands/vacuum.c:3605 +#: commands/vacuumlazy.c:1051 commands/vacuum.c:3528 commands/vacuum.c:3605 #, c-format msgid "index \"%s\" now contains %.0f row versions in %u pages" -msgstr "l'index « %s » contient maintenant %.0f versions de ligne dans %u pages" +msgstr "" +"l'index « %s » contient maintenant %.0f versions de ligne dans %u pages" -#: commands/vacuumlazy.c:1037 -#: commands/vacuum.c:3609 +#: commands/vacuumlazy.c:1055 commands/vacuum.c:3609 #, c-format msgid "" "%.0f index row versions were removed.\n" @@ -9951,366 +9733,372 @@ "%u pages d'index ont été supprimées, %u sont actuellement réutilisables.\n" "%s." -#: commands/vacuumlazy.c:1126 -#: commands/vacuum.c:3435 +#: commands/vacuumlazy.c:1144 commands/vacuum.c:3435 #, c-format msgid "\"%s\": truncated %u to %u pages" msgstr "« %s » : %u pages tronqués en %u" -#: commands/dbcommands.c:200 +#: commands/dbcommands.c:201 msgid "LOCATION is not supported anymore" msgstr "LOCATION n'est plus supporté" -#: commands/dbcommands.c:201 +#: commands/dbcommands.c:202 msgid "Consider using tablespaces instead." msgstr "Considérer l'utilisation de tablespaces." -#: commands/dbcommands.c:252 -#: commands/dbcommands.c:1355 -#: commands/user.c:250 +#: commands/dbcommands.c:253 commands/dbcommands.c:1382 commands/user.c:250 #: commands/user.c:547 #, c-format msgid "invalid connection limit: %d" msgstr "limite de connexion invalide : %d" -#: commands/dbcommands.c:271 +#: commands/dbcommands.c:272 msgid "permission denied to create database" msgstr "droit refusé pour créer une base de données" -#: commands/dbcommands.c:294 +#: commands/dbcommands.c:295 #, c-format msgid "template database \"%s\" does not exist" msgstr "la base de données modèle « %s » n'existe pas" -#: commands/dbcommands.c:306 +#: commands/dbcommands.c:307 #, c-format msgid "permission denied to copy database \"%s\"" msgstr "droit refusé pour copier la base de données « %s »" -#: commands/dbcommands.c:322 +#: commands/dbcommands.c:323 #, c-format msgid "invalid server encoding %d" msgstr "encodage serveur %d invalide" -#: commands/dbcommands.c:328 -#: commands/dbcommands.c:332 +#: commands/dbcommands.c:329 commands/dbcommands.c:333 #, c-format msgid "invalid locale name %s" msgstr "nom de locale « %s » invalide" -#: commands/dbcommands.c:365 -#: commands/dbcommands.c:379 +#: commands/dbcommands.c:366 commands/dbcommands.c:380 #, c-format msgid "encoding %s does not match locale %s" msgstr "l'encodage %s ne correspond pas à la locale %s" -#: commands/dbcommands.c:368 +#: commands/dbcommands.c:369 #, c-format msgid "The chosen LC_CTYPE setting requires encoding %s." msgstr "Le paramètre LC_CTYPE choisi nécessite l'encodage %s." -#: commands/dbcommands.c:382 +#: commands/dbcommands.c:383 #, c-format msgid "The chosen LC_COLLATE setting requires encoding %s." msgstr "Le paramètre LC_COLLATE choisi nécessite l'encodage %s." -#: commands/dbcommands.c:400 +#: commands/dbcommands.c:401 #, c-format -msgid "new encoding (%s) is incompatible with the encoding of the template database (%s)" +msgid "" +"new encoding (%s) is incompatible with the encoding of the template database " +"(%s)" msgstr "" "le nouvel encodage (%sà est incompatible avec l'encodage de la base de\n" "données modèle (%s)" -#: commands/dbcommands.c:403 -msgid "Use the same encoding as in the template database, or use template0 as template." +#: commands/dbcommands.c:404 +msgid "" +"Use the same encoding as in the template database, or use template0 as " +"template." msgstr "" "Utilisez le même encodage que celui de la base de données modèle,\n" "ou utilisez template0 comme modèle." -#: commands/dbcommands.c:408 +#: commands/dbcommands.c:409 #, c-format -msgid "new collation (%s) is incompatible with the collation of the template database (%s)" +msgid "" +"new collation (%s) is incompatible with the collation of the template " +"database (%s)" msgstr "" "le nouveau tri (%s) est incompatible avec le tri de la base de\n" "données modèle (%s)" -#: commands/dbcommands.c:410 -msgid "Use the same collation as in the template database, or use template0 as template." +#: commands/dbcommands.c:411 +msgid "" +"Use the same collation as in the template database, or use template0 as " +"template." msgstr "" "Utilisez le même tri que celui de la base de données modèle,\n" "ou utilisez template0 comme modèle." -#: commands/dbcommands.c:415 +#: commands/dbcommands.c:416 #, c-format -msgid "new LC_CTYPE (%s) is incompatible with the LC_CTYPE of the template database (%s)" +msgid "" +"new LC_CTYPE (%s) is incompatible with the LC_CTYPE of the template database " +"(%s)" msgstr "" "le nouveau LC_CTYPE (%s) est incompatible avec le LC_CTYPE de la base de\n" "données modèle (%s)" -#: commands/dbcommands.c:417 -msgid "Use the same LC_CTYPE as in the template database, or use template0 as template." +#: commands/dbcommands.c:418 +msgid "" +"Use the same LC_CTYPE as in the template database, or use template0 as " +"template." msgstr "" "Utilisez le même LC_CTYPE que celui de la base de données modèle,\n" "ou utilisez template0 comme modèle." -#: commands/dbcommands.c:444 -#: commands/dbcommands.c:1060 +#: commands/dbcommands.c:445 commands/dbcommands.c:1087 msgid "pg_global cannot be used as default tablespace" msgstr "pg_global ne peut pas être utilisé comme tablespace par défaut" -#: commands/dbcommands.c:470 +#: commands/dbcommands.c:471 #, c-format msgid "cannot assign new default tablespace \"%s\"" msgstr "ne peut pas affecter un nouveau tablespace par défaut « %s »" -#: commands/dbcommands.c:472 +#: commands/dbcommands.c:473 #, c-format -msgid "There is a conflict because database \"%s\" already has some tables in this tablespace." +msgid "" +"There is a conflict because database \"%s\" already has some tables in this " +"tablespace." msgstr "" "Il existe un conflit car la base de données « %s » a déjà quelques tables\n" "dans son tablespace." -#: commands/dbcommands.c:492 -#: commands/dbcommands.c:923 +#: commands/dbcommands.c:493 commands/dbcommands.c:950 #, c-format msgid "database \"%s\" already exists" msgstr "la base de données « %s » existe déjà" -#: commands/dbcommands.c:506 +#: commands/dbcommands.c:507 #, c-format msgid "source database \"%s\" is being accessed by other users" msgstr "la base de données source « %s » est accédée par d'autres utilisateurs" -#: commands/dbcommands.c:766 +#: commands/dbcommands.c:793 #, c-format msgid "database \"%s\" does not exist, skipping" msgstr "la base de données « %s » n'existe pas, poursuite du traitement" -#: commands/dbcommands.c:787 +#: commands/dbcommands.c:814 msgid "cannot drop a template database" msgstr "ne peut pas supprimer une base de données modèle" -#: commands/dbcommands.c:793 +#: commands/dbcommands.c:820 msgid "cannot drop the currently open database" msgstr "ne peut pas supprimer la base de données actuellement ouverte" -#: commands/dbcommands.c:804 -#: commands/dbcommands.c:945 -#: commands/dbcommands.c:1082 +#: commands/dbcommands.c:831 commands/dbcommands.c:972 +#: commands/dbcommands.c:1109 #, c-format msgid "database \"%s\" is being accessed by other users" -msgstr "la base de données « %s » est en cours d'utilisation par d'autres utilisateurs" +msgstr "" +"la base de données « %s » est en cours d'utilisation par d'autres " +"utilisateurs" -#: commands/dbcommands.c:914 +#: commands/dbcommands.c:941 msgid "permission denied to rename database" msgstr "droit refusé pour le renommage de la base de données" -#: commands/dbcommands.c:934 +#: commands/dbcommands.c:961 msgid "current database cannot be renamed" msgstr "la base de données actuelle ne peut pas être renommée" -#: commands/dbcommands.c:1034 +#: commands/dbcommands.c:1061 msgid "cannot change the tablespace of the currently open database" -msgstr "ne peut pas modifier le tablespace de la base de données actuellement ouverte" +msgstr "" +"ne peut pas modifier le tablespace de la base de données actuellement ouverte" -#: commands/dbcommands.c:1122 +#: commands/dbcommands.c:1149 #, c-format msgid "some relations of database \"%s\" are already in tablespace \"%s\"" msgstr "" "certaines relations de la base de données « %s » sont déjà dans le\n" "tablespace « %s »" -#: commands/dbcommands.c:1124 -msgid "You must move them back to the database's default tablespace before using this command." +#: commands/dbcommands.c:1151 +msgid "" +"You must move them back to the database's default tablespace before using " +"this command." msgstr "" "Vous devez d'abord les déplacer dans le tablespace par défaut de la base\n" "de données avant d'utiliser cette commande." -#: commands/dbcommands.c:1254 -#: commands/dbcommands.c:1826 -#: commands/dbcommands.c:2021 -#: commands/dbcommands.c:2057 +#: commands/dbcommands.c:1281 commands/dbcommands.c:1864 +#: commands/dbcommands.c:2072 commands/dbcommands.c:2108 #, c-format msgid "some useless files may be left behind in old database directory \"%s\"" msgstr "" "certains fichiers inutiles pourraient se trouver dans l'ancien répertoire\n" "de la base de données « %s »" -#: commands/dbcommands.c:1593 +#: commands/dbcommands.c:1620 msgid "permission denied to change owner of database" msgstr "droit refusé pour modifier le propriétaire de la base de données" -#: commands/dbcommands.c:1914 +#: commands/dbcommands.c:1965 #, c-format -msgid "There are %d other session(s) and %d prepared transaction(s) using the database." -msgstr "%d autres sessions et %d transactions préparées utilisent la base de données." +msgid "" +"There are %d other session(s) and %d prepared transaction(s) using the " +"database." +msgstr "" +"%d autres sessions et %d transactions préparées utilisent la base de données." -#: commands/dbcommands.c:1917 +#: commands/dbcommands.c:1968 #, c-format msgid "There are %d other session(s) using the database." msgstr "%d autres sessions utilisent la base de données." -#: commands/dbcommands.c:1920 +#: commands/dbcommands.c:1971 #, c-format msgid "There are %d prepared transaction(s) using the database." msgstr "%d transaction(s) préparée(s) utilisent la base de données" -#: commands/indexcmds.c:147 +#: commands/indexcmds.c:148 msgid "must specify at least one column" msgstr "doit spécifier au moins une colonne" -#: commands/indexcmds.c:151 +#: commands/indexcmds.c:152 #, c-format msgid "cannot use more than %d columns in an index" msgstr "ne peut pas utiliser plus de %d colonnes dans un index" -#: commands/indexcmds.c:181 +#: commands/indexcmds.c:182 msgid "cannot create indexes on temporary tables of other sessions" -msgstr "ne peut pas créer les index sur les tables temporaires des autres sessions" +msgstr "" +"ne peut pas créer les index sur les tables temporaires des autres sessions" -#: commands/indexcmds.c:274 +#: commands/indexcmds.c:275 msgid "substituting access method \"gist\" for obsolete method \"rtree\"" msgstr "substitution de la méthode d'accès obsolète « rtree » par « gist » " -#: commands/indexcmds.c:284 -#: commands/opclasscmds.c:290 -#: commands/opclasscmds.c:682 -#: commands/opclasscmds.c:785 -#: commands/opclasscmds.c:1517 -#: commands/opclasscmds.c:1580 -#: commands/opclasscmds.c:1748 -#: commands/opclasscmds.c:1848 -#: commands/opclasscmds.c:1945 -#: commands/opclasscmds.c:2093 -#: commands/comment.c:1238 -#: commands/comment.c:1324 +#: commands/indexcmds.c:285 commands/opclasscmds.c:290 +#: commands/opclasscmds.c:682 commands/opclasscmds.c:785 +#: commands/opclasscmds.c:1517 commands/opclasscmds.c:1580 +#: commands/opclasscmds.c:1748 commands/opclasscmds.c:1848 +#: commands/opclasscmds.c:1945 commands/opclasscmds.c:2093 +#: commands/comment.c:1238 commands/comment.c:1324 #, c-format msgid "access method \"%s\" does not exist" msgstr "la méthode d'accès « %s » n'existe pas" -#: commands/indexcmds.c:293 +#: commands/indexcmds.c:294 #, c-format msgid "access method \"%s\" does not support unique indexes" msgstr "la méthode d'accès « %s » ne supporte pas les index uniques" -#: commands/indexcmds.c:298 +#: commands/indexcmds.c:299 #, c-format msgid "access method \"%s\" does not support multicolumn indexes" msgstr "la méthode d'accès « %s » ne supporte pas les index multi-colonnes" -#: commands/indexcmds.c:331 -#: parser/parse_utilcmd.c:1057 +#: commands/indexcmds.c:332 parser/parse_utilcmd.c:1057 #: parser/parse_utilcmd.c:1141 #, c-format msgid "multiple primary keys for table \"%s\" are not allowed" -msgstr "les clés primaires multiples ne sont pas autorisées pour la table « %s »" +msgstr "" +"les clés primaires multiples ne sont pas autorisées pour la table « %s »" -#: commands/indexcmds.c:348 +#: commands/indexcmds.c:349 msgid "primary keys cannot be expressions" msgstr "les clés primaires ne peuvent pas être des expressions" -#: commands/indexcmds.c:378 -#: commands/indexcmds.c:821 +#: commands/indexcmds.c:379 commands/indexcmds.c:828 #: parser/parse_utilcmd.c:1256 #, c-format msgid "column \"%s\" named in key does not exist" msgstr "la colonne « %s » nommée dans la clé n'existe pas" -#: commands/indexcmds.c:433 +#: commands/indexcmds.c:434 #, c-format msgid "%s %s will create implicit index \"%s\" for table \"%s\"" msgstr "%s %s créera un index implicite « %s » pour la table « %s »" -#: commands/indexcmds.c:762 +#: commands/indexcmds.c:769 msgid "cannot use subquery in index predicate" msgstr "ne peut pas utiliser une sous-requête dans un prédicat d'index" -#: commands/indexcmds.c:766 +#: commands/indexcmds.c:773 msgid "cannot use aggregate in index predicate" msgstr "ne peut pas utiliser un agrégat dans un prédicat d'index" -#: commands/indexcmds.c:775 +#: commands/indexcmds.c:782 msgid "functions in index predicate must be marked IMMUTABLE" -msgstr "les fonctions dans un prédicat d'index doivent être marquées comme IMMUTABLE" +msgstr "" +"les fonctions dans un prédicat d'index doivent être marquées comme IMMUTABLE" -#: commands/indexcmds.c:860 +#: commands/indexcmds.c:867 msgid "cannot use subquery in index expression" msgstr "ne peut pas utiliser la sous-requête dans l'expression de l'index" -#: commands/indexcmds.c:864 +#: commands/indexcmds.c:871 msgid "cannot use aggregate function in index expression" -msgstr "ne peut pas utiliser la fonction d'agrégat dans l'expression de l'index" +msgstr "" +"ne peut pas utiliser la fonction d'agrégat dans l'expression de l'index" -#: commands/indexcmds.c:874 +#: commands/indexcmds.c:881 msgid "functions in index expression must be marked IMMUTABLE" msgstr "" "les fonctions dans l'expression de l'index doivent être marquées comme\n" "IMMUTABLE" -#: commands/indexcmds.c:911 +#: commands/indexcmds.c:918 #, c-format msgid "access method \"%s\" does not support ASC/DESC options" msgstr "la méthode d'accès « %s » ne supporte pas les options ASC/DESC" -#: commands/indexcmds.c:916 +#: commands/indexcmds.c:923 #, c-format msgid "access method \"%s\" does not support NULLS FIRST/LAST options" msgstr "la méthode d'accès « %s » ne supporte pas les options NULLS FIRST/LAST" -#: commands/indexcmds.c:972 +#: commands/indexcmds.c:979 #, c-format msgid "data type %s has no default operator class for access method \"%s\"" msgstr "" "le type de données %s n'a pas de classe d'opérateurs par défaut pour la\n" "méthode d'accès « %s »" -#: commands/indexcmds.c:974 -msgid "You must specify an operator class for the index or define a default operator class for the data type." +#: commands/indexcmds.c:981 +msgid "" +"You must specify an operator class for the index or define a default " +"operator class for the data type." msgstr "" "Vous devez spécifier une classe d'opérateur pour l'index ou définir une\n" "classe d'opérateur par défaut pour le type de données." -#: commands/indexcmds.c:1004 -#: commands/indexcmds.c:1014 -#: commands/opclasscmds.c:1529 -#: commands/opclasscmds.c:1533 -#: commands/opclasscmds.c:1770 -#: commands/opclasscmds.c:1781 -#: commands/opclasscmds.c:1969 -#: commands/opclasscmds.c:1980 -#: commands/comment.c:1267 -#: commands/comment.c:1277 +#: commands/indexcmds.c:1011 commands/indexcmds.c:1021 +#: commands/opclasscmds.c:1529 commands/opclasscmds.c:1533 +#: commands/opclasscmds.c:1770 commands/opclasscmds.c:1781 +#: commands/opclasscmds.c:1969 commands/opclasscmds.c:1980 +#: commands/comment.c:1267 commands/comment.c:1277 #, c-format msgid "operator class \"%s\" does not exist for access method \"%s\"" -msgstr "la classe d'opérateur « %s » n'existe pas pour la méthode d'accès « %s »" +msgstr "" +"la classe d'opérateur « %s » n'existe pas pour la méthode d'accès « %s »" -#: commands/indexcmds.c:1027 +#: commands/indexcmds.c:1034 #, c-format msgid "operator class \"%s\" does not accept data type %s" msgstr "la classe d'opérateur « %s » n'accepte pas le type de données %s" -#: commands/indexcmds.c:1117 +#: commands/indexcmds.c:1124 #, c-format msgid "there are multiple default operator classes for data type %s" msgstr "" "il existe de nombreuses classes d'opérateur par défaut pour le type de\n" "données %s" -#: commands/indexcmds.c:1361 +#: commands/indexcmds.c:1368 #, c-format msgid "shared table \"%s\" can only be reindexed in stand-alone mode" msgstr "la table partagée « %s » peut seulement être réindexé en mode autonome" -#: commands/indexcmds.c:1368 +#: commands/indexcmds.c:1375 #, c-format msgid "table \"%s\" has no indexes" msgstr "la table « %s » n'a pas d'index" -#: commands/indexcmds.c:1396 +#: commands/indexcmds.c:1403 msgid "can only reindex the currently open database" msgstr "peut seulement réindexer la base de données en cours" -#: commands/indexcmds.c:1487 +#: commands/indexcmds.c:1494 #, c-format msgid "table \"%s\" was reindexed" msgstr "la table « %s » a été réindexée" @@ -10319,8 +10107,7 @@ msgid "view must have at least one column" msgstr "la vue doit avoir au moins une colonne" -#: commands/view.c:259 -#: commands/view.c:271 +#: commands/view.c:259 commands/view.c:271 msgid "cannot drop columns from view" msgstr "ne peut pas supprimer les colonnes d'une vue" @@ -10332,7 +10119,9 @@ #: commands/view.c:284 #, c-format msgid "cannot change data type of view column \"%s\" from %s to %s" -msgstr "ne peut pas modifier le type de données de la colonne « %s » de la vue de %s à %s" +msgstr "" +"ne peut pas modifier le type de données de la colonne « %s » de la vue de %s " +"à %s" #: commands/view.c:440 msgid "CREATE VIEW specifies more column names than columns" @@ -10343,39 +10132,33 @@ msgid "view \"%s\" will be a temporary view" msgstr "la vue « %s » sera une vue temporaire" -#: commands/opclasscmds.c:197 -#: commands/opclasscmds.c:715 +#: commands/opclasscmds.c:197 commands/opclasscmds.c:715 #, c-format msgid "operator family \"%s\" for access method \"%s\" already exists" -msgstr "la famille d'opérateur « %s » existe déjà pour la méthode d'accès « %s »" +msgstr "" +"la famille d'opérateur « %s » existe déjà pour la méthode d'accès « %s »" #: commands/opclasscmds.c:329 msgid "must be superuser to create an operator class" msgstr "doit être super-utilisateur pour créer une classe d'opérateur" -#: commands/opclasscmds.c:352 -#: commands/opclasscmds.c:805 -#: commands/opclasscmds.c:1592 -#: commands/opclasscmds.c:1596 -#: commands/opclasscmds.c:1870 -#: commands/opclasscmds.c:1881 -#: commands/opclasscmds.c:2117 -#: commands/opclasscmds.c:2128 -#: commands/comment.c:1353 -#: commands/comment.c:1363 +#: commands/opclasscmds.c:352 commands/opclasscmds.c:805 +#: commands/opclasscmds.c:1592 commands/opclasscmds.c:1596 +#: commands/opclasscmds.c:1870 commands/opclasscmds.c:1881 +#: commands/opclasscmds.c:2117 commands/opclasscmds.c:2128 +#: commands/comment.c:1353 commands/comment.c:1363 #, c-format msgid "operator family \"%s\" does not exist for access method \"%s\"" -msgstr "la famille d'opérateur « %s » n'existe pas pour la méthode d'accès « %s »" +msgstr "" +"la famille d'opérateur « %s » n'existe pas pour la méthode d'accès « %s »" -#: commands/opclasscmds.c:413 -#: commands/opclasscmds.c:865 +#: commands/opclasscmds.c:413 commands/opclasscmds.c:865 #: commands/opclasscmds.c:987 #, c-format msgid "invalid operator number %d, must be between 1 and %d" msgstr "numéro d'opérateur %d invalide, doit être compris entre 1 et %d" -#: commands/opclasscmds.c:456 -#: commands/opclasscmds.c:908 +#: commands/opclasscmds.c:456 commands/opclasscmds.c:908 #: commands/opclasscmds.c:1002 #, c-format msgid "invalid procedure number %d, must be between 1 and %d" @@ -10387,7 +10170,8 @@ #: commands/opclasscmds.c:514 #, c-format -msgid "storage type cannot be different from data type for access method \"%s\"" +msgid "" +"storage type cannot be different from data type for access method \"%s\"" msgstr "" "le type de stockage ne peut pas être différent du type de données pour la\n" "méthode d'accès « %s »" @@ -10395,12 +10179,14 @@ #: commands/opclasscmds.c:531 #, c-format msgid "operator class \"%s\" for access method \"%s\" already exists" -msgstr "la classe d'opérateur « %s » existe déjà pour la méthode d'accès « %s »" +msgstr "" +"la classe d'opérateur « %s » existe déjà pour la méthode d'accès « %s »" #: commands/opclasscmds.c:559 #, c-format msgid "could not make operator class \"%s\" be default for type %s" -msgstr "n'a pas pu rendre la classe d'opérateur « %s » par défaut pour le type %s" +msgstr "" +"n'a pas pu rendre la classe d'opérateur « %s » par défaut pour le type %s" #: commands/opclasscmds.c:562 #, c-format @@ -10491,14 +10277,18 @@ #: commands/opclasscmds.c:1802 #, c-format -msgid "operator class \"%s\" for access method \"%s\" already exists in schema \"%s\"" +msgid "" +"operator class \"%s\" for access method \"%s\" already exists in schema \"%s" +"\"" msgstr "" "la classe d'opérateur « %s » de la méthode d'accès « %s » existe déjà dans\n" "le schéma « %s »" #: commands/opclasscmds.c:1902 #, c-format -msgid "operator family \"%s\" for access method \"%s\" already exists in schema \"%s\"" +msgid "" +"operator family \"%s\" for access method \"%s\" already exists in schema \"%s" +"\"" msgstr "" "la famille d'opérateur « %s » de la méthode d'accès « %s » existe déjà dans\n" "le schéma « %s »" @@ -10520,8 +10310,7 @@ msgid "must be member of role \"%s\" to comment upon it" msgstr "doit être un membre du rôle « %s » pour le commenter" -#: commands/comment.c:727 -#: commands/schemacmds.c:178 +#: commands/comment.c:727 commands/schemacmds.c:178 msgid "schema name cannot be qualified" msgstr "le nom du schéma ne peut pas être qualifié" @@ -10539,17 +10328,13 @@ msgid "Specify a relation name as well as a rule name." msgstr "Spécifier un nom de relation ainsi qu'un nom de règle." -#: commands/comment.c:841 -#: rewrite/rewriteRemove.c:63 -#: rewrite/rewriteDefine.c:689 -#: rewrite/rewriteDefine.c:752 +#: commands/comment.c:841 rewrite/rewriteRemove.c:63 +#: rewrite/rewriteDefine.c:689 rewrite/rewriteDefine.c:752 #, c-format msgid "rule \"%s\" for relation \"%s\" does not exist" msgstr "la règle « %s » de la relation « %s » n'existe pas" -#: commands/comment.c:1036 -#: commands/trigger.c:738 -#: commands/trigger.c:938 +#: commands/comment.c:1036 commands/trigger.c:738 commands/trigger.c:938 #: commands/trigger.c:1049 #, c-format msgid "trigger \"%s\" for table \"%s\" does not exist" @@ -10575,10 +10360,8 @@ "doit être super-utilisateur pour ajouter un commentaire sur un langage de\n" "procédures" -#: commands/comment.c:1423 -#: storage/large_object/inv_api.c:266 -#: storage/large_object/inv_api.c:371 -#: catalog/pg_largeobject.c:107 +#: commands/comment.c:1423 storage/large_object/inv_api.c:255 +#: storage/large_object/inv_api.c:379 catalog/pg_largeobject.c:107 #, c-format msgid "large object %u does not exist" msgstr "le « Large Object » %u n'existe pas" @@ -10595,10 +10378,8 @@ "doit être super-utilisateur pour ajouter un commentaire sur un modèle de\n" "recherche plein texte" -#: commands/tablespace.c:146 -#: commands/tablespace.c:154 -#: commands/tablespace.c:160 -#: storage/file/copydir.c:60 +#: commands/tablespace.c:146 commands/tablespace.c:154 +#: commands/tablespace.c:160 storage/file/copydir.c:60 #, c-format msgid "could not create directory \"%s\": %m" msgstr "n'a pas pu créer le répertoire « %s » : %m" @@ -10635,25 +10416,21 @@ msgid "tablespace location \"%s\" is too long" msgstr "le chemin du tablespace « %s » est trop long" -#: commands/tablespace.c:259 -#: commands/tablespace.c:786 +#: commands/tablespace.c:259 commands/tablespace.c:786 #, c-format msgid "unacceptable tablespace name \"%s\"" msgstr "nom inacceptable pour le tablespace « %s »" -#: commands/tablespace.c:261 -#: commands/tablespace.c:787 +#: commands/tablespace.c:261 commands/tablespace.c:787 msgid "The prefix \"pg_\" is reserved for system tablespaces." msgstr "Le préfixe « pg_ » est réservé pour les tablespaces système." -#: commands/tablespace.c:271 -#: commands/tablespace.c:799 +#: commands/tablespace.c:271 commands/tablespace.c:799 #, c-format msgid "tablespace \"%s\" already exists" msgstr "le tablespace « %s » existe déjà" -#: commands/tablespace.c:309 -#: commands/tablespace.c:1312 +#: commands/tablespace.c:309 commands/tablespace.c:1312 #, c-format msgid "could not set permissions on directory \"%s\": %m" msgstr "n'a pas pu configurer les droits du répertoire « %s » : %m" @@ -10663,14 +10440,12 @@ msgid "directory \"%s\" is not empty" msgstr "le répertoire « %s » n'est pas vide" -#: commands/tablespace.c:339 -#: commands/tablespace.c:1327 +#: commands/tablespace.c:339 commands/tablespace.c:1327 #, c-format msgid "could not create symbolic link \"%s\": %m" msgstr "n'a pas pu créer le lien symbolique « %s » : %m" -#: commands/tablespace.c:377 -#: commands/tablespace.c:529 +#: commands/tablespace.c:377 commands/tablespace.c:529 msgid "tablespaces are not supported on this platform" msgstr "les tablespaces ne sont pas supportés sur cette plateforme" @@ -10684,8 +10459,7 @@ msgid "tablespace \"%s\" is not empty" msgstr "le tablespace « %s » n'est pas vide" -#: commands/tablespace.c:611 -#: commands/tablespace.c:648 +#: commands/tablespace.c:611 commands/tablespace.c:648 #, c-format msgid "could not remove directory \"%s\": %m" msgstr "n'a pas pu supprimer le répertoire « %s » : %m" @@ -10700,14 +10474,12 @@ msgid "tablespace %u is not empty" msgstr "le tablespace %u n'est pas vide" -#: commands/schemacmds.c:82 -#: commands/schemacmds.c:293 +#: commands/schemacmds.c:82 commands/schemacmds.c:293 #, c-format msgid "unacceptable schema name \"%s\"" msgstr "nom de schéma « %s » inacceptable" -#: commands/schemacmds.c:83 -#: commands/schemacmds.c:294 +#: commands/schemacmds.c:83 commands/schemacmds.c:294 msgid "The prefix \"pg_\" is reserved for system schemas." msgstr "Le préfixe « pg_ » est réservé pour les schémas système." @@ -10716,19 +10488,17 @@ msgid "schema \"%s\" does not exist, skipping" msgstr "le schéma « %s » n'existe pas, poursuite du traitement" -#: commands/schemacmds.c:277 -#: catalog/pg_namespace.c:52 +#: commands/schemacmds.c:277 catalog/pg_namespace.c:52 #, c-format msgid "schema \"%s\" already exists" msgstr "le schéma « %s » existe déjà" -#: commands/portalcmds.c:61 -#: commands/portalcmds.c:160 +#: commands/portalcmds.c:61 commands/portalcmds.c:160 #: commands/portalcmds.c:212 msgid "invalid cursor name: must not be empty" msgstr "nom de curseur invalide : il ne doit pas être vide" -#: commands/portalcmds.c:402 +#: commands/portalcmds.c:404 msgid "could not reposition held cursor" msgstr "n'a pas pu repositionner le curseur détenu" @@ -10751,7 +10521,9 @@ #: commands/aggregatecmds.c:159 msgid "basetype is redundant with aggregate input type specification" -msgstr "le type de base est redondant avec la spécification du type en entrée de l'agrégat" +msgstr "" +"le type de base est redondant avec la spécification du type en entrée de " +"l'agrégat" #: commands/aggregatecmds.c:191 #, c-format @@ -10775,27 +10547,22 @@ msgid "permission denied to create role" msgstr "droit refusé pour créer un rôle" -#: commands/user.c:281 -#: commands/user.c:1066 +#: commands/user.c:281 commands/user.c:1066 #, c-format msgid "role name \"%s\" is reserved" msgstr "le nom du rôle « %s » est réservé" -#: commands/user.c:297 -#: commands/user.c:1060 +#: commands/user.c:297 commands/user.c:1060 #, c-format msgid "role \"%s\" already exists" msgstr "le rôle « %s » existe déjà" -#: commands/user.c:579 -#: commands/user.c:759 -#: commands/user.c:1312 +#: commands/user.c:579 commands/user.c:759 commands/user.c:1312 #: commands/user.c:1451 msgid "must be superuser to alter superusers" msgstr "doit être super-utilisateur pour modifier des super-utilisateurs" -#: commands/user.c:594 -#: commands/user.c:767 +#: commands/user.c:594 commands/user.c:767 msgid "permission denied" msgstr "droit refusé" @@ -10808,8 +10575,7 @@ msgid "role \"%s\" does not exist, skipping" msgstr "le rôle « %s » n'existe pas, poursuite du traitement" -#: commands/user.c:896 -#: commands/user.c:900 +#: commands/user.c:896 commands/user.c:900 msgid "current user cannot be dropped" msgstr "l'utilisateur actuel ne peut pas être supprimé" @@ -10824,7 +10590,8 @@ #: commands/user.c:928 #, c-format msgid "role \"%s\" cannot be dropped because some objects depend on it" -msgstr "le rôle « %s » ne peut pas être supprimé car d'autres objets en dépendent" +msgstr "" +"le rôle « %s » ne peut pas être supprimé car d'autres objets en dépendent" #: commands/user.c:1048 msgid "session user cannot be renamed" @@ -10854,13 +10621,11 @@ msgid "permission denied to drop objects" msgstr "droit refusé pour supprimer les objets" -#: commands/user.c:1238 -#: commands/user.c:1247 +#: commands/user.c:1238 commands/user.c:1247 msgid "permission denied to reassign objects" msgstr "droit refusé pour ré-affecter les objets" -#: commands/user.c:1320 -#: commands/user.c:1459 +#: commands/user.c:1320 commands/user.c:1459 #, c-format msgid "must have admin option on role \"%s\"" msgstr "doit avoir l'option admin sur le rôle « %s »" @@ -10884,8 +10649,7 @@ msgid "role \"%s\" is not a member of role \"%s\"" msgstr "le rôle « %s » n'est pas un membre du rôle « %s »" -#: commands/foreigncmds.c:132 -#: commands/foreigncmds.c:141 +#: commands/foreigncmds.c:132 commands/foreigncmds.c:141 #, c-format msgid "option \"%s\" not found" msgstr "option « %s » non trouvé" @@ -10895,11 +10659,12 @@ msgid "option \"%s\" provided more than once" msgstr "option « %s » fournie plus d'une fois" -#: commands/foreigncmds.c:211 -#: commands/foreigncmds.c:219 +#: commands/foreigncmds.c:211 commands/foreigncmds.c:219 #, c-format msgid "permission denied to change owner of foreign-data wrapper \"%s\"" -msgstr "droit refusé pour modifier le propriétaire du wrapper de données distantes « %s »" +msgstr "" +"droit refusé pour modifier le propriétaire du wrapper de données distantes « " +"%s »" #: commands/foreigncmds.c:213 msgid "Must be superuser to change owner of a foreign-data wrapper." @@ -10909,20 +10674,18 @@ #: commands/foreigncmds.c:221 msgid "The owner of a foreign-data wrapper must be a superuser." -msgstr "Le propriétaire du wrapper de données distantes doit être un super-utilisateur." +msgstr "" +"Le propriétaire du wrapper de données distantes doit être un super-" +"utilisateur." -#: commands/foreigncmds.c:230 -#: commands/foreigncmds.c:459 -#: commands/foreigncmds.c:557 -#: foreign/foreign.c:94 +#: commands/foreigncmds.c:230 commands/foreigncmds.c:459 +#: commands/foreigncmds.c:557 foreign/foreign.c:94 #, c-format msgid "foreign-data wrapper \"%s\" does not exist" msgstr "le wrapper de données distantes « %s » n'existe pas" -#: commands/foreigncmds.c:274 -#: commands/foreigncmds.c:732 -#: commands/foreigncmds.c:819 -#: commands/foreigncmds.c:1100 +#: commands/foreigncmds.c:274 commands/foreigncmds.c:732 +#: commands/foreigncmds.c:819 commands/foreigncmds.c:1100 #: foreign/foreign.c:187 #, c-format msgid "server \"%s\" does not exist" @@ -10935,7 +10698,8 @@ #: commands/foreigncmds.c:355 msgid "Must be superuser to create a foreign-data wrapper." -msgstr "Doit être super-utilisateur pour créer un wrapper de données distantes." +msgstr "" +"Doit être super-utilisateur pour créer un wrapper de données distantes." #: commands/foreigncmds.c:366 #, c-format @@ -10949,10 +10713,13 @@ #: commands/foreigncmds.c:450 msgid "Must be superuser to alter a foreign-data wrapper." -msgstr "Doit être super-utilisateur pour modifier un wrapper de données distantes" +msgstr "" +"Doit être super-utilisateur pour modifier un wrapper de données distantes" #: commands/foreigncmds.c:479 -msgid "changing the foreign-data wrapper validator can cause the options for dependent objects to become invalid" +msgid "" +"changing the foreign-data wrapper validator can cause the options for " +"dependent objects to become invalid" msgstr "" "la modification du validateur du wrapper de données distantes peut faire en\n" "sorte que les options des objets dépendants deviennent invalides" @@ -10964,12 +10731,14 @@ #: commands/foreigncmds.c:550 msgid "Must be superuser to drop a foreign-data wrapper." -msgstr "Doit être super-utilisateur pour supprimer un wrapper de données distantes." +msgstr "" +"Doit être super-utilisateur pour supprimer un wrapper de données distantes." #: commands/foreigncmds.c:562 #, c-format msgid "foreign-data wrapper \"%s\" does not exist, skipping" -msgstr "le wrapper de données distantes « %s » n'existe pas, poursuite du traitement" +msgstr "" +"le wrapper de données distantes « %s » n'existe pas, poursuite du traitement" #: commands/foreigncmds.c:633 #, c-format @@ -10984,10 +10753,10 @@ #: commands/foreigncmds.c:931 #, c-format msgid "user mapping \"%s\" already exists for server %s" -msgstr "la correspondance utilisateur « %s » existe déjà dans le serveur « %s »" +msgstr "" +"la correspondance utilisateur « %s » existe déjà dans le serveur « %s »" -#: commands/foreigncmds.c:1010 -#: commands/foreigncmds.c:1117 +#: commands/foreigncmds.c:1010 commands/foreigncmds.c:1117 #, c-format msgid "user mapping \"%s\" does not exist for the server" msgstr "la correspondance utilisateur « %s » n'existe pas pour le serveur" @@ -11000,7 +10769,8 @@ #, c-format msgid "user mapping \"%s\" does not exist for the server, skipping" msgstr "" -"la correspondance utilisateur « %s » n'existe pas pour le serveur, poursuite\n" +"la correspondance utilisateur « %s » n'existe pas pour le serveur, " +"poursuite\n" "du traitement" #: commands/vacuum.c:650 @@ -11034,7 +10804,8 @@ #, c-format msgid "skipping \"%s\" --- only superuser or database owner can vacuum it" msgstr "" -"ignore « %s » --- seul le super-utilisateur ou le propriétaire de la base de données\n" +"ignore « %s » --- seul le super-utilisateur ou le propriétaire de la base de " +"données\n" "peuvent exécuter un VACUUM" #: commands/vacuum.c:1190 @@ -11046,43 +10817,51 @@ #: commands/vacuum.c:1207 #, c-format -msgid "skipping \"%s\" --- cannot vacuum indexes, views, or special system tables" +msgid "" +"skipping \"%s\" --- cannot vacuum indexes, views, or special system tables" msgstr "" "ignore « %s » --- n'a pas pu exécuter un VACUUM sur les index, vues ou\n" "tables système" -#: commands/vacuum.c:1630 -#: commands/vacuum.c:1695 +#: commands/vacuum.c:1630 commands/vacuum.c:1695 #, c-format -msgid "relation \"%s\" TID %u/%u: XMIN_COMMITTED not set for transaction %u --- cannot shrink relation" +msgid "" +"relation \"%s\" TID %u/%u: XMIN_COMMITTED not set for transaction %u --- " +"cannot shrink relation" msgstr "" "relation « %s », TID %u/%u : XMIN_COMMITTED non configuré pour la\n" "transaction %u --- n'a pas pu diminuer la taille de la relation" #: commands/vacuum.c:1663 #, c-format -msgid "relation \"%s\" TID %u/%u: dead HOT-updated tuple --- cannot shrink relation" +msgid "" +"relation \"%s\" TID %u/%u: dead HOT-updated tuple --- cannot shrink relation" msgstr "" "relation « %s », TID %u/%u : ligne morte mise à jour par HOT --- n'a pas pu\n" "diminuer la taille de la relation" #: commands/vacuum.c:1734 #, c-format -msgid "relation \"%s\" TID %u/%u: InsertTransactionInProgress %u --- cannot shrink relation" +msgid "" +"relation \"%s\" TID %u/%u: InsertTransactionInProgress %u --- cannot shrink " +"relation" msgstr "" "relation « %s », TID %u/%u : InsertTransactionInProgress %u --- n'a pas pu\n" "diminuer la taille de la relation" #: commands/vacuum.c:1751 #, c-format -msgid "relation \"%s\" TID %u/%u: DeleteTransactionInProgress %u --- cannot shrink relation" +msgid "" +"relation \"%s\" TID %u/%u: DeleteTransactionInProgress %u --- cannot shrink " +"relation" msgstr "" "relation « %s », TID %u/%u : DeleteTransactionInProgress %u --- n'a pas pu\n" "diminuer la taille de la relation" #: commands/vacuum.c:1939 #, c-format -msgid "\"%s\": found %.0f removable, %.0f nonremovable row versions in %u pages" +msgid "" +"\"%s\": found %.0f removable, %.0f nonremovable row versions in %u pages" msgstr "" "« %s » : %.0f versions de ligne supprimables, %.0f non supprimables\n" "parmi %u pages" @@ -11123,16 +10902,15 @@ "%u pages d'index ont été supprimées, %u sont actuellement réutilisables.\n" "%s." -#: commands/vacuum.c:3547 -#: commands/vacuum.c:3626 +#: commands/vacuum.c:3547 commands/vacuum.c:3626 #, c-format -msgid "index \"%s\" contains %.0f row versions, but table contains %.0f row versions" +msgid "" +"index \"%s\" contains %.0f row versions, but table contains %.0f row versions" msgstr "" "l'index « %s » contient %.0f versions de ligne, mais la table contient %.0f\n" "versions de ligne" -#: commands/vacuum.c:3550 -#: commands/vacuum.c:3629 +#: commands/vacuum.c:3550 commands/vacuum.c:3629 msgid "Rebuild the index with REINDEX." msgstr "Reconstruisez l'index avec REINDEX." @@ -11149,15 +10927,15 @@ #: commands/trigger.c:178 #, c-format msgid "changing return type of function %s from \"opaque\" to \"trigger\"" -msgstr "changement du type de retour de la fonction %s de « opaque » vers « trigger »" +msgstr "" +"changement du type de retour de la fonction %s de « opaque » vers « trigger »" #: commands/trigger.c:185 #, c-format msgid "function %s must return type \"trigger\"" msgstr "la fonction %s doit renvoyer le type « trigger »" -#: commands/trigger.c:263 -#: commands/trigger.c:896 +#: commands/trigger.c:263 commands/trigger.c:896 #, c-format msgid "trigger \"%s\" for relation \"%s\" already exists" msgstr "le trigger « %s » de la relation « %s » existe déjà" @@ -11174,8 +10952,7 @@ msgid "Found referencing table's trigger." msgstr "Trigger de la table référencée trouvé." -#: commands/trigger.c:576 -#: commands/trigger.c:592 +#: commands/trigger.c:576 commands/trigger.c:592 #, c-format msgid "ignoring incomplete trigger group for constraint \"%s\" %s" msgstr "ignore le groupe de trigger incomplet pour la contrainte « %s » %s" @@ -11188,7 +10965,8 @@ #: commands/trigger.c:742 #, c-format msgid "trigger \"%s\" for table \"%s\" does not exist, skipping" -msgstr "le trigger « %s » pour la table « %s » n'existe pas, poursuite du traitement" +msgstr "" +"le trigger « %s » pour la table « %s » n'existe pas, poursuite du traitement" #: commands/trigger.c:1017 #, c-format @@ -11200,26 +10978,21 @@ msgid "trigger function %u returned null value" msgstr "la fonction trigger %u a renvoyé la valeur NULL" -#: commands/trigger.c:1635 -#: commands/trigger.c:1766 -#: commands/trigger.c:1914 +#: commands/trigger.c:1635 commands/trigger.c:1766 commands/trigger.c:1914 #: commands/trigger.c:2097 msgid "BEFORE STATEMENT trigger cannot return a value" msgstr "le trigger BEFORE STATEMENT ne peut pas renvoyer une valeur" -#: commands/trigger.c:2154 -#: executor/execMain.c:1638 -#: executor/execMain.c:1950 +#: commands/trigger.c:2154 executor/execMain.c:1638 executor/execMain.c:1950 #: executor/execMain.c:2112 msgid "could not serialize access due to concurrent update" msgstr "n'a pas pu sérialiser un accès à cause d'une mise à jour en parallèle" -#: commands/trigger.c:3579 -#: catalog/namespace.c:229 -#: catalog/namespace.c:303 +#: commands/trigger.c:3579 catalog/namespace.c:229 catalog/namespace.c:303 #, c-format msgid "cross-database references are not implemented: \"%s.%s.%s\"" -msgstr "les références entre bases de données ne sont pas implémentées : « %s.%s.%s »" +msgstr "" +"les références entre bases de données ne sont pas implémentées : « %s.%s.%s »" #: commands/trigger.c:3673 #, c-format @@ -11231,8 +11004,7 @@ msgid "constraint \"%s\" does not exist" msgstr "la contrainte « %s » n'existe pas" -#: commands/operatorcmds.c:110 -#: commands/operatorcmds.c:118 +#: commands/operatorcmds.c:110 commands/operatorcmds.c:118 msgid "SETOF type not allowed for operator argument" msgstr "type SETOF non autorisé pour l'argument de l'opérateur" @@ -11253,7 +11025,8 @@ #, c-format msgid "restriction estimator function %s must return type \"float8\"" msgstr "" -"la fonction d'estimation de la restriction, de nom %s, doit renvoyer le type\n" +"la fonction d'estimation de la restriction, de nom %s, doit renvoyer le " +"type\n" "« float8 »" #: commands/operatorcmds.c:255 @@ -11272,12 +11045,8 @@ msgid "must be superuser to create a base type" msgstr "doit être super-utilisateur pour créer un type de base" -#: commands/typecmds.c:219 -#: commands/typecmds.c:796 -#: commands/typecmds.c:1122 -#: catalog/pg_type.c:379 -#: catalog/pg_type.c:656 -#: catalog/heap.c:918 +#: commands/typecmds.c:219 commands/typecmds.c:796 commands/typecmds.c:1122 +#: catalog/pg_type.c:379 catalog/pg_type.c:656 catalog/heap.c:918 #, c-format msgid "type \"%s\" already exists" msgstr "le type « %s » existe déjà" @@ -11316,7 +11085,9 @@ msgstr "le type de sortie de la fonction doit être spécifié" #: commands/typecmds.c:408 -msgid "type modifier output function is useless without a type modifier input function" +msgid "" +"type modifier output function is useless without a type modifier input " +"function" msgstr "" "la fonction en sortie du modificateur de type est inutile sans une fonction\n" "en entrée du modificateur de type" @@ -11334,7 +11105,8 @@ #: commands/typecmds.c:448 #, c-format msgid "changing return type of function %s from \"opaque\" to \"cstring\"" -msgstr "changement du type de retour de la fonction %s d'« opaque » vers « cstring »" +msgstr "" +"changement du type de retour de la fonction %s d'« opaque » vers « cstring »" #: commands/typecmds.c:455 #, c-format @@ -11351,8 +11123,7 @@ msgid "type send function %s must return type \"bytea\"" msgstr "la fonction send du type %s doit renvoyer le type « bytea »" -#: commands/typecmds.c:675 -#: commands/typecmds.c:2165 +#: commands/typecmds.c:675 commands/typecmds.c:2165 #, c-format msgid "\"%s\" is not a domain" msgstr "« %s » n'est pas un domaine" @@ -11362,8 +11133,7 @@ msgid "\"%s\" is not a valid base type for a domain" msgstr "« %s » n'est pas un type de base valide pour un domaine" -#: commands/typecmds.c:877 -#: commands/typecmds.c:1856 +#: commands/typecmds.c:877 commands/typecmds.c:1856 msgid "foreign key constraints not possible for domains" msgstr "contraintes de clé étrangère impossible pour les domaines" @@ -11371,40 +11141,32 @@ msgid "multiple default expressions" msgstr "multiples expressions par défaut" -#: commands/typecmds.c:961 -#: commands/typecmds.c:970 +#: commands/typecmds.c:961 commands/typecmds.c:970 msgid "conflicting NULL/NOT NULL constraints" msgstr "contraintes NULL/NOT NULL en conflit" -#: commands/typecmds.c:989 -#: commands/typecmds.c:1874 +#: commands/typecmds.c:989 commands/typecmds.c:1874 msgid "unique constraints not possible for domains" msgstr "contraintes uniques impossible pour les domaines" -#: commands/typecmds.c:995 -#: commands/typecmds.c:1880 +#: commands/typecmds.c:995 commands/typecmds.c:1880 msgid "primary key constraints not possible for domains" msgstr "contraintes de clé primaire impossible pour les domaines" -#: commands/typecmds.c:1004 -#: commands/typecmds.c:1889 +#: commands/typecmds.c:1004 commands/typecmds.c:1889 msgid "specifying constraint deferrability not supported for domains" -msgstr "spécifier des contraintes déferrantes n'est pas supporté par les domaines" +msgstr "" +"spécifier des contraintes déferrantes n'est pas supporté par les domaines" #: commands/typecmds.c:1256 #, c-format msgid "changing argument type of function %s from \"opaque\" to \"cstring\"" -msgstr "changement du type d'argument de la fonction %s d'« opaque » à « cstring »" +msgstr "" +"changement du type d'argument de la fonction %s d'« opaque » à « cstring »" -#: commands/typecmds.c:1274 -#: commands/typecmds.c:1325 -#: commands/typecmds.c:1356 -#: commands/typecmds.c:1379 -#: commands/typecmds.c:1400 -#: commands/typecmds.c:1427 -#: commands/typecmds.c:1454 -#: catalog/pg_aggregate.c:332 -#: parser/parse_func.c:242 +#: commands/typecmds.c:1274 commands/typecmds.c:1325 commands/typecmds.c:1356 +#: commands/typecmds.c:1379 commands/typecmds.c:1400 commands/typecmds.c:1427 +#: commands/typecmds.c:1454 catalog/pg_aggregate.c:332 parser/parse_func.c:242 #: parser/parse_func.c:1300 #, c-format msgid "function %s does not exist" @@ -11441,65 +11203,58 @@ #: commands/typecmds.c:1960 #, c-format -msgid "column \"%s\" of table \"%s\" contains values that violate the new constraint" +msgid "" +"column \"%s\" of table \"%s\" contains values that violate the new constraint" msgstr "" "la colonne « %s » de la table « %s » contient des valeurs violant la\n" "nouvelle contrainte" -#: commands/typecmds.c:2199 -#: catalog/pg_constraint.c:622 +#: commands/typecmds.c:2199 catalog/pg_constraint.c:622 #, c-format msgid "constraint \"%s\" for domain \"%s\" already exists" msgstr "la contrainte « %s » du domaine « %s » existe déjà" -#: commands/typecmds.c:2241 -#: commands/typecmds.c:2250 +#: commands/typecmds.c:2241 commands/typecmds.c:2250 msgid "cannot use table references in domain check constraint" msgstr "" "ne peut pas utiliser les références de table dans la contrainte de\n" "vérification du domaine" -#: commands/typecmds.c:2258 -#: catalog/heap.c:2256 +#: commands/typecmds.c:2258 catalog/heap.c:2256 msgid "cannot use subquery in check constraint" -msgstr "ne peut pas utiliser une sous-requête dans la contrainte de vérification" +msgstr "" +"ne peut pas utiliser une sous-requête dans la contrainte de vérification" -#: commands/typecmds.c:2262 -#: catalog/heap.c:2260 +#: commands/typecmds.c:2262 catalog/heap.c:2260 msgid "cannot use aggregate function in check constraint" -msgstr "ne peut pas utiliser une fonction d'aggrégat dans une contrainte de vérification" +msgstr "" +"ne peut pas utiliser une fonction d'aggrégat dans une contrainte de " +"vérification" -#: commands/typecmds.c:2266 -#: catalog/heap.c:2264 +#: commands/typecmds.c:2266 catalog/heap.c:2264 msgid "cannot use window function in check constraint" -msgstr "ne peut pas utiliser une fonction window dans une contrainte de vérification" +msgstr "" +"ne peut pas utiliser une fonction window dans une contrainte de vérification" -#: commands/typecmds.c:2482 -#: commands/typecmds.c:2554 -#: commands/typecmds.c:2790 +#: commands/typecmds.c:2482 commands/typecmds.c:2554 commands/typecmds.c:2790 #, c-format msgid "%s is a table's row type" msgstr "« %s » est du type ligne de table" -#: commands/typecmds.c:2484 -#: commands/typecmds.c:2556 -#: commands/typecmds.c:2792 +#: commands/typecmds.c:2484 commands/typecmds.c:2556 commands/typecmds.c:2792 msgid "Use ALTER TABLE instead." msgstr "Utilisez ALTER TABLE à la place." -#: commands/typecmds.c:2491 -#: commands/typecmds.c:2563 -#: commands/typecmds.c:2704 +#: commands/typecmds.c:2491 commands/typecmds.c:2563 commands/typecmds.c:2704 #, c-format msgid "cannot alter array type %s" msgstr "ne peut pas modifier le type array %s" -#: commands/typecmds.c:2493 -#: commands/typecmds.c:2565 -#: commands/typecmds.c:2706 +#: commands/typecmds.c:2493 commands/typecmds.c:2565 commands/typecmds.c:2706 #, c-format msgid "You can alter type %s, which will alter the array type as well." -msgstr "Vous pouvez modifier le type %s, ce qui va modifier aussi le type tableau." +msgstr "" +"Vous pouvez modifier le type %s, ce qui va modifier aussi le type tableau." #: commands/typecmds.c:2753 #, c-format @@ -11511,15 +11266,16 @@ msgid "type \"%s\" already exists in schema \"%s\"" msgstr "le type « %s » existe déjà dans le schéma « %s »" -#: commands/tsearchcmds.c:109 -#: commands/tsearchcmds.c:947 +#: commands/tsearchcmds.c:109 commands/tsearchcmds.c:947 #, c-format msgid "function %s should return type %s" msgstr "la fonction %s doit renvoyer le type %s" #: commands/tsearchcmds.c:178 msgid "must be superuser to create text search parsers" -msgstr "doit être super-utilisateur pour créer des analyseurs de recherche plein texte" +msgstr "" +"doit être super-utilisateur pour créer des analyseurs de recherche plein " +"texte" #: commands/tsearchcmds.c:226 #, c-format @@ -11532,7 +11288,8 @@ #: commands/tsearchcmds.c:241 msgid "text search parser gettoken method is required" -msgstr "la méthode gettoken de l'analyseur de recherche plein texte est requise" +msgstr "" +"la méthode gettoken de l'analyseur de recherche plein texte est requise" #: commands/tsearchcmds.c:246 msgid "text search parser end method is required" @@ -11540,16 +11297,17 @@ #: commands/tsearchcmds.c:251 msgid "text search parser lextypes method is required" -msgstr "la méthode lextypes de l'analyseur de recherche plein texte est requise" +msgstr "" +"la méthode lextypes de l'analyseur de recherche plein texte est requise" #: commands/tsearchcmds.c:283 msgid "must be superuser to drop text search parsers" msgstr "" -"doit être super-utilisateur pour supprimer des analyseurs de recherche plein\n" +"doit être super-utilisateur pour supprimer des analyseurs de recherche " +"plein\n" "texte" -#: commands/tsearchcmds.c:306 -#: catalog/namespace.c:1575 +#: commands/tsearchcmds.c:306 catalog/namespace.c:1575 #, c-format msgid "text search parser \"%s\" does not exist" msgstr "l'analyseur de recherche plein texte « %s » n'existe pas" @@ -11586,8 +11344,7 @@ msgid "text search dictionary \"%s\" already exists" msgstr "le dictionnaire de recherche plein texte « %s » existe déjà" -#: commands/tsearchcmds.c:664 -#: catalog/namespace.c:1703 +#: commands/tsearchcmds.c:664 catalog/namespace.c:1703 #, c-format msgid "text search dictionary \"%s\" does not exist" msgstr "le dictionnaire de recherche plein texte « %s » n'existe pas" @@ -11601,7 +11358,8 @@ #: commands/tsearchcmds.c:1008 msgid "must be superuser to create text search templates" -msgstr "doit être super-utilisateur pour créer des modèles de recherche plein texte" +msgstr "" +"doit être super-utilisateur pour créer des modèles de recherche plein texte" #: commands/tsearchcmds.c:1045 #, c-format @@ -11614,7 +11372,9 @@ #: commands/tsearchcmds.c:1090 msgid "must be superuser to rename text search templates" -msgstr "doit être super-utilisateur pour renommer les modèles de recherche plein texte" +msgstr "" +"doit être super-utilisateur pour renommer les modèles de recherche plein " +"texte" #: commands/tsearchcmds.c:1112 #, c-format @@ -11623,10 +11383,11 @@ #: commands/tsearchcmds.c:1135 msgid "must be superuser to drop text search templates" -msgstr "doit être super-utilisateur pour supprimer des modèles de recherche plein texte" +msgstr "" +"doit être super-utilisateur pour supprimer des modèles de recherche plein " +"texte" -#: commands/tsearchcmds.c:1158 -#: catalog/namespace.c:1832 +#: commands/tsearchcmds.c:1158 catalog/namespace.c:1832 #, c-format msgid "text search template \"%s\" does not exist" msgstr "le modèle de recherche plein texte « %s » n'existe pas" @@ -11634,7 +11395,9 @@ #: commands/tsearchcmds.c:1164 #, c-format msgid "text search template \"%s\" does not exist, skipping" -msgstr "le modèle de recherche plein texte « %s » n'existe pas, poursuite du traitement" +msgstr "" +"le modèle de recherche plein texte « %s » n'existe pas, poursuite du " +"traitement" #: commands/tsearchcmds.c:1363 #, c-format @@ -11678,8 +11441,7 @@ "la correspondance pour le type de jeton « %s » n'existe pas, poursuite du\n" "traitement" -#: commands/tsearchcmds.c:2177 -#: commands/tsearchcmds.c:2288 +#: commands/tsearchcmds.c:2177 commands/tsearchcmds.c:2288 #, c-format msgid "invalid parameter list format: \"%s\"" msgstr "format de liste de paramètres invalide : « %s »" @@ -11699,26 +11461,20 @@ msgid "Valid options in this context are: %s" msgstr "Les options valides dans ce contexte sont %s" -#: nodes/nodeFuncs.c:107 -#: nodes/nodeFuncs.c:133 -#: parser/parse_coerce.c:1618 -#: parser/parse_coerce.c:1635 -#: parser/parse_coerce.c:1693 -#: parser/parse_expr.c:1497 -#: parser/parse_oper.c:994 -#: parser/parse_func.c:310 +#: nodes/nodeFuncs.c:107 nodes/nodeFuncs.c:133 parser/parse_coerce.c:1618 +#: parser/parse_coerce.c:1635 parser/parse_coerce.c:1693 +#: parser/parse_expr.c:1499 parser/parse_oper.c:994 parser/parse_func.c:310 #, c-format msgid "could not find array type for data type %s" msgstr "n'a pas pu trouver le type array pour le type de données %s" -#: executor/nodeSubplan.c:302 -#: executor/nodeSubplan.c:341 +#: executor/nodeSubplan.c:302 executor/nodeSubplan.c:341 #: executor/nodeSubplan.c:978 msgid "more than one row returned by a subquery used as an expression" -msgstr "plus d'une ligne renvoyée par une sous-requête utilisée comme une expression" +msgstr "" +"plus d'une ligne renvoyée par une sous-requête utilisée comme une expression" -#: executor/nodeWindowAgg.c:1502 -#: executor/nodeAgg.c:1539 +#: executor/nodeWindowAgg.c:1502 executor/nodeAgg.c:1539 #, c-format msgid "aggregate %u needs to have compatible input type and transition type" msgstr "" @@ -11732,16 +11488,16 @@ msgstr "%s n'est pas autorisé dans une fonction SQL" #. translator: %s is a SQL statement name -#: executor/functions.c:161 -#: executor/spi.c:1209 -#: executor/spi.c:1768 +#: executor/functions.c:161 executor/spi.c:1209 executor/spi.c:1768 #, c-format msgid "%s is not allowed in a non-volatile function" msgstr "%s n'est pas autorisé dans une fonction non volatile" #: executor/functions.c:261 #, c-format -msgid "could not determine actual result type for function declared to return type %s" +msgid "" +"could not determine actual result type for function declared to return type " +"%s" msgstr "" "n'a pas pu déterminer le type du résultat actuel pour la fonction déclarant\n" "renvoyer le type %s" @@ -11756,8 +11512,7 @@ msgid "SQL function \"%s\" statement %d" msgstr "fonction SQL « %s », instruction %d" -#: executor/functions.c:933 -#: catalog/pg_proc.c:807 +#: executor/functions.c:933 catalog/pg_proc.c:823 #, c-format msgid "SQL function \"%s\"" msgstr "Fonction SQL « %s »" @@ -11767,18 +11522,17 @@ msgid "SQL function \"%s\" during startup" msgstr "fonction SQL « %s » lors du lancement" -#: executor/functions.c:1088 -#: executor/functions.c:1124 -#: executor/functions.c:1136 -#: executor/functions.c:1247 -#: executor/functions.c:1279 -#: executor/functions.c:1308 +#: executor/functions.c:1088 executor/functions.c:1124 +#: executor/functions.c:1136 executor/functions.c:1247 +#: executor/functions.c:1279 executor/functions.c:1308 #, c-format msgid "return type mismatch in function declared to return %s" -msgstr "le type de retour ne correspond pas à la fonction déclarant renvoyer %s" +msgstr "" +"le type de retour ne correspond pas à la fonction déclarant renvoyer %s" #: executor/functions.c:1090 -msgid "Function's final statement must be SELECT or INSERT/UPDATE/DELETE RETURNING." +msgid "" +"Function's final statement must be SELECT or INSERT/UPDATE/DELETE RETURNING." msgstr "" "L'instruction finale de la fonction doit être un SELECT ou un\n" "INSERT/UPDATE/DELETE RETURNING." @@ -11838,7 +11592,9 @@ msgstr "ne peut pas verrouiller les lignes dans la relation « %s »" #: executor/execMain.c:981 -msgid "SELECT FOR UPDATE/SHARE is not supported within a query with multiple result relations" +msgid "" +"SELECT FOR UPDATE/SHARE is not supported within a query with multiple result " +"relations" msgstr "" "SELECT FOR UPDATE/SHARE n'est pas supporté dans une requête avec plusieurs\n" "relations" @@ -11863,25 +11619,24 @@ msgid "cannot change relation \"%s\"" msgstr "ne peut pas modifier la relation « %s »" -#: executor/execMain.c:1221 -#: executor/execMain.c:1231 -#: executor/execMain.c:1248 -#: executor/execMain.c:1256 -#: executor/execQual.c:831 -#: executor/execQual.c:848 +#: executor/execMain.c:1221 executor/execMain.c:1231 executor/execMain.c:1248 +#: executor/execMain.c:1256 executor/execQual.c:831 executor/execQual.c:848 #: executor/execQual.c:974 msgid "table row type and query-specified row type do not match" -msgstr "Le type de ligne de la table et celui spécifié par la requête ne correspondent pas" +msgstr "" +"Le type de ligne de la table et celui spécifié par la requête ne " +"correspondent pas" #: executor/execMain.c:1222 msgid "Query has too many columns." msgstr "La requête a trop de colonnes." -#: executor/execMain.c:1232 -#: executor/execQual.c:849 +#: executor/execMain.c:1232 executor/execQual.c:849 #, c-format msgid "Table has type %s at ordinal position %d, but query expects %s." -msgstr "La table a le type %s à la position ordinale %d alors que la requête attend %s." +msgstr "" +"La table a le type %s à la position ordinale %d alors que la requête attend " +"%s." #: executor/execMain.c:1249 #, c-format @@ -11902,23 +11657,25 @@ #: executor/execMain.c:2262 #, c-format msgid "new row for relation \"%s\" violates check constraint \"%s\"" -msgstr "la nouvelle ligne viole la contrainte de vérification « %s » de la relation « %s »" +msgstr "" +"la nouvelle ligne viole la contrainte de vérification « %s » de la relation " +"« %s »" #: executor/nodeMergejoin.c:1581 msgid "RIGHT JOIN is only supported with merge-joinable join conditions" -msgstr "RIGHT JOIN est supporté seulement avec les conditions de jointures MERGE" +msgstr "" +"RIGHT JOIN est supporté seulement avec les conditions de jointures MERGE" -#: executor/nodeMergejoin.c:1601 -#: optimizer/path/joinpath.c:1070 +#: executor/nodeMergejoin.c:1601 optimizer/path/joinpath.c:1070 msgid "FULL JOIN is only supported with merge-joinable join conditions" -msgstr "FULL JOIN est supporté seulement avec les conditions de jointures MERGE" +msgstr "" +"FULL JOIN est supporté seulement avec les conditions de jointures MERGE" #: executor/spi.c:211 msgid "transaction left non-empty SPI stack" msgstr "transaction gauche non vide dans la pile SPI" -#: executor/spi.c:212 -#: executor/spi.c:276 +#: executor/spi.c:212 executor/spi.c:276 msgid "Check for missing \"SPI_finish\" calls." msgstr "Vérifiez les appels manquants à « SPI_finish »." @@ -11936,13 +11693,11 @@ msgid "cannot open %s query as cursor" msgstr "ne peut pas ouvrir la requête %s comme curseur" -#: executor/spi.c:1186 -#: parser/analyze.c:1992 +#: executor/spi.c:1186 parser/analyze.c:1992 msgid "DECLARE SCROLL CURSOR ... FOR UPDATE/SHARE is not supported" msgstr "DECLARE SCROLL CURSOR ... FOR UPDATE/SHARE n'est pas supporté" -#: executor/spi.c:1187 -#: parser/analyze.c:1993 +#: executor/spi.c:1187 parser/analyze.c:1993 msgid "Scrollable cursors must be READ ONLY." msgstr "Les curseurs déplaçables doivent être en lecture seule (READ ONLY)." @@ -11951,23 +11706,22 @@ msgid "SQL statement \"%s\"" msgstr "instruction SQL « %s »" -#: executor/nodeHashjoin.c:731 -#: executor/nodeHashjoin.c:765 +#: executor/nodeHashjoin.c:731 executor/nodeHashjoin.c:765 #, c-format msgid "could not rewind hash-join temporary file: %m" -msgstr "n'a pas pu revenir au début du fichier temporaire de la jointure hâchée : %m" +msgstr "" +"n'a pas pu revenir au début du fichier temporaire de la jointure hâchée : %m" -#: executor/nodeHashjoin.c:799 -#: executor/nodeHashjoin.c:805 +#: executor/nodeHashjoin.c:799 executor/nodeHashjoin.c:805 #, c-format msgid "could not write to hash-join temporary file: %m" msgstr "n'a pas pu écrire le fichier temporaire de la jointure hâchée : %m" -#: executor/nodeHashjoin.c:839 -#: executor/nodeHashjoin.c:849 +#: executor/nodeHashjoin.c:839 executor/nodeHashjoin.c:849 #, c-format msgid "could not read from hash-join temporary file: %m" -msgstr "n'a pas pu lire le fichier temporaire contenant la jointure hâchée : %m" +msgstr "" +"n'a pas pu lire le fichier temporaire contenant la jointure hâchée : %m" #: executor/execCurrent.c:75 #, c-format @@ -11982,15 +11736,18 @@ #: executor/execCurrent.c:110 #, c-format msgid "cursor \"%s\" has multiple FOR UPDATE/SHARE references to table \"%s\"" -msgstr "le curseur « %s » a plusieurs références FOR UPDATE/SHARE pour la table « %s »" +msgstr "" +"le curseur « %s » a plusieurs références FOR UPDATE/SHARE pour la table « %s " +"»" #: executor/execCurrent.c:119 #, c-format -msgid "cursor \"%s\" does not have a FOR UPDATE/SHARE reference to table \"%s\"" -msgstr "le curseur « %s » n'a pas de référence FOR UPDATE/SHARE pour la table « %s »" +msgid "" +"cursor \"%s\" does not have a FOR UPDATE/SHARE reference to table \"%s\"" +msgstr "" +"le curseur « %s » n'a pas de référence FOR UPDATE/SHARE pour la table « %s »" -#: executor/execCurrent.c:129 -#: executor/execCurrent.c:176 +#: executor/execCurrent.c:129 executor/execCurrent.c:176 #, c-format msgid "cursor \"%s\" is not positioned on a row" msgstr "le curseur « %s » n'est pas positionné sur une ligne" @@ -12000,25 +11757,21 @@ msgid "cursor \"%s\" is not a simply updatable scan of table \"%s\"" msgstr "le curseur « %s » n'est pas un parcours modifiable de la table « %s »" -#: executor/execCurrent.c:228 -#: executor/execQual.c:1078 +#: executor/execCurrent.c:228 executor/execQual.c:1078 #, c-format msgid "no value found for parameter %d" msgstr "aucune valeur trouvée pour le paramètre %d" -#: executor/execQual.c:313 -#: executor/execQual.c:341 +#: executor/execQual.c:313 executor/execQual.c:341 msgid "array subscript in assignment must not be null" msgstr "l'indice du tableau dans l'affectation ne doit pas être NULL" -#: executor/execQual.c:643 -#: executor/execQual.c:4007 +#: executor/execQual.c:643 executor/execQual.c:4007 #, c-format msgid "attribute %d has wrong type" msgstr "l'attribut %d a un type invalide" -#: executor/execQual.c:644 -#: executor/execQual.c:4008 +#: executor/execQual.c:644 executor/execQual.c:4008 #, c-format msgid "Table has type %s, but query expects %s." msgstr "La table a le type %s alors que la requête attend %s." @@ -12027,20 +11780,19 @@ #, c-format msgid "Table row contains %d attribute, but query expects %d." msgid_plural "Table row contains %d attributes, but query expects %d." -msgstr[0] "La ligne de la table contient %d attribut alors que la requête en attend %d." -msgstr[1] "La ligne de la table contient %d attributs alors que la requête en attend %d." +msgstr[0] "" +"La ligne de la table contient %d attribut alors que la requête en attend %d." +msgstr[1] "" +"La ligne de la table contient %d attributs alors que la requête en attend %d." -#: executor/execQual.c:975 -#: executor/execQual.c:1548 +#: executor/execQual.c:975 executor/execQual.c:1548 #, c-format msgid "Physical storage mismatch on dropped attribute at ordinal position %d." msgstr "" "Le stockage physique ne correspond pas à l'attribut supprimé à la position\n" "ordinale %d." -#: executor/execQual.c:1232 -#: parser/parse_func.c:94 -#: parser/parse_func.c:266 +#: executor/execQual.c:1232 parser/parse_func.c:94 parser/parse_func.c:266 #: parser/parse_func.c:550 #, c-format msgid "cannot pass more than %d argument to a function" @@ -12050,39 +11802,45 @@ #: executor/execQual.c:1416 msgid "functions and operators can take at most one set argument" -msgstr "les fonctions et opérateurs peuvent prendre au plus un argument d'ensemble" +msgstr "" +"les fonctions et opérateurs peuvent prendre au plus un argument d'ensemble" #: executor/execQual.c:1466 -msgid "function returning setof record called in context that cannot accept type record" +msgid "" +"function returning setof record called in context that cannot accept type " +"record" msgstr "" "la fonction renvoyant des lignes a été appelée dans un contexte qui\n" "n'accepte pas un ensemble" -#: executor/execQual.c:1521 -#: executor/execQual.c:1537 -#: executor/execQual.c:1547 +#: executor/execQual.c:1521 executor/execQual.c:1537 executor/execQual.c:1547 msgid "function return row and query-specified return row do not match" -msgstr "la ligne de retour spécifiée par la requête et la ligne de retour de la fonction ne correspondent pas" +msgstr "" +"la ligne de retour spécifiée par la requête et la ligne de retour de la " +"fonction ne correspondent pas" #: executor/execQual.c:1522 #, c-format msgid "Returned row contains %d attribute, but query expects %d." msgid_plural "Returned row contains %d attributes, but query expects %d." -msgstr[0] "La ligne renvoyée contient %d attribut mais la requête en attend %d." -msgstr[1] "La ligne renvoyée contient %d attributs mais la requête en attend %d." +msgstr[0] "" +"La ligne renvoyée contient %d attribut mais la requête en attend %d." +msgstr[1] "" +"La ligne renvoyée contient %d attributs mais la requête en attend %d." #: executor/execQual.c:1538 #, c-format msgid "Returned type %s at ordinal position %d, but query expects %s." -msgstr "A renvoyé le type %s à la position ordinale %d, mais la requête attend %s." +msgstr "" +"A renvoyé le type %s à la position ordinale %d, mais la requête attend %s." -#: executor/execQual.c:1791 -#: executor/execQual.c:2214 +#: executor/execQual.c:1791 executor/execQual.c:2214 msgid "table-function protocol for materialize mode was not followed" -msgstr "le protocole de la fonction table pour le mode matérialisé n'a pas été respecté" +msgstr "" +"le protocole de la fonction table pour le mode matérialisé n'a pas été " +"respecté" -#: executor/execQual.c:1811 -#: executor/execQual.c:2221 +#: executor/execQual.c:1811 executor/execQual.c:2221 #, c-format msgid "unrecognized table-function returnMode: %d" msgstr "returnMode de la fonction table non reconnu : %d" @@ -12095,7 +11853,8 @@ #: executor/execQual.c:2188 msgid "rows returned by function are not all of the same row type" -msgstr "les lignes renvoyées par la fonction ne sont pas toutes du même type ligne" +msgstr "" +"les lignes renvoyées par la fonction ne sont pas toutes du même type ligne" #: executor/execQual.c:2381 msgid "IS DISTINCT FROM does not support set arguments" @@ -12113,21 +11872,22 @@ #: executor/execQual.c:3076 #, c-format -msgid "Array with element type %s cannot be included in ARRAY construct with element type %s." -msgstr "Le tableau avec le type d'élément %s ne peut pas être inclus dans la construction ARRAY avec le type d'élément %s." +msgid "" +"Array with element type %s cannot be included in ARRAY construct with " +"element type %s." +msgstr "" +"Le tableau avec le type d'élément %s ne peut pas être inclus dans la " +"construction ARRAY avec le type d'élément %s." #: executor/execQual.c:3659 msgid "NULLIF does not support set arguments" msgstr "NULLIF ne supporte pas les arguments d'ensemble" -#: executor/execQual.c:4397 -#: optimizer/util/clauses.c:566 -#: parser/parse_agg.c:74 +#: executor/execQual.c:4397 optimizer/util/clauses.c:566 parser/parse_agg.c:74 msgid "aggregate function calls cannot be nested" msgstr "les appels à la fonction d'agrégat ne peuvent pas être imbriqués" -#: executor/execQual.c:4435 -#: optimizer/util/clauses.c:640 +#: executor/execQual.c:4435 optimizer/util/clauses.c:640 #: parser/parse_agg.c:121 msgid "window function calls cannot be nested" msgstr "les appels à la fonction window ne peuvent pas être imbriqués" @@ -12142,14 +11902,14 @@ msgstr "une colonne ROW() a le type %s au lieu du type %s" #: optimizer/plan/initsplan.c:592 -msgid "SELECT FOR UPDATE/SHARE cannot be applied to the nullable side of an outer join" +msgid "" +"SELECT FOR UPDATE/SHARE cannot be applied to the nullable side of an outer " +"join" msgstr "" "SELECT FOR UPDATE/SHARE ne peut être appliqué sur le côté possiblement NULL\n" "d'une jointure externe" -#: optimizer/plan/planner.c:846 -#: parser/analyze.c:1210 -#: parser/analyze.c:1407 +#: optimizer/plan/planner.c:846 parser/analyze.c:1210 parser/analyze.c:1407 #: parser/analyze.c:2053 msgid "SELECT FOR UPDATE/SHARE is not allowed with UNION/INTERSECT/EXCEPT" msgstr "SELECT FOR UPDATE/SHARE n'est pas autorisé avec UNION/INTERSECT/EXCEPT" @@ -12158,10 +11918,11 @@ msgid "could not implement GROUP BY" msgstr "n'a pas pu implanté GROUP BY" -#: optimizer/plan/planner.c:1045 -#: optimizer/plan/planner.c:1476 +#: optimizer/plan/planner.c:1045 optimizer/plan/planner.c:1476 #: optimizer/prep/prepunion.c:778 -msgid "Some of the datatypes only support hashing, while others only support sorting." +msgid "" +"Some of the datatypes only support hashing, while others only support " +"sorting." msgstr "" "Certains des types de données supportent seulement le hachage,\n" "alors que les autres supportent seulement le tri." @@ -12170,23 +11931,24 @@ msgid "could not implement DISTINCT" msgstr "n'a pas pu implanté DISTINCT" -#: optimizer/plan/planner.c:2523 +#: optimizer/plan/planner.c:2538 msgid "could not implement window PARTITION BY" msgstr "n'a pas pu implanter PARTITION BY de window" -#: optimizer/plan/planner.c:2524 +#: optimizer/plan/planner.c:2539 msgid "Window partitioning columns must be of sortable datatypes." msgstr "" "Les colonnes de partitionnement de window doivent être d'un type de données\n" "triables." -#: optimizer/plan/planner.c:2528 +#: optimizer/plan/planner.c:2543 msgid "could not implement window ORDER BY" msgstr "n'a pas pu implanter ORDER BY dans le window" -#: optimizer/plan/planner.c:2529 +#: optimizer/plan/planner.c:2544 msgid "Window ordering columns must be of sortable datatypes." -msgstr "Les colonnes de tri de la window doivent être d'un type de données triable." +msgstr "" +"Les colonnes de tri de la window doivent être d'un type de données triable." #: optimizer/prep/preptlist.c:132 msgid "SELECT FOR UPDATE/SHARE is not allowed in subqueries" @@ -12206,7 +11968,7 @@ msgid "could not implement %s" msgstr "n'a pas pu implanté %s" -#: optimizer/util/clauses.c:3835 +#: optimizer/util/clauses.c:3856 #, c-format msgid "SQL function \"%s\" during inlining" msgstr "fonction SQL « %s » durant « inlining »" @@ -12214,7 +11976,9 @@ #: libpq/pqcomm.c:289 #, c-format msgid "could not translate host name \"%s\", service \"%s\" to address: %s" -msgstr "n'a pas pu résoudre le nom de l'hôte « %s », service « %s » par l'adresse : %s" +msgstr "" +"n'a pas pu résoudre le nom de l'hôte « %s », service « %s » par l'adresse : " +"%s" #: libpq/pqcomm.c:293 #, c-format @@ -12224,7 +11988,8 @@ #: libpq/pqcomm.c:320 #, c-format msgid "could not bind to all requested addresses: MAXLISTEN (%d) exceeded" -msgstr "n'a pas pu se lier à toutes les adresses requises : MAXLISTEN (%d) dépassé" +msgstr "" +"n'a pas pu se lier à toutes les adresses requises : MAXLISTEN (%d) dépassé" #: libpq/pqcomm.c:329 msgid "IPv4" @@ -12267,12 +12032,18 @@ #: libpq/pqcomm.c:416 #, c-format -msgid "Is another postmaster already running on port %d? If not, remove socket file \"%s\" and retry." -msgstr "Un autre postmaster fonctionne-t'il déjà sur le port %d ?Sinon, supprimez le fichier socket « %s » et réessayez." +msgid "" +"Is another postmaster already running on port %d? If not, remove socket file " +"\"%s\" and retry." +msgstr "" +"Un autre postmaster fonctionne-t'il déjà sur le port %d ?Sinon, supprimez le " +"fichier socket « %s » et réessayez." #: libpq/pqcomm.c:419 #, c-format -msgid "Is another postmaster already running on port %d? If not, wait a few seconds and retry." +msgid "" +"Is another postmaster already running on port %d? If not, wait a few seconds " +"and retry." msgstr "" "Un autre postmaster fonctionne-t'il déjà sur le port %d ?\n" "Sinon, attendez quelques secondes et réessayez." @@ -12286,7 +12057,8 @@ #: libpq/pqcomm.c:482 #, c-format msgid "Unix-domain socket path \"%s\" is too long (maximum %d bytes)" -msgstr "Le chemin du socket de domaine Unix, « %s », est trop (maximum %d octets)" +msgstr "" +"Le chemin du socket de domaine Unix, « %s », est trop (maximum %d octets)" #: libpq/pqcomm.c:540 #, c-format @@ -12315,14 +12087,14 @@ #: libpq/pqcomm.c:964 msgid "unexpected EOF within message length word" -msgstr "fin de fichier (EOF) inattendue à l'intérieur de la longueur du message" +msgstr "" +"fin de fichier (EOF) inattendue à l'intérieur de la longueur du message" #: libpq/pqcomm.c:975 msgid "invalid message length" msgstr "longueur du message invalide" -#: libpq/pqcomm.c:997 -#: libpq/pqcomm.c:1007 +#: libpq/pqcomm.c:997 libpq/pqcomm.c:1007 msgid "incomplete message from client" msgstr "message incomplet du client" @@ -12331,22 +12103,17 @@ msgid "could not send data to client: %m" msgstr "n'a pas pu envoyer les données au client : %m" -#: libpq/be-secure.c:278 -#: libpq/be-secure.c:373 +#: libpq/be-secure.c:278 libpq/be-secure.c:373 #, c-format msgid "SSL error: %s" msgstr "erreur SSL : %s" -#: libpq/be-secure.c:287 -#: libpq/be-secure.c:382 -#: libpq/be-secure.c:944 +#: libpq/be-secure.c:287 libpq/be-secure.c:382 libpq/be-secure.c:944 #, c-format msgid "unrecognized SSL error code: %d" msgstr "code d'erreur SSL inconnu : %d" -#: libpq/be-secure.c:326 -#: libpq/be-secure.c:330 -#: libpq/be-secure.c:340 +#: libpq/be-secure.c:326 libpq/be-secure.c:330 libpq/be-secure.c:340 msgid "SSL renegotiation failure" msgstr "échec lors de la re-négotiation SSL" @@ -12407,12 +12174,14 @@ #: libpq/be-secure.c:847 msgid "SSL library does not support certificate revocation lists." -msgstr "La bibliothèque SSL ne supporte pas les listes de révocation des certificats." +msgstr "" +"La bibliothèque SSL ne supporte pas les listes de révocation des certificats." #: libpq/be-secure.c:853 #, c-format msgid "SSL certificate revocation list file \"%s\" not found, skipping: %s" -msgstr "liste de révocation des certificats SSL « %s » introuvable, continue : %s" +msgstr "" +"liste de révocation des certificats SSL « %s » introuvable, continue : %s" #: libpq/be-secure.c:855 msgid "Certificates will not be checked against revocation list." @@ -12433,8 +12202,7 @@ msgid "could not accept SSL connection: %m" msgstr "n'a pas pu accepter la connexion SSL : %m" -#: libpq/be-secure.c:928 -#: libpq/be-secure.c:939 +#: libpq/be-secure.c:928 libpq/be-secure.c:939 msgid "could not accept SSL connection: EOF detected" msgstr "n'a pas pu accepter la connexion SSL : fin de fichier détecté" @@ -12568,10 +12336,12 @@ msgid "could not enable credential reception: %m" msgstr "n'a pas pu activer la réception de lettres de créance : %m" -#: libpq/auth.c:432 -#: libpq/hba.c:881 -msgid "MD5 authentication is not supported when \"db_user_namespace\" is enabled" -msgstr "l'authentification MD5 n'est pas supportée quand « db_user_namespace » est activé" +#: libpq/auth.c:432 libpq/hba.c:881 +msgid "" +"MD5 authentication is not supported when \"db_user_namespace\" is enabled" +msgstr "" +"l'authentification MD5 n'est pas supportée quand « db_user_namespace » est " +"activé" #: libpq/auth.c:548 #, c-format @@ -12677,18 +12447,23 @@ #: libpq/auth.c:1589 #, c-format msgid "could not connect to Ident server at address \"%s\", port %s: %m" -msgstr "n'a pas pu se connecter au serveur Ident à l'adresse « %s », port %s : %m" +msgstr "" +"n'a pas pu se connecter au serveur Ident à l'adresse « %s », port %s : %m" #: libpq/auth.c:1609 #, c-format msgid "could not send query to Ident server at address \"%s\", port %s: %m" -msgstr "n'a pas pu envoyer la requête au serveur Ident à l'adresse « %s », port %s : %m" +msgstr "" +"n'a pas pu envoyer la requête au serveur Ident à l'adresse « %s », port %s : " +"%m" #: libpq/auth.c:1624 #, c-format -msgid "could not receive response from Ident server at address \"%s\", port %s: %m" +msgid "" +"could not receive response from Ident server at address \"%s\", port %s: %m" msgstr "" -"n'a pas pu recevoir la réponse du serveur Ident à l'adresse « %s », port %s :\n" +"n'a pas pu recevoir la réponse du serveur Ident à l'adresse « %s », port " +"%s :\n" "%m" #: libpq/auth.c:1634 @@ -12696,18 +12471,12 @@ msgid "invalidly formatted response from Ident server: \"%s\"" msgstr "réponse mal formatée du serveur Ident : « %s »" -#: libpq/auth.c:1669 -#: libpq/auth.c:1699 -#: libpq/auth.c:1727 -#: libpq/auth.c:1800 +#: libpq/auth.c:1669 libpq/auth.c:1699 libpq/auth.c:1727 libpq/auth.c:1800 #, c-format msgid "could not get peer credentials: %m" msgstr "n'a pas pu obtenir l'authentification de l'autre : %m" -#: libpq/auth.c:1678 -#: libpq/auth.c:1708 -#: libpq/auth.c:1745 -#: libpq/auth.c:1824 +#: libpq/auth.c:1678 libpq/auth.c:1708 libpq/auth.c:1745 libpq/auth.c:1824 #, c-format msgid "local user with ID %d does not exist" msgstr "l'utilisateur local dont l'identifiant est %d n'existe pas" @@ -12715,18 +12484,23 @@ #: libpq/auth.c:1735 #, c-format msgid "could not get effective UID from peer credentials: %m" -msgstr "n'a pas pu obtenir l'UID réel à partir des pièces d'identité de l'autre : %m" +msgstr "" +"n'a pas pu obtenir l'UID réel à partir des pièces d'identité de l'autre : %m" #: libpq/auth.c:1813 msgid "could not get peer credentials: incorrect control message" -msgstr "n'a pas pu obtenir l'authentification de l'autre : message de contrôle incorrect" +msgstr "" +"n'a pas pu obtenir l'authentification de l'autre : message de contrôle " +"incorrect" #: libpq/auth.c:1835 -msgid "Ident authentication is not supported on local connections on this platform" -msgstr "l'authentification Ident n'est pas supportée sur les connexions locales sur cette plateforme" +msgid "" +"Ident authentication is not supported on local connections on this platform" +msgstr "" +"l'authentification Ident n'est pas supportée sur les connexions locales sur " +"cette plateforme" -#: libpq/auth.c:1955 -#: libpq/auth.c:2135 +#: libpq/auth.c:1955 libpq/auth.c:2135 msgid "empty password returned by client" msgstr "mot de passe vide renvoyé par le client" @@ -12769,8 +12543,7 @@ msgid "LDAP server not specified" msgstr "serveur LDAP non précisé" -#: libpq/auth.c:2144 -#: libpq/auth.c:2148 +#: libpq/auth.c:2144 libpq/auth.c:2148 #, c-format msgid "could not initialize LDAP: error code %d" msgstr "n'a pas pu initialiser LDAP : code d'erreur %d" @@ -12806,7 +12579,9 @@ #: libpq/auth.c:2253 #, c-format -msgid "Certificate login failed for user \"%s\": client certificate contains no username" +msgid "" +"Certificate login failed for user \"%s\": client certificate contains no " +"username" msgstr "" "La connexion par certificat a échoué pour l'utilisateur « %s » :\n" "le certificat du client ne contient aucun nom d'utilisateur" @@ -12826,7 +12601,8 @@ #. translator: the second %s is a list of auth methods #: libpq/hba.c:593 #, c-format -msgid "authentication option \"%s\" is only valid for authentication methods %s" +msgid "" +"authentication option \"%s\" is only valid for authentication methods %s" msgstr "" "l'option d'authentification « %s » est seulement valide pour les méthodes\n" "d'authentification « %s »" @@ -12834,7 +12610,9 @@ #: libpq/hba.c:609 #, c-format msgid "authentication method \"%s\" requires argument \"%s\" to be set" -msgstr "la méthode d'authentification « %s » requiert un argument « %s » pour êtremise en place" +msgstr "" +"la méthode d'authentification « %s » requiert un argument « %s » pour " +"êtremise en place" #: libpq/hba.c:658 msgid "hostssl requires SSL to be turned on" @@ -12891,7 +12669,9 @@ #: libpq/hba.c:828 #, c-format msgid "IP address and mask do not match in file \"%s\" line %d" -msgstr "l'adresse IP et le masque ne correspondent pas dans le fichier « %s », ligne %d" +msgstr "" +"l'adresse IP et le masque ne correspondent pas dans le fichier « %s », ligne " +"%d" #: libpq/hba.c:841 msgid "end-of-line before authentication method" @@ -12918,12 +12698,14 @@ #: libpq/hba.c:943 msgid "gssapi authentication is not supported on local sockets" msgstr "" -"l'authentification gssapi n'est pas supportée sur les connexions locales par\n" +"l'authentification gssapi n'est pas supportée sur les connexions locales " +"par\n" "socket" #: libpq/hba.c:959 msgid "cert authentication is only supported on hostssl connections" -msgstr "l'authentification cert est seulement supportée sur les connexions hostssl" +msgstr "" +"l'authentification cert est seulement supportée sur les connexions hostssl" #: libpq/hba.c:982 #, c-format @@ -12939,7 +12721,9 @@ msgstr "clientcert peut seulement être configuré pour les lignes « hostssl »" #: libpq/hba.c:1022 -msgid "client certificates can only be checked if a root certificate store is available" +msgid "" +"client certificates can only be checked if a root certificate store is " +"available" msgstr "" "les certificats cert peuvent seulement être vérifiés si un emplacement de\n" "certificat racine est disponible" @@ -12950,15 +12734,16 @@ #: libpq/hba.c:1036 msgid "clientcert can not be set to 0 when using \"cert\" authentication" -msgstr "clientcert ne peut pas être initialisé à 0 si vous utilisez l'authentification « cert »" +msgstr "" +"clientcert ne peut pas être initialisé à 0 si vous utilisez " +"l'authentification « cert »" #: libpq/hba.c:1070 #, c-format msgid "invalid LDAP port number: \"%s\"" msgstr "numéro de port LDAP invalide : « %s »" -#: libpq/hba.c:1096 -#: libpq/hba.c:1104 +#: libpq/hba.c:1096 libpq/hba.c:1104 msgid "krb5, gssapi and sspi" msgstr "krb5, gssapi et sspi" @@ -12975,11 +12760,14 @@ #: libpq/hba.c:1564 #, c-format msgid "regular expression match for \"%s\" failed: %s" -msgstr "la correspondance de l'expression rationnelle pour « %s » a échoué : %s" +msgstr "" +"la correspondance de l'expression rationnelle pour « %s » a échoué : %s" #: libpq/hba.c:1581 #, c-format -msgid "regular expression \"%s\" has no subexpressions as requested by backreference in \"%s\"" +msgid "" +"regular expression \"%s\" has no subexpressions as requested by " +"backreference in \"%s\"" msgstr "" "l'expression rationnelle « %s » n'a pas de sous-expressions comme celle\n" "demandée par la référence dans « %s »" @@ -13013,12 +12801,8 @@ msgid "could not open Ident usermap file \"%s\": %m" msgstr "n'a pas pu ouvrir le fichier usermap « %s » d'Ident : %m" -#: libpq/be-fsstubs.c:127 -#: libpq/be-fsstubs.c:157 -#: libpq/be-fsstubs.c:172 -#: libpq/be-fsstubs.c:197 -#: libpq/be-fsstubs.c:244 -#: libpq/be-fsstubs.c:483 +#: libpq/be-fsstubs.c:127 libpq/be-fsstubs.c:157 libpq/be-fsstubs.c:172 +#: libpq/be-fsstubs.c:197 libpq/be-fsstubs.c:244 libpq/be-fsstubs.c:483 #, c-format msgid "invalid large-object descriptor: %d" msgstr "descripteur invalide de « Large Object » : %d" @@ -13026,7 +12810,8 @@ #: libpq/be-fsstubs.c:177 #, c-format msgid "large object descriptor %d was not opened for writing" -msgstr "le descripteur %d du « Large Object » n'a pas été ouvert pour l'écriture" +msgstr "" +"le descripteur %d du « Large Object » n'a pas été ouvert pour l'écriture" #: libpq/be-fsstubs.c:357 msgid "must be superuser to use server-side lo_import()" @@ -13034,7 +12819,8 @@ #: libpq/be-fsstubs.c:358 msgid "Anyone can use the client-side lo_import() provided by libpq." -msgstr "Tout le monde peut utiliser lo_import(), fourni par libpq, du côté client." +msgstr "" +"Tout le monde peut utiliser lo_import(), fourni par libpq, du côté client." #: libpq/be-fsstubs.c:371 #, c-format @@ -13052,7 +12838,8 @@ #: libpq/be-fsstubs.c:424 msgid "Anyone can use the client-side lo_export() provided by libpq." -msgstr "Tout le monde peut utiliser lo_export(), fournie par libpq, du côté client." +msgstr "" +"Tout le monde peut utiliser lo_export(), fournie par libpq, du côté client." #: libpq/be-fsstubs.c:448 #, c-format @@ -13064,33 +12851,33 @@ msgid "could not write server file \"%s\": %m" msgstr "n'a pas pu écrire le fichier serveur « %s » : %m" -#: storage/file/fd.c:385 +#: storage/file/fd.c:391 #, c-format msgid "getrlimit failed: %m" msgstr "échec de getrlimit : %m" -#: storage/file/fd.c:475 +#: storage/file/fd.c:481 msgid "insufficient file descriptors available to start server process" -msgstr "nombre de descripteurs de fichier insuffisants pour lancer le processus serveur" +msgstr "" +"nombre de descripteurs de fichier insuffisants pour lancer le processus " +"serveur" -#: storage/file/fd.c:476 +#: storage/file/fd.c:482 #, c-format msgid "System allows %d, we need at least %d." msgstr "Le système autorise %d, nous avons besoin d'au moins %d." -#: storage/file/fd.c:517 -#: storage/file/fd.c:1414 -#: storage/file/fd.c:1529 +#: storage/file/fd.c:523 storage/file/fd.c:1423 storage/file/fd.c:1538 #, c-format msgid "out of file descriptors: %m; release and retry" msgstr "plus de descripteurs de fichiers : %m; quittez et ré-essayez" -#: storage/file/fd.c:1070 +#: storage/file/fd.c:1079 #, c-format msgid "temporary file: path \"%s\", size %lu" msgstr "fichier temporaire : chemin « %s », taille %lu" -#: storage/file/fd.c:1588 +#: storage/file/fd.c:1597 #, c-format msgid "could not read directory \"%s\": %m" msgstr "n'a pas pu lire le répertoire « %s » : %m" @@ -13100,13 +12887,11 @@ msgid "could not allocate shared memory segment \"%s\"" msgstr "n'a pas pu allouer un segment de mémoire partagée « %s »" -#: storage/ipc/shmem.c:420 -#: storage/ipc/shmem.c:439 +#: storage/ipc/shmem.c:420 storage/ipc/shmem.c:439 msgid "requested shared memory size overflows size_t" msgstr "la taille de la mémoire partagée demandée dépasse size_t" -#: storage/buffer/bufmgr.c:129 -#: storage/buffer/bufmgr.c:233 +#: storage/buffer/bufmgr.c:129 storage/buffer/bufmgr.c:233 msgid "cannot access temporary tables of other sessions" msgstr "ne peut pas accéder aux tables temporaires d'autres sessions" @@ -13118,7 +12903,9 @@ "%s" #: storage/buffer/bufmgr.c:363 -msgid "This has been seen to occur with buggy kernels; consider updating your system." +msgid "" +"This has been seen to occur with buggy kernels; consider updating your " +"system." msgstr "" "Ceci s'est déjà vu avec des noyaux buggés ; pensez à mettre à jour votre\n" "système." @@ -13153,33 +12940,30 @@ msgid "no empty local buffer available" msgstr "aucun tampon local vide disponible" -#: storage/large_object/inv_api.c:545 -#: storage/large_object/inv_api.c:736 +#: storage/large_object/inv_api.c:553 storage/large_object/inv_api.c:744 #, c-format msgid "large object %u was not opened for writing" msgstr "le « Large Object » %u n'a pas été ouvert en écriture" -#: storage/page/bufpage.c:143 -#: storage/page/bufpage.c:390 -#: storage/page/bufpage.c:623 -#: storage/page/bufpage.c:753 +#: storage/page/bufpage.c:143 storage/page/bufpage.c:390 +#: storage/page/bufpage.c:623 storage/page/bufpage.c:753 #, c-format msgid "corrupted page pointers: lower = %u, upper = %u, special = %u" -msgstr "pointeurs de page corrompus : le plus bas = %u, le plus haut = %u, spécial = %u" +msgstr "" +"pointeurs de page corrompus : le plus bas = %u, le plus haut = %u, spécial = " +"%u" #: storage/page/bufpage.c:433 #, c-format msgid "corrupted item pointer: %u" msgstr "pointeur d'élément corrompu : %u" -#: storage/page/bufpage.c:444 -#: storage/page/bufpage.c:805 +#: storage/page/bufpage.c:444 storage/page/bufpage.c:805 #, c-format msgid "corrupted item lengths: total %u, available space %u" msgstr "longueurs d'élément corrompus : total %u, espace disponible %u" -#: storage/page/bufpage.c:642 -#: storage/page/bufpage.c:778 +#: storage/page/bufpage.c:642 storage/page/bufpage.c:778 #, c-format msgid "corrupted item pointer: offset = %u, size = %u" msgstr "pointeur d'élément corrompu : décalage = %u, taille = %u" @@ -13189,8 +12973,7 @@ msgid "could not create relation %s: %m" msgstr "n'a pas pu créer la relation %s : %m" -#: storage/smgr/md.c:373 -#: storage/smgr/md.c:1197 +#: storage/smgr/md.c:373 storage/smgr/md.c:1197 #, c-format msgid "could not remove relation %s: %m" msgstr "n'a pas pu supprimer la relation %s : %m" @@ -13205,9 +12988,7 @@ msgid "cannot extend relation %s beyond %u blocks" msgstr "ne peut pas étendre la relation %s de plus de %u blocs" -#: storage/smgr/md.c:463 -#: storage/smgr/md.c:624 -#: storage/smgr/md.c:697 +#: storage/smgr/md.c:463 storage/smgr/md.c:624 storage/smgr/md.c:697 #, c-format msgid "could not seek to block %u of relation %s: %m" msgstr "n'a pas pu se positionner sur le bloc %u de la relation %s : %m" @@ -13217,9 +12998,7 @@ msgid "could not extend relation %s: %m" msgstr "n'a pas pu étendre la relation %s : %m" -#: storage/smgr/md.c:474 -#: storage/smgr/md.c:481 -#: storage/smgr/md.c:723 +#: storage/smgr/md.c:474 storage/smgr/md.c:481 storage/smgr/md.c:723 msgid "Check free disk space." msgstr "Vérifiez l'espace disque disponible." @@ -13267,17 +13046,15 @@ #: storage/smgr/md.c:819 #, c-format msgid "could not truncate relation %s to %u blocks: it's only %u blocks now" -msgstr "n'a pas pu tronquer la relation %s en %u blocs : il y a seulement %u blocs" +msgstr "" +"n'a pas pu tronquer la relation %s en %u blocs : il y a seulement %u blocs" -#: storage/smgr/md.c:843 -#: storage/smgr/md.c:868 +#: storage/smgr/md.c:843 storage/smgr/md.c:868 #, c-format msgid "could not truncate relation %s to %u blocks: %m" msgstr "n'a pas pu tronquer la relation %s en %u blocs : %m" -#: storage/smgr/md.c:913 -#: storage/smgr/md.c:1087 -#: storage/smgr/md.c:1231 +#: storage/smgr/md.c:913 storage/smgr/md.c:1087 storage/smgr/md.c:1231 #, c-format msgid "could not fsync segment %u of relation %s: %m" msgstr "" @@ -13313,14 +13090,18 @@ #: storage/lmgr/proc.c:983 #, c-format -msgid "process %d avoided deadlock for %s on %s by rearranging queue order after %ld.%03d ms" +msgid "" +"process %d avoided deadlock for %s on %s by rearranging queue order after " +"%ld.%03d ms" msgstr "" -"le processus %d a évité un verrou mortel pour %s sur %s en modifiant l'ordre\n" +"le processus %d a évité un verrou mortel pour %s sur %s en modifiant " +"l'ordre\n" "de la queue après %ld.%03d ms" #: storage/lmgr/proc.c:995 #, c-format -msgid "process %d detected deadlock while waiting for %s on %s after %ld.%03d ms" +msgid "" +"process %d detected deadlock while waiting for %s on %s after %ld.%03d ms" msgstr "" "le processus %d a détecté un verrou mortel alors qu'il était en attente de\n" "%s sur %s après %ld.%03d ms" @@ -13338,18 +13119,18 @@ #: storage/lmgr/proc.c:1021 #, c-format msgid "process %d failed to acquire %s on %s after %ld.%03d ms" -msgstr "le processus %d a échoué pour l'acquisition de %s sur %s après %ld.%03d ms" +msgstr "" +"le processus %d a échoué pour l'acquisition de %s sur %s après %ld.%03d ms" -#: storage/lmgr/lock.c:584 -#: storage/lmgr/lock.c:650 -#: storage/lmgr/lock.c:2340 +#: storage/lmgr/lock.c:584 storage/lmgr/lock.c:650 storage/lmgr/lock.c:2340 #: storage/lmgr/lock.c:2405 msgid "You might need to increase max_locks_per_transaction." msgstr "Vous pourriez avoir besoin d'augmenter max_locks_per_transaction." #: storage/lmgr/lock.c:2052 msgid "Not enough memory for reassigning the prepared transaction's locks." -msgstr "Pas assez de mémoire pour réaffecter les verrous des transactions préparées." +msgstr "" +"Pas assez de mémoire pour réaffecter les verrous des transactions préparées." #: storage/lmgr/deadlock.c:923 #, c-format @@ -13367,7 +13148,8 @@ #: storage/lmgr/deadlock.c:952 msgid "See server log for query details." -msgstr "Voir les journaux applicatifs du serveur pour les détails sur la requête." +msgstr "" +"Voir les journaux applicatifs du serveur pour les détails sur la requête." #: storage/lmgr/lmgr.c:717 #, c-format @@ -13422,16 +13204,15 @@ #: rewrite/rewriteRemove.c:67 #, c-format msgid "rule \"%s\" for relation \"%s\" does not exist, skipping" -msgstr "la règle « %s » de la relation « %s » n'existe pas, poursuite du traitement" +msgstr "" +"la règle « %s » de la relation « %s » n'existe pas, poursuite du traitement" #: rewrite/rewriteManip.c:1012 msgid "conditional utility statements are not implemented" msgstr "les instructions conditionnelles ne sont pas implémentées" -#: rewrite/rewriteManip.c:1024 -#: rewrite/rewriteHandler.c:424 -#: parser/parse_utilcmd.c:1625 -#: parser/parse_utilcmd.c:1695 +#: rewrite/rewriteManip.c:1024 rewrite/rewriteHandler.c:424 +#: parser/parse_utilcmd.c:1625 parser/parse_utilcmd.c:1695 msgid "conditional UNION/INTERSECT/EXCEPT statements are not implemented" msgstr "" "les instructions conditionnelles UNION/INTERSECT/EXCEPT ne sont pas\n" @@ -13445,20 +13226,19 @@ msgid "cannot have RETURNING lists in multiple rules" msgstr "ne peut pas avoir des listes RETURNING dans plusieurs règles" -#: rewrite/rewriteHandler.c:788 -#: rewrite/rewriteHandler.c:806 +#: rewrite/rewriteHandler.c:788 rewrite/rewriteHandler.c:806 #, c-format msgid "multiple assignments to same column \"%s\"" msgstr "affectations multiples pour la même colonne « %s »" -#: rewrite/rewriteHandler.c:944 -#: catalog/heap.c:2206 +#: rewrite/rewriteHandler.c:944 catalog/heap.c:2206 #, c-format msgid "column \"%s\" is of type %s but default expression is of type %s" -msgstr "la colonne « %s » est de type %s alors que l'expression par défaut est de type %s" +msgstr "" +"la colonne « %s » est de type %s alors que l'expression par défaut est de " +"type %s" -#: rewrite/rewriteHandler.c:1404 -#: rewrite/rewriteHandler.c:1726 +#: rewrite/rewriteHandler.c:1404 rewrite/rewriteHandler.c:1726 #, c-format msgid "infinite recursion detected in rules for relation \"%s\"" msgstr "récursion infinie détectée dans les règles de la relation « %s »" @@ -13469,7 +13249,8 @@ msgstr "ne peut pas exécuter INSERT RETURNING sur la relation « %s »" #: rewrite/rewriteHandler.c:1766 -msgid "You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING clause." +msgid "" +"You need an unconditional ON INSERT DO INSTEAD rule with a RETURNING clause." msgstr "" "Vous avez besoin d'une règle ON INSERT DO INSTEAD sans condition avec une\n" "clause RETURNING." @@ -13480,7 +13261,8 @@ msgstr "ne peut pas exécuter UPDATE RETURNING sur la relation « %s »" #: rewrite/rewriteHandler.c:1773 -msgid "You need an unconditional ON UPDATE DO INSTEAD rule with a RETURNING clause." +msgid "" +"You need an unconditional ON UPDATE DO INSTEAD rule with a RETURNING clause." msgstr "" "Vous avez besoin d'une règle ON UPDATE DO INSTEAD sans condition avec une\n" "clause RETURNING." @@ -13491,7 +13273,8 @@ msgstr "ne peut pas exécuter DELETE RETURNING sur la relation « %s »" #: rewrite/rewriteHandler.c:1780 -msgid "You need an unconditional ON DELETE DO INSTEAD rule with a RETURNING clause." +msgid "" +"You need an unconditional ON DELETE DO INSTEAD rule with a RETURNING clause." msgstr "" "Vous avez besoin d'une règle ON DELETE DO INSTEAD sans condition avec une\n" "clause RETURNING." @@ -13520,8 +13303,7 @@ msgid "You need an unconditional ON DELETE DO INSTEAD rule." msgstr "Vous avez besoin d'une règle inconditionnelle ON DELETE DO INSTEAD." -#: rewrite/rewriteDefine.c:109 -#: rewrite/rewriteDefine.c:759 +#: rewrite/rewriteDefine.c:109 rewrite/rewriteDefine.c:759 #, c-format msgid "rule \"%s\" for relation \"%s\" already exists" msgstr "la règle « %s » existe déjà pour la relation « %s »" @@ -13552,7 +13334,8 @@ #: rewrite/rewriteDefine.c:311 msgid "multiple actions for rules on SELECT are not implemented" -msgstr "les actions multiples pour les règles sur SELECT ne sont pas implémentées" +msgstr "" +"les actions multiples pour les règles sur SELECT ne sont pas implémentées" #: rewrite/rewriteDefine.c:323 msgid "rules on SELECT must have action INSTEAD SELECT" @@ -13561,7 +13344,8 @@ #: rewrite/rewriteDefine.c:331 msgid "event qualifications are not implemented for rules on SELECT" msgstr "" -"les qualifications d'événements ne sont pas implémentées pour les règles sur\n" +"les qualifications d'événements ne sont pas implémentées pour les règles " +"sur\n" "SELECT" #: rewrite/rewriteDefine.c:356 @@ -13577,15 +13361,18 @@ #: rewrite/rewriteDefine.c:405 #, c-format msgid "could not convert table \"%s\" to a view because it is not empty" -msgstr "n'a pas pu convertir la table « %s » en une vue car elle n'est pas vide" +msgstr "" +"n'a pas pu convertir la table « %s » en une vue car elle n'est pas vide" #: rewrite/rewriteDefine.c:412 #, c-format msgid "could not convert table \"%s\" to a view because it has triggers" -msgstr "n'a pas pu convertir la table « %s » en une vue parce qu'elle a des triggers" +msgstr "" +"n'a pas pu convertir la table « %s » en une vue parce qu'elle a des triggers" #: rewrite/rewriteDefine.c:414 -msgid "In particular, the table cannot be involved in any foreign key relationships." +msgid "" +"In particular, the table cannot be involved in any foreign key relationships." msgstr "" "En particulier, la table ne peut pas être impliquée dans les relations des\n" "clés étrangères." @@ -13593,12 +13380,15 @@ #: rewrite/rewriteDefine.c:419 #, c-format msgid "could not convert table \"%s\" to a view because it has indexes" -msgstr "n'a pas pu convertir la table « %s » en une vue parce qu'elle a des index" +msgstr "" +"n'a pas pu convertir la table « %s » en une vue parce qu'elle a des index" #: rewrite/rewriteDefine.c:425 #, c-format msgid "could not convert table \"%s\" to a view because it has child tables" -msgstr "n'a pas pu convertir la table « %s » en une vue parce qu'elle a des tables filles" +msgstr "" +"n'a pas pu convertir la table « %s » en une vue parce qu'elle a des tables " +"filles" #: rewrite/rewriteDefine.c:452 msgid "cannot have multiple RETURNING lists in a rule" @@ -13606,11 +13396,13 @@ #: rewrite/rewriteDefine.c:457 msgid "RETURNING lists are not supported in conditional rules" -msgstr "les listes RETURNING ne sont pas supportés dans des règles conditionnelles" +msgstr "" +"les listes RETURNING ne sont pas supportés dans des règles conditionnelles" #: rewrite/rewriteDefine.c:461 msgid "RETURNING lists are not supported in non-INSTEAD rules" -msgstr "les listes RETURNING ne sont pas supportés dans des règles autres que INSTEAD" +msgstr "" +"les listes RETURNING ne sont pas supportés dans des règles autres que INSTEAD" #: rewrite/rewriteDefine.c:540 msgid "SELECT rule's target list has too many entries" @@ -13622,7 +13414,8 @@ #: rewrite/rewriteDefine.c:557 msgid "cannot convert relation containing dropped columns to view" -msgstr "ne peut pas convertir la relation contenant les colonnes supprimées de la vue" +msgstr "" +"ne peut pas convertir la relation contenant les colonnes supprimées de la vue" #: rewrite/rewriteDefine.c:562 #, c-format @@ -13634,22 +13427,27 @@ #: rewrite/rewriteDefine.c:568 #, c-format msgid "SELECT rule's target entry %d has different type from column \"%s\"" -msgstr "l'entrée cible de la règle SELECT %d a plusieurs types pour la colonne « %s »" +msgstr "" +"l'entrée cible de la règle SELECT %d a plusieurs types pour la colonne « %s »" #: rewrite/rewriteDefine.c:570 #, c-format msgid "RETURNING list's entry %d has different type from column \"%s\"" -msgstr "l'entrée %d de la liste RETURNING a un type différent de la colonne « %s »" +msgstr "" +"l'entrée %d de la liste RETURNING a un type différent de la colonne « %s »" #: rewrite/rewriteDefine.c:585 #, c-format msgid "SELECT rule's target entry %d has different size from column \"%s\"" -msgstr "l'entrée cible de la règle SELECT %d a plusieurs tailles pour la colonne « %s »" +msgstr "" +"l'entrée cible de la règle SELECT %d a plusieurs tailles pour la colonne « " +"%s »" #: rewrite/rewriteDefine.c:587 #, c-format msgid "RETURNING list's entry %d has different size from column \"%s\"" -msgstr "l'entrée %d de la liste RETURNING a plusieurs tailles pour la colonne « %s »" +msgstr "" +"l'entrée %d de la liste RETURNING a plusieurs tailles pour la colonne « %s »" #: rewrite/rewriteDefine.c:595 msgid "SELECT rule's target list has too few entries" @@ -13664,9 +13462,12 @@ msgstr "n'a pas pu déterminer le type de données de transition" #: catalog/pg_aggregate.c:101 -msgid "An aggregate using a polymorphic transition type must have at least one polymorphic argument." +msgid "" +"An aggregate using a polymorphic transition type must have at least one " +"polymorphic argument." msgstr "" -"Un agrégat utilisant un type de transition polymorphique doit avoir au moins\n" +"Un agrégat utilisant un type de transition polymorphique doit avoir au " +"moins\n" "un argument polymorphique." #: catalog/pg_aggregate.c:124 @@ -13675,38 +13476,44 @@ msgstr "le type de retour de la fonction de transition %s n'est pas %s" #: catalog/pg_aggregate.c:146 -msgid "must not omit initial value when transition function is strict and transition type is not compatible with input type" +msgid "" +"must not omit initial value when transition function is strict and " +"transition type is not compatible with input type" msgstr "" -"ne doit pas omettre la valeur initiale lorsque la fonction de transition est\n" +"ne doit pas omettre la valeur initiale lorsque la fonction de transition " +"est\n" "stricte et que le type de transition n'est pas compatible avec le type en\n" "entrée" -#: catalog/pg_aggregate.c:177 -#: catalog/pg_proc.c:203 +#: catalog/pg_aggregate.c:177 catalog/pg_proc.c:203 msgid "cannot determine result data type" msgstr "n'a pas pu déterminer le type de données en résultat" #: catalog/pg_aggregate.c:178 -msgid "An aggregate returning a polymorphic type must have at least one polymorphic argument." +msgid "" +"An aggregate returning a polymorphic type must have at least one polymorphic " +"argument." msgstr "" "Un agrégat renvoyant un type polymorphique doit avoir au moins un argument\n" "de type polymorphique." -#: catalog/pg_aggregate.c:190 -#: catalog/pg_proc.c:209 +#: catalog/pg_aggregate.c:190 catalog/pg_proc.c:209 msgid "unsafe use of pseudo-type \"internal\"" msgstr "utilisation non sûre des pseudo-types « INTERNAL »" -#: catalog/pg_aggregate.c:191 -#: catalog/pg_proc.c:210 -msgid "A function returning \"internal\" must have at least one \"internal\" argument." +#: catalog/pg_aggregate.c:191 catalog/pg_proc.c:210 +msgid "" +"A function returning \"internal\" must have at least one \"internal\" " +"argument." msgstr "" "Une fonction renvoyant « internal » doit avoir au moins un argument du type\n" "« internal »." #: catalog/pg_aggregate.c:199 msgid "sort operator can only be specified for single-argument aggregates" -msgstr "l'opérateur de tri peut seulement être indiqué pour des agrégats à un seul argument" +msgstr "" +"l'opérateur de tri peut seulement être indiqué pour des agrégats à un seul " +"argument" #: catalog/pg_aggregate.c:337 #, c-format @@ -13720,7 +13527,9 @@ #: catalog/index.c:552 msgid "user-defined indexes on system catalog tables are not supported" -msgstr "les index définis par l'utilisateur sur les tables du catalogue système ne sont pas supportés" +msgstr "" +"les index définis par l'utilisateur sur les tables du catalogue système ne " +"sont pas supportés" #: catalog/index.c:562 msgid "concurrent index creation on system catalog tables is not supported" @@ -13757,9 +13566,7 @@ "les tables partagées ne peuvent pas avoir une table TOAST après la commande\n" "initdb" -#: catalog/pg_proc.c:122 -#: parser/parse_func.c:1344 -#: parser/parse_func.c:1384 +#: catalog/pg_proc.c:122 parser/parse_func.c:1344 parser/parse_func.c:1384 #, c-format msgid "functions cannot have more than %d argument" msgid_plural "functions cannot have more than %d arguments" @@ -13767,9 +13574,12 @@ msgstr[1] "les fonctions ne peuvent avoir plus de %d arguments" #: catalog/pg_proc.c:204 -msgid "A function returning a polymorphic type must have at least one polymorphic argument." +msgid "" +"A function returning a polymorphic type must have at least one polymorphic " +"argument." msgstr "" -"Une fonction renvoyant un type polymorphique doit avoir au moins un argument\n" +"Une fonction renvoyant un type polymorphique doit avoir au moins un " +"argument\n" "de type polymorphique." #: catalog/pg_proc.c:222 @@ -13777,70 +13587,72 @@ msgid "\"%s\" is already an attribute of type %s" msgstr "« %s » est déjà un attribut du type %s" -#: catalog/pg_proc.c:361 +#: catalog/pg_proc.c:290 +msgid "window functions cannot have default arguments" +msgstr "" +"les fonctions de fenêtrage ne peuvent pas avoir des arguments par défaut" + +#: catalog/pg_proc.c:367 #, c-format msgid "function \"%s\" already exists with same argument types" msgstr "la fonction « %s » existe déjà avec des types d'arguments identiques" -#: catalog/pg_proc.c:375 -#: catalog/pg_proc.c:397 +#: catalog/pg_proc.c:381 catalog/pg_proc.c:403 msgid "cannot change return type of existing function" msgstr "ne peut pas modifier le type de retour d'une fonction existante" -#: catalog/pg_proc.c:376 -#: catalog/pg_proc.c:399 -#: catalog/pg_proc.c:422 -#: catalog/pg_proc.c:448 +#: catalog/pg_proc.c:382 catalog/pg_proc.c:405 catalog/pg_proc.c:428 +#: catalog/pg_proc.c:454 msgid "Use DROP FUNCTION first." msgstr "Utilisez tout d'abord DROP FUNCTION." -#: catalog/pg_proc.c:398 +#: catalog/pg_proc.c:404 msgid "Row type defined by OUT parameters is different." msgstr "Le type de ligne défini par les paramètres OUT est différent." -#: catalog/pg_proc.c:421 +#: catalog/pg_proc.c:427 msgid "cannot remove parameter defaults from existing function" msgstr "" "ne peut pas supprimer les valeurs par défaut des paramètres de la\n" "fonction existante" -#: catalog/pg_proc.c:447 +#: catalog/pg_proc.c:453 msgid "cannot change data type of existing parameter default value" msgstr "" "ne peut pas modifier le type de données d'un paramètre avec une valeur\n" "par défaut" -#: catalog/pg_proc.c:459 +#: catalog/pg_proc.c:465 #, c-format msgid "function \"%s\" is an aggregate function" msgstr "la fonction « %s » est une fonction d'agrégat" -#: catalog/pg_proc.c:464 +#: catalog/pg_proc.c:470 #, c-format msgid "function \"%s\" is not an aggregate function" msgstr "la fonction « %s » n'est pas une fonction d'agrégat" -#: catalog/pg_proc.c:472 +#: catalog/pg_proc.c:478 #, c-format msgid "function \"%s\" is a window function" msgstr "la fonction « %s » est une fonction window" -#: catalog/pg_proc.c:477 +#: catalog/pg_proc.c:483 #, c-format msgid "function \"%s\" is not a window function" msgstr "la fonction « %s » n'est pas une fonction window" -#: catalog/pg_proc.c:630 +#: catalog/pg_proc.c:646 #, c-format msgid "there is no built-in function named \"%s\"" msgstr "il n'existe pas de fonction intégrée nommée « %s »" -#: catalog/pg_proc.c:726 +#: catalog/pg_proc.c:742 #, c-format msgid "SQL functions cannot return type %s" msgstr "les fonctions SQL ne peuvent pas renvoyer un type %s" -#: catalog/pg_proc.c:741 +#: catalog/pg_proc.c:757 #, c-format msgid "SQL functions cannot have arguments of type %s" msgstr "les fonctions SQL ne peuvent avoir d'arguments du type %s" @@ -13853,14 +13665,13 @@ msgid "Valid fork names are \"main\", \"fsm\", and \"vm\"." msgstr "Les noms de fork valides sont « main », « fsm » et « vm »." -#: catalog/pg_shdepend.c:549 -#: catalog/dependency.c:729 +#: catalog/pg_shdepend.c:549 catalog/dependency.c:729 #, c-format msgid "cannot drop %s because it is required by the database system" -msgstr "n'a pas pu supprimer %s car il est requis par le système de bases de données" +msgstr "" +"n'a pas pu supprimer %s car il est requis par le système de bases de données" -#: catalog/pg_shdepend.c:660 -#: catalog/dependency.c:893 +#: catalog/pg_shdepend.c:660 catalog/dependency.c:893 #, c-format msgid "" "\n" @@ -13889,7 +13700,8 @@ "serveur pour une liste)" msgstr[1] "" "\n" -"et des objets dans %d autres bases de données (voir le journal applicatif du\n" +"et des objets dans %d autres bases de données (voir le journal applicatif " +"du\n" "serveur pour une liste)" #: catalog/pg_shdepend.c:981 @@ -13922,14 +13734,19 @@ #: catalog/pg_shdepend.c:1165 #, c-format -msgid "cannot drop objects owned by %s because they are required by the database system" +msgid "" +"cannot drop objects owned by %s because they are required by the database " +"system" msgstr "" -"n'a pas pu supprimer les objets appartenant à %s car ils sont nécessaires au\n" +"n'a pas pu supprimer les objets appartenant à %s car ils sont nécessaires " +"au\n" "système de bases de données" -#: catalog/pg_shdepend.c:1299 +#: catalog/pg_shdepend.c:1302 #, c-format -msgid "cannot reassign ownership of objects owned by %s because they are required by the database system" +msgid "" +"cannot reassign ownership of objects owned by %s because they are required " +"by the database system" msgstr "" "n'a pas pu réaffecter le propriétaire des objets appartenant à %s car ils\n" "sont nécessaires au système de bases de données" @@ -13939,21 +13756,19 @@ msgid "invalid type internal size %d" msgstr "taille interne de type invalide %d" -#: catalog/pg_type.c:240 -#: catalog/pg_type.c:248 -#: catalog/pg_type.c:256 +#: catalog/pg_type.c:240 catalog/pg_type.c:248 catalog/pg_type.c:256 #: catalog/pg_type.c:265 #, c-format msgid "alignment \"%c\" is invalid for passed-by-value type of size %d" -msgstr "l'alignement « %c » est invalide pour le type passé par valeur de taille %d" +msgstr "" +"l'alignement « %c » est invalide pour le type passé par valeur de taille %d" #: catalog/pg_type.c:272 #, c-format msgid "internal size %d is invalid for passed-by-value type" msgstr "la taille interne %d est invalide pour le type passé par valeur" -#: catalog/pg_type.c:281 -#: catalog/pg_type.c:287 +#: catalog/pg_type.c:281 catalog/pg_type.c:287 #, c-format msgid "alignment \"%c\" is invalid for variable-length type" msgstr "l'alignement « %c » est invalide pour le type de longueur variable" @@ -13974,7 +13789,8 @@ #: catalog/aclchk.c:254 #, c-format msgid "no privileges were granted for column \"%s\" of relation \"%s\"" -msgstr "aucun droit n'a été accordé pour la colonne « %s » de la relation « %s »" +msgstr "" +"aucun droit n'a été accordé pour la colonne « %s » de la relation « %s »" #: catalog/aclchk.c:259 #, c-format @@ -13984,7 +13800,9 @@ #: catalog/aclchk.c:267 #, c-format msgid "not all privileges were granted for column \"%s\" of relation \"%s\"" -msgstr "tous les droits n'ont pas été accordés pour la colonne « %s » de la relation « %s »" +msgstr "" +"tous les droits n'ont pas été accordés pour la colonne « %s » de la relation " +"« %s »" #: catalog/aclchk.c:272 #, c-format @@ -13994,7 +13812,8 @@ #: catalog/aclchk.c:283 #, c-format msgid "no privileges could be revoked for column \"%s\" of relation \"%s\"" -msgstr "aucun droit n'a pu être révoqué pour la colonne « %s » de la relation « %s »" +msgstr "" +"aucun droit n'a pu être révoqué pour la colonne « %s » de la relation « %s »" #: catalog/aclchk.c:288 #, c-format @@ -14003,8 +13822,11 @@ #: catalog/aclchk.c:296 #, c-format -msgid "not all privileges could be revoked for column \"%s\" of relation \"%s\"" -msgstr "certains droits n'ont pu être révoqué pour la colonne « %s » de la relation « %s »" +msgid "" +"not all privileges could be revoked for column \"%s\" of relation \"%s\"" +msgstr "" +"certains droits n'ont pu être révoqué pour la colonne « %s » de la relation " +"« %s »" #: catalog/aclchk.c:301 #, c-format @@ -14063,7 +13885,8 @@ #: catalog/aclchk.c:969 #, c-format msgid "sequence \"%s\" only supports USAGE, SELECT, and UPDATE privileges" -msgstr "la séquence « %s » accepte seulement les droits USAGE, SELECT et UPDATE" +msgstr "" +"la séquence « %s » accepte seulement les droits USAGE, SELECT et UPDATE" #: catalog/aclchk.c:986 msgid "invalid privilege type USAGE for table" @@ -14175,8 +13998,7 @@ msgid "permission denied for foreign server %s" msgstr "droit refusé pour le serveur distant %s" -#: catalog/aclchk.c:2147 -#: catalog/aclchk.c:2149 +#: catalog/aclchk.c:2147 catalog/aclchk.c:2149 #, c-format msgid "must be owner of relation %s" msgstr "doit être le propriétaire de la relation %s" @@ -14244,7 +14066,8 @@ #: catalog/aclchk.c:2175 #, c-format msgid "must be owner of text search configuration %s" -msgstr "doit être le propriétaire de la configuration de recherche plein texte %s" +msgstr "" +"doit être le propriétaire de la configuration de recherche plein texte %s" #: catalog/aclchk.c:2177 #, c-format @@ -14266,32 +14089,27 @@ msgid "role with OID %u does not exist" msgstr "le rôle d'OID %u n'existe pas" -#: catalog/aclchk.c:2341 -#: catalog/aclchk.c:2349 +#: catalog/aclchk.c:2341 catalog/aclchk.c:2349 #, c-format msgid "attribute %d of relation with OID %u does not exist" msgstr "l'attribut %d de la relation d'OID %u n'existe pas" -#: catalog/aclchk.c:2426 -#: catalog/aclchk.c:3182 +#: catalog/aclchk.c:2426 catalog/aclchk.c:3182 #, c-format msgid "relation with OID %u does not exist" msgstr "la relation d'OID %u n'existe pas" -#: catalog/aclchk.c:2634 -#: catalog/aclchk.c:3294 +#: catalog/aclchk.c:2634 catalog/aclchk.c:3294 #, c-format msgid "language with OID %u does not exist" msgstr "le langage d'OID %u n'existe pas" -#: catalog/aclchk.c:2718 -#: catalog/aclchk.c:3322 +#: catalog/aclchk.c:2718 catalog/aclchk.c:3322 #, c-format msgid "schema with OID %u does not exist" msgstr "le schéma d'OID %u n'existe pas" -#: catalog/aclchk.c:2784 -#: catalog/aclchk.c:3361 +#: catalog/aclchk.c:2784 catalog/aclchk.c:3361 #, c-format msgid "tablespace with OID %u does not exist" msgstr "le tablespace d'OID %u n'existe pas" @@ -14301,8 +14119,7 @@ msgid "foreign-data wrapper with OID %u does not exist" msgstr "le wrapper de données distantes d'OID %u n'existe pas" -#: catalog/aclchk.c:2907 -#: catalog/aclchk.c:3506 +#: catalog/aclchk.c:2907 catalog/aclchk.c:3506 #, c-format msgid "foreign server with OID %u does not exist" msgstr "le serveur distant d'OID %u n'existe pas" @@ -14342,28 +14159,21 @@ msgid "conversion with OID %u does not exist" msgstr "la conversion d'OID %u n'existe pas" -#: catalog/namespace.c:247 -#: catalog/namespace.c:314 +#: catalog/namespace.c:247 catalog/namespace.c:314 msgid "temporary tables cannot specify a schema name" msgstr "les tables temporaires ne peuvent pas spécifier un nom de schéma" -#: catalog/namespace.c:356 -#: catalog/namespace.c:2230 +#: catalog/namespace.c:356 catalog/namespace.c:2230 msgid "no schema has been selected to create in" msgstr "aucun schéma n'a été sélectionné pour cette création" -#: catalog/namespace.c:2076 -#: parser/parse_expr.c:584 -#: parser/parse_target.c:909 +#: catalog/namespace.c:2076 parser/parse_expr.c:586 parser/parse_target.c:910 #, c-format msgid "cross-database references are not implemented: %s" msgstr "les références entre bases de données ne sont pas implémentées : %s" -#: catalog/namespace.c:2082 -#: gram.y:3434 -#: gram.y:9931 -#: parser/parse_expr.c:618 -#: parser/parse_target.c:919 +#: catalog/namespace.c:2082 gram.y:3434 gram.y:9954 parser/parse_expr.c:620 +#: parser/parse_target.c:920 #, c-format msgid "improper qualified name (too many dotted names): %s" msgstr "mauvaise qualification du nom (trop de points entre les noms) : %s" @@ -14376,7 +14186,9 @@ #: catalog/namespace.c:2844 #, c-format msgid "permission denied to create temporary tables in database \"%s\"" -msgstr "droit refusé pour la création de tables temporaires dans la base de données « %s »" +msgstr "" +"droit refusé pour la création de tables temporaires dans la base de données " +"« %s »" #: catalog/dependency.c:573 #, c-format @@ -14393,14 +14205,12 @@ msgid "drop auto-cascades to %s" msgstr "DROP cascade automatiquement sur %s" -#: catalog/dependency.c:855 -#: catalog/dependency.c:864 +#: catalog/dependency.c:855 catalog/dependency.c:864 #, c-format msgid "%s depends on %s" msgstr "%s dépend de %s" -#: catalog/dependency.c:876 -#: catalog/dependency.c:885 +#: catalog/dependency.c:876 catalog/dependency.c:885 #, c-format msgid "drop cascades to %s" msgstr "DROP cascade sur %s" @@ -14410,14 +14220,14 @@ msgid "cannot drop %s because other objects depend on it" msgstr "n'a pas pu supprimer %s car d'autres objets en dépendent" -#: catalog/dependency.c:909 -#: catalog/dependency.c:916 +#: catalog/dependency.c:909 catalog/dependency.c:916 msgid "Use DROP ... CASCADE to drop the dependent objects too." msgstr "Utilisez DROP ... CASCADE pour supprimer aussi les objets dépendants." #: catalog/dependency.c:913 msgid "cannot drop desired object(s) because other objects depend on them" -msgstr "ne peut pas supprimer les objets désirés car d'autres objets en dépendent" +msgstr "" +"ne peut pas supprimer les objets désirés car d'autres objets en dépendent" #. translator: %d always has a value larger than 1 #: catalog/dependency.c:922 @@ -14495,7 +14305,7 @@ #: catalog/dependency.c:2418 #, c-format msgid "rule %s on " -msgstr "règle %s active" +msgstr "règle %s active " #: catalog/dependency.c:2453 #, c-format @@ -14602,8 +14412,7 @@ msgid "operator family %s for access method %s" msgstr "famille d'opérateur %s pour la méthode d'accès %s" -#: catalog/pg_operator.c:220 -#: catalog/pg_operator.c:358 +#: catalog/pg_operator.c:220 catalog/pg_operator.c:358 #, c-format msgid "\"%s\" is not a valid operator name" msgstr "« %s » n'est pas un nom d'opérateur valide" @@ -14614,7 +14423,8 @@ #: catalog/pg_operator.c:371 msgid "only binary operators can have join selectivity" -msgstr "seuls les opérateurs binaires peuvent avoir une sélectivité des jointures" +msgstr "" +"seuls les opérateurs binaires peuvent avoir une sélectivité des jointures" #: catalog/pg_operator.c:375 msgid "only binary operators can merge join" @@ -14630,11 +14440,13 @@ #: catalog/pg_operator.c:394 msgid "only boolean operators can have restriction selectivity" -msgstr "seuls les opérateurs booléens peuvent avoir une sélectivité des restrictions" +msgstr "" +"seuls les opérateurs booléens peuvent avoir une sélectivité des restrictions" #: catalog/pg_operator.c:398 msgid "only boolean operators can have join selectivity" -msgstr "seuls les opérateurs booléens peuvent avoir une sélectivité des jointures" +msgstr "" +"seuls les opérateurs booléens peuvent avoir une sélectivité des jointures" #: catalog/pg_operator.c:402 msgid "only boolean operators can merge join" @@ -14651,7 +14463,8 @@ #: catalog/pg_operator.c:608 msgid "operator cannot be its own negator or sort operator" -msgstr "l'opérateur ne peut pas être son propre opérateur de négation ou de tri" +msgstr "" +"l'opérateur ne peut pas être son propre opérateur de négation ou de tri" #: catalog/pg_enum.c:91 #, c-format @@ -14675,7 +14488,9 @@ #: catalog/heap.c:379 #, c-format msgid "column name \"%s\" conflicts with a system column name" -msgstr "le nom de la colonne « %s » entre en conflit avec le nom d'une colonne système" +msgstr "" +"le nom de la colonne « %s » entre en conflit avec le nom d'une colonne " +"système" #: catalog/heap.c:395 #, c-format @@ -14702,7 +14517,9 @@ msgstr "le type composite %s ne peut pas être membre de lui-même" #: catalog/heap.c:919 -msgid "A relation has an associated type of the same name, so you must use a name that doesn't conflict with any existing type." +msgid "" +"A relation has an associated type of the same name, so you must use a name " +"that doesn't conflict with any existing type." msgstr "" "Une relation a un type associé du même nom, donc vous devez utiliser un nom\n" "qui n'entre pas en conflit avec un type existant." @@ -14719,7 +14536,8 @@ #: catalog/heap.c:2163 msgid "cannot use column references in default expression" -msgstr "ne peut pas utiliser les références de colonnes dans l'expression par défaut" +msgstr "" +"ne peut pas utiliser les références de colonnes dans l'expression par défaut" #: catalog/heap.c:2171 msgid "default expression must not return a set" @@ -14731,16 +14549,19 @@ #: catalog/heap.c:2183 msgid "cannot use aggregate function in default expression" -msgstr "ne peut pas utiliser une fonction d'agrégat dans une expression par défaut" +msgstr "" +"ne peut pas utiliser une fonction d'agrégat dans une expression par défaut" #: catalog/heap.c:2187 msgid "cannot use window function in default expression" -msgstr "ne peut pas utiliser une fonction window dans une expression par défaut" +msgstr "" +"ne peut pas utiliser une fonction window dans une expression par défaut" #: catalog/heap.c:2247 #, c-format msgid "only table \"%s\" can be referenced in check constraint" -msgstr "seule la table « %s » peut être référencée dans la contrainte de vérification" +msgstr "" +"seule la table « %s » peut être référencée dans la contrainte de vérification" #: catalog/heap.c:2483 msgid "unsupported ON COMMIT and foreign key combination" @@ -14748,14 +14569,19 @@ #: catalog/heap.c:2484 #, c-format -msgid "Table \"%s\" references \"%s\", but they do not have the same ON COMMIT setting." +msgid "" +"Table \"%s\" references \"%s\", but they do not have the same ON COMMIT " +"setting." msgstr "" -"La table « %s » référence « %s » mais elles n'ont pas la même valeur pour le\n" +"La table « %s » référence « %s » mais elles n'ont pas la même valeur pour " +"le\n" "paramètre ON COMMIT." #: catalog/heap.c:2489 msgid "cannot truncate a table referenced in a foreign key constraint" -msgstr "ne peut pas tronquer une table référencée dans une contrainte de clé étrangère" +msgstr "" +"ne peut pas tronquer une table référencée dans une contrainte de clé " +"étrangère" #: catalog/heap.c:2490 #, c-format @@ -14765,12 +14591,14 @@ #: catalog/heap.c:2492 #, c-format msgid "Truncate table \"%s\" at the same time, or use TRUNCATE ... CASCADE." -msgstr "Tronquez la table « %s » en même temps, ou utilisez TRUNCATE ... CASCADE." +msgstr "" +"Tronquez la table « %s » en même temps, ou utilisez TRUNCATE ... CASCADE." #: catalog/pg_depend.c:209 #, c-format msgid "cannot remove dependency on %s because it is a system object" -msgstr "ne peut pas supprimer la dépendance sur %s car il s'agit d'un objet système" +msgstr "" +"ne peut pas supprimer la dépendance sur %s car il s'agit d'un objet système" #: main/main.c:230 #, c-format @@ -14811,7 +14639,8 @@ #, c-format msgid " -A 1|0 enable/disable run-time assert checking\n" msgstr "" -" -A 1|0 active/désactive la vérification des limites (assert) à\n" +" -A 1|0 active/désactive la vérification des limites (assert) " +"à\n" " l'exécution\n" #: main/main.c:274 @@ -14837,7 +14666,8 @@ #: main/main.c:278 #, c-format msgid " -e use European date input format (DMY)\n" -msgstr " -e utilise le format de saisie européen des dates (DMY)\n" +msgstr "" +" -e utilise le format de saisie européen des dates (DMY)\n" #: main/main.c:279 #, c-format @@ -14872,7 +14702,9 @@ #: main/main.c:287 #, c-format msgid " -o OPTIONS pass \"OPTIONS\" to each server process (obsolete)\n" -msgstr " -o OPTIONS passe « OPTIONS » à chaque processus serveur (obsolète)\n" +msgstr "" +" -o OPTIONS passe « OPTIONS » à chaque processus serveur " +"(obsolète)\n" #: main/main.c:288 #, c-format @@ -14897,7 +14729,8 @@ #: main/main.c:292 #, c-format msgid " --describe-config describe configuration parameters, then exit\n" -msgstr " --describe-config décrit les paramètres de configuration, puis quitte\n" +msgstr "" +" --describe-config décrit les paramètres de configuration, puis quitte\n" #: main/main.c:293 #, c-format @@ -14921,11 +14754,13 @@ #: main/main.c:297 #, c-format msgid " -f s|i|n|m|h forbid use of some plan types\n" -msgstr " -f s|i|n|m|h interdit l'utilisation de certains types de plan\n" +msgstr "" +" -f s|i|n|m|h interdit l'utilisation de certains types de plan\n" #: main/main.c:298 #, c-format -msgid " -n do not reinitialize shared memory after abnormal exit\n" +msgid "" +" -n do not reinitialize shared memory after abnormal exit\n" msgstr "" " -n ne réinitialise pas la mémoire partagée après un arrêt\n" " brutal\n" @@ -14980,7 +14815,8 @@ #: main/main.c:307 #, c-format msgid " DBNAME database name (defaults to user name)\n" -msgstr " NOMBASE nom de la base (par défaut, celui de l'utilisateur)\n" +msgstr "" +" NOMBASE nom de la base (par défaut, celui de l'utilisateur)\n" #: main/main.c:308 #, c-format @@ -14999,8 +14835,7 @@ " -N n'utilise pas le retour à la ligne comme délimiteur de\n" " requête\n" -#: main/main.c:311 -#: main/main.c:316 +#: main/main.c:311 main/main.c:316 #, c-format msgid " -r FILENAME send stdout and stderr to given file\n" msgstr " -r FICHIER envoie stdout et stderr dans le fichier indiqué\n" @@ -15023,8 +14858,10 @@ #: main/main.c:315 #, c-format -msgid " DBNAME database name (mandatory argument in bootstrapping mode)\n" -msgstr " NOMBASE nom de la base (argument obligatoire dans ce mode)\n" +msgid "" +" DBNAME database name (mandatory argument in bootstrapping mode)\n" +msgstr "" +" NOMBASE nom de la base (argument obligatoire dans ce mode)\n" #: main/main.c:317 #, c-format @@ -15058,13 +14895,16 @@ "L'exécution du serveur PostgreSQL par l'utilisateur « root » n'est pas\n" "autorisée.\n" "Le serveur doit être lancé avec un utilisateur non privilégié pour empêcher\n" -"tout problème possible de sécurité sur le serveur. Voir la documentation pour\n" +"tout problème possible de sécurité sur le serveur. Voir la documentation " +"pour\n" "plus d'informations sur le lancement propre du serveur.\n" #: main/main.c:350 #, c-format msgid "%s: real and effective user IDs must match\n" -msgstr "%s : les identifiants réel et effectif de l'utilisateur doivent correspondre\n" +msgstr "" +"%s : les identifiants réel et effectif de l'utilisateur doivent " +"correspondre\n" #: main/main.c:357 msgid "" @@ -15074,7 +14914,8 @@ "possible system security compromises. See the documentation for\n" "more information on how to properly start the server.\n" msgstr "" -"L'exécution du serveur PostgreSQL par un utilisateur doté de droits d'administrateur n'est pas permise.\n" +"L'exécution du serveur PostgreSQL par un utilisateur doté de droits " +"d'administrateur n'est pas permise.\n" "Le serveur doit être lancé avec un utilisateur non privilégié pour empêcher\n" "tout problème de sécurité sur le serveur. Voir la documentation pour\n" "plus d'informations sur le lancement propre du serveur.\n" @@ -15087,28 +14928,23 @@ #: main/main.c:391 #, c-format msgid "%s: could not determine user name (GetUserName failed)\n" -msgstr "%s : n'a pas pu déterminer le nom de l'utilisateur (GetUserName a échoué)\n" +msgstr "" +"%s : n'a pas pu déterminer le nom de l'utilisateur (GetUserName a échoué)\n" -#: parser/parse_coerce.c:283 -#: parser/analyze.c:2276 -#: parser/parse_expr.c:647 -#: parser/parse_expr.c:654 +#: parser/parse_coerce.c:283 parser/analyze.c:2276 parser/parse_expr.c:649 +#: parser/parse_expr.c:656 #, c-format msgid "there is no parameter $%d" msgstr "Il n'existe pas de paramètres $%d" -#: parser/parse_coerce.c:300 -#: parser/parse_expr.c:1879 +#: parser/parse_coerce.c:300 parser/parse_expr.c:1894 #, c-format msgid "inconsistent types deduced for parameter $%d" msgstr "types incohérents déduit pour le paramètre $%d" -#: parser/parse_coerce.c:891 -#: parser/parse_coerce.c:920 -#: parser/parse_coerce.c:938 -#: parser/parse_coerce.c:953 -#: parser/parse_expr.c:1531 -#: parser/parse_expr.c:2034 +#: parser/parse_coerce.c:891 parser/parse_coerce.c:920 +#: parser/parse_coerce.c:938 parser/parse_coerce.c:953 +#: parser/parse_expr.c:1533 parser/parse_expr.c:2049 #, c-format msgid "cannot cast type %s to %s" msgstr "ne peut pas convertir le type %s en %s" @@ -15134,8 +14970,7 @@ #. translator: %s is name of a SQL construct, eg WHERE #. translator: %s is name of a SQL construct, eg LIMIT -#: parser/parse_coerce.c:1009 -#: parser/parse_coerce.c:1058 +#: parser/parse_coerce.c:1009 parser/parse_coerce.c:1058 #, c-format msgid "argument of %s must not return a set" msgstr "l'argument de %s ne doit pas renvoyer un ensemble" @@ -15166,15 +15001,17 @@ msgid "arguments declared \"anyarray\" are not all alike" msgstr "les arguments déclarés « anyarray » ne sont pas tous identiques" -#: parser/parse_coerce.c:1535 -#: parser/parse_coerce.c:1679 +#: parser/parse_coerce.c:1535 parser/parse_coerce.c:1679 #: parser/parse_coerce.c:1710 #, c-format msgid "argument declared \"anyarray\" is not an array but type %s" -msgstr "l'argument déclaré « anyarray » n'est pas un tableau mais est du type %s" +msgstr "" +"l'argument déclaré « anyarray » n'est pas un tableau mais est du type %s" #: parser/parse_coerce.c:1551 -msgid "argument declared \"anyarray\" is not consistent with argument declared \"anyelement\"" +msgid "" +"argument declared \"anyarray\" is not consistent with argument declared " +"\"anyelement\"" msgstr "" "l'argument déclaré « anyarray » n'est pas cohérent avec l'argument déclaré\n" "« anyelement »" @@ -15199,14 +15036,11 @@ msgid "current database cannot be changed" msgstr "la base de données actuelle ne peut pas être changée" -#: gram.y:1306 -#: gram.y:1321 +#: gram.y:1306 gram.y:1321 msgid "time zone interval must be HOUR or HOUR TO MINUTE" msgstr "l'intervalle de fuseau horaire doit être HOUR ou HOUR TO MINUTE" -#: gram.y:1326 -#: gram.y:7744 -#: gram.y:10037 +#: gram.y:1326 gram.y:7744 gram.y:10060 msgid "interval precision specified twice" msgstr "précision d'intervalle spécifiée deux fois" @@ -15218,9 +15052,7 @@ msgid "duplicate trigger events specified" msgstr "événements de trigger dupliqués spécifiés" -#: gram.y:3246 -#: gram.y:3262 -#: parser/parse_utilcmd.c:1969 +#: gram.y:3246 gram.y:3262 parser/parse_utilcmd.c:1969 #: parser/parse_utilcmd.c:1992 msgid "constraint declared INITIALLY DEFERRED must be DEFERRABLE" msgstr "la contrainte déclarée INITIALLY DEFERRED doit être DEFERRABLE" @@ -15241,15 +15073,15 @@ msgid "Update your data type." msgstr "Mettez à jour votre type de données." -#: gram.y:5917 -#: gram.y:5923 -#: gram.y:5929 +#: gram.y:5917 gram.y:5923 gram.y:5929 msgid "WITH CHECK OPTION is not implemented" msgstr "WITH CHECK OPTION n'est pas implémenté" #: gram.y:6515 msgid "column name list not allowed in CREATE TABLE / AS EXECUTE" -msgstr "la liste de noms de colonnes n'est pas autorisée dans CREATE TABLE / AS EXECUTE" +msgstr "" +"la liste de noms de colonnes n'est pas autorisée dans CREATE TABLE / AS " +"EXECUTE" #: gram.y:6736 msgid "number of columns does not match number of values" @@ -15291,60 +15123,60 @@ msgid "UNIQUE predicate is not yet implemented" msgstr "prédicat UNIQUE non implémenté" -#: gram.y:9414 -#: gram.y:9429 +#: gram.y:9437 gram.y:9452 msgid "frame start cannot be UNBOUNDED FOLLOWING" msgstr "la fin du frame ne peut pas être UNBOUNDED FOLLOWING" -#: gram.y:9419 -#: gram.y:9434 +#: gram.y:9442 gram.y:9457 msgid "frame start at CURRENT ROW is not implemented" msgstr "début du frame à CURRENT ROW n'est pas implémenté" -#: gram.y:9439 +#: gram.y:9462 msgid "frame end cannot be UNBOUNDED PRECEDING" msgstr "la fin du frame ne peut pas être UNBOUNDED PRECEDING" -#: gram.y:10559 +#: gram.y:10582 msgid "OLD used in query that is not in a rule" msgstr "OLD utilisé dans une requête qui n'est pas une règle" -#: gram.y:10569 +#: gram.y:10592 msgid "NEW used in query that is not in a rule" msgstr "NEW utilisé dans une requête qui ne fait pas partie d'une règle" -#: gram.y:10617 -#: gram.y:10824 +#: gram.y:10640 gram.y:10847 msgid "improper use of \"*\"" msgstr "mauvaise utilisation de « * »" -#: gram.y:10756 +#: gram.y:10779 msgid "wrong number of parameters on left side of OVERLAPS expression" -msgstr "mauvais nombre de paramètres sur le côté gauche de l'expression OVERLAPS" +msgstr "" +"mauvais nombre de paramètres sur le côté gauche de l'expression OVERLAPS" -#: gram.y:10763 +#: gram.y:10786 msgid "wrong number of parameters on right side of OVERLAPS expression" -msgstr "mauvais nombre de paramètres sur le côté droit de l'expression OVERLAPS" +msgstr "" +"mauvais nombre de paramètres sur le côté droit de l'expression OVERLAPS" -#: gram.y:10886 +#: gram.y:10909 msgid "multiple ORDER BY clauses not allowed" msgstr "clauses ORDER BY multiples non autorisées" -#: gram.y:10897 +#: gram.y:10920 msgid "multiple OFFSET clauses not allowed" msgstr "clauses OFFSET multiples non autorisées" -#: gram.y:10906 +#: gram.y:10929 msgid "multiple LIMIT clauses not allowed" msgstr "clauses LIMIT multiples non autorisées" -#: gram.y:10915 +#: gram.y:10938 msgid "multiple WITH clauses not allowed" msgstr "clauses WITH multiples non autorisées" -#: gram.y:11069 +#: gram.y:11093 msgid "OUT and INOUT arguments aren't allowed in TABLE functions" -msgstr "les arguments OUT et INOUT ne sont pas autorisés dans des fonctions TABLE" +msgstr "" +"les arguments OUT et INOUT ne sont pas autorisés dans des fonctions TABLE" #: parser/parse_utilcmd.c:298 msgid "array of serial is not implemented" @@ -15353,23 +15185,26 @@ #: parser/parse_utilcmd.c:340 #, c-format msgid "%s will create implicit sequence \"%s\" for serial column \"%s.%s\"" -msgstr "%s créera des séquences implicites « %s » pour la colonne serial « %s.%s »" +msgstr "" +"%s créera des séquences implicites « %s » pour la colonne serial « %s.%s »" -#: parser/parse_utilcmd.c:442 -#: parser/parse_utilcmd.c:452 +#: parser/parse_utilcmd.c:442 parser/parse_utilcmd.c:452 #, c-format -msgid "conflicting NULL/NOT NULL declarations for column \"%s\" of table \"%s\"" -msgstr "déclarations NULL/NOT NULL en conflit pour la colonne « %s » de la table « %s »" +msgid "" +"conflicting NULL/NOT NULL declarations for column \"%s\" of table \"%s\"" +msgstr "" +"déclarations NULL/NOT NULL en conflit pour la colonne « %s » de la table « " +"%s »" #: parser/parse_utilcmd.c:462 #, c-format msgid "multiple default values specified for column \"%s\" of table \"%s\"" msgstr "" -"plusieurs valeurs par défaut sont spécifiées pour la colonne « %s » de la table\n" +"plusieurs valeurs par défaut sont spécifiées pour la colonne « %s » de la " +"table\n" "« %s »" -#: parser/parse_utilcmd.c:900 -#: parser/parse_utilcmd.c:970 +#: parser/parse_utilcmd.c:900 parser/parse_utilcmd.c:970 #, c-format msgid "Index \"%s\" contains a whole-row table reference." msgstr "L'index « %s » contient une référence de ligne complète." @@ -15377,7 +15212,8 @@ #: parser/parse_utilcmd.c:1268 #, c-format msgid "column \"%s\" appears twice in primary key constraint" -msgstr "la colonne « %s » apparaît deux fois dans la contrainte de la clé primaire" +msgstr "" +"la colonne « %s » apparaît deux fois dans la contrainte de la clé primaire" #: parser/parse_utilcmd.c:1273 #, c-format @@ -15389,25 +15225,34 @@ msgstr "l'expression de l'index ne peut pas renvoyer un ensemble" #: parser/parse_utilcmd.c:1430 -msgid "index expressions and predicates can refer only to the table being indexed" -msgstr "les expressions et prédicats d'index peuvent seulement faire référence à la table en cours d'indexage" +msgid "" +"index expressions and predicates can refer only to the table being indexed" +msgstr "" +"les expressions et prédicats d'index peuvent seulement faire référence à la " +"table en cours d'indexage" #: parser/parse_utilcmd.c:1525 msgid "rule WHERE condition cannot contain references to other relations" msgstr "" -"la condition WHERE d'une règle ne devrait pas contenir de références à d'autres\n" +"la condition WHERE d'une règle ne devrait pas contenir de références à " +"d'autres\n" "relations" #: parser/parse_utilcmd.c:1531 msgid "cannot use aggregate function in rule WHERE condition" -msgstr "ne peut pas utiliser la fonction d'agrégat dans la condition d'une règle WHERE" +msgstr "" +"ne peut pas utiliser la fonction d'agrégat dans la condition d'une règle " +"WHERE" #: parser/parse_utilcmd.c:1535 msgid "cannot use window function in rule WHERE condition" -msgstr "ne peut pas utiliser la fonction window dans la condition d'une règle WHERE" +msgstr "" +"ne peut pas utiliser la fonction window dans la condition d'une règle WHERE" #: parser/parse_utilcmd.c:1607 -msgid "rules with WHERE conditions can only have SELECT, INSERT, UPDATE, or DELETE actions" +msgid "" +"rules with WHERE conditions can only have SELECT, INSERT, UPDATE, or DELETE " +"actions" msgstr "" "les règles avec des conditions WHERE ne peuvent contenir que des actions\n" "SELECT, INSERT, UPDATE ou DELETE " @@ -15432,8 +15277,7 @@ msgid "misplaced DEFERRABLE clause" msgstr "clause DEFERRABLE mal placée" -#: parser/parse_utilcmd.c:1949 -#: parser/parse_utilcmd.c:1962 +#: parser/parse_utilcmd.c:1949 parser/parse_utilcmd.c:1962 msgid "multiple DEFERRABLE/NOT DEFERRABLE clauses not allowed" msgstr "clauses DEFERRABLE/NOT DEFERRABLE multiples non autorisées" @@ -15445,8 +15289,7 @@ msgid "misplaced INITIALLY DEFERRED clause" msgstr "clause INITIALLY DEFERRED mal placée" -#: parser/parse_utilcmd.c:1980 -#: parser/parse_utilcmd.c:2003 +#: parser/parse_utilcmd.c:1980 parser/parse_utilcmd.c:2003 msgid "multiple INITIALLY IMMEDIATE/DEFERRED clauses not allowed" msgstr "clauses INITIALLY IMMEDIATE/DEFERRED multiples non autorisées" @@ -15456,7 +15299,8 @@ #: parser/parse_utilcmd.c:2170 #, c-format -msgid "CREATE specifies a schema (%s) different from the one being created (%s)" +msgid "" +"CREATE specifies a schema (%s) different from the one being created (%s)" msgstr "CREATE spécifie un schéma (%s) différent de celui tout juste créé (%s)" #: parser/parse_agg.c:84 @@ -15465,8 +15309,7 @@ "les appels à la fonction d'agrégat ne peuvent pas contenir des appels à la\n" "fonction window" -#: parser/parse_agg.c:155 -#: parser/parse_clause.c:1587 +#: parser/parse_agg.c:155 parser/parse_clause.c:1587 #, c-format msgid "window \"%s\" does not exist" msgstr "le window « %s » n'existe pas" @@ -15505,15 +15348,18 @@ msgid "window functions not allowed in GROUP BY clause" msgstr "fonctions window non autorisées dans une clause GROUP BY" -#: parser/parse_agg.c:407 -#: parser/parse_agg.c:420 +#: parser/parse_agg.c:407 parser/parse_agg.c:420 msgid "window functions not allowed in window definition" msgstr "fonctions window non autorisées dans une définition window" #: parser/parse_agg.c:541 #, c-format -msgid "column \"%s.%s\" must appear in the GROUP BY clause or be used in an aggregate function" -msgstr "la colonne « %s.%s » doit apparaître dans la clause GROUP BY ou doit être utilisé dans une fonction d'agrégat" +msgid "" +"column \"%s.%s\" must appear in the GROUP BY clause or be used in an " +"aggregate function" +msgstr "" +"la colonne « %s.%s » doit apparaître dans la clause GROUP BY ou doit être " +"utilisé dans une fonction d'agrégat" #: parser/parse_agg.c:547 #, c-format @@ -15526,33 +15372,27 @@ msgid "INSERT ... SELECT cannot specify INTO" msgstr "INSERT ... SELECT ne peut pas avoir INTO" -#: parser/analyze.c:562 -#: parser/analyze.c:985 +#: parser/analyze.c:562 parser/analyze.c:985 msgid "VALUES lists must all be the same length" msgstr "les listes VALUES doivent toutes être de la même longueur" -#: parser/analyze.c:583 -#: parser/analyze.c:1091 +#: parser/analyze.c:583 parser/analyze.c:1091 msgid "VALUES must not contain table references" msgstr "VALUES ne doit pas contenir de références de table" -#: parser/analyze.c:597 -#: parser/analyze.c:1105 +#: parser/analyze.c:597 parser/analyze.c:1105 msgid "VALUES must not contain OLD or NEW references" msgstr "VALUES ne doit pas contenir des références à OLD et NEW" -#: parser/analyze.c:598 -#: parser/analyze.c:1106 +#: parser/analyze.c:598 parser/analyze.c:1106 msgid "Use SELECT ... UNION ALL ... instead." msgstr "Utilisez à la place SELECT ... UNION ALL ..." -#: parser/analyze.c:708 -#: parser/analyze.c:1118 +#: parser/analyze.c:708 parser/analyze.c:1118 msgid "cannot use aggregate function in VALUES" msgstr "ne peut pas utiliser la fonction d'agrégat dans un VALUES" -#: parser/analyze.c:714 -#: parser/analyze.c:1124 +#: parser/analyze.c:714 parser/analyze.c:1124 msgid "cannot use window function in VALUES" msgstr "ne peut pas utiliser la fonction window dans un VALUES" @@ -15566,10 +15406,11 @@ #: parser/analyze.c:1001 msgid "DEFAULT can only appear in a VALUES list within INSERT" -msgstr "DEFAULT peut seulement apparaître dans la liste VALUES comprise dans un INSERT" +msgstr "" +"DEFAULT peut seulement apparaître dans la liste VALUES comprise dans un " +"INSERT" -#: parser/analyze.c:1072 -#: parser/analyze.c:2188 +#: parser/analyze.c:1072 parser/analyze.c:2188 msgid "SELECT FOR UPDATE/SHARE cannot be applied to VALUES" msgstr "SELECT FOR UPDATE/SHARE ne peut pas être appliqué à VALUES" @@ -15584,15 +15425,23 @@ "expressions et les fonctions." #: parser/analyze.c:1330 -msgid "Add the expression/function to every SELECT, or move the UNION into a FROM clause." -msgstr "Ajouter l'expression/fonction à chaque SELECT, ou déplacer l'UNION dans une clause FROM." +msgid "" +"Add the expression/function to every SELECT, or move the UNION into a FROM " +"clause." +msgstr "" +"Ajouter l'expression/fonction à chaque SELECT, ou déplacer l'UNION dans une " +"clause FROM." #: parser/analyze.c:1399 msgid "INTO is only allowed on first SELECT of UNION/INTERSECT/EXCEPT" -msgstr "INTO est autorisé uniquement sur le premier SELECT d'un UNION/INTERSECT/EXCEPT" +msgstr "" +"INTO est autorisé uniquement sur le premier SELECT d'un UNION/INTERSECT/" +"EXCEPT" #: parser/analyze.c:1459 -msgid "UNION/INTERSECT/EXCEPT member statement cannot refer to other relations of same query level" +msgid "" +"UNION/INTERSECT/EXCEPT member statement cannot refer to other relations of " +"same query level" msgstr "" "L'instruction membre UNION/INTERSECT/EXCEPT ne peut pas faire référence à\n" "d'autres relations que celles de la requête de même niveau" @@ -15664,7 +15513,8 @@ #: parser/analyze.c:2069 msgid "SELECT FOR UPDATE/SHARE is not allowed with aggregate functions" -msgstr "SELECT FOR UPDATE/SHARE n'est pas autorisé avec les fonctions d'agrégats" +msgstr "" +"SELECT FOR UPDATE/SHARE n'est pas autorisé avec les fonctions d'agrégats" #: parser/analyze.c:2073 msgid "SELECT FOR UPDATE/SHARE is not allowed with window functions" @@ -15672,7 +15522,8 @@ #: parser/analyze.c:2141 msgid "SELECT FOR UPDATE/SHARE must specify unqualified relation names" -msgstr "SELECT FOR UPDATE/SHARE doit indiqué les noms de relation non qualifiés" +msgstr "" +"SELECT FOR UPDATE/SHARE doit indiqué les noms de relation non qualifiés" #: parser/analyze.c:2170 msgid "SELECT FOR UPDATE/SHARE cannot be applied to a join" @@ -15695,7 +15546,9 @@ #: parser/analyze.c:2208 #, c-format msgid "relation \"%s\" in FOR UPDATE/SHARE clause not found in FROM clause" -msgstr "la relation « %s » d'une clause FOR UPDATE/SHARE introuvable dans la clause FROM" +msgstr "" +"la relation « %s » d'une clause FOR UPDATE/SHARE introuvable dans la clause " +"FROM" #: parser/parse_clause.c:415 #, c-format @@ -15713,7 +15566,9 @@ "dans le même niveau de la requête" #: parser/parse_clause.c:569 -msgid "function expression in FROM cannot refer to other relations of same query level" +msgid "" +"function expression in FROM cannot refer to other relations of same query " +"level" msgstr "" "l'expression de la fonction du FROM ne peut pas faire référence à d'autres\n" "relations sur le même niveau de la requête" @@ -15733,13 +15588,15 @@ #: parser/parse_clause.c:865 #, c-format msgid "column name \"%s\" appears more than once in USING clause" -msgstr "le nom de la colonne « %s » apparaît plus d'une fois dans la clause USING" +msgstr "" +"le nom de la colonne « %s » apparaît plus d'une fois dans la clause USING" #: parser/parse_clause.c:880 #, c-format msgid "common column name \"%s\" appears more than once in left table" msgstr "" -"le nom commun de la colonne « %s » apparaît plus d'une fois dans la table de\n" +"le nom commun de la colonne « %s » apparaît plus d'une fois dans la table " +"de\n" "gauche" #: parser/parse_clause.c:889 @@ -15753,7 +15610,8 @@ #, c-format msgid "common column name \"%s\" appears more than once in right table" msgstr "" -"le nom commun de la colonne « %s » apparaît plus d'une fois dans la table de\n" +"le nom commun de la colonne « %s » apparaît plus d'une fois dans la table " +"de\n" " droite" #: parser/parse_clause.c:912 @@ -15809,195 +15667,206 @@ msgid "window \"%s\" is already defined" msgstr "le window « %s » est déjà définie" -#: parser/parse_clause.c:1629 +#: parser/parse_clause.c:1634 #, c-format msgid "cannot override PARTITION BY clause of window \"%s\"" msgstr "n'a pas pu surcharger la clause PARTITION BY de window « %s »" -#: parser/parse_clause.c:1641 +#: parser/parse_clause.c:1646 #, c-format msgid "cannot override ORDER BY clause of window \"%s\"" msgstr "n'a pas pu surcharger la clause ORDER BY de window « %s »" -#: parser/parse_clause.c:1663 +#: parser/parse_clause.c:1676 parser/parse_clause.c:1682 #, c-format -msgid "cannot override frame clause of window \"%s\"" -msgstr "ne peut pas surcharger la frame clause du window « %s »" +msgid "cannot copy window \"%s\" because it has a frame clause" +msgstr "" +"ne peut pas copier la fenêtre « %s » car il dispose d'une clause de portée" + +#: parser/parse_clause.c:1684 +msgid "Omit the parentheses in this OVER clause." +msgstr "Omettre les parenthèses dans cette clause OVER." -#: parser/parse_clause.c:1719 +#: parser/parse_clause.c:1740 msgid "for SELECT DISTINCT, ORDER BY expressions must appear in select list" msgstr "" "pour SELECT DISTINCT, ORDER BY, les expressions doivent apparaître dans la\n" "liste SELECT" -#: parser/parse_clause.c:1805 -#: parser/parse_clause.c:1837 +#: parser/parse_clause.c:1826 parser/parse_clause.c:1858 msgid "SELECT DISTINCT ON expressions must match initial ORDER BY expressions" msgstr "" "les expressions SELECT DISTINCT ON doivent correspondre aux expressions\n" "ORDER BY initiales" -#: parser/parse_clause.c:1956 +#: parser/parse_clause.c:1977 #, c-format msgid "operator %s is not a valid ordering operator" msgstr "l'opérateur %s n'est pas un opérateur de tri valide" -#: parser/parse_clause.c:1958 -msgid "Ordering operators must be \"<\" or \">\" members of btree operator families." +#: parser/parse_clause.c:1979 +msgid "" +"Ordering operators must be \"<\" or \">\" members of btree operator families." msgstr "" "Les opérateurs de tri doivent être les membres « < » ou « > » des familles\n" "d'opérateurs btree." -#: parser/parse_expr.c:349 -#: parser/parse_target.c:596 +#: parser/parse_expr.c:351 parser/parse_target.c:597 msgid "row expansion via \"*\" is not supported here" msgstr "l'expansion de ligne via « * » n'est pas supporté ici" -#: parser/parse_expr.c:900 +#: parser/parse_expr.c:902 msgid "NULLIF requires = operator to yield boolean" msgstr "NULLIF requiert l'opérateur = pour comparer des booleéns" -#: parser/parse_expr.c:1073 -msgid "arguments of row IN must all be row expressions" -msgstr "les arguments de la ligne IN doivent tous être des expressions de ligne" - -#: parser/parse_expr.c:1276 +#: parser/parse_expr.c:1278 msgid "subquery cannot have SELECT INTO" msgstr "la sous-requête ne peut pas avoir de SELECT INTO" -#: parser/parse_expr.c:1304 +#: parser/parse_expr.c:1306 msgid "subquery must return a column" msgstr "la sous-requête doit renvoyer une colonne" -#: parser/parse_expr.c:1311 +#: parser/parse_expr.c:1313 msgid "subquery must return only one column" msgstr "la sous-requête doit renvoyer une seule colonne" -#: parser/parse_expr.c:1370 +#: parser/parse_expr.c:1372 msgid "subquery has too many columns" msgstr "la sous-requête a trop de colonnes" -#: parser/parse_expr.c:1375 +#: parser/parse_expr.c:1377 msgid "subquery has too few columns" msgstr "la sous-requête n'a pas assez de colonnes" -#: parser/parse_expr.c:1471 +#: parser/parse_expr.c:1473 msgid "cannot determine type of empty array" msgstr "ne peut pas déterminer le type d'un tableau vide" -#: parser/parse_expr.c:1472 +#: parser/parse_expr.c:1474 msgid "Explicitly cast to the desired type, for example ARRAY[]::integer[]." -msgstr "Convertit explicitement vers le type désiré, par exemple ARRAY[]::integer[]." +msgstr "" +"Convertit explicitement vers le type désiré, par exemple ARRAY[]::integer[]." -#: parser/parse_expr.c:1486 +#: parser/parse_expr.c:1488 #, c-format msgid "could not find element type for data type %s" msgstr "n'a pas pu trouver le type d'élément pour le type de données %s" -#: parser/parse_expr.c:1684 +#: parser/parse_expr.c:1699 msgid "unnamed XML attribute value must be a column reference" -msgstr "la valeur d'un attribut XML sans nom doit être une référence de colonne" +msgstr "" +"la valeur d'un attribut XML sans nom doit être une référence de colonne" -#: parser/parse_expr.c:1685 +#: parser/parse_expr.c:1700 msgid "unnamed XML element value must be a column reference" msgstr "la valeur d'un élément XML sans nom doit être une référence de colonne" -#: parser/parse_expr.c:1700 +#: parser/parse_expr.c:1715 #, c-format msgid "XML attribute name \"%s\" appears more than once" msgstr "le nom de l'attribut XML « %s » apparaît plus d'une fois" -#: parser/parse_expr.c:1807 +#: parser/parse_expr.c:1822 #, c-format msgid "cannot cast XMLSERIALIZE result to %s" msgstr "ne peut pas convertir le résultat XMLSERIALIZE en %s" -#: parser/parse_expr.c:2075 -#: parser/parse_expr.c:2273 +#: parser/parse_expr.c:2090 parser/parse_expr.c:2288 msgid "unequal number of entries in row expressions" msgstr "nombre différent d'entrées dans les expressions de ligne" -#: parser/parse_expr.c:2085 +#: parser/parse_expr.c:2100 msgid "cannot compare rows of zero length" msgstr "n'a pas pu comparer des lignes de taille zéro" -#: parser/parse_expr.c:2110 +#: parser/parse_expr.c:2125 #, c-format msgid "row comparison operator must yield type boolean, not type %s" msgstr "" -"l'opérateur de comparaison de ligne doit renvoyer le type booléen, et non le\n" +"l'opérateur de comparaison de ligne doit renvoyer le type booléen, et non " +"le\n" "type %s" -#: parser/parse_expr.c:2117 +#: parser/parse_expr.c:2132 msgid "row comparison operator must not return a set" msgstr "l'opérateur de comparaison de ligne ne doit pas renvoyer un ensemble" -#: parser/parse_expr.c:2176 -#: parser/parse_expr.c:2220 +#: parser/parse_expr.c:2191 parser/parse_expr.c:2235 #, c-format msgid "could not determine interpretation of row comparison operator %s" -msgstr "n'a pas pu déterminer l'interprétation de l'opérateur de comparaison de ligne %s" +msgstr "" +"n'a pas pu déterminer l'interprétation de l'opérateur de comparaison de " +"ligne %s" -#: parser/parse_expr.c:2178 -msgid "Row comparison operators must be associated with btree operator families." +#: parser/parse_expr.c:2193 +msgid "" +"Row comparison operators must be associated with btree operator families." msgstr "" -"Les opérateurs de comparaison de lignes doivent être associés à des familles\n" +"Les opérateurs de comparaison de lignes doivent être associés à des " +"familles\n" "d'opérateurs btree." -#: parser/parse_expr.c:2222 +#: parser/parse_expr.c:2237 msgid "There are multiple equally-plausible candidates." msgstr "Il existe de nombreus candidats également plausibles." -#: parser/parse_expr.c:2313 +#: parser/parse_expr.c:2328 msgid "IS DISTINCT FROM requires = operator to yield boolean" msgstr "IS DISTINCT FROM requiert l'opérateur = pour comparer des booléens" -#: parser/parse_target.c:369 -#: parser/parse_target.c:657 +#: parser/parse_target.c:370 parser/parse_target.c:658 #, c-format msgid "cannot assign to system column \"%s\"" msgstr "ne peut pas affecter à une colonne système « %s »" -#: parser/parse_target.c:394 +#: parser/parse_target.c:395 msgid "cannot set an array element to DEFAULT" msgstr "ne peut pas initialiser un élément d'un tableau avec DEFAULT" -#: parser/parse_target.c:399 +#: parser/parse_target.c:400 msgid "cannot set a subfield to DEFAULT" msgstr "ne peut pas initialiser un sous-champ avec DEFAULT" -#: parser/parse_target.c:466 +#: parser/parse_target.c:467 #, c-format msgid "column \"%s\" is of type %s but expression is of type %s" msgstr "la colonne « %s » est de type %s mais l'expression est de type %s" -#: parser/parse_target.c:641 +#: parser/parse_target.c:642 #, c-format -msgid "cannot assign to field \"%s\" of column \"%s\" because its type %s is not a composite type" +msgid "" +"cannot assign to field \"%s\" of column \"%s\" because its type %s is not a " +"composite type" msgstr "" "ne peut pas l'affecter au champ « %s » de la colonne « %s » parce que son\n" "type %s n'est pas un type composé" -#: parser/parse_target.c:650 +#: parser/parse_target.c:651 #, c-format -msgid "cannot assign to field \"%s\" of column \"%s\" because there is no such column in data type %s" +msgid "" +"cannot assign to field \"%s\" of column \"%s\" because there is no such " +"column in data type %s" msgstr "" -"ne peut pas l'affecter au champ « %s » de la colonne « %s » parce qu'il n'existe\n" +"ne peut pas l'affecter au champ « %s » de la colonne « %s » parce qu'il " +"n'existe\n" "pas une telle colonne dans le type de données %s" -#: parser/parse_target.c:725 +#: parser/parse_target.c:726 #, c-format -msgid "array assignment to \"%s\" requires type %s but expression is of type %s" +msgid "" +"array assignment to \"%s\" requires type %s but expression is of type %s" msgstr "" -"l'affectation d'un tableau avec « %s » requiert le type %s mais l'expression est\n" +"l'affectation d'un tableau avec « %s » requiert le type %s mais l'expression " +"est\n" "de type %s" -#: parser/parse_target.c:735 +#: parser/parse_target.c:736 #, c-format msgid "subfield \"%s\" is of type %s but expression is of type %s" msgstr "le sous-champ « %s » est de type %s mais l'expression est de type %s" -#: parser/parse_target.c:991 +#: parser/parse_target.c:992 msgid "SELECT * with no tables specified is not valid" msgstr "Un SELECT * sans table spécifiée n'est pas valide" @@ -16011,121 +15880,127 @@ msgid "cannot subscript type %s because it is not an array" msgstr "ne peut pas indicer le type %s car il ne s'agit pas d'un tableau" -#: parser/parse_node.c:313 -#: parser/parse_node.c:339 +#: parser/parse_node.c:325 parser/parse_node.c:351 msgid "array subscript must have type integer" msgstr "l'indice d'un tableau doit être de type entier" -#: parser/parse_node.c:363 +#: parser/parse_node.c:375 #, c-format msgid "array assignment requires type %s but expression is of type %s" -msgstr "l'affectation de tableaux requiert le type %s mais l'expression est de type %s" +msgstr "" +"l'affectation de tableaux requiert le type %s mais l'expression est de type " +"%s" -#: parser/parse_relation.c:141 +#: parser/parse_relation.c:142 #, c-format msgid "table reference \"%s\" is ambiguous" msgstr "la référence à la table « %s » est ambigu" -#: parser/parse_relation.c:177 +#: parser/parse_relation.c:178 #, c-format msgid "table reference %u is ambiguous" msgstr "la référence à la table %u est ambigu" -#: parser/parse_relation.c:337 +#: parser/parse_relation.c:338 #, c-format msgid "table name \"%s\" specified more than once" msgstr "le nom de la table « %s » est spécifié plus d'une fois" -#: parser/parse_relation.c:472 -#: parser/parse_relation.c:553 +#: parser/parse_relation.c:473 parser/parse_relation.c:554 #, c-format msgid "column reference \"%s\" is ambiguous" msgstr "la référence à la colonne « %s » est ambigu" -#: parser/parse_relation.c:789 -#: parser/parse_relation.c:1078 -#: parser/parse_relation.c:1438 +#: parser/parse_relation.c:791 parser/parse_relation.c:1080 +#: parser/parse_relation.c:1440 #, c-format msgid "table \"%s\" has %d columns available but %d columns specified" msgstr "la table « %s » a %d colonnes disponibles mais %d colonnes spécifiées" -#: parser/parse_relation.c:819 +#: parser/parse_relation.c:821 #, c-format msgid "too many column aliases specified for function %s" msgstr "trop d'alias de colonnes spécifiées pour la fonction %s" -#: parser/parse_relation.c:885 +#: parser/parse_relation.c:887 #, c-format -msgid "There is a WITH item named \"%s\", but it cannot be referenced from this part of the query." +msgid "" +"There is a WITH item named \"%s\", but it cannot be referenced from this " +"part of the query." msgstr "" "Il existe un élément WITH nommé « %s » mais il ne peut pas être\n" "référencée de cette partie de la requête." -#: parser/parse_relation.c:887 -msgid "Use WITH RECURSIVE, or re-order the WITH items to remove forward references." +#: parser/parse_relation.c:889 +msgid "" +"Use WITH RECURSIVE, or re-order the WITH items to remove forward references." msgstr "" "Utilisez WITH RECURSIVE ou ré-ordonnez les éléments WITH pour supprimer\n" "les références en avant." -#: parser/parse_relation.c:1157 -msgid "a column definition list is only allowed for functions returning \"record\"" +#: parser/parse_relation.c:1159 +msgid "" +"a column definition list is only allowed for functions returning \"record\"" msgstr "" -"une liste de définition de colonnes est uniquement autorisée pour les fonctions\n" +"une liste de définition de colonnes est uniquement autorisée pour les " +"fonctions\n" "renvoyant un « record »" -#: parser/parse_relation.c:1165 +#: parser/parse_relation.c:1167 msgid "a column definition list is required for functions returning \"record\"" msgstr "" -"une liste de définition de colonnes est requise pour les fonctions renvoyant\n" +"une liste de définition de colonnes est requise pour les fonctions " +"renvoyant\n" "un « record »" -#: parser/parse_relation.c:1212 +#: parser/parse_relation.c:1214 #, c-format msgid "function \"%s\" in FROM has unsupported return type %s" -msgstr "la fonction « %s » dans la clause FROM a un type de retour %s non supporté" +msgstr "" +"la fonction « %s » dans la clause FROM a un type de retour %s non supporté" -#: parser/parse_relation.c:1284 +#: parser/parse_relation.c:1286 #, c-format msgid "VALUES lists \"%s\" have %d columns available but %d columns specified" msgstr "" "les listes « %s » de VALUES ont %d colonnes disponibles mais %d colonnes\n" "spécifiées" -#: parser/parse_relation.c:1340 +#: parser/parse_relation.c:1342 #, c-format msgid "joins can have at most %d columns" msgstr "les jointures peuvent avoir au plus %d colonnes" -#: parser/parse_relation.c:2110 +#: parser/parse_relation.c:2119 #, c-format msgid "column %d of relation \"%s\" does not exist" msgstr "la colonne %d de la relation « %s » n'existe pas" -#: parser/parse_relation.c:2472 +#: parser/parse_relation.c:2482 #, c-format msgid "invalid reference to FROM-clause entry for table \"%s\"" msgstr "référence invalide d'une entrée de la clause FROM pour la table « %s »" -#: parser/parse_relation.c:2475 -#: parser/parse_relation.c:2495 +#: parser/parse_relation.c:2485 parser/parse_relation.c:2505 #, c-format msgid "Perhaps you meant to reference the table alias \"%s\"." msgstr "Peut-être que vous souhaitiez référencer l'alias de la table « %s »." -#: parser/parse_relation.c:2477 -#: parser/parse_relation.c:2498 +#: parser/parse_relation.c:2487 parser/parse_relation.c:2508 #, c-format -msgid "There is an entry for table \"%s\", but it cannot be referenced from this part of the query." +msgid "" +"There is an entry for table \"%s\", but it cannot be referenced from this " +"part of the query." msgstr "" "Il existe une entrée pour la table « %s » mais elle ne peut pas être\n" "référencée de cette partie de la requête." -#: parser/parse_relation.c:2483 +#: parser/parse_relation.c:2493 #, c-format msgid "missing FROM-clause entry for table \"%s\"" msgstr "entrée manquante de la clause FROM pour la table « %s »" -#: parser/parse_relation.c:2492 +#: parser/parse_relation.c:2502 #, c-format msgid "adding missing FROM-clause entry for table \"%s\"" msgstr "ajout d'une entrée manquante dans FROM (table « %s »)" @@ -16144,10 +16019,13 @@ #: scan.l:476 msgid "unsafe use of string constant with Unicode escapes" -msgstr "utilisation non sûre de la constante de chaîne avec des échappements Unicode" +msgstr "" +"utilisation non sûre de la constante de chaîne avec des échappements Unicode" #: scan.l:477 -msgid "String constants with Unicode escapes cannot be used when standard_conforming_strings is off." +msgid "" +"String constants with Unicode escapes cannot be used when " +"standard_conforming_strings is off." msgstr "" "Les constantes de chaîne avec des échappements Unicode ne peuvent pas être\n" "utilisées quand standard_conforming_strings est désactivé." @@ -16157,9 +16035,11 @@ msgstr "utilisation non sûre de \\' dans une chaîne littérale" #: scan.l:525 -msgid "Use '' to write quotes in strings. \\' is insecure in client-only encodings." +msgid "" +"Use '' to write quotes in strings. \\' is insecure in client-only encodings." msgstr "" -"Utilisez '' pour écrire des guillemets dans une chaîne. \\' n'est pas sécurisé\n" +"Utilisez '' pour écrire des guillemets dans une chaîne. \\' n'est pas " +"sécurisé\n" "pour les encodages clients." #: scan.l:554 @@ -16170,9 +16050,7 @@ msgid "unterminated dollar-quoted string" msgstr "chaîne entre guillemets dollars non terminée" -#: scan.l:615 -#: scan.l:627 -#: scan.l:641 +#: scan.l:615 scan.l:627 scan.l:641 msgid "zero-length delimited identifier" msgstr "identifiant délimité de longueur nulle" @@ -16197,7 +16075,9 @@ msgstr "%s sur ou près de « %s »" #: scan.l:1026 -msgid "Unicode escape values cannot be used for code point values above 007F when the server encoding is not UTF8" +msgid "" +"Unicode escape values cannot be used for code point values above 007F when " +"the server encoding is not UTF8" msgstr "" "Les valeurs d'échappement unicode ne peuvent pas être utilisées pour les\n" "valeurs de point de code au-dessus de 007F quand l'encodage serveur n'est\n" @@ -16216,9 +16096,11 @@ msgstr "utilisation non standard de \\' dans une chaîne littérale" #: scan.l:1136 -msgid "Use '' to write quotes in strings, or use the escape string syntax (E'...')." +msgid "" +"Use '' to write quotes in strings, or use the escape string syntax (E'...')." msgstr "" -"Utilisez '' pour écrire des guillemets dans une chaîne ou utilisez la syntaxe de\n" +"Utilisez '' pour écrire des guillemets dans une chaîne ou utilisez la " +"syntaxe de\n" "chaîne d'échappement (E'...')." #: scan.l:1145 @@ -16227,20 +16109,19 @@ #: scan.l:1146 msgid "Use the escape string syntax for backslashes, e.g., E'\\\\'." -msgstr "Utilisez la syntaxe de chaîne d'échappement pour les antislashs, c'est-à-dire E'\\\\'." +msgstr "" +"Utilisez la syntaxe de chaîne d'échappement pour les antislashs, c'est-à-" +"dire E'\\\\'." #: scan.l:1160 msgid "nonstandard use of escape in a string literal" msgstr "utilisation non standard d'un échappement dans une chaîne littérale" #: scan.l:1161 -msgid "" -"Use the escape string syntax for escapes, e.g., E'\\r\\n" -"'." +msgid "Use the escape string syntax for escapes, e.g., E'\\r\\n'." msgstr "" "Utilisez la syntaxe de la chaîne d'échappement pour les échappements,\n" -"c'est-à-dire E'\\r\\n" -"'." +"c'est-à-dire E'\\r\\n'." #: parser/parse_oper.c:253 #, c-format @@ -16262,19 +16143,23 @@ msgstr "l'opérateur n'est pas unique : %s" #: parser/parse_oper.c:756 -msgid "Could not choose a best candidate operator. You might need to add explicit type casts." +msgid "" +"Could not choose a best candidate operator. You might need to add explicit " +"type casts." msgstr "" -"N'a pas pu choisir un meilleur candidat pour l'opérateur. Vous devez ajouter une\n" +"N'a pas pu choisir un meilleur candidat pour l'opérateur. Vous devez ajouter " +"une\n" "conversion explicite de type." #: parser/parse_oper.c:764 -msgid "No operator matches the given name and argument type(s). You might need to add explicit type casts." +msgid "" +"No operator matches the given name and argument type(s). You might need to " +"add explicit type casts." msgstr "" "Aucun opérateur ne correspond au nom donné et aux types d'arguments.\n" "Vous devez ajouter des conversions explicites de type." -#: parser/parse_oper.c:823 -#: parser/parse_oper.c:939 +#: parser/parse_oper.c:823 parser/parse_oper.c:939 #, c-format msgid "operator is only a shell: %s" msgstr "l'opérateur est seulement un shell : %s" @@ -16289,7 +16174,8 @@ #: parser/parse_oper.c:974 msgid "op ANY/ALL (array) requires operator not to return a set" -msgstr "op ANY/ALL (tableau) requiert que l'opérateur ne renvoie pas un ensemble" +msgstr "" +"op ANY/ALL (tableau) requiert que l'opérateur ne renvoie pas un ensemble" #: parser/parse_func.c:193 #, c-format @@ -16303,8 +16189,11 @@ #: parser/parse_func.c:206 #, c-format -msgid "OVER specified, but %s is not a window function nor an aggregate function" -msgstr "OVER spécifié, mais %s n'est pas une fonction window ou une fonction d'agrégat" +msgid "" +"OVER specified, but %s is not a window function nor an aggregate function" +msgstr "" +"OVER spécifié, mais %s n'est pas une fonction window ou une fonction " +"d'agrégat" #: parser/parse_func.c:233 #, c-format @@ -16312,22 +16201,26 @@ msgstr "la fonction %s n'est pas unique" #: parser/parse_func.c:236 -msgid "Could not choose a best candidate function. You might need to add explicit type casts." +msgid "" +"Could not choose a best candidate function. You might need to add explicit " +"type casts." msgstr "" "N'a pas pu choisir un meilleur candidat dans les fonctions. Vous pourriez\n" "avoir besoin d'ajouter des conversions explicites de type." #: parser/parse_func.c:245 -msgid "No function matches the given name and argument types. You might need to add explicit type casts." +msgid "" +"No function matches the given name and argument types. You might need to add " +"explicit type casts." msgstr "" "Aucune fonction ne correspond au nom donné et aux types d'arguments.\n" "Vous devez ajouter des conversions explicites de type." -#: parser/parse_func.c:352 -#: parser/parse_func.c:405 +#: parser/parse_func.c:352 parser/parse_func.c:405 #, c-format msgid "%s(*) must be used to call a parameterless aggregate function" -msgstr "%s(*) doit être utilisé pour appeler une fonction d'agrégat sans paramètre" +msgstr "" +"%s(*) doit être utilisé pour appeler une fonction d'agrégat sans paramètre" #: parser/parse_func.c:359 msgid "aggregates cannot return sets" @@ -16358,12 +16251,15 @@ #: parser/parse_func.c:1217 #, c-format msgid "could not identify column \"%s\" in record data type" -msgstr "n'a pas pu identifier la colonne « %s » dans le type de données de l'enregistrement" +msgstr "" +"n'a pas pu identifier la colonne « %s » dans le type de données de " +"l'enregistrement" #: parser/parse_func.c:1223 #, c-format msgid "column notation .%s applied to type %s, which is not a composite type" -msgstr "notation d'attribut .%s appliqué au type %s, qui n'est pas un type composé" +msgstr "" +"notation d'attribut .%s appliqué au type %s, qui n'est pas un type composé" #: parser/parse_func.c:1407 #, c-format @@ -16402,22 +16298,24 @@ #: parser/parse_type.c:316 msgid "type modifiers must be simple constants or identifiers" -msgstr "les modificateurs de type doivent être des constantes ou des identifiants" +msgstr "" +"les modificateurs de type doivent être des constantes ou des identifiants" -#: parser/parse_type.c:555 -#: parser/parse_type.c:654 +#: parser/parse_type.c:555 parser/parse_type.c:654 #, c-format msgid "invalid type name \"%s\"" msgstr "nom de type « %s » invalide" -#: parser/scansup.c:190 +#: parser/scansup.c:192 #, c-format msgid "identifier \"%s\" will be truncated to \"%s\"" msgstr "l'identifiant « %s » sera tronqué en « %s »" #: parser/parse_cte.c:40 #, c-format -msgid "recursive reference to query \"%s\" must not appear within its non-recursive term" +msgid "" +"recursive reference to query \"%s\" must not appear within its non-recursive " +"term" msgstr "" "la référence récursive à la requête « %s » ne doit pas apparaître à\n" "l'intérieur de son terme non récursif" @@ -16431,7 +16329,8 @@ #: parser/parse_cte.c:44 #, c-format -msgid "recursive reference to query \"%s\" must not appear within an outer join" +msgid "" +"recursive reference to query \"%s\" must not appear within an outer join" msgstr "" "la référence récursive à la requête « %s » ne doit pas apparaître à\n" "l'intérieur d'une jointure externe" @@ -16461,9 +16360,12 @@ #: parser/parse_cte.c:288 #, c-format -msgid "recursive query \"%s\" column %d has type %s in non-recursive term but type %s overall" +msgid "" +"recursive query \"%s\" column %d has type %s in non-recursive term but type " +"%s overall" msgstr "" -"dans la requête récursive « %s », la colonne %d a le type %s dans le terme non\n" +"dans la requête récursive « %s », la colonne %d a le type %s dans le terme " +"non\n" "récursif mais le type global %s" #: parser/parse_cte.c:294 @@ -16473,7 +16375,8 @@ #: parser/parse_cte.c:376 #, c-format msgid "WITH query \"%s\" has %d columns available but %d columns specified" -msgstr "la requête WITH « %s » a %d colonnes disponibles mais %d colonnes spécifiées" +msgstr "" +"la requête WITH « %s » a %d colonnes disponibles mais %d colonnes spécifiées" #: parser/parse_cte.c:556 msgid "mutual recursion between WITH items is not implemented" @@ -16481,9 +16384,12 @@ #: parser/parse_cte.c:608 #, c-format -msgid "recursive query \"%s\" does not have the form non-recursive-term UNION [ALL] recursive-term" +msgid "" +"recursive query \"%s\" does not have the form non-recursive-term UNION [ALL] " +"recursive-term" msgstr "" -"la requête récursive « %s » n'a pas la forme terme-non-récursive UNION [ALL]\n" +"la requête récursive « %s » n'a pas la forme terme-non-récursive UNION " +"[ALL]\n" "terme-récursive" #: parser/parse_cte.c:652 @@ -16505,7 +16411,9 @@ #: parser/parse_cte.c:727 #, c-format msgid "recursive reference to query \"%s\" must not appear more than once" -msgstr "la référence récursive à la requête « %s » ne doit pas apparaître plus d'une fois" +msgstr "" +"la référence récursive à la requête « %s » ne doit pas apparaître plus d'une " +"fois" #: port/win32_sema.c:94 #, c-format @@ -16527,25 +16435,30 @@ msgid "could not try-lock semaphore: error code %d" msgstr "n'a pas pu tenter le verrouillage de la sémaphore : code d'erreur %d" -#: port/sysv_shmem.c:141 -#: port/pg_shmem.c:141 +#: port/sysv_shmem.c:141 port/pg_shmem.c:141 #, c-format msgid "could not create shared memory segment: %m" msgstr "n'a pas pu créer le segment de mémoire partagée : %m" -#: port/sysv_shmem.c:142 -#: port/pg_shmem.c:142 +#: port/sysv_shmem.c:142 port/pg_shmem.c:142 #, c-format msgid "Failed system call was shmget(key=%lu, size=%lu, 0%o)." msgstr "L'appel système qui a échoué était shmget(clé=%lu, taille=%lu, 0%o)." -#: port/sysv_shmem.c:146 -#: port/pg_shmem.c:146 +#: port/sysv_shmem.c:146 port/pg_shmem.c:146 #, c-format msgid "" -"This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently %lu bytes), reduce PostgreSQL's shared_buffers parameter (currently %d) and/or its max_connections parameter (currently %d).\n" -"If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.\n" -"The PostgreSQL documentation contains more information about shared memory configuration." +"This error usually means that PostgreSQL's request for a shared memory " +"segment exceeded your kernel's SHMMAX parameter. You can either reduce the " +"request size or reconfigure the kernel with larger SHMMAX. To reduce the " +"request size (currently %lu bytes), reduce PostgreSQL's shared_buffers " +"parameter (currently %d) and/or its max_connections parameter (currently " +"%d).\n" +"If the request size is already small, it's possible that it is less than " +"your kernel's SHMMIN parameter, in which case raising the request size or " +"reconfiguring SHMMIN is called for.\n" +"The PostgreSQL documentation contains more information about shared memory " +"configuration." msgstr "" "Cette erreur signifie habituellement que la demande de PostgreSQL pour un\n" "segment de mémoire partagée a dépassé le paramètre SHMMAX de votre noyau.\n" @@ -16560,12 +16473,15 @@ "La documentation de PostgreSQL contient plus d'informations sur la\n" "configuration de la mémoire partagée." -#: port/sysv_shmem.c:159 -#: port/pg_shmem.c:159 +#: port/sysv_shmem.c:159 port/pg_shmem.c:159 #, c-format msgid "" -"This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space. To reduce the request size (currently %lu bytes), reduce PostgreSQL's shared_buffers parameter (currently %d) and/or its max_connections parameter (currently %d).\n" -"The PostgreSQL documentation contains more information about shared memory configuration." +"This error usually means that PostgreSQL's request for a shared memory " +"segment exceeded available memory or swap space. To reduce the request size " +"(currently %lu bytes), reduce PostgreSQL's shared_buffers parameter " +"(currently %d) and/or its max_connections parameter (currently %d).\n" +"The PostgreSQL documentation contains more information about shared memory " +"configuration." msgstr "" "Cette erreur signifie habituellement que la demande de PostgreSQL pour un\n" "segment de mémoire partagée dépasse la mémoire disponible ou l'espace swap.\n" @@ -16575,16 +16491,23 @@ "La documentation de PostgreSQL contient plus d'informations sur la\n" "configuration de la mémoire partagée." -#: port/sysv_shmem.c:168 -#: port/pg_shmem.c:168 +#: port/sysv_shmem.c:168 port/pg_shmem.c:168 #, c-format msgid "" -"This error does *not* mean that you have run out of disk space. It occurs either if all available shared memory IDs have been taken, in which case you need to raise the SHMMNI parameter in your kernel, or because the system's overall limit for shared memory has been reached. If you cannot increase the shared memory limit, reduce PostgreSQL's shared memory request (currently %lu bytes), by reducing its shared_buffers parameter (currently %d) and/or its max_connections parameter (currently %d).\n" -"The PostgreSQL documentation contains more information about shared memory configuration." +"This error does *not* mean that you have run out of disk space. It occurs " +"either if all available shared memory IDs have been taken, in which case you " +"need to raise the SHMMNI parameter in your kernel, or because the system's " +"overall limit for shared memory has been reached. If you cannot increase " +"the shared memory limit, reduce PostgreSQL's shared memory request " +"(currently %lu bytes), by reducing its shared_buffers parameter (currently " +"%d) and/or its max_connections parameter (currently %d).\n" +"The PostgreSQL documentation contains more information about shared memory " +"configuration." msgstr "" "Cette erreur ne signifie *pas* que vous manquez d'espace disque. Elle\n" "survient si tous les identifiants de mémoire partagé disponibles ont été\n" -"pris, auquel cas vous devez augmenter le paramètre SHMMIN de votre noyau, ou\n" +"pris, auquel cas vous devez augmenter le paramètre SHMMIN de votre noyau, " +"ou\n" "parce que la limite maximum de la mémoire partagée de votre système a été\n" "atteinte. Si vous ne pouvez pas augmenter la limite de la mémoire partagée,\n" "réduisez la demande de mémoire partagée de PostgreSQL (actuellement %lu\n" @@ -16593,31 +16516,33 @@ "La documentation de PostgreSQL contient plus d'informations sur la\n" "configuration de la mémoire partagée." -#: port/sysv_shmem.c:423 -#: port/pg_shmem.c:423 +#: port/sysv_shmem.c:423 port/pg_shmem.c:423 #, c-format msgid "could not stat data directory \"%s\": %m" -msgstr "n'a pas pu lire les informations sur le répertoire des données « %s » : %m" +msgstr "" +"n'a pas pu lire les informations sur le répertoire des données « %s » : %m" -#: port/sysv_sema.c:114 -#: port/pg_sema.c:114 +#: port/sysv_sema.c:114 port/pg_sema.c:114 #, c-format msgid "could not create semaphores: %m" msgstr "n'a pas pu créer des sémaphores : %m" -#: port/sysv_sema.c:115 -#: port/pg_sema.c:115 +#: port/sysv_sema.c:115 port/pg_sema.c:115 #, c-format msgid "Failed system call was semget(%lu, %d, 0%o)." msgstr "L'appel système qui a échoué était semget(%lu, %d, 0%o)." -#: port/sysv_sema.c:119 -#: port/pg_sema.c:119 +#: port/sysv_sema.c:119 port/pg_sema.c:119 #, c-format msgid "" "This error does *not* mean that you have run out of disk space.\n" -"It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter (currently %d).\n" -"The PostgreSQL documentation contains more information about configuring your system for PostgreSQL." +"It occurs when either the system limit for the maximum number of semaphore " +"sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), " +"would be exceeded. You need to raise the respective kernel parameter. " +"Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its " +"max_connections parameter (currently %d).\n" +"The PostgreSQL documentation contains more information about configuring " +"your system for PostgreSQL." msgstr "" "Cette erreur ne signifie *pas* que vous manquez d'espace disque.\n" "Il arrive que soit la limite système de nombre maximum d'ensembles de\n" @@ -16628,17 +16553,17 @@ "La documentation de PostgreSQL contient plus d'informations sur la\n" "configuration de votre système avec PostgreSQL." -#: port/sysv_sema.c:148 -#: port/pg_sema.c:148 +#: port/sysv_sema.c:148 port/pg_sema.c:148 #, c-format -msgid "You possibly need to raise your kernel's SEMVMX value to be at least %d. Look into the PostgreSQL documentation for details." +msgid "" +"You possibly need to raise your kernel's SEMVMX value to be at least %d. " +"Look into the PostgreSQL documentation for details." msgstr "" "Vous pouvez avoir besoin d'augmenter la valeur SEMVMX par noyau pour valoir\n" -"au moins de %d. Regardez dans la documentation de PostgreSQL pour les détails." +"au moins de %d. Regardez dans la documentation de PostgreSQL pour les " +"détails." -#: port/win32_shmem.c:159 -#: port/win32_shmem.c:194 -#: port/win32_shmem.c:215 +#: port/win32_shmem.c:159 port/win32_shmem.c:194 port/win32_shmem.c:215 #, c-format msgid "could not create shared memory segment: %lu" msgstr "n'a pas pu créer le segment de mémoire partagée : %lu" @@ -16646,16 +16571,21 @@ #: port/win32_shmem.c:160 #, c-format msgid "Failed system call was CreateFileMapping(size=%lu, name=%s)." -msgstr "L'appel système qui a échoué était CreateFileMapping(taille=%lu, nom=%s)." +msgstr "" +"L'appel système qui a échoué était CreateFileMapping(taille=%lu, nom=%s)." #: port/win32_shmem.c:184 msgid "pre-existing shared memory block is still in use" -msgstr "le bloc de mémoire partagé pré-existant est toujours en cours d'utilisation" +msgstr "" +"le bloc de mémoire partagé pré-existant est toujours en cours d'utilisation" #: port/win32_shmem.c:185 -msgid "Check if there are any old server processes still running, and terminate them." +msgid "" +"Check if there are any old server processes still running, and terminate " +"them." msgstr "" -"Vérifier s'il n'y a pas de vieux processus serveur en cours d'exécution. Si c'est le\n" +"Vérifier s'il n'y a pas de vieux processus serveur en cours d'exécution. Si " +"c'est le\n" "cas, fermez-les." #: port/win32_shmem.c:195 @@ -16674,7 +16604,8 @@ #: port/win32/security.c:63 #, c-format msgid "could not get SID for Administrators group: error code %d\n" -msgstr "n'a pas pu obtenir le SID du groupe d'administrateurs : code d'erreur %d\n" +msgstr "" +"n'a pas pu obtenir le SID du groupe d'administrateurs : code d'erreur %d\n" #: port/win32/security.c:72 #, c-format @@ -16690,16 +16621,18 @@ "n'a pas pu créer le tube d'écoute de signal pour le id processus %d :\n" "code d'erreur %d" -#: port/win32/signal.c:269 -#: port/win32/signal.c:299 +#: port/win32/signal.c:269 port/win32/signal.c:299 #, c-format msgid "could not create signal listener pipe: error code %d; retrying\n" -msgstr "n'a pas pu créer le tube d'écoute de signal : code d'erreur %d ; nouvelle tentative\n" +msgstr "" +"n'a pas pu créer le tube d'écoute de signal : code d'erreur %d ; nouvelle " +"tentative\n" #: port/win32/signal.c:309 #, c-format msgid "could not create signal dispatch thread: error code %d\n" -msgstr "n'a pas pu créer le thread de répartition des signaux : code d'erreur %d\n" +msgstr "" +"n'a pas pu créer le thread de répartition des signaux : code d'erreur %d\n" #: ../port/open.c:113 msgid "sharing violation" @@ -16719,7 +16652,9 @@ msgstr "Continue à tenter pendant 30 secondes." #: ../port/open.c:115 -msgid "You might have antivirus, backup, or similar software interfering with the database system." +msgid "" +"You might have antivirus, backup, or similar software interfering with the " +"database system." msgstr "" "Vous pouvez avoir un antivirus, un outil de sauvegarde ou un logiciel\n" "similaire interférant avec le système de bases de données." @@ -16729,19 +16664,17 @@ msgid "unrecognized error %d" msgstr "erreur %d non reconnue" -#: ../port/win32error.c:184 +#: ../port/win32error.c:185 #, c-format msgid "mapped win32 error code %lu to %d" msgstr "correspondance du code d'erreur win32 %lu en %d" -#: ../port/win32error.c:195 +#: ../port/win32error.c:197 #, c-format msgid "unrecognized win32 error code: %lu" msgstr "code d'erreur win32 non reconnu : %lu" -#: ../port/dirmod.c:75 -#: ../port/dirmod.c:88 -#: ../port/dirmod.c:101 +#: ../port/dirmod.c:75 ../port/dirmod.c:88 ../port/dirmod.c:101 #, c-format msgid "out of memory\n" msgstr "mémoire épuisée\n" @@ -16773,25 +16706,23 @@ "n'a pas pu récupérer les informations sur le fichier ou répertoire\n" "« %s » : %s\n" -#: ../port/dirmod.c:472 -#: ../port/dirmod.c:489 +#: ../port/dirmod.c:472 ../port/dirmod.c:489 #, c-format msgid "could not remove file or directory \"%s\": %s\n" msgstr "n'a pas pu supprimer le fichier ou répertoire « %s » : %s\n" -#: ../port/chklocale.c:319 -#: ../port/chklocale.c:325 +#: ../port/chklocale.c:319 ../port/chklocale.c:325 #, c-format msgid "could not determine encoding for locale \"%s\": codeset is \"%s\"" -msgstr "n'a pas pu déterminer l'encodage pour la locale « %s » : le codeset vaut « %s »" +msgstr "" +"n'a pas pu déterminer l'encodage pour la locale « %s » : le codeset vaut « " +"%s »" #: ../port/chklocale.c:327 msgid "Please report this to ." msgstr "Veuillez rapporter ceci à ." -#: ../port/exec.c:195 -#: ../port/exec.c:309 -#: ../port/exec.c:352 +#: ../port/exec.c:195 ../port/exec.c:309 ../port/exec.c:352 #, c-format msgid "could not identify current directory: %s" msgstr "n'a pas pu identifier le répertoire courant : %s" @@ -16811,8 +16742,7 @@ msgid "could not find a \"%s\" to execute" msgstr "n'a pas pu trouver un « %s » à exécuter" -#: ../port/exec.c:325 -#: ../port/exec.c:361 +#: ../port/exec.c:325 ../port/exec.c:361 #, c-format msgid "could not change directory to \"%s\"" msgstr "n'a pas pu accéder au répertoire « %s »" @@ -16847,6 +16777,13 @@ msgid "child process exited with unrecognized status %d" msgstr "le processus fils a quitté avec un statut %d non reconnu" +#~ msgid "cannot override frame clause of window \"%s\"" +#~ msgstr "ne peut pas surcharger la frame clause du window « %s »" + +#~ msgid "arguments of row IN must all be row expressions" +#~ msgstr "" +#~ "les arguments de la ligne IN doivent tous être des expressions de ligne" + #~ msgid "" #~ "cannot drop \"%s\" because it is being used by active queries in this " #~ "session" diff -Nru postgresql-8.4-8.4.17/src/backend/po/it.po postgresql-8.4-8.4.20/src/backend/po/it.po --- postgresql-8.4-8.4.17/src/backend/po/it.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/po/it.po 2014-02-17 19:44:07.000000000 +0000 @@ -16,8 +16,8 @@ msgstr "" "Project-Id-Version: postgres (PostgreSQL) 8.4\n" "Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" -"POT-Creation-Date: 2013-03-13 11:10+0000\n" -"PO-Revision-Date: 2013-01-23 11:20+0100\n" +"POT-Creation-Date: 2013-11-27 22:02+0000\n" +"PO-Revision-Date: 2013-11-27 22:22+0100\n" "Last-Translator: Daniele Varrazzo \n" "Language-Team: Gruppo traduzioni ITPUG \n" "Language: it\n" @@ -196,7 +196,7 @@ #: postmaster/autovacuum.c:1816 utils/init/miscinit.c:1066 #: utils/init/miscinit.c:1179 utils/init/postinit.c:95 -#: utils/init/postinit.c:135 utils/error/elog.c:1417 +#: utils/init/postinit.c:135 utils/error/elog.c:1418 #: access/transam/xlog.c:2334 access/transam/xlog.c:3924 #: access/transam/xlog.c:4014 access/transam/xlog.c:4112 libpq/hba.c:1272 #: storage/file/copydir.c:123 @@ -366,12 +366,12 @@ msgid "%s: invalid argument for option -t: \"%s\"\n" msgstr "%s: argomento non valido per l'opzione -t: \"%s\"\n" -#: postmaster/postmaster.c:654 bootstrap/bootstrap.c:294 tcop/postgres.c:3223 +#: postmaster/postmaster.c:654 bootstrap/bootstrap.c:294 tcop/postgres.c:3230 #, c-format msgid "--%s requires a value" msgstr "--%s richiede un valore" -#: postmaster/postmaster.c:659 bootstrap/bootstrap.c:299 tcop/postgres.c:3228 +#: postmaster/postmaster.c:659 bootstrap/bootstrap.c:299 tcop/postgres.c:3235 #, c-format msgid "-c %s requires a value" msgstr "-c %s richiede un valore" @@ -437,7 +437,7 @@ msgstr "%s: eseguibile postgres corrispondente non trovato" #: postmaster/postmaster.c:1096 utils/misc/tzparser.c:345 utils/adt/misc.c:210 -#: utils/adt/genfile.c:240 commands/tablespace.c:581 storage/file/fd.c:1568 +#: utils/adt/genfile.c:240 commands/tablespace.c:581 storage/file/fd.c:1577 #: storage/file/copydir.c:66 #, c-format msgid "could not open directory \"%s\": %m" @@ -579,11 +579,11 @@ #: utils/init/miscinit.c:243 utils/fmgr/dfmgr.c:224 utils/mb/mbutils.c:335 #: utils/mb/mbutils.c:596 utils/mmgr/aset.c:385 utils/mmgr/aset.c:564 #: utils/mmgr/aset.c:747 utils/mmgr/aset.c:953 utils/adt/regexp.c:208 -#: utils/adt/varlena.c:3031 utils/adt/varlena.c:3052 +#: utils/adt/varlena.c:3034 utils/adt/varlena.c:3055 #: utils/adt/formatting.c:1493 utils/adt/formatting.c:1549 #: utils/adt/formatting.c:1606 lib/stringinfo.c:245 commands/sequence.c:933 #: libpq/auth.c:911 libpq/auth.c:1271 libpq/auth.c:1339 libpq/auth.c:1926 -#: storage/file/fd.c:338 storage/file/fd.c:721 storage/file/fd.c:839 +#: storage/file/fd.c:344 storage/file/fd.c:727 storage/file/fd.c:845 #: storage/ipc/procarray.c:392 storage/ipc/procarray.c:720 #: storage/ipc/procarray.c:727 storage/buffer/localbuf.c:347 #: storage/buffer/buf_init.c:164 @@ -818,7 +818,7 @@ msgid "text search configuration \"%s\" does not exist" msgstr "la configurazione di ricerca di testo \"%s\" non esiste" -#: utils/cache/plancache.c:541 +#: utils/cache/plancache.c:558 msgid "cached plan must not change result type" msgstr "il cached plan non deve cambiare il tipo del risultato" @@ -863,7 +863,7 @@ msgstr "non esiste una funzione di output binario per il tipo %s" #: utils/cache/lsyscache.c:2762 utils/init/miscinit.c:480 -#: commands/variable.c:737 commands/variable.c:853 commands/user.c:566 +#: commands/variable.c:739 commands/variable.c:855 commands/user.c:566 #: commands/user.c:748 commands/user.c:879 commands/user.c:1033 #, c-format msgid "role \"%s\" does not exist" @@ -2137,7 +2137,7 @@ #: utils/misc/guc.c:4809 utils/misc/guc.c:5077 utils/fmgr/dfmgr.c:381 #: utils/adt/xml.c:1393 utils/adt/xml.c:1394 utils/adt/xml.c:1400 -#: utils/adt/xml.c:1471 tcop/postgres.c:4099 commands/tablecmds.c:621 +#: utils/adt/xml.c:1471 tcop/postgres.c:4106 commands/tablecmds.c:621 #: commands/user.c:930 commands/user.c:931 commands/trigger.c:578 #: commands/trigger.c:594 commands/trigger.c:606 nodes/print.c:85 #: storage/lmgr/proc.c:939 storage/lmgr/deadlock.c:950 @@ -2570,100 +2570,100 @@ msgid "invalid role password \"%s\"" msgstr "password del ruolo \"%s\" non valida" -#: utils/error/elog.c:1427 +#: utils/error/elog.c:1428 #, c-format msgid "could not reopen file \"%s\" as stderr: %m" msgstr "riapertura del file \"%s\" come stderr fallita: %m" -#: utils/error/elog.c:1440 +#: utils/error/elog.c:1441 #, c-format msgid "could not reopen file \"%s\" as stdout: %m" msgstr "riapertura del file \"%s\" come stdout fallita: %m" -#: utils/error/elog.c:1750 utils/error/elog.c:1760 +#: utils/error/elog.c:1751 utils/error/elog.c:1761 msgid "[unknown]" msgstr "[sconosciuto]" -#: utils/error/elog.c:2100 utils/error/elog.c:2382 utils/error/elog.c:2460 +#: utils/error/elog.c:2101 utils/error/elog.c:2383 utils/error/elog.c:2461 msgid "missing error text" msgstr "testo dell'errore mancante" -#: utils/error/elog.c:2103 utils/error/elog.c:2106 utils/error/elog.c:2463 -#: utils/error/elog.c:2466 +#: utils/error/elog.c:2104 utils/error/elog.c:2107 utils/error/elog.c:2464 +#: utils/error/elog.c:2467 #, c-format msgid " at character %d" msgstr " al carattere %d" -#: utils/error/elog.c:2116 utils/error/elog.c:2123 +#: utils/error/elog.c:2117 utils/error/elog.c:2124 msgid "DETAIL: " msgstr "DETTAGLI: " -#: utils/error/elog.c:2130 +#: utils/error/elog.c:2131 msgid "HINT: " msgstr "SUGGERIMENTO: " -#: utils/error/elog.c:2137 +#: utils/error/elog.c:2138 msgid "QUERY: " msgstr "QUERY: " -#: utils/error/elog.c:2144 +#: utils/error/elog.c:2145 msgid "CONTEXT: " msgstr "CONTESTO: " -#: utils/error/elog.c:2154 +#: utils/error/elog.c:2155 #, c-format msgid "LOCATION: %s, %s:%d\n" msgstr "POSIZIONE: %s, %s:%d\n" -#: utils/error/elog.c:2161 +#: utils/error/elog.c:2162 #, c-format msgid "LOCATION: %s:%d\n" msgstr "POSIZIONE: %s:%d\n" -#: utils/error/elog.c:2175 +#: utils/error/elog.c:2176 msgid "STATEMENT: " msgstr "ISTRUZIONE: " -#: utils/error/elog.c:2272 +#: utils/error/elog.c:2273 msgid "Not safe to send CSV data\n" msgstr "Non è sicuro inviare dati CSV\n" #. translator: This string will be truncated at 47 #. characters expanded. -#: utils/error/elog.c:2575 +#: utils/error/elog.c:2582 #, c-format msgid "operating system error %d" msgstr "errore del sistema operativo %d" -#: utils/error/elog.c:2598 +#: utils/error/elog.c:2777 msgid "DEBUG" msgstr "DEBUG" -#: utils/error/elog.c:2602 +#: utils/error/elog.c:2781 msgid "LOG" msgstr "LOG" -#: utils/error/elog.c:2605 +#: utils/error/elog.c:2784 msgid "INFO" msgstr "INFO" -#: utils/error/elog.c:2608 +#: utils/error/elog.c:2787 msgid "NOTICE" msgstr "NOTIFICA" -#: utils/error/elog.c:2611 +#: utils/error/elog.c:2790 msgid "WARNING" msgstr "ATTENZIONE" -#: utils/error/elog.c:2614 +#: utils/error/elog.c:2793 msgid "ERROR" msgstr "ERRORE" -#: utils/error/elog.c:2617 +#: utils/error/elog.c:2796 msgid "FATAL" msgstr "FATALE" -#: utils/error/elog.c:2620 +#: utils/error/elog.c:2799 msgid "PANIC" msgstr "PANICO" @@ -2844,7 +2844,7 @@ msgid "encoding name too long" msgstr "il nome della codifica è troppo lungo" -#: utils/mb/mbutils.c:240 commands/variable.c:665 +#: utils/mb/mbutils.c:240 commands/variable.c:667 #, c-format msgid "conversion between %s and %s is not supported" msgstr "la conversione fra %s e %s non è supportata" @@ -3090,7 +3090,7 @@ msgid "invalid regular expression: %s" msgstr "espressione regolare non valida: %s" -#: utils/adt/regexp.c:272 utils/adt/regexp.c:1200 utils/adt/varlena.c:2582 +#: utils/adt/regexp.c:272 utils/adt/regexp.c:1199 utils/adt/varlena.c:2582 #, c-format msgid "regular expression failed: %s" msgstr "l'espressione regolare %s è fallita" @@ -3130,8 +3130,8 @@ #: utils/adt/int.c:897 utils/adt/int.c:918 utils/adt/int.c:945 #: utils/adt/int.c:985 utils/adt/int.c:1006 utils/adt/int.c:1033 #: utils/adt/int.c:1066 utils/adt/int.c:1149 utils/adt/int8.c:1258 -#: utils/adt/float.c:1100 utils/adt/float.c:1159 utils/adt/float.c:2716 -#: utils/adt/float.c:2732 utils/adt/varbit.c:1392 utils/adt/numeric.c:2035 +#: utils/adt/float.c:1156 utils/adt/float.c:1215 utils/adt/float.c:2772 +#: utils/adt/float.c:2788 utils/adt/varbit.c:1392 utils/adt/numeric.c:2035 #: utils/adt/numeric.c:2044 msgid "integer out of range" msgstr "intero fuori dall'intervallo" @@ -3192,8 +3192,8 @@ #: utils/adt/int.c:339 utils/adt/int.c:765 utils/adt/int.c:794 #: utils/adt/int.c:815 utils/adt/int.c:835 utils/adt/int.c:869 -#: utils/adt/int.c:1164 utils/adt/int8.c:1283 utils/adt/float.c:1118 -#: utils/adt/float.c:1176 utils/adt/numeric.c:2136 utils/adt/numeric.c:2147 +#: utils/adt/int.c:1164 utils/adt/int8.c:1283 utils/adt/float.c:1174 +#: utils/adt/float.c:1232 utils/adt/numeric.c:2136 utils/adt/numeric.c:2147 msgid "smallint out of range" msgstr "il valore è fuori dall'intervallo consentito per il tipo smallint" @@ -3201,8 +3201,8 @@ #: utils/adt/int.c:1048 utils/adt/int.c:1087 utils/adt/int.c:1115 #: utils/adt/timestamp.c:2866 utils/adt/geo_ops.c:3967 utils/adt/int8.c:606 #: utils/adt/int8.c:666 utils/adt/int8.c:857 utils/adt/int8.c:965 -#: utils/adt/int8.c:1054 utils/adt/int8.c:1162 utils/adt/float.c:763 -#: utils/adt/float.c:827 utils/adt/float.c:2475 utils/adt/float.c:2538 +#: utils/adt/int8.c:1054 utils/adt/int8.c:1162 utils/adt/float.c:819 +#: utils/adt/float.c:883 utils/adt/float.c:2531 utils/adt/float.c:2594 #: utils/adt/cash.c:538 utils/adt/cash.c:589 utils/adt/cash.c:638 #: utils/adt/cash.c:690 utils/adt/cash.c:740 utils/adt/numeric.c:4183 #: utils/adt/numeric.c:4466 @@ -3356,7 +3356,7 @@ msgstr "conversione al fuso orario \"%s\" fallita" #: utils/adt/timestamp.c:4442 utils/adt/timestamp.c:4615 utils/adt/date.c:2619 -#: utils/adt/datetime.c:928 utils/adt/datetime.c:1663 +#: utils/adt/datetime.c:928 utils/adt/datetime.c:1657 #, c-format msgid "time zone \"%s\" not recognized" msgstr "fuso orario \"%s\" non riconosciuto" @@ -3366,11 +3366,11 @@ msgid "interval time zone \"%s\" must not specify month" msgstr "il fuso orario dell'intervallo \"%s\" non può specificare i mesi" -#: utils/adt/selfuncs.c:4566 +#: utils/adt/selfuncs.c:4572 msgid "case insensitive matching not supported on type bytea" msgstr "il confronto case insensitive sul tipo bytea non è supportato" -#: utils/adt/selfuncs.c:4661 +#: utils/adt/selfuncs.c:4667 msgid "regular-expression matching not supported on type bytea" msgstr "il confronto con espressioni regolari sul tipo bytea non è supportato" @@ -3409,7 +3409,7 @@ msgid "invalid name syntax" msgstr "la sintassi per il nome non è valida" -#: utils/adt/varlena.c:2675 +#: utils/adt/varlena.c:2678 msgid "field position must be greater than zero" msgstr "il campo deve essere maggiore di zero" @@ -3578,66 +3578,66 @@ msgid "value out of range: underflow" msgstr "il valore è fuori dall'intervallo consentito: underflow" -#: utils/adt/float.c:205 utils/adt/float.c:246 utils/adt/float.c:297 +#: utils/adt/float.c:205 utils/adt/float.c:269 utils/adt/float.c:325 #, c-format msgid "invalid input syntax for type real: \"%s\"" msgstr "la sintassi in input per il tipo real non è valida: \"%s\"" -#: utils/adt/float.c:241 +#: utils/adt/float.c:264 #, c-format msgid "\"%s\" is out of range for type real" msgstr "\"%s\" è fuori dall'intervallo consentito per il tipo real" -#: utils/adt/float.c:398 utils/adt/float.c:439 utils/adt/float.c:490 +#: utils/adt/float.c:426 utils/adt/float.c:490 utils/adt/float.c:546 #: utils/adt/numeric.c:3645 utils/adt/numeric.c:3671 #, c-format msgid "invalid input syntax for type double precision: \"%s\"" msgstr "la sintassi in input per il tipo double precision non è valida: \"%s\"" -#: utils/adt/float.c:434 +#: utils/adt/float.c:485 #, c-format msgid "\"%s\" is out of range for type double precision" msgstr "\"%s\" è fuori dall'intervallo consentito per il tipo double precision" -#: utils/adt/float.c:1302 utils/adt/numeric.c:4859 +#: utils/adt/float.c:1358 utils/adt/numeric.c:4859 msgid "cannot take square root of a negative number" msgstr "non è possibile estrarre la radice quadrata di un numero negativo" -#: utils/adt/float.c:1344 utils/adt/numeric.c:1948 +#: utils/adt/float.c:1400 utils/adt/numeric.c:1948 msgid "zero raised to a negative power is undefined" msgstr "zero elevato a potenza negativa non è definito" -#: utils/adt/float.c:1348 utils/adt/numeric.c:1954 +#: utils/adt/float.c:1404 utils/adt/numeric.c:1954 msgid "a negative number raised to a non-integer power yields a complex result" msgstr "un numero negativo elevato a potenza non intera è un valore di tipo complesso" -#: utils/adt/float.c:1414 utils/adt/float.c:1444 utils/adt/numeric.c:5077 +#: utils/adt/float.c:1470 utils/adt/float.c:1500 utils/adt/numeric.c:5077 msgid "cannot take logarithm of zero" msgstr "non è possibile calcolare il logaritmo di zero" -#: utils/adt/float.c:1418 utils/adt/float.c:1448 utils/adt/numeric.c:5081 +#: utils/adt/float.c:1474 utils/adt/float.c:1504 utils/adt/numeric.c:5081 msgid "cannot take logarithm of a negative number" msgstr "non è possibile calcolare il logaritmo di un numero negativo" -#: utils/adt/float.c:1475 utils/adt/float.c:1496 utils/adt/float.c:1517 -#: utils/adt/float.c:1539 utils/adt/float.c:1560 utils/adt/float.c:1581 -#: utils/adt/float.c:1603 utils/adt/float.c:1624 +#: utils/adt/float.c:1531 utils/adt/float.c:1552 utils/adt/float.c:1573 +#: utils/adt/float.c:1595 utils/adt/float.c:1616 utils/adt/float.c:1637 +#: utils/adt/float.c:1659 utils/adt/float.c:1680 msgid "input is out of range" msgstr "il valore di input è fuori dall'intervallo consentito" -#: utils/adt/float.c:2692 utils/adt/numeric.c:955 +#: utils/adt/float.c:2748 utils/adt/numeric.c:955 msgid "count must be greater than zero" msgstr "il valore count dev'essere maggiore di zero" -#: utils/adt/float.c:2697 utils/adt/numeric.c:962 +#: utils/adt/float.c:2753 utils/adt/numeric.c:962 msgid "operand, lower bound and upper bound cannot be NaN" msgstr "l'operando e i valori minimo e massimo non possono essere NaN" -#: utils/adt/float.c:2703 +#: utils/adt/float.c:2759 msgid "lower and upper bounds must be finite" msgstr "i valori minimo e massimo devono essere finiti" -#: utils/adt/float.c:2741 utils/adt/numeric.c:975 +#: utils/adt/float.c:2797 utils/adt/numeric.c:975 msgid "lower bound cannot equal upper bound" msgstr "il valore minimo non può essere uguale a quello massimo" @@ -3803,7 +3803,7 @@ msgid "TIME(%d)%s precision reduced to maximum allowed, %d" msgstr "la precisione di TIME(%d)%s è stata ridotta al massimo consentito (%d)" -#: utils/adt/date.c:142 utils/adt/datetime.c:1186 utils/adt/datetime.c:1934 +#: utils/adt/date.c:142 utils/adt/datetime.c:1186 utils/adt/datetime.c:1928 msgid "date/time value \"current\" is no longer supported" msgstr "il valore \"current\" per i tipi date/time non è più supportato" @@ -3929,7 +3929,7 @@ #: utils/adt/dbsize.c:246 utils/adt/acl.c:3695 commands/tablecmds.c:412 #: commands/tablecmds.c:6567 commands/dbcommands.c:432 -#: commands/dbcommands.c:1070 commands/indexcmds.c:210 commands/comment.c:665 +#: commands/dbcommands.c:1070 commands/indexcmds.c:211 commands/comment.c:665 #: commands/tablespace.c:415 commands/tablespace.c:770 #: commands/tablespace.c:837 commands/tablespace.c:939 #: commands/tablespace.c:1072 executor/execMain.c:2922 catalog/aclchk.c:613 @@ -3968,7 +3968,7 @@ msgstr "Gli identificatori devono essere più corti di %d caratteri." #. translator: first %s is inet or cidr -#: utils/adt/network.c:107 utils/adt/datetime.c:3561 +#: utils/adt/network.c:107 utils/adt/datetime.c:3555 #, c-format msgid "invalid input syntax for type %s: \"%s\"" msgstr "sintassi di input non valida per il tipo %s: \"%s\"" @@ -4067,8 +4067,8 @@ #: commands/tablecmds.c:4114 commands/tablecmds.c:5538 #: commands/tablecmds.c:5677 commands/analyze.c:271 commands/sequence.c:1349 #: commands/copy.c:3417 commands/comment.c:579 catalog/aclchk.c:672 -#: parser/analyze.c:1837 parser/parse_target.c:804 -#: parser/parse_relation.c:2068 parser/parse_relation.c:2123 +#: parser/analyze.c:1837 parser/parse_target.c:805 +#: parser/parse_relation.c:2077 parser/parse_relation.c:2132 #: parser/parse_type.c:117 #, c-format msgid "column \"%s\" of relation \"%s\" does not exist" @@ -4086,8 +4086,8 @@ msgid "rule \"%s\" has unsupported event type %d" msgstr "la regola \"%s\" ha un tipo di evento non supportato %d" -#: utils/adt/ruleutils.c:5316 utils/adt/ruleutils.c:5353 -#: utils/adt/ruleutils.c:5387 utils/adt/regproc.c:641 utils/adt/regproc.c:1501 +#: utils/adt/ruleutils.c:5319 utils/adt/ruleutils.c:5356 +#: utils/adt/ruleutils.c:5390 utils/adt/regproc.c:641 utils/adt/regproc.c:1501 msgid "too many arguments" msgstr "troppi argomenti" @@ -4441,7 +4441,7 @@ msgstr "la configurazione di ricerca di testo \"%s\" deve avere uno schema" #: utils/adt/tsvector_op.c:1371 commands/tablecmds.c:1838 commands/copy.c:3422 -#: commands/indexcmds.c:826 parser/parse_expr.c:474 +#: commands/indexcmds.c:833 parser/parse_expr.c:474 #, c-format msgid "column \"%s\" does not exist" msgstr "la colonna \"%s\" non esiste" @@ -4451,21 +4451,21 @@ msgid "column \"%s\" is not of a character type" msgstr "la colonna \"%s\" non è di tipo carattere" -#: utils/adt/datetime.c:3534 utils/adt/datetime.c:3541 +#: utils/adt/datetime.c:3528 utils/adt/datetime.c:3535 #, c-format msgid "date/time field value out of range: \"%s\"" msgstr "valore del campo date/time fuori dall'intervallo consentito: \"%s\"" -#: utils/adt/datetime.c:3543 +#: utils/adt/datetime.c:3537 msgid "Perhaps you need a different \"datestyle\" setting." msgstr "Forse è necessario impostare un \"datestyle\" diverso." -#: utils/adt/datetime.c:3548 +#: utils/adt/datetime.c:3542 #, c-format msgid "interval field value out of range: \"%s\"" msgstr "valore del campo interval fuori dall'intervallo consentito: \"%s\"" -#: utils/adt/datetime.c:3554 +#: utils/adt/datetime.c:3548 #, c-format msgid "time zone displacement out of range: \"%s\"" msgstr "la differenza di fuso orario è fuori dall'intervallo consentito: \"%s\"" @@ -4973,7 +4973,7 @@ msgstr "Fornisci due tipi di argomento per l'operatore." #: utils/adt/regproc.c:818 commands/lockcmds.c:118 catalog/namespace.c:275 -#: parser/parse_relation.c:883 parser/parse_relation.c:891 +#: parser/parse_relation.c:885 parser/parse_relation.c:893 #, c-format msgid "relation \"%s\" does not exist" msgstr "la relazione \"%s\" non esiste" @@ -5231,21 +5231,21 @@ msgid "unrecognized simple dictionary parameter: \"%s\"" msgstr "parametro del dizionario simple sconosciuto: \"%s\"" -#: tcop/pquery.c:668 +#: tcop/pquery.c:669 #, c-format msgid "bind message has %d result formats but query has %d columns" msgstr "il messaggio di bind ha %d formati di risultato ma la query ha %d colonne" -#: tcop/pquery.c:745 tcop/pquery.c:1366 commands/portalcmds.c:329 +#: tcop/pquery.c:746 tcop/pquery.c:1368 commands/portalcmds.c:330 #, c-format msgid "portal \"%s\" cannot be run" msgstr "il portale \"%s\" non può essere eseguito" -#: tcop/pquery.c:979 +#: tcop/pquery.c:981 msgid "cursor can only scan forward" msgstr "il cursore effettuare solo scansioni in avanti" -#: tcop/pquery.c:980 +#: tcop/pquery.c:982 msgid "Declare it with SCROLL option to enable backward scan." msgstr "Dichiaralo con l'opzione SCROLL per abilitare le scansioni all'indietro." @@ -5312,7 +5312,7 @@ msgstr "formato dei dati binari non corretto nell'argomento %d della funzione" #: tcop/postgres.c:384 tcop/postgres.c:396 tcop/postgres.c:407 -#: tcop/postgres.c:419 tcop/postgres.c:3948 +#: tcop/postgres.c:419 tcop/postgres.c:3955 #, c-format msgid "invalid frontend message type %d" msgstr "messaggio frontend di tipo %d non valido" @@ -5408,93 +5408,93 @@ msgid "parameters: %s" msgstr "parametri: %s" -#: tcop/postgres.c:2497 +#: tcop/postgres.c:2504 msgid "terminating connection because of crash of another server process" msgstr "la connessione è stata terminata a causa del crash di un altro processo del server" -#: tcop/postgres.c:2498 +#: tcop/postgres.c:2505 msgid "The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory." msgstr "Il postmaster ha obbligato questo processo del server di attuare il roll back della transazione corrente e di uscire, perché un altro processo del server è terminato anormalmente e con possibile corruzione della memoria condivisa." -#: tcop/postgres.c:2502 +#: tcop/postgres.c:2509 msgid "In a moment you should be able to reconnect to the database and repeat your command." msgstr "In un momento sarai in grado di riconnetterti al database e di ripetere il comando." -#: tcop/postgres.c:2621 +#: tcop/postgres.c:2628 msgid "floating-point exception" msgstr "eccezione floating-point" -#: tcop/postgres.c:2622 +#: tcop/postgres.c:2629 msgid "An invalid floating-point operation was signaled. This probably means an out-of-range result or an invalid operation, such as division by zero." msgstr "Un'operazione in floating-point non valida è stata segnalata. Questo probabilmente sta a significare che il risultato è un valore fuori limite o l'operazione non è valida, ad esempio una divisione per zero." -#: tcop/postgres.c:2659 +#: tcop/postgres.c:2666 msgid "terminating autovacuum process due to administrator command" msgstr "interruzione del processo autovacuum su comando dell'amministratore" -#: tcop/postgres.c:2663 +#: tcop/postgres.c:2670 msgid "terminating connection due to administrator command" msgstr "interruzione della connessione su comando dell'amministratore" -#: tcop/postgres.c:2674 +#: tcop/postgres.c:2681 msgid "canceling statement due to statement timeout" msgstr "annullamento dell'istruzione a causa di timeout" -#: tcop/postgres.c:2678 +#: tcop/postgres.c:2685 msgid "canceling autovacuum task" msgstr "annullamento del task di autovacuum" -#: tcop/postgres.c:2682 +#: tcop/postgres.c:2689 msgid "canceling statement due to user request" msgstr "annullamento dell'istruzione su richiesta dell'utente" -#: tcop/postgres.c:2809 tcop/postgres.c:2830 +#: tcop/postgres.c:2816 tcop/postgres.c:2837 msgid "stack depth limit exceeded" msgstr "limite di profondità dello stack superato" -#: tcop/postgres.c:2810 tcop/postgres.c:2831 +#: tcop/postgres.c:2817 tcop/postgres.c:2838 msgid "Increase the configuration parameter \"max_stack_depth\", after ensuring the platform's stack depth limit is adequate." msgstr "Incrementa il parametro di configurazione \"max_stack_depth\", dopo esserti assicurato che il limite dello stack della piattaforma sia adeguato." -#: tcop/postgres.c:2848 +#: tcop/postgres.c:2855 #, c-format msgid "\"max_stack_depth\" must not exceed %ldkB" msgstr "\"max_stack_depth\" non deve superare %ldkB" -#: tcop/postgres.c:2850 +#: tcop/postgres.c:2857 msgid "Increase the platform's stack depth limit via \"ulimit -s\" or local equivalent." msgstr "Incrementa il limite dello stack della piattaforma usando \"ulimit -s\" on un comando equivalente." -#: tcop/postgres.c:3363 +#: tcop/postgres.c:3370 msgid "invalid command-line arguments for server process" msgstr "argomento della riga di comando non valido per il processo server" -#: tcop/postgres.c:3364 tcop/postgres.c:3378 +#: tcop/postgres.c:3371 tcop/postgres.c:3385 #, c-format msgid "Try \"%s --help\" for more information." msgstr "Prova \"%s --help\" per maggiori informazioni." -#: tcop/postgres.c:3376 +#: tcop/postgres.c:3383 #, c-format msgid "%s: invalid command-line arguments" msgstr "%s: parametri della riga di comando non validi" -#: tcop/postgres.c:3386 +#: tcop/postgres.c:3393 #, c-format msgid "%s: no database nor user name specified" msgstr "%s: nessun database né nome utente specificato" -#: tcop/postgres.c:3858 +#: tcop/postgres.c:3865 #, c-format msgid "invalid CLOSE message subtype %d" msgstr "sottotipo %d del messaggio CLOSE non valido" -#: tcop/postgres.c:3891 +#: tcop/postgres.c:3898 #, c-format msgid "invalid DESCRIBE message subtype %d" msgstr "sottotipo %d del messaggio DESCRIBE non valido" -#: tcop/postgres.c:4129 +#: tcop/postgres.c:4136 #, c-format msgid "disconnection: session time: %d:%02d:%02d.%03d user=%s database=%s host=%s%s%s" msgstr "disconnessione: tempo della sessione: %d:%02d:%02d.%03d utente=%s database=%s host=%s%s%s" @@ -5604,7 +5604,7 @@ msgid "Valid values are between \"%f\" and \"%f\"." msgstr "I valori validi sono quelli compresi fra \"%f\" e \"%f\"." -#: access/common/tupdesc.c:547 parser/parse_relation.c:1200 +#: access/common/tupdesc.c:553 parser/parse_relation.c:1202 #, c-format msgid "column \"%s\" cannot be declared SETOF" msgstr "la colonna \"%s\" non può essere dichiarata SETOF" @@ -6890,7 +6890,7 @@ msgstr "un valore chiave duplicato viola il vincolo univoco \"%s\"" #: access/index/indexam.c:149 commands/tablecmds.c:212 -#: commands/tablecmds.c:2183 commands/indexcmds.c:1315 commands/comment.c:502 +#: commands/tablecmds.c:2183 commands/indexcmds.c:1322 commands/comment.c:502 #, c-format msgid "\"%s\" is not an index" msgstr "\"%s\" non è un indice" @@ -6933,14 +6933,14 @@ msgid "could not obtain lock on relation with OID %u" msgstr "non è stato possibile ottenere il lock sulla relazione con OID %u" -#: commands/lockcmds.c:113 catalog/namespace.c:270 parser/parse_relation.c:870 +#: commands/lockcmds.c:113 catalog/namespace.c:270 parser/parse_relation.c:872 #, c-format msgid "relation \"%s.%s\" does not exist" msgstr "la relazione \"%s.%s\" non esiste" #: commands/lockcmds.c:140 commands/tablecmds.c:194 commands/tablecmds.c:1041 -#: commands/tablecmds.c:3159 commands/indexcmds.c:172 -#: commands/indexcmds.c:1349 commands/comment.c:516 commands/trigger.c:115 +#: commands/tablecmds.c:3159 commands/indexcmds.c:173 +#: commands/indexcmds.c:1356 commands/comment.c:516 commands/trigger.c:115 #: commands/trigger.c:807 catalog/toasting.c:94 #, c-format msgid "\"%s\" is not a table" @@ -7004,29 +7004,29 @@ msgid "invalid interval value for time zone: day not allowed" msgstr "valore di intervallo non valido per il fuso orario: non è possibile specificare i giorni" -#: commands/variable.c:361 commands/variable.c:493 +#: commands/variable.c:363 commands/variable.c:495 #, c-format msgid "unrecognized time zone name: \"%s\"" msgstr "nome sconosciuto del fuso orario: \"%s\"" -#: commands/variable.c:370 commands/variable.c:502 +#: commands/variable.c:372 commands/variable.c:504 #, c-format msgid "time zone \"%s\" appears to use leap seconds" msgstr "sembra che il fuso orario \"%s\" utilizzi il secondo intercalare" -#: commands/variable.c:372 commands/variable.c:504 +#: commands/variable.c:374 commands/variable.c:506 msgid "PostgreSQL does not support leap seconds." msgstr "PostgreSQL non supporta il secondo intercalare." -#: commands/variable.c:557 +#: commands/variable.c:559 msgid "SET TRANSACTION ISOLATION LEVEL must be called before any query" msgstr "SET TRANSACTION ISOLATION LEVEL dev'essere invocato prima di qualsiasi query" -#: commands/variable.c:566 +#: commands/variable.c:568 msgid "SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction" msgstr "SET TRANSACTION ISOLATION LEVEL non può essere invocato in una sotto-transazione" -#: commands/variable.c:869 +#: commands/variable.c:871 #, c-format msgid "permission denied to set role \"%s\"" msgstr "permesso di impostare il ruolo \"%s\" negato" @@ -7071,8 +7071,8 @@ msgstr "il parametro $%d di tipo %s non può essere forzato al tipo previsto %s" #: commands/prepare.c:370 rewrite/rewriteHandler.c:949 catalog/heap.c:2211 -#: parser/parse_target.c:471 parser/parse_target.c:730 -#: parser/parse_target.c:740 parser/parse_node.c:367 +#: parser/parse_target.c:472 parser/parse_target.c:731 +#: parser/parse_target.c:741 parser/parse_node.c:379 msgid "You will need to rewrite or cast the expression." msgstr "Devi riscrivere o convertire il tipo dell'espressione" @@ -7198,8 +7198,8 @@ msgid "tables can have at most %d columns" msgstr "le tabelle possono avere al massimo %d colonne" -#: commands/tablecmds.c:1190 commands/copy.c:3429 parser/parse_target.c:820 -#: parser/parse_target.c:831 +#: commands/tablecmds.c:1190 commands/copy.c:3429 parser/parse_target.c:821 +#: parser/parse_target.c:832 #, c-format msgid "column \"%s\" specified more than once" msgstr "la colonna \"%s\" è stata specificata più di una volta" @@ -8474,7 +8474,7 @@ msgid "\"%s\" is a system catalog" msgstr "\"%s\" è un catalogo di sistema" -#: commands/vacuumlazy.c:269 +#: commands/vacuumlazy.c:283 #, c-format msgid "" "automatic vacuum of table \"%s.%s.%s\": index scans: %d\n" @@ -8487,27 +8487,27 @@ "tuple: %.0f rimosse, %.0f restanti\n" "utilizzo del sistema: %s" -#: commands/vacuumlazy.c:324 commands/vacuum.c:1459 +#: commands/vacuumlazy.c:338 commands/vacuum.c:1459 #, c-format msgid "vacuuming \"%s.%s\"" msgstr "pulizia di \"%s.%s\"" -#: commands/vacuumlazy.c:484 commands/vacuum.c:1518 +#: commands/vacuumlazy.c:498 commands/vacuum.c:1518 #, c-format msgid "relation \"%s\" page %u is uninitialized --- fixing" msgstr "la relazione \"%s\" pagina %u non è inizializzata --- in correzione" -#: commands/vacuumlazy.c:833 +#: commands/vacuumlazy.c:849 #, c-format msgid "\"%s\": removed %.0f row versions in %u pages" msgstr "\"%s\": %.0f versioni di riga rimosse in %u pagine" -#: commands/vacuumlazy.c:838 +#: commands/vacuumlazy.c:854 #, c-format msgid "\"%s\": found %.0f removable, %.0f nonremovable row versions in %u out of %u pages" msgstr "\"%s\": trovate %.0f versioni di riga removibili, %.0f non removibili in %u pagine su %u" -#: commands/vacuumlazy.c:842 +#: commands/vacuumlazy.c:858 #, c-format msgid "" "%.0f dead row versions cannot be removed yet.\n" @@ -8520,28 +8520,28 @@ "%u pagine sono completamente vuote.\n" "%s." -#: commands/vacuumlazy.c:900 +#: commands/vacuumlazy.c:916 #, c-format msgid "\"%s\": removed %d row versions in %d pages" msgstr "\"%s\": %d versioni di riga rimosse in %d pagine" -#: commands/vacuumlazy.c:903 commands/vacuumlazy.c:996 -#: commands/vacuumlazy.c:1131 commands/vacuum.c:2861 +#: commands/vacuumlazy.c:919 commands/vacuumlazy.c:1012 +#: commands/vacuumlazy.c:1147 commands/vacuum.c:2861 #, c-format msgid "%s." msgstr "%s." -#: commands/vacuumlazy.c:993 +#: commands/vacuumlazy.c:1009 #, c-format msgid "scanned index \"%s\" to remove %d row versions" msgstr "effettuata la scansione dell'indice \"%s\" per rimuovere %d versioni di riga" -#: commands/vacuumlazy.c:1035 commands/vacuum.c:3528 commands/vacuum.c:3605 +#: commands/vacuumlazy.c:1051 commands/vacuum.c:3528 commands/vacuum.c:3605 #, c-format msgid "index \"%s\" now contains %.0f row versions in %u pages" msgstr "l'indice \"%s\" ora contiene %.0f versioni di riga in %u pagine" -#: commands/vacuumlazy.c:1039 commands/vacuum.c:3609 +#: commands/vacuumlazy.c:1055 commands/vacuum.c:3609 #, c-format msgid "" "%.0f index row versions were removed.\n" @@ -8552,7 +8552,7 @@ "%u pagine dell'indice sono state cancellate, %u sono attualmente riusabili.\n" "%s." -#: commands/vacuumlazy.c:1128 commands/vacuum.c:3435 +#: commands/vacuumlazy.c:1144 commands/vacuum.c:3435 #, c-format msgid "\"%s\": truncated %u to %u pages" msgstr "\"%s\": %u pagine ridotte a %u" @@ -8726,24 +8726,24 @@ msgid "There are %d prepared transaction(s) using the database." msgstr "Ci sono %d transazioni preparate che stanno usando il database." -#: commands/indexcmds.c:147 +#: commands/indexcmds.c:148 msgid "must specify at least one column" msgstr "occorre specificare almeno una colonna" -#: commands/indexcmds.c:151 +#: commands/indexcmds.c:152 #, c-format msgid "cannot use more than %d columns in an index" msgstr "non è possibile usare più di %d colonne in un indice" -#: commands/indexcmds.c:181 +#: commands/indexcmds.c:182 msgid "cannot create indexes on temporary tables of other sessions" msgstr "non è possibile creare indici su tabelle temporanee di altre sessioni" -#: commands/indexcmds.c:274 +#: commands/indexcmds.c:275 msgid "substituting access method \"gist\" for obsolete method \"rtree\"" msgstr "sostituzione del metodo di accesso \"gist\" per il metodo obsoleto \"rtree\"" -#: commands/indexcmds.c:284 commands/opclasscmds.c:290 +#: commands/indexcmds.c:285 commands/opclasscmds.c:290 #: commands/opclasscmds.c:682 commands/opclasscmds.c:785 #: commands/opclasscmds.c:1517 commands/opclasscmds.c:1580 #: commands/opclasscmds.c:1748 commands/opclasscmds.c:1848 @@ -8753,81 +8753,81 @@ msgid "access method \"%s\" does not exist" msgstr "Il metodo di accesso \"%s\" non esiste" -#: commands/indexcmds.c:293 +#: commands/indexcmds.c:294 #, c-format msgid "access method \"%s\" does not support unique indexes" msgstr "il metodo di accesso \"%s\" non supporta gli indici univoci" -#: commands/indexcmds.c:298 +#: commands/indexcmds.c:299 #, c-format msgid "access method \"%s\" does not support multicolumn indexes" msgstr "il metodo di accesso \"%s\" non supporta gli indici multicolonna" -#: commands/indexcmds.c:331 parser/parse_utilcmd.c:1057 +#: commands/indexcmds.c:332 parser/parse_utilcmd.c:1057 #: parser/parse_utilcmd.c:1141 #, c-format msgid "multiple primary keys for table \"%s\" are not allowed" msgstr "non è possibile avere più di una chiave primaria per la tabella \"%s\"" -#: commands/indexcmds.c:348 +#: commands/indexcmds.c:349 msgid "primary keys cannot be expressions" msgstr "le chiavi primarie non possono essere delle espressioni" -#: commands/indexcmds.c:378 commands/indexcmds.c:821 +#: commands/indexcmds.c:379 commands/indexcmds.c:828 #: parser/parse_utilcmd.c:1256 #, c-format msgid "column \"%s\" named in key does not exist" msgstr "la colonna \"%s\" nominata nella chiave non esiste" -#: commands/indexcmds.c:433 +#: commands/indexcmds.c:434 #, c-format msgid "%s %s will create implicit index \"%s\" for table \"%s\"" msgstr "%s %s creerà un indice implicito \"%s\" per la tabella \"%s\"" -#: commands/indexcmds.c:762 +#: commands/indexcmds.c:769 msgid "cannot use subquery in index predicate" msgstr "non è possibile usare sottoquery nel predicato dell'indice" -#: commands/indexcmds.c:766 +#: commands/indexcmds.c:773 msgid "cannot use aggregate in index predicate" msgstr "non si possono usare funzioni di aggregazione nel predicato dell'indice" -#: commands/indexcmds.c:775 +#: commands/indexcmds.c:782 msgid "functions in index predicate must be marked IMMUTABLE" msgstr "le funzioni nel predicato dell'indice devono essere marcate IMMUTABLE" -#: commands/indexcmds.c:860 +#: commands/indexcmds.c:867 msgid "cannot use subquery in index expression" msgstr "non si possono usare sottoquery nell'espressione dell'indice" -#: commands/indexcmds.c:864 +#: commands/indexcmds.c:871 msgid "cannot use aggregate function in index expression" msgstr "non si possono usare funzioni di aggregazione nell'espressione dell'indice" -#: commands/indexcmds.c:874 +#: commands/indexcmds.c:881 msgid "functions in index expression must be marked IMMUTABLE" msgstr "le funzioni nell'espressione dell'indice devono essere marcate IMMUTABLE" -#: commands/indexcmds.c:911 +#: commands/indexcmds.c:918 #, c-format msgid "access method \"%s\" does not support ASC/DESC options" msgstr "il metodo di accesso \"%s\" non supporta le opzioni ASC/DESC" -#: commands/indexcmds.c:916 +#: commands/indexcmds.c:923 #, c-format msgid "access method \"%s\" does not support NULLS FIRST/LAST options" msgstr "il metodo di accesso \"%s\" non supporta le opzioni NULLS FIRST/LAST" -#: commands/indexcmds.c:972 +#: commands/indexcmds.c:979 #, c-format msgid "data type %s has no default operator class for access method \"%s\"" msgstr "il tipo di dati %s non ha una classe di operatori predefinita per il metodo di accesso \"%s\"" -#: commands/indexcmds.c:974 +#: commands/indexcmds.c:981 msgid "You must specify an operator class for the index or define a default operator class for the data type." msgstr "Devi specificare una classe di operatori per l'indice o definire una classe di operatori predefinita per il tipo di dati" -#: commands/indexcmds.c:1004 commands/indexcmds.c:1014 +#: commands/indexcmds.c:1011 commands/indexcmds.c:1021 #: commands/opclasscmds.c:1529 commands/opclasscmds.c:1533 #: commands/opclasscmds.c:1770 commands/opclasscmds.c:1781 #: commands/opclasscmds.c:1969 commands/opclasscmds.c:1980 @@ -8836,31 +8836,31 @@ msgid "operator class \"%s\" does not exist for access method \"%s\"" msgstr "la classe di operatori \"%s\" non esiste per il metodo di accesso \"%s\"" -#: commands/indexcmds.c:1027 +#: commands/indexcmds.c:1034 #, c-format msgid "operator class \"%s\" does not accept data type %s" msgstr "la classe di operatori \"%s\" non accetta il tipo di dati %s" -#: commands/indexcmds.c:1117 +#: commands/indexcmds.c:1124 #, c-format msgid "there are multiple default operator classes for data type %s" msgstr "il tipo di dati %s ha più di una classe di operatori predefinita" -#: commands/indexcmds.c:1361 +#: commands/indexcmds.c:1368 #, c-format msgid "shared table \"%s\" can only be reindexed in stand-alone mode" msgstr "la tabella condivisa \"%s\" può essere reindicizzata solo in modalità stand-alone" -#: commands/indexcmds.c:1368 +#: commands/indexcmds.c:1375 #, c-format msgid "table \"%s\" has no indexes" msgstr "la tabella \"%s\" non ha indici" -#: commands/indexcmds.c:1396 +#: commands/indexcmds.c:1403 msgid "can only reindex the currently open database" msgstr "è possibile reindicizzare solo il database corrente" -#: commands/indexcmds.c:1487 +#: commands/indexcmds.c:1494 #, c-format msgid "table \"%s\" was reindexed" msgstr "la tabella \"%s\" è stata reindicizzata" @@ -9099,8 +9099,8 @@ msgid "must be superuser to comment on procedural language" msgstr "occorre essere superutente per creare un commento su un linguaggio procedurale" -#: commands/comment.c:1423 storage/large_object/inv_api.c:266 -#: storage/large_object/inv_api.c:371 catalog/pg_largeobject.c:107 +#: commands/comment.c:1423 storage/large_object/inv_api.c:255 +#: storage/large_object/inv_api.c:379 catalog/pg_largeobject.c:107 #, c-format msgid "large object %u does not exist" msgstr "il large object %u non esiste" @@ -9233,7 +9233,7 @@ msgid "invalid cursor name: must not be empty" msgstr "nome di cursore non valido: non deve essere vuoto" -#: commands/portalcmds.c:402 +#: commands/portalcmds.c:404 msgid "could not reposition held cursor" msgstr "riposizionamento del cursore held fallito" @@ -10130,7 +10130,7 @@ msgid "SQL function \"%s\" statement %d" msgstr "funzione SQL \"%s\" istruzione %d" -#: executor/functions.c:933 catalog/pg_proc.c:807 +#: executor/functions.c:933 catalog/pg_proc.c:823 #, c-format msgid "SQL function \"%s\"" msgstr "funzione SQL \"%s\"" @@ -10492,19 +10492,19 @@ msgid "could not implement DISTINCT" msgstr "non è stato possibile implementare DISTINCT" -#: optimizer/plan/planner.c:2523 +#: optimizer/plan/planner.c:2538 msgid "could not implement window PARTITION BY" msgstr "non è stato possibile implementare PARTITION BY della finestra" -#: optimizer/plan/planner.c:2524 +#: optimizer/plan/planner.c:2539 msgid "Window partitioning columns must be of sortable datatypes." msgstr "La colonna di partizionamento della finestra dev'essere un tipo di dato ordinabile." -#: optimizer/plan/planner.c:2528 +#: optimizer/plan/planner.c:2543 msgid "could not implement window ORDER BY" msgstr "non è stato possibile implementare ORDER BY della finestra" -#: optimizer/plan/planner.c:2529 +#: optimizer/plan/planner.c:2544 msgid "Window ordering columns must be of sortable datatypes." msgstr "La colonna di ordinamento della finestra dev'essere un tipo di dato ordinabile." @@ -10526,7 +10526,7 @@ msgid "could not implement %s" msgstr "non è stato possibile implementare %s" -#: optimizer/util/clauses.c:3835 +#: optimizer/util/clauses.c:3856 #, c-format msgid "SQL function \"%s\" during inlining" msgstr "funzione SQL \"%s\" durante l'inlining" @@ -11329,31 +11329,31 @@ msgid "could not write server file \"%s\": %m" msgstr "scrittura del file del server \"%s\" fallita: %m" -#: storage/file/fd.c:385 +#: storage/file/fd.c:391 #, c-format msgid "getrlimit failed: %m" msgstr "getrlimit fallito: %m" -#: storage/file/fd.c:475 +#: storage/file/fd.c:481 msgid "insufficient file descriptors available to start server process" msgstr "descrittori di file non sufficienti per avviare il processo server" -#: storage/file/fd.c:476 +#: storage/file/fd.c:482 #, c-format msgid "System allows %d, we need at least %d." msgstr "Il sistema ne consente %d, ne occorrono almeno %d." -#: storage/file/fd.c:517 storage/file/fd.c:1414 storage/file/fd.c:1529 +#: storage/file/fd.c:523 storage/file/fd.c:1423 storage/file/fd.c:1538 #, c-format msgid "out of file descriptors: %m; release and retry" msgstr "descrittori di file esauriti: %m; sto rilasciando e riprovando" -#: storage/file/fd.c:1070 +#: storage/file/fd.c:1079 #, c-format msgid "temporary file: path \"%s\", size %lu" msgstr "file temporaneo: percorso \"%s\", dimensione %lu" -#: storage/file/fd.c:1588 +#: storage/file/fd.c:1597 #, c-format msgid "could not read directory \"%s\": %m" msgstr "lettura della directory \"%s\" fallita: %m" @@ -11408,7 +11408,7 @@ msgid "no empty local buffer available" msgstr "nessun buffer locale vuoto disponibile" -#: storage/large_object/inv_api.c:545 storage/large_object/inv_api.c:736 +#: storage/large_object/inv_api.c:553 storage/large_object/inv_api.c:744 #, c-format msgid "large object %u was not opened for writing" msgstr "il large object %u non è stato aperto in scrittura" @@ -11963,63 +11963,67 @@ msgid "\"%s\" is already an attribute of type %s" msgstr "\"%s\" è già un attributo del tipo %s" -#: catalog/pg_proc.c:361 +#: catalog/pg_proc.c:290 +msgid "window functions cannot have default arguments" +msgstr "le funzioni finestra non possono avere argomenti di default" + +#: catalog/pg_proc.c:367 #, c-format msgid "function \"%s\" already exists with same argument types" msgstr "la funzione \"%s\" esiste già, con gli stessi tipi di argomenti" -#: catalog/pg_proc.c:375 catalog/pg_proc.c:397 +#: catalog/pg_proc.c:381 catalog/pg_proc.c:403 msgid "cannot change return type of existing function" msgstr "non è possibile cambiare il tipo restituito da una funzione esistente" -#: catalog/pg_proc.c:376 catalog/pg_proc.c:399 catalog/pg_proc.c:422 -#: catalog/pg_proc.c:448 +#: catalog/pg_proc.c:382 catalog/pg_proc.c:405 catalog/pg_proc.c:428 +#: catalog/pg_proc.c:454 msgid "Use DROP FUNCTION first." msgstr "usare prima DROP FUNCTION." -#: catalog/pg_proc.c:398 +#: catalog/pg_proc.c:404 msgid "Row type defined by OUT parameters is different." msgstr "Il tipo della riga definito dai parametri di OUT è diverso." -#: catalog/pg_proc.c:421 +#: catalog/pg_proc.c:427 msgid "cannot remove parameter defaults from existing function" msgstr "non è possibile rimuovere i valori predefiniti dei parametri da funzioni esistenti" -#: catalog/pg_proc.c:447 +#: catalog/pg_proc.c:453 msgid "cannot change data type of existing parameter default value" msgstr "non è possibile cambiare tipo di dati dei valori predefiniti di parametri esistenti" -#: catalog/pg_proc.c:459 +#: catalog/pg_proc.c:465 #, c-format msgid "function \"%s\" is an aggregate function" msgstr "la funzione \"%s\" è una funzione di aggregazione" -#: catalog/pg_proc.c:464 +#: catalog/pg_proc.c:470 #, c-format msgid "function \"%s\" is not an aggregate function" msgstr "la funzione \"%s\" non è una funzione di aggregazione" -#: catalog/pg_proc.c:472 +#: catalog/pg_proc.c:478 #, c-format msgid "function \"%s\" is a window function" msgstr "la funzione \"%s\" è una funzione finestra" -#: catalog/pg_proc.c:477 +#: catalog/pg_proc.c:483 #, c-format msgid "function \"%s\" is not a window function" msgstr "la funzione \"%s\" non è una funzione finestra" -#: catalog/pg_proc.c:630 +#: catalog/pg_proc.c:646 #, c-format msgid "there is no built-in function named \"%s\"" msgstr "non c'è nessuna funzione predefinita chiamata \"%s\"" -#: catalog/pg_proc.c:726 +#: catalog/pg_proc.c:742 #, c-format msgid "SQL functions cannot return type %s" msgstr "Le funzioni SQL non possono restituire il tipo %s" -#: catalog/pg_proc.c:741 +#: catalog/pg_proc.c:757 #, c-format msgid "SQL functions cannot have arguments of type %s" msgstr "le funzioni SQL non possono avere argomenti di tipo %s" @@ -12509,13 +12513,13 @@ msgid "no schema has been selected to create in" msgstr "nessuna schema selezionato per crearci dentro" -#: catalog/namespace.c:2076 parser/parse_expr.c:586 parser/parse_target.c:909 +#: catalog/namespace.c:2076 parser/parse_expr.c:586 parser/parse_target.c:910 #, c-format msgid "cross-database references are not implemented: %s" msgstr "i riferimenti tra database diversi non sono implementati: %s" #: catalog/namespace.c:2082 gram.y:3434 gram.y:9954 parser/parse_expr.c:620 -#: parser/parse_target.c:919 +#: parser/parse_target.c:920 #, c-format msgid "improper qualified name (too many dotted names): %s" msgstr "nome qualificato improprio (troppi nomi puntati): %s" @@ -13884,39 +13888,43 @@ msgid "window \"%s\" is already defined" msgstr "la finestra \"%s\" è già definita" -#: parser/parse_clause.c:1629 +#: parser/parse_clause.c:1634 #, c-format msgid "cannot override PARTITION BY clause of window \"%s\"" msgstr "non è possibile scavalcare la clausola PARTITION BY della finestra \"%s\"" -#: parser/parse_clause.c:1641 +#: parser/parse_clause.c:1646 #, c-format msgid "cannot override ORDER BY clause of window \"%s\"" msgstr "non è possibile scavalcare la clausola ORDER BY della finestra \"%s\"" -#: parser/parse_clause.c:1663 +#: parser/parse_clause.c:1676 parser/parse_clause.c:1682 #, c-format -msgid "cannot override frame clause of window \"%s\"" -msgstr "non è possibile scavalcare la clausola della finestra \"%s\"" +msgid "cannot copy window \"%s\" because it has a frame clause" +msgstr "non è possibile copiare la finestra \"%s\" perché ha una clausola frame" + +#: parser/parse_clause.c:1684 +msgid "Omit the parentheses in this OVER clause." +msgstr "Omettere le parentesi in questa clausola OVER." -#: parser/parse_clause.c:1719 +#: parser/parse_clause.c:1740 msgid "for SELECT DISTINCT, ORDER BY expressions must appear in select list" msgstr "per SELECT DISTINCT, le espressioni ORDER BY devono figurare nella lista di argomenti" -#: parser/parse_clause.c:1805 parser/parse_clause.c:1837 +#: parser/parse_clause.c:1826 parser/parse_clause.c:1858 msgid "SELECT DISTINCT ON expressions must match initial ORDER BY expressions" msgstr "le espressioni SELECT DISTINCT ON devono coincidere con l'espressione ORDER BY iniziale" -#: parser/parse_clause.c:1956 +#: parser/parse_clause.c:1977 #, c-format msgid "operator %s is not a valid ordering operator" msgstr "l'operatore %s non è un operatore di ordinamento valido" -#: parser/parse_clause.c:1958 +#: parser/parse_clause.c:1979 msgid "Ordering operators must be \"<\" or \">\" members of btree operator families." msgstr "Gli operatori di ordinamento devono essere i membri \"<\" oppure \">\" di una famiglia di operatori btree." -#: parser/parse_expr.c:351 parser/parse_target.c:596 +#: parser/parse_expr.c:351 parser/parse_target.c:597 msgid "row expansion via \"*\" is not supported here" msgstr "l'espansione della riga tramite \"*\" non è supportata qui" @@ -13924,10 +13932,6 @@ msgid "NULLIF requires = operator to yield boolean" msgstr "NULLIF richiede che l'operatore = restituisca un valore booleano" -#: parser/parse_expr.c:1075 -msgid "arguments of row IN must all be row expressions" -msgstr "gli argomenti della riga IN devono essere tutti espressioni di riga" - #: parser/parse_expr.c:1278 msgid "subquery cannot have SELECT INTO" msgstr "sa sottoquery non può avere SELECT INTO" @@ -14013,45 +14017,45 @@ msgid "IS DISTINCT FROM requires = operator to yield boolean" msgstr "IS DISTINCT FROM richiede che l'operatore = restituisca un valore booleano" -#: parser/parse_target.c:369 parser/parse_target.c:657 +#: parser/parse_target.c:370 parser/parse_target.c:658 #, c-format msgid "cannot assign to system column \"%s\"" msgstr "non è possibile assegnare alla colonna di sistema \"%s\"" -#: parser/parse_target.c:394 +#: parser/parse_target.c:395 msgid "cannot set an array element to DEFAULT" msgstr "non è possibile impostare gli elementi di un array a DEFAULT" -#: parser/parse_target.c:399 +#: parser/parse_target.c:400 msgid "cannot set a subfield to DEFAULT" msgstr "non è possibile impostare un sottocampo a DEFAULT" -#: parser/parse_target.c:466 +#: parser/parse_target.c:467 #, c-format msgid "column \"%s\" is of type %s but expression is of type %s" msgstr "la colonna \"%s\" è di tipo %s ma l'espressione è di tipo %s" -#: parser/parse_target.c:641 +#: parser/parse_target.c:642 #, c-format msgid "cannot assign to field \"%s\" of column \"%s\" because its type %s is not a composite type" msgstr "non è possibile assegnare al campo \"%s\" della colonna \"%s\" perché il suo tipo %s non è un tipo composito" -#: parser/parse_target.c:650 +#: parser/parse_target.c:651 #, c-format msgid "cannot assign to field \"%s\" of column \"%s\" because there is no such column in data type %s" msgstr "non è possibile assegnare al campo \"%s\" della colonna \"%s\" perché non questa colonna non compare nel tipo di dato %s" -#: parser/parse_target.c:725 +#: parser/parse_target.c:726 #, c-format msgid "array assignment to \"%s\" requires type %s but expression is of type %s" msgstr "l'assegnamento array a \"%s\" richiede il tipo %s ma l'espressione è di tipo %s" -#: parser/parse_target.c:735 +#: parser/parse_target.c:736 #, c-format msgid "subfield \"%s\" is of type %s but expression is of type %s" msgstr "il sottocampo \"%s\" è di tipo %s ma l'espressione è di tipo %s" -#: parser/parse_target.c:991 +#: parser/parse_target.c:992 msgid "SELECT * with no tables specified is not valid" msgstr "SELECT * senza tabelle specificate non è consentito" @@ -14065,104 +14069,104 @@ msgid "cannot subscript type %s because it is not an array" msgstr "non è possibile usare un indice su %s perché non è un array" -#: parser/parse_node.c:313 parser/parse_node.c:339 +#: parser/parse_node.c:325 parser/parse_node.c:351 msgid "array subscript must have type integer" msgstr "l'indice di un array dev'essere di tipo intero" -#: parser/parse_node.c:363 +#: parser/parse_node.c:375 #, c-format msgid "array assignment requires type %s but expression is of type %s" msgstr "l'assegnamento all'array richiede il tipo %s ma l'espressione è di tipo %s" -#: parser/parse_relation.c:141 +#: parser/parse_relation.c:142 #, c-format msgid "table reference \"%s\" is ambiguous" msgstr "il riferimento alla tabella \"%s\" è ambiguo" -#: parser/parse_relation.c:177 +#: parser/parse_relation.c:178 #, c-format msgid "table reference %u is ambiguous" msgstr "il riferimento alla tabella %u è ambiguo" -#: parser/parse_relation.c:337 +#: parser/parse_relation.c:338 #, c-format msgid "table name \"%s\" specified more than once" msgstr "la tabella di nome \"%s\" è stata specificata più di una volta" -#: parser/parse_relation.c:472 parser/parse_relation.c:553 +#: parser/parse_relation.c:473 parser/parse_relation.c:554 #, c-format msgid "column reference \"%s\" is ambiguous" msgstr "il riferimento alla colonna \"%s\" è ambiguo" -#: parser/parse_relation.c:789 parser/parse_relation.c:1078 -#: parser/parse_relation.c:1438 +#: parser/parse_relation.c:791 parser/parse_relation.c:1080 +#: parser/parse_relation.c:1440 #, c-format msgid "table \"%s\" has %d columns available but %d columns specified" msgstr "la tabella \"%s\" ha %d colonne disponibili ma %d colonne specificate" -#: parser/parse_relation.c:819 +#: parser/parse_relation.c:821 #, c-format msgid "too many column aliases specified for function %s" msgstr "troppi alias di colonna specificati per la funzione %s" -#: parser/parse_relation.c:885 +#: parser/parse_relation.c:887 #, c-format msgid "There is a WITH item named \"%s\", but it cannot be referenced from this part of the query." msgstr "C'è un elemento di WITH di nome \"%s\", ma non può essere referenziato da questa parte della query." -#: parser/parse_relation.c:887 +#: parser/parse_relation.c:889 msgid "Use WITH RECURSIVE, or re-order the WITH items to remove forward references." msgstr "Usa WITH RECURSIVE, oppure riordina gli elementi di WITH per rimuovere i riferimenti in avanti." -#: parser/parse_relation.c:1157 +#: parser/parse_relation.c:1159 msgid "a column definition list is only allowed for functions returning \"record\"" msgstr "la lista di definizione di colonne è consentita solo per funzioni che restituiscono \"record\"" -#: parser/parse_relation.c:1165 +#: parser/parse_relation.c:1167 msgid "a column definition list is required for functions returning \"record\"" msgstr "la lista di definizione di colonne è necessaria per funzioni che restituiscono \"record\"" -#: parser/parse_relation.c:1212 +#: parser/parse_relation.c:1214 #, c-format msgid "function \"%s\" in FROM has unsupported return type %s" msgstr "la funzione \"%s\" in FROM restituisce il tipo non supportato %s" -#: parser/parse_relation.c:1284 +#: parser/parse_relation.c:1286 #, c-format msgid "VALUES lists \"%s\" have %d columns available but %d columns specified" msgstr "le liste VALUES \"%s\" hanno %d colonne disponibili ma %d colonne specificate" -#: parser/parse_relation.c:1340 +#: parser/parse_relation.c:1342 #, c-format msgid "joins can have at most %d columns" msgstr "i join possono avere al più %d colonne" -#: parser/parse_relation.c:2110 +#: parser/parse_relation.c:2119 #, c-format msgid "column %d of relation \"%s\" does not exist" msgstr "la colonna %d della relazione \"%s\" non esiste" -#: parser/parse_relation.c:2472 +#: parser/parse_relation.c:2482 #, c-format msgid "invalid reference to FROM-clause entry for table \"%s\"" msgstr "riferimento non valido all'elemento della clausola FROM per la tabella \"%s\"" -#: parser/parse_relation.c:2475 parser/parse_relation.c:2495 +#: parser/parse_relation.c:2485 parser/parse_relation.c:2505 #, c-format msgid "Perhaps you meant to reference the table alias \"%s\"." msgstr "Forse intendevi utilizzare l'alias \"%s\" della tabella." -#: parser/parse_relation.c:2477 parser/parse_relation.c:2498 +#: parser/parse_relation.c:2487 parser/parse_relation.c:2508 #, c-format msgid "There is an entry for table \"%s\", but it cannot be referenced from this part of the query." msgstr "C'è un elemento per la tabella \"%s\", ma non può essere referenziato da questa parte della query." -#: parser/parse_relation.c:2483 +#: parser/parse_relation.c:2493 #, c-format msgid "missing FROM-clause entry for table \"%s\"" msgstr "elemento FROM per la tabella \"%s\" mancante" -#: parser/parse_relation.c:2492 +#: parser/parse_relation.c:2502 #, c-format msgid "adding missing FROM-clause entry for table \"%s\"" msgstr "aggiunto elemento mancante alla clausola FROM per la tabella \"%s\"" @@ -14420,7 +14424,7 @@ msgid "invalid type name \"%s\"" msgstr "nome di tipo \"%s\" non valido" -#: parser/scansup.c:190 +#: parser/scansup.c:192 #, c-format msgid "identifier \"%s\" will be truncated to \"%s\"" msgstr "l'identificativo \"%s\" sarà troncato a \"%s\"" @@ -14675,12 +14679,12 @@ msgid "unrecognized error %d" msgstr "errore sconosciuto %d" -#: ../port/win32error.c:184 +#: ../port/win32error.c:185 #, c-format msgid "mapped win32 error code %lu to %d" msgstr "codice di errore win32 %lu mappato su %d" -#: ../port/win32error.c:195 +#: ../port/win32error.c:197 #, c-format msgid "unrecognized win32 error code: %lu" msgstr "codice di errore win32 sconosciuto: %lu" diff -Nru postgresql-8.4-8.4.17/src/backend/po/ru.po postgresql-8.4-8.4.20/src/backend/po/ru.po --- postgresql-8.4-8.4.17/src/backend/po/ru.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/po/ru.po 2014-02-17 19:44:07.000000000 +0000 @@ -5962,7 +5962,7 @@ #: tcop/postgres.c:3364 tcop/postgres.c:3378 #, c-format msgid "Try \"%s --help\" for more information." -msgstr "Подробнее об аргументах вы можете узнать, выполнив \"%s --help\" ." +msgstr "Ð”Ð»Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾Ð¹ информации попробуйте \"%s --help\"." #: tcop/postgres.c:3376 #, c-format diff -Nru postgresql-8.4-8.4.17/src/backend/port/sysv_sema.c postgresql-8.4-8.4.20/src/backend/port/sysv_sema.c --- postgresql-8.4-8.4.17/src/backend/port/sysv_sema.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/port/sysv_sema.c 2014-02-17 19:44:07.000000000 +0000 @@ -94,15 +94,17 @@ if (semId < 0) { + int saved_errno = errno; + /* * Fail quietly if error indicates a collision with existing set. One * would expect EEXIST, given that we said IPC_EXCL, but perhaps we * could get a permission violation instead? Also, EIDRM might occur * if an old set is slated for destruction but not gone yet. */ - if (errno == EEXIST || errno == EACCES + if (saved_errno == EEXIST || saved_errno == EACCES #ifdef EIDRM - || errno == EIDRM + || saved_errno == EIDRM #endif ) return -1; @@ -115,7 +117,7 @@ errdetail("Failed system call was semget(%lu, %d, 0%o).", (unsigned long) semKey, numSems, IPC_CREAT | IPC_EXCL | IPCProtection), - (errno == ENOSPC) ? + (saved_errno == ENOSPC) ? errhint("This error does *not* mean that you have run out of disk space.\n" "It occurs when either the system limit for the maximum number of " "semaphore sets (SEMMNI), or the system wide maximum number of " @@ -141,13 +143,17 @@ semun.val = value; if (semctl(semId, semNum, SETVAL, semun) < 0) + { + int saved_errno = errno; + ereport(FATAL, (errmsg_internal("semctl(%d, %d, SETVAL, %d) failed: %m", semId, semNum, value), - (errno == ERANGE) ? + (saved_errno == ERANGE) ? errhint("You possibly need to raise your kernel's SEMVMX value to be at least " "%d. Look into the PostgreSQL documentation for details.", value) : 0)); + } } /* diff -Nru postgresql-8.4-8.4.17/src/backend/port/sysv_shmem.c postgresql-8.4-8.4.20/src/backend/port/sysv_shmem.c --- postgresql-8.4-8.4.17/src/backend/port/sysv_shmem.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/port/sysv_shmem.c 2014-02-17 19:44:07.000000000 +0000 @@ -79,15 +79,17 @@ if (shmid < 0) { + int shmget_errno = errno; + /* * Fail quietly if error indicates a collision with existing segment. * One would expect EEXIST, given that we said IPC_EXCL, but perhaps * we could get a permission violation instead? Also, EIDRM might * occur if an old seg is slated for destruction but not gone yet. */ - if (errno == EEXIST || errno == EACCES + if (shmget_errno == EEXIST || shmget_errno == EACCES #ifdef EIDRM - || errno == EIDRM + || shmget_errno == EIDRM #endif ) return NULL; @@ -101,10 +103,8 @@ * size against SHMMIN in the preexisting-segment case, so we will * not get EINVAL a second time if there is such a segment. */ - if (errno == EINVAL) + if (shmget_errno == EINVAL) { - int save_errno = errno; - shmid = shmget(memKey, 0, IPC_CREAT | IPC_EXCL | IPCProtection); if (shmid < 0) @@ -130,19 +130,18 @@ elog(LOG, "shmctl(%d, %d, 0) failed: %m", (int) shmid, IPC_RMID); } - - errno = save_errno; } /* * Else complain and abort */ + errno = shmget_errno; ereport(FATAL, (errmsg("could not create shared memory segment: %m"), errdetail("Failed system call was shmget(key=%lu, size=%lu, 0%o).", (unsigned long) memKey, (unsigned long) size, IPC_CREAT | IPC_EXCL | IPCProtection), - (errno == EINVAL) ? + (shmget_errno == EINVAL) ? errhint("This error usually means that PostgreSQL's request for a shared memory " "segment exceeded your kernel's SHMMAX parameter. You can either " "reduce the request size or reconfigure the kernel with larger SHMMAX. " @@ -155,7 +154,7 @@ "The PostgreSQL documentation contains more information about shared " "memory configuration.", (unsigned long) size, NBuffers, MaxBackends) : 0, - (errno == ENOMEM) ? + (shmget_errno == ENOMEM) ? errhint("This error usually means that PostgreSQL's request for a shared " "memory segment exceeded available memory or swap space. " "To reduce the request size (currently %lu bytes), reduce " @@ -164,7 +163,7 @@ "The PostgreSQL documentation contains more information about shared " "memory configuration.", (unsigned long) size, NBuffers, MaxBackends) : 0, - (errno == ENOSPC) ? + (shmget_errno == ENOSPC) ? errhint("This error does *not* mean that you have run out of disk space. " "It occurs either if all available shared memory IDs have been taken, " "in which case you need to raise the SHMMNI parameter in your kernel, " diff -Nru postgresql-8.4-8.4.17/src/backend/postmaster/postmaster.c postgresql-8.4-8.4.20/src/backend/postmaster/postmaster.c --- postgresql-8.4-8.4.17/src/backend/postmaster/postmaster.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/postmaster/postmaster.c 2014-02-17 19:44:07.000000000 +0000 @@ -475,11 +475,6 @@ umask((mode_t) 0077); /* - * Fire up essential subsystems: memory management - */ - MemoryContextInit(); - - /* * By default, palloc() requests in the postmaster will be allocated in * the PostmasterContext, which is space that can be recycled by backends. * Allocated data that needs to be available to backends should be @@ -3845,7 +3840,6 @@ whereToSendOutput = DestNone; /* Setup essential subsystems (to ensure elog() behaves sanely) */ - MemoryContextInit(); InitializeGUCOptions(); /* Read in the variables file */ diff -Nru postgresql-8.4-8.4.17/src/backend/regex/regc_color.c postgresql-8.4-8.4.20/src/backend/regex/regc_color.c --- postgresql-8.4-8.4.17/src/backend/regex/regc_color.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/regex/regc_color.c 2014-02-17 19:44:07.000000000 +0000 @@ -247,7 +247,15 @@ /* oops, must allocate more */ struct colordesc *newCd; + if (cm->max == MAX_COLOR) + { + CERR(REG_ECOLORS); + return COLORLESS; /* too many colors */ + } + n = cm->ncds * 2; + if (n > MAX_COLOR + 1) + n = MAX_COLOR + 1; if (cm->cd == cm->cdspace) { newCd = (struct colordesc *) MALLOC(n * sizeof(struct colordesc)); diff -Nru postgresql-8.4-8.4.17/src/backend/regex/regexec.c postgresql-8.4-8.4.20/src/backend/regex/regexec.c --- postgresql-8.4-8.4.17/src/backend/regex/regexec.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/regex/regexec.c 2014-02-17 19:44:07.000000000 +0000 @@ -464,19 +464,21 @@ *coldp = cold; return er; } - if ((shorter) ? end == estop : end == begin) - { - /* no point in trying again */ - *coldp = cold; - return REG_NOMATCH; - } - /* go around and try again */ + /* try next shorter/longer match with same begin point */ if (shorter) + { + if (end == estop) + break; /* NOTE BREAK OUT */ estart = end + 1; + } else + { + if (end == begin) + break; /* NOTE BREAK OUT */ estop = end - 1; - } - } + } + } /* end loop over endpoint positions */ + } /* end loop over beginning positions */ } while (close < v->stop); *coldp = cold; diff -Nru postgresql-8.4-8.4.17/src/backend/rewrite/rewriteHandler.c postgresql-8.4-8.4.20/src/backend/rewrite/rewriteHandler.c --- postgresql-8.4-8.4.17/src/backend/rewrite/rewriteHandler.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/rewrite/rewriteHandler.c 2014-02-17 19:44:07.000000000 +0000 @@ -17,6 +17,7 @@ #include "catalog/pg_type.h" #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" +#include "optimizer/clauses.h" #include "parser/analyze.h" #include "parser/parse_coerce.h" #include "parser/parsetree.h" @@ -81,9 +82,8 @@ * such a list in a stored rule to include references to dropped columns. * (If the column is not explicitly referenced anywhere else in the query, * the dependency mechanism won't consider it used by the rule and so won't - * prevent the column drop.) To support get_rte_attribute_is_dropped(), - * we replace join alias vars that reference dropped columns with NULL Const - * nodes. + * prevent the column drop.) To support get_rte_attribute_is_dropped(), we + * replace join alias vars that reference dropped columns with null pointers. * * (In PostgreSQL 8.0, we did not do this processing but instead had * get_rte_attribute_is_dropped() recurse to detect dropped columns in joins. @@ -142,8 +142,8 @@ /* * Scan the join's alias var list to see if any columns have - * been dropped, and if so replace those Vars with NULL - * Consts. + * been dropped, and if so replace those Vars with null + * pointers. * * Since a join has only two inputs, we can expect to see * multiple references to the same input RTE; optimize away @@ -154,16 +154,20 @@ curinputrte = NULL; foreach(ll, rte->joinaliasvars) { - Var *aliasvar = (Var *) lfirst(ll); + Var *aliasitem = (Var *) lfirst(ll); + Var *aliasvar = aliasitem; + + /* Look through any implicit coercion */ + aliasvar = (Var *) strip_implicit_coercions((Node *) aliasvar); /* * If the list item isn't a simple Var, then it must * represent a merged column, ie a USING column, and so it * couldn't possibly be dropped, since it's referenced in - * the join clause. (Conceivably it could also be a NULL - * constant already? But that's OK too.) + * the join clause. (Conceivably it could also be a null + * pointer already? But that's OK too.) */ - if (IsA(aliasvar, Var)) + if (aliasvar && IsA(aliasvar, Var)) { /* * The elements of an alias list have to refer to @@ -187,15 +191,11 @@ if (get_rte_attribute_is_dropped(curinputrte, aliasvar->varattno)) { - /* - * can't use vartype here, since that might be a - * now-dropped type OID, but it doesn't really - * matter what type the Const claims to be. - */ - aliasvar = (Var *) makeNullConst(INT4OID, -1); + /* Replace the join alias item with a NULL */ + aliasitem = NULL; } } - newaliasvars = lappend(newaliasvars, aliasvar); + newaliasvars = lappend(newaliasvars, aliasitem); } rte->joinaliasvars = newaliasvars; break; diff -Nru postgresql-8.4-8.4.17/src/backend/storage/file/buffile.c postgresql-8.4-8.4.20/src/backend/storage/file/buffile.c --- postgresql-8.4-8.4.17/src/backend/storage/file/buffile.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/storage/file/buffile.c 2014-02-17 19:44:07.000000000 +0000 @@ -23,8 +23,10 @@ * will go away automatically at transaction end. If the underlying * virtual File is made with OpenTemporaryFile, then all resources for * the file are certain to be cleaned up even if processing is aborted - * by ereport(ERROR). To avoid confusion, the caller should take care that - * all calls for a single BufFile are made in the same palloc context. + * by ereport(ERROR). The data structures required are made in the + * palloc context that was current when the BufFile was created, and + * any external resources such as temp files are owned by the ResourceOwner + * that was current at that time. * * BufFile also supports temporary files that exceed the OS file size limit * (by opening multiple fd.c temporary files). This is an essential feature @@ -37,6 +39,7 @@ #include "storage/fd.h" #include "storage/buffile.h" #include "storage/buf_internals.h" +#include "utils/resowner.h" /* * We break BufFiles into gigabyte-sized segments, regardless of RELSEG_SIZE. @@ -68,6 +71,13 @@ bool dirty; /* does buffer need to be written? */ /* + * resowner is the ResourceOwner to use for underlying temp files. (We + * don't need to remember the memory context we're using explicitly, + * because after creation we only repalloc our arrays larger.) + */ + ResourceOwner resowner; + + /* * "current pos" is position of start of buffer within the logical file. * Position as seen by user of BufFile is (curFile, curOffset + pos). */ @@ -102,6 +112,7 @@ file->isTemp = false; file->isInterXact = false; file->dirty = false; + file->resowner = CurrentResourceOwner; file->curFile = 0; file->curOffset = 0L; file->pos = 0; @@ -117,11 +128,18 @@ extendBufFile(BufFile *file) { File pfile; + ResourceOwner oldowner; + + /* Be sure to associate the file with the BufFile's resource owner */ + oldowner = CurrentResourceOwner; + CurrentResourceOwner = file->resowner; Assert(file->isTemp); pfile = OpenTemporaryFile(file->isInterXact); Assert(pfile >= 0); + CurrentResourceOwner = oldowner; + file->files = (File *) repalloc(file->files, (file->numFiles + 1) * sizeof(File)); file->offsets = (off_t *) repalloc(file->offsets, @@ -140,7 +158,8 @@ * at end of transaction. * * Note: if interXact is true, the caller had better be calling us in a - * memory context that will survive across transaction boundaries. + * memory context, and with a resource owner, that will survive across + * transaction boundaries. */ BufFile * BufFileCreateTemp(bool interXact) diff -Nru postgresql-8.4-8.4.17/src/backend/storage/file/fd.c postgresql-8.4-8.4.20/src/backend/storage/file/fd.c --- postgresql-8.4-8.4.17/src/backend/storage/file/fd.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/storage/file/fd.c 2014-02-17 19:44:07.000000000 +0000 @@ -107,9 +107,15 @@ /* Debugging.... */ #ifdef FDDEBUG -#define DO_DB(A) A +#define DO_DB(A) \ + do { \ + int _do_db_save_errno = errno; \ + A; \ + errno = _do_db_save_errno; \ + } while (0) #else -#define DO_DB(A) /* A */ +#define DO_DB(A) \ + ((void) 0) #endif #define VFD_CLOSED (-1) @@ -643,7 +649,7 @@ if (vfdP->fd < 0) { DO_DB(elog(LOG, "RE_OPEN FAILED: %d", errno)); - return vfdP->fd; + return -1; } else { @@ -694,7 +700,7 @@ Index i; File file; - DO_DB(elog(LOG, "AllocateVfd. Size %lu", SizeVfdCache)); + DO_DB(elog(LOG, "AllocateVfd. Size %lu", (unsigned long) SizeVfdCache)); Assert(SizeVfdCache > 0); /* InitFileAccess not called? */ @@ -851,8 +857,11 @@ if (vfdP->fd < 0) { + int save_errno = errno; + FreeVfd(file); free(fnamecopy); + errno = save_errno; return -1; } ++nfile; diff -Nru postgresql-8.4-8.4.17/src/backend/storage/ipc/sinval.c postgresql-8.4-8.4.20/src/backend/storage/ipc/sinval.c --- postgresql-8.4-8.4.17/src/backend/storage/ipc/sinval.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/storage/ipc/sinval.c 2014-02-17 19:44:07.000000000 +0000 @@ -176,11 +176,15 @@ /* * We may be called while ImmediateInterruptOK is true; turn it off - * while messing with the catchup state. (We would have to save and - * restore it anyway, because PGSemaphore operations inside - * ProcessCatchupEvent() might reset it.) + * while messing with the catchup state. This prevents problems if + * SIGINT or similar arrives while we're working. Just to be real + * sure, bump the interrupt holdoff counter as well. That way, even + * if something inside ProcessCatchupEvent() transiently sets + * ImmediateInterruptOK (eg while waiting on a lock), we won't get + * interrupted until we're done with the catchup interrupt. */ ImmediateInterruptOK = false; + HOLD_INTERRUPTS(); /* * I'm not sure whether some flavors of Unix might allow another @@ -204,8 +208,10 @@ } /* - * Restore ImmediateInterruptOK, and check for interrupts if needed. + * Restore the holdoff level and ImmediateInterruptOK, and check for + * interrupts if needed. */ + RESUME_INTERRUPTS(); ImmediateInterruptOK = save_ImmediateInterruptOK; if (save_ImmediateInterruptOK) CHECK_FOR_INTERRUPTS(); diff -Nru postgresql-8.4-8.4.17/src/backend/storage/large_object/inv_api.c postgresql-8.4-8.4.20/src/backend/storage/large_object/inv_api.c --- postgresql-8.4-8.4.17/src/backend/storage/large_object/inv_api.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/storage/large_object/inv_api.c 2014-02-17 19:44:07.000000000 +0000 @@ -232,39 +232,47 @@ inv_open(Oid lobjId, int flags, MemoryContext mcxt) { LargeObjectDesc *retval; - - retval = (LargeObjectDesc *) MemoryContextAlloc(mcxt, - sizeof(LargeObjectDesc)); - - retval->id = lobjId; - retval->subid = GetCurrentSubTransactionId(); - retval->offset = 0; + Snapshot snapshot = NULL; + int descflags = 0; if (flags & INV_WRITE) { - retval->snapshot = SnapshotNow; - retval->flags = IFS_WRLOCK | IFS_RDLOCK; + snapshot = SnapshotNow; + descflags = IFS_WRLOCK | IFS_RDLOCK; } else if (flags & INV_READ) { - /* - * We must register the snapshot in TopTransaction's resowner, because - * it must stay alive until the LO is closed rather than until the - * current portal shuts down. - */ - retval->snapshot = RegisterSnapshotOnOwner(GetActiveSnapshot(), - TopTransactionResourceOwner); - retval->flags = IFS_RDLOCK; + snapshot = GetActiveSnapshot(); + descflags = IFS_RDLOCK; } else elog(ERROR, "invalid flags: %d", flags); /* Can't use LargeObjectExists here because it always uses SnapshotNow */ - if (!myLargeObjectExists(lobjId, retval->snapshot)) + if (!myLargeObjectExists(lobjId, snapshot)) ereport(ERROR, (errcode(ERRCODE_UNDEFINED_OBJECT), errmsg("large object %u does not exist", lobjId))); + /* + * We must register the snapshot in TopTransaction's resowner, because + * it must stay alive until the LO is closed rather than until the + * current portal shuts down. Do this after checking that the LO exists, + * to avoid leaking the snapshot if an error is thrown. + */ + if (snapshot != SnapshotNow) + snapshot = RegisterSnapshotOnOwner(snapshot, + TopTransactionResourceOwner); + + /* All set, create a descriptor */ + retval = (LargeObjectDesc *) MemoryContextAlloc(mcxt, + sizeof(LargeObjectDesc)); + retval->id = lobjId; + retval->subid = GetCurrentSubTransactionId(); + retval->offset = 0; + retval->snapshot = snapshot; + retval->flags = descflags; + return retval; } diff -Nru postgresql-8.4-8.4.17/src/backend/storage/lmgr/proc.c postgresql-8.4-8.4.20/src/backend/storage/lmgr/proc.c --- postgresql-8.4-8.4.17/src/backend/storage/lmgr/proc.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/storage/lmgr/proc.c 2014-02-17 19:44:07.000000000 +0000 @@ -591,6 +591,7 @@ { /* use volatile pointer to prevent code rearrangement */ volatile PROC_HDR *procglobal = ProcGlobal; + PGPROC *proc; Assert(MyProc != NULL); @@ -601,23 +602,28 @@ */ LWLockReleaseAll(); + /* + * Clear MyProc first before after putting it back on the global list, + * so that signal handlers won't try to access it after it's no longer + * ours. + */ + proc = MyProc; + MyProc = NULL; + SpinLockAcquire(ProcStructLock); /* Return PGPROC structure (and semaphore) to freelist */ if (IsAutoVacuumWorkerProcess()) { - MyProc->links.next = (SHM_QUEUE *) procglobal->autovacFreeProcs; - procglobal->autovacFreeProcs = MyProc; + proc->links.next = (SHM_QUEUE *) procglobal->autovacFreeProcs; + procglobal->autovacFreeProcs = proc; } else { - MyProc->links.next = (SHM_QUEUE *) procglobal->freeProcs; - procglobal->freeProcs = MyProc; + proc->links.next = (SHM_QUEUE *) procglobal->freeProcs; + procglobal->freeProcs = proc; } - /* PGPROC struct isn't mine anymore */ - MyProc = NULL; - /* Update shared estimate of spins_per_delay */ procglobal->spins_per_delay = update_spins_per_delay(procglobal->spins_per_delay); @@ -645,6 +651,7 @@ { int proctype = DatumGetInt32(arg); PGPROC *auxproc; + PGPROC *proc; Assert(proctype >= 0 && proctype < NUM_AUXILIARY_PROCS); @@ -655,13 +662,18 @@ /* Release any LW locks I am holding (see notes above) */ LWLockReleaseAll(); + /* + * Clear MyProc first before after putting it back on the global list, + * so that signal handlers won't try to access it after it's no longer + * ours. + */ + proc = MyProc; + MyProc = NULL; + SpinLockAcquire(ProcStructLock); /* Mark auxiliary proc no longer in use */ - MyProc->pid = 0; - - /* PGPROC struct isn't mine anymore */ - MyProc = NULL; + proc->pid = 0; /* Update shared estimate of spins_per_delay */ ProcGlobal->spins_per_delay = update_spins_per_delay(ProcGlobal->spins_per_delay); diff -Nru postgresql-8.4-8.4.17/src/backend/tcop/postgres.c postgresql-8.4-8.4.20/src/backend/tcop/postgres.c --- postgresql-8.4-8.4.17/src/backend/tcop/postgres.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tcop/postgres.c 2014-02-17 19:44:07.000000000 +0000 @@ -2489,6 +2489,13 @@ PG_SETMASK(&BlockSig); /* + * Prevent interrupts while exiting; though we just blocked signals that + * would queue new interrupts, one may have been pending. We don't want a + * quickdie() downgraded to a mere query cancel. + */ + HOLD_INTERRUPTS(); + + /* * Ideally this should be ereport(FATAL), but then we'd not get control * back... */ @@ -2992,14 +2999,6 @@ MyStartTime = time(NULL); - /* - * Fire up essential subsystems: error and memory management - * - * If we are running under the postmaster, this is done already. - */ - if (!IsUnderPostmaster) - MemoryContextInit(); - set_ps_display("startup", false); SetProcessingMode(InitProcessing); diff -Nru postgresql-8.4-8.4.17/src/backend/tcop/pquery.c postgresql-8.4-8.4.20/src/backend/tcop/pquery.c --- postgresql-8.4-8.4.17/src/backend/tcop/pquery.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tcop/pquery.c 2014-02-17 19:44:07.000000000 +0000 @@ -479,7 +479,8 @@ PG_TRY(); { ActivePortal = portal; - CurrentResourceOwner = portal->resowner; + if (portal->resowner) + CurrentResourceOwner = portal->resowner; PortalContext = PortalGetHeapMemory(portal); oldContext = MemoryContextSwitchTo(PortalGetHeapMemory(portal)); @@ -768,7 +769,8 @@ PG_TRY(); { ActivePortal = portal; - CurrentResourceOwner = portal->resowner; + if (portal->resowner) + CurrentResourceOwner = portal->resowner; PortalContext = PortalGetHeapMemory(portal); MemoryContextSwitchTo(PortalContext); @@ -1375,7 +1377,8 @@ PG_TRY(); { ActivePortal = portal; - CurrentResourceOwner = portal->resowner; + if (portal->resowner) + CurrentResourceOwner = portal->resowner; PortalContext = PortalGetHeapMemory(portal); oldContext = MemoryContextSwitchTo(PortalContext); diff -Nru postgresql-8.4-8.4.17/src/backend/tcop/utility.c postgresql-8.4-8.4.20/src/backend/tcop/utility.c --- postgresql-8.4-8.4.17/src/backend/tcop/utility.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tcop/utility.c 2014-02-17 19:44:07.000000000 +0000 @@ -51,11 +51,13 @@ #include "rewrite/rewriteDefine.h" #include "rewrite/rewriteRemove.h" #include "storage/fd.h" +#include "storage/lmgr.h" #include "tcop/pquery.h" #include "tcop/utility.h" #include "utils/acl.h" #include "utils/guc.h" #include "utils/syscache.h" +#include "utils/lsyscache.h" /* @@ -65,12 +67,10 @@ * except when allowSystemTableMods is true. */ void -CheckRelationOwnership(RangeVar *rel, bool noCatalogs) +CheckRelationOwnership(Oid relOid, bool noCatalogs) { - Oid relOid; HeapTuple tuple; - relOid = RangeVarGetRelid(rel, false); tuple = SearchSysCache(RELOID, ObjectIdGetDatum(relOid), 0, 0, 0); @@ -79,7 +79,7 @@ if (!pg_class_ownercheck(relOid, GetUserId())) aclcheck_error(ACLCHECK_NOT_OWNER, ACL_KIND_CLASS, - rel->relname); + get_rel_name(relOid)); if (noCatalogs) { @@ -88,7 +88,7 @@ ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), errmsg("permission denied: \"%s\" is a system catalog", - rel->relname))); + get_rel_name(relOid)))); } ReleaseSysCache(tuple); @@ -638,9 +638,21 @@ { List *stmts; ListCell *l; + AlterTableStmt *atstmt = (AlterTableStmt *) parsetree; + Oid relid; + + /* + * Look up the relation OID just once, right here at the + * beginning, so that we don't end up repeating the name + * lookup later and latching onto a different relation + * partway through. + */ + relid = RangeVarGetRelid(atstmt->relation, false); + LockRelationOid(relid, AccessExclusiveLock); /* Run parse analysis ... */ - stmts = transformAlterTableStmt((AlterTableStmt *) parsetree, + stmts = transformAlterTableStmt(relid, + atstmt, queryString); /* ... and do it */ @@ -651,7 +663,7 @@ if (IsA(stmt, AlterTableStmt)) { /* Do the table alteration proper */ - AlterTable((AlterTableStmt *) stmt); + AlterTable(relid, (AlterTableStmt *) stmt); } else { @@ -795,18 +807,33 @@ case T_IndexStmt: /* CREATE INDEX */ { IndexStmt *stmt = (IndexStmt *) parsetree; + Oid relid; + LOCKMODE lockmode; if (stmt->concurrent) PreventTransactionChain(isTopLevel, "CREATE INDEX CONCURRENTLY"); - CheckRelationOwnership(stmt->relation, true); + /* + * Look up the relation OID just once, right here at the + * beginning, so that we don't end up repeating the name + * lookup later and latching onto a different relation + * partway through. To avoid lock upgrade hazards, it's + * important that we take the strongest lock that will + * eventually be needed here, so the lockmode calculation + * needs to match what DefineIndex() does. + */ + lockmode = stmt->concurrent ? ShareUpdateExclusiveLock + : ShareLock; + relid = RangeVarGetRelid(stmt->relation, false); + LockRelationOid(relid, lockmode); + CheckRelationOwnership(relid, true); /* Run parse analysis ... */ - stmt = transformIndexStmt(stmt, queryString); + stmt = transformIndexStmt(relid, stmt, queryString); /* ... and do it */ - DefineIndex(stmt->relation, /* relation */ + DefineIndex(relid, /* relation */ stmt->idxname, /* index name */ InvalidOid, /* no predefined OID */ stmt->accessMethod, /* am name */ @@ -954,7 +981,8 @@ break; case T_CreateTrigStmt: - CreateTrigger((CreateTrigStmt *) parsetree, InvalidOid, true); + CreateTrigger((CreateTrigStmt *) parsetree, InvalidOid, InvalidOid, + InvalidOid, true); break; case T_DropPropertyStmt: diff -Nru postgresql-8.4-8.4.17/src/backend/tsearch/spell.c postgresql-8.4-8.4.20/src/backend/tsearch/spell.c --- postgresql-8.4-8.4.17/src/backend/tsearch/spell.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tsearch/spell.c 2014-02-17 19:44:07.000000000 +0000 @@ -181,7 +181,7 @@ } Conf->Spell[Conf->nspell] = (SPELL *) tmpalloc(SPELLHDRSZ + strlen(word) + 1); strcpy(Conf->Spell[Conf->nspell]->word, word); - strncpy(Conf->Spell[Conf->nspell]->p.flag, flag, MAXFLAGLEN); + strlcpy(Conf->Spell[Conf->nspell]->p.flag, flag, MAXFLAGLEN); Conf->nspell++; } diff -Nru postgresql-8.4-8.4.17/src/backend/tsearch/to_tsany.c postgresql-8.4-8.4.20/src/backend/tsearch/to_tsany.c --- postgresql-8.4-8.4.17/src/backend/tsearch/to_tsany.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tsearch/to_tsany.c 2014-02-17 19:44:07.000000000 +0000 @@ -398,6 +398,7 @@ if (query->size == 0) PG_RETURN_TSQUERY(query); + /* clean out any stopword placeholders from the tree */ res = clean_fakeval(GETQUERY(query), &len); if (!res) { @@ -407,6 +408,10 @@ } memcpy((void *) GETQUERY(query), (void *) res, len * sizeof(QueryItem)); + /* + * Removing the stopword placeholders might've resulted in fewer + * QueryItems. If so, move the operands up accordingly. + */ if (len != query->size) { char *oldoperand = GETOPERAND(query); @@ -415,7 +420,7 @@ Assert(len < query->size); query->size = len; - memcpy((void *) GETOPERAND(query), oldoperand, lenoperand); + memmove((void *) GETOPERAND(query), oldoperand, lenoperand); SET_VARSIZE(query, COMPUTESIZE(len, lenoperand)); } diff -Nru postgresql-8.4-8.4.17/src/backend/tsearch/wparser_def.c postgresql-8.4-8.4.20/src/backend/tsearch/wparser_def.c --- postgresql-8.4-8.4.17/src/backend/tsearch/wparser_def.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/tsearch/wparser_def.c 2014-02-17 19:44:07.000000000 +0000 @@ -356,7 +356,7 @@ * or give wrong result. * - multibyte encoding and C-locale often are used for * Asian languages. - * - if locale is C the we use pgwstr instead of wstr + * - if locale is C then we use pgwstr instead of wstr. */ #ifdef USE_WIDE_UPPER_LOWER @@ -368,9 +368,13 @@ if ( prs->usewide ) \ { \ if ( prs->pgwstr ) \ - return is##type( 0xff & *( prs->pgwstr + prs->state->poschar) );\ - \ - return isw##type( *(wint_t*)( prs->wstr + prs->state->poschar ) ); \ + { \ + unsigned int c = *(prs->pgwstr + prs->state->poschar); \ + if ( c > 0x7f ) \ + return 0; \ + return is##type( c ); \ + } \ + return isw##type( *( prs->wstr + prs->state->poschar ) ); \ } \ \ return is##type( *(unsigned char*)( prs->str + prs->state->posbyte ) ); \ @@ -399,10 +403,10 @@ if (c > 0x7f) return 1; - return isalnum(0xff & c); + return isalnum(c); } - return iswalnum((wint_t) *(prs->wstr + prs->state->poschar)); + return iswalnum(*(prs->wstr + prs->state->poschar)); } return isalnum(*(unsigned char *) (prs->str + prs->state->posbyte)); @@ -431,10 +435,10 @@ if (c > 0x7f) return 1; - return isalpha(0xff & c); + return isalpha(c); } - return iswalpha((wint_t) *(prs->wstr + prs->state->poschar)); + return iswalpha(*(prs->wstr + prs->state->poschar)); } return isalpha(*(unsigned char *) (prs->str + prs->state->posbyte)); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/acl.c postgresql-8.4-8.4.20/src/backend/utils/adt/acl.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/acl.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/acl.c 2014-02-17 19:44:07.000000000 +0000 @@ -3902,6 +3902,11 @@ { if (mode & ACL_GRANT_OPTION_FOR(ACL_CREATE)) { + /* + * XXX For roleid == role_oid, is_admin_of_role() also examines the + * session and call stack. That suits two-argument pg_has_role(), but + * it gives the three-argument version a lamentable whimsy. + */ if (is_admin_of_role(roleid, role_oid)) return ACLCHECK_OK; } @@ -4223,11 +4228,9 @@ /* - * Is member an admin of role (directly or indirectly)? That is, is it - * a member WITH ADMIN OPTION? - * - * We could cache the result as for is_member_of_role, but currently this - * is not used in any performance-critical paths, so we don't. + * Is member an admin of role? That is, is member the role itself (subject to + * restrictions below), a member (directly or indirectly) WITH ADMIN OPTION, + * or a superuser? */ bool is_admin_of_role(Oid member, Oid role) @@ -4236,14 +4239,41 @@ List *roles_list; ListCell *l; - /* Fast path for simple case */ - if (member == role) - return true; - - /* Superusers have every privilege, so are part of every role */ if (superuser_arg(member)) return true; + if (member == role) + /* + * A role can admin itself when it matches the session user and we're + * outside any security-restricted operation, SECURITY DEFINER or + * similar context. SQL-standard roles cannot self-admin. However, + * SQL-standard users are distinct from roles, and they are not + * grantable like roles: PostgreSQL's role-user duality extends the + * standard. Checking for a session user match has the effect of + * letting a role self-admin only when it's conspicuously behaving + * like a user. Note that allowing self-admin under a mere SET ROLE + * would make WITH ADMIN OPTION largely irrelevant; any member could + * SET ROLE to issue the otherwise-forbidden command. + * + * Withholding self-admin in a security-restricted operation prevents + * object owners from harnessing the session user identity during + * administrative maintenance. Suppose Alice owns a database, has + * issued "GRANT alice TO bob", and runs a daily ANALYZE. Bob creates + * an alice-owned SECURITY DEFINER function that issues "REVOKE alice + * FROM carol". If he creates an expression index calling that + * function, Alice will attempt the REVOKE during each ANALYZE. + * Checking InSecurityRestrictedOperation() thwarts that attack. + * + * Withholding self-admin in SECURITY DEFINER functions makes their + * behavior independent of the calling user. There's no security or + * SQL-standard-conformance need for that restriction, though. + * + * A role cannot have actual WITH ADMIN OPTION on itself, because that + * would imply a membership loop. Therefore, we're done either way. + */ + return member == GetSessionUserId() && + !InLocalUserIdChange() && !InSecurityRestrictedOperation(); + /* * Find all the roles that member is a member of, including multi-level * recursion. We build a list in the same way that is_member_of_role does diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/datetime.c postgresql-8.4-8.4.20/src/backend/utils/adt/datetime.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/datetime.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/datetime.c 2014-02-17 19:44:07.000000000 +0000 @@ -89,10 +89,10 @@ * Note that this table must be strictly alphabetically ordered to allow an * O(ln(N)) search algorithm to be used. * - * The text field is NOT guaranteed to be NULL-terminated. + * The token field is NOT guaranteed to be NULL-terminated. * - * To keep this table reasonably small, we divide the lexval for TZ and DTZ - * entries by 15 (so they are on 15 minute boundaries) and truncate the text + * To keep this table reasonably small, we divide the value for TZ and DTZ + * entries by 15 (so they are on 15 minute boundaries) and truncate the token * field at TOKMAXLEN characters. * Formerly, we divided by 10 rather than 15 but there are a few time zones * which are 30 or 45 minutes away from an even hour, most are on an hour @@ -107,7 +107,7 @@ static int sztimezonetktbl = 0; static const datetkn datetktbl[] = { -/* text, token, lexval */ + /* token, type, value */ {EARLY, RESERV, DTK_EARLY}, /* "-infinity" reserved for "early time" */ {DA_D, ADBC, AD}, /* "ad" for years > 0 */ {"allballs", RESERV, DTK_ZULU}, /* 00:00:00 */ @@ -187,7 +187,7 @@ static int szdatetktbl = sizeof datetktbl / sizeof datetktbl[0]; static datetkn deltatktbl[] = { - /* text, token, lexval */ + /* token, type, value */ {"@", IGNORE_DTF, 0}, /* postgres relative prefix */ {DAGO, AGO, 0}, /* "ago" indicates negative time offset */ {"c", UNITS, DTK_CENTURY}, /* "century" relative */ @@ -1447,12 +1447,6 @@ after_isdst; int res; - if (tzp == session_timezone && HasCTZSet) - { - tm->tm_isdst = 0; /* for lack of a better idea */ - return CTimeZone; - } - /* * First, generate the pg_time_t value corresponding to the given * y/m/d/h/m/s taken as GMT time. If this overflows, punt and decide the @@ -4151,6 +4145,7 @@ n * sizeof(datetkn)); for (i = 0; i < n; i++) { + /* do NOT use strlcpy here; token field need not be null-terminated */ strncpy(newtbl[i].token, abbrevs[i].abbrev, TOKMAXLEN); newtbl[i].type = abbrevs[i].is_dst ? DTZ : TZ; TOVAL(&newtbl[i], abbrevs[i].offset / 60); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/float.c postgresql-8.4-8.4.20/src/backend/utils/adt/float.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/float.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/float.c 2014-02-17 19:44:07.000000000 +0000 @@ -174,11 +174,7 @@ /* - * float4in - converts "num" to float - * restricted syntax: - * {} [+|-] {digit} [.{digit}] [] - * where is a space, digit is 0-9, - * is "e" or "E" followed by an integer. + * float4in - converts "num" to float4 */ Datum float4in(PG_FUNCTION_ARGS) @@ -195,6 +191,10 @@ */ orig_num = num; + /* skip leading whitespace */ + while (*num != '\0' && isspace((unsigned char) *num)) + num++; + /* * Check for an empty-string input to begin with, to avoid the vagaries of * strtod() on different platforms. @@ -205,20 +205,23 @@ errmsg("invalid input syntax for type real: \"%s\"", orig_num))); - /* skip leading whitespace */ - while (*num != '\0' && isspace((unsigned char) *num)) - num++; - errno = 0; val = strtod(num, &endptr); /* did we not see anything that looks like a double? */ if (endptr == num || errno != 0) { + int save_errno = errno; + /* - * C99 requires that strtod() accept NaN and [-]Infinity, but not all - * platforms support that yet (and some accept them but set ERANGE - * anyway...) Therefore, we check for these inputs ourselves. + * C99 requires that strtod() accept NaN, [+-]Infinity, and [+-]Inf, + * but not all platforms support all of these (and some accept them + * but set ERANGE anyway...) Therefore, we check for these inputs + * ourselves if strtod() fails. + * + * Note: C99 also requires hexadecimal input as well as some extended + * forms of NaN, but we consider these forms unportable and don't try + * to support them. You can use 'em if your strtod() takes 'em. */ if (pg_strncasecmp(num, "NaN", 3) == 0) { @@ -230,12 +233,32 @@ val = get_float4_infinity(); endptr = num + 8; } + else if (pg_strncasecmp(num, "+Infinity", 9) == 0) + { + val = get_float4_infinity(); + endptr = num + 9; + } else if (pg_strncasecmp(num, "-Infinity", 9) == 0) { val = -get_float4_infinity(); endptr = num + 9; } - else if (errno == ERANGE) + else if (pg_strncasecmp(num, "inf", 3) == 0) + { + val = get_float4_infinity(); + endptr = num + 3; + } + else if (pg_strncasecmp(num, "+inf", 4) == 0) + { + val = get_float4_infinity(); + endptr = num + 4; + } + else if (pg_strncasecmp(num, "-inf", 4) == 0) + { + val = -get_float4_infinity(); + endptr = num + 4; + } + else if (save_errno == ERANGE) ereport(ERROR, (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE), errmsg("\"%s\" is out of range for type real", @@ -273,6 +296,11 @@ val = get_float4_infinity(); endptr = num + 8; } + else if (pg_strncasecmp(num, "+Infinity", 9) == 0) + { + val = get_float4_infinity(); + endptr = num + 9; + } else if (pg_strncasecmp(num, "-Infinity", 9) == 0) { val = -get_float4_infinity(); @@ -368,10 +396,6 @@ /* * float8in - converts "num" to float8 - * restricted syntax: - * {} [+|-] {digit} [.{digit}] [] - * where is a space, digit is 0-9, - * is "e" or "E" followed by an integer. */ Datum float8in(PG_FUNCTION_ARGS) @@ -388,6 +412,10 @@ */ orig_num = num; + /* skip leading whitespace */ + while (*num != '\0' && isspace((unsigned char) *num)) + num++; + /* * Check for an empty-string input to begin with, to avoid the vagaries of * strtod() on different platforms. @@ -398,20 +426,23 @@ errmsg("invalid input syntax for type double precision: \"%s\"", orig_num))); - /* skip leading whitespace */ - while (*num != '\0' && isspace((unsigned char) *num)) - num++; - errno = 0; val = strtod(num, &endptr); /* did we not see anything that looks like a double? */ if (endptr == num || errno != 0) { + int save_errno = errno; + /* - * C99 requires that strtod() accept NaN and [-]Infinity, but not all - * platforms support that yet (and some accept them but set ERANGE - * anyway...) Therefore, we check for these inputs ourselves. + * C99 requires that strtod() accept NaN, [+-]Infinity, and [+-]Inf, + * but not all platforms support all of these (and some accept them + * but set ERANGE anyway...) Therefore, we check for these inputs + * ourselves if strtod() fails. + * + * Note: C99 also requires hexadecimal input as well as some extended + * forms of NaN, but we consider these forms unportable and don't try + * to support them. You can use 'em if your strtod() takes 'em. */ if (pg_strncasecmp(num, "NaN", 3) == 0) { @@ -423,12 +454,32 @@ val = get_float8_infinity(); endptr = num + 8; } + else if (pg_strncasecmp(num, "+Infinity", 9) == 0) + { + val = get_float8_infinity(); + endptr = num + 9; + } else if (pg_strncasecmp(num, "-Infinity", 9) == 0) { val = -get_float8_infinity(); endptr = num + 9; } - else if (errno == ERANGE) + else if (pg_strncasecmp(num, "inf", 3) == 0) + { + val = get_float8_infinity(); + endptr = num + 3; + } + else if (pg_strncasecmp(num, "+inf", 4) == 0) + { + val = get_float8_infinity(); + endptr = num + 4; + } + else if (pg_strncasecmp(num, "-inf", 4) == 0) + { + val = -get_float8_infinity(); + endptr = num + 4; + } + else if (save_errno == ERANGE) ereport(ERROR, (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE), errmsg("\"%s\" is out of range for type double precision", @@ -466,6 +517,11 @@ val = get_float8_infinity(); endptr = num + 8; } + else if (pg_strncasecmp(num, "+Infinity", 9) == 0) + { + val = get_float8_infinity(); + endptr = num + 9; + } else if (pg_strncasecmp(num, "-Infinity", 9) == 0) { val = -get_float8_infinity(); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/geo_ops.c postgresql-8.4-8.4.20/src/backend/utils/adt/geo_ops.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/geo_ops.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/geo_ops.c 2014-02-17 19:44:07.000000000 +0000 @@ -1401,6 +1401,7 @@ char *s; int npts; int size; + int base_size; int depth = 0; if ((npts = pair_count(str, ',')) <= 0) @@ -1419,7 +1420,15 @@ depth++; } - size = offsetof(PATH, p[0]) +sizeof(path->p[0]) * npts; + base_size = sizeof(path->p[0]) * npts; + size = offsetof(PATH, p[0]) + base_size; + + /* Check for integer overflow */ + if (base_size / npts != sizeof(path->p[0]) || size <= base_size) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("too many points requested"))); + path = (PATH *) palloc(size); SET_VARSIZE(path, size); @@ -3439,6 +3448,7 @@ POLYGON *poly; int npts; int size; + int base_size; int isopen; char *s; @@ -3447,7 +3457,15 @@ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), errmsg("invalid input syntax for type polygon: \"%s\"", str))); - size = offsetof(POLYGON, p[0]) +sizeof(poly->p[0]) * npts; + base_size = sizeof(poly->p[0]) * npts; + size = offsetof(POLYGON, p[0]) + base_size; + + /* Check for integer overflow */ + if (base_size / npts != sizeof(poly->p[0]) || size <= base_size) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("too many points requested"))); + poly = (POLYGON *) palloc0(size); /* zero any holes */ SET_VARSIZE(poly, size); @@ -4216,6 +4234,10 @@ (errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("open path cannot be converted to polygon"))); + /* + * Never overflows: the old size fit in MaxAllocSize, and the new size is + * just a small constant larger. + */ size = offsetof(POLYGON, p[0]) +sizeof(poly->p[0]) * path->npts; poly = (POLYGON *) palloc(size); @@ -4321,6 +4343,10 @@ int size; int i; + /* + * Never overflows: the old size fit in MaxAllocSize, and the new size is + * smaller by a small constant. + */ size = offsetof(PATH, p[0]) +sizeof(path->p[0]) * poly->npts; path = (PATH *) palloc(size); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/pgstatfuncs.c postgresql-8.4-8.4.20/src/backend/utils/adt/pgstatfuncs.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/pgstatfuncs.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/pgstatfuncs.c 2014-02-17 19:44:07.000000000 +0000 @@ -482,7 +482,6 @@ bool nulls[10]; HeapTuple tuple; PgBackendStatus *beentry; - SockAddr zero_clientaddr; MemSet(values, 0, sizeof(values)); MemSet(nulls, 0, sizeof(nulls)); @@ -515,6 +514,8 @@ /* Values only available to same user or superuser */ if (superuser() || beentry->st_userid == GetUserId()) { + SockAddr zero_clientaddr; + if (*(beentry->st_activity) == '\0') { values[3] = CStringGetTextDatum(""); @@ -544,7 +545,7 @@ /* A zeroed client addr means we don't know */ memset(&zero_clientaddr, 0, sizeof(zero_clientaddr)); if (memcmp(&(beentry->st_clientaddr), &zero_clientaddr, - sizeof(zero_clientaddr) == 0)) + sizeof(zero_clientaddr)) == 0) { nulls[8] = true; nulls[9] = true; @@ -797,7 +798,7 @@ /* A zeroed client addr means we don't know */ memset(&zero_clientaddr, 0, sizeof(zero_clientaddr)); if (memcmp(&(beentry->st_clientaddr), &zero_clientaddr, - sizeof(zero_clientaddr) == 0)) + sizeof(zero_clientaddr)) == 0) PG_RETURN_NULL(); switch (beentry->st_clientaddr.addr.ss_family) @@ -844,7 +845,7 @@ /* A zeroed client addr means we don't know */ memset(&zero_clientaddr, 0, sizeof(zero_clientaddr)); if (memcmp(&(beentry->st_clientaddr), &zero_clientaddr, - sizeof(zero_clientaddr) == 0)) + sizeof(zero_clientaddr)) == 0) PG_RETURN_NULL(); switch (beentry->st_clientaddr.addr.ss_family) diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/regexp.c postgresql-8.4-8.4.20/src/backend/utils/adt/regexp.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/regexp.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/regexp.c 2014-02-17 19:44:07.000000000 +0000 @@ -937,14 +937,13 @@ break; /* - * Advance search position. Normally we start just after the end of - * the previous match, but always advance at least one character (the - * special case can occur if the pattern matches zero characters just - * after the prior match or at the end of the string). + * Advance search position. Normally we start the next search at the + * end of the previous match; but if the match was of zero length, we + * have to advance by one character, or we'd just find the same match + * again. */ - if (start_search < pmatch[0].rm_eo) - start_search = pmatch[0].rm_eo; - else + start_search = prev_match_end; + if (pmatch[0].rm_so == pmatch[0].rm_eo) start_search++; if (start_search > wide_len) break; diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/ruleutils.c postgresql-8.4-8.4.20/src/backend/utils/adt/ruleutils.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/ruleutils.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/ruleutils.c 2014-02-17 19:44:07.000000000 +0000 @@ -428,7 +428,7 @@ * Get the pg_rewrite tuple for the view's SELECT rule */ args[0] = ObjectIdGetDatum(viewoid); - args[1] = PointerGetDatum(ViewSelectRuleName); + args[1] = DirectFunctionCall1(namein, CStringGetDatum(ViewSelectRuleName)); nulls[0] = ' '; nulls[1] = ' '; spirc = SPI_execute_plan(plan_getviewrule, args, nulls, true, 2); @@ -3505,7 +3505,8 @@ Var *aliasvar; aliasvar = (Var *) list_nth(rte->joinaliasvars, attnum - 1); - if (IsA(aliasvar, Var)) + /* we intentionally don't strip implicit coercions here */ + if (aliasvar && IsA(aliasvar, Var)) { return get_variable(aliasvar, var->varlevelsup + levelsup, istoplevel, context); @@ -3789,6 +3790,8 @@ elog(ERROR, "cannot decompile join alias var in plan tree"); Assert(attnum > 0 && attnum <= list_length(rte->joinaliasvars)); expr = (Node *) list_nth(rte->joinaliasvars, attnum - 1); + Assert(expr != NULL); + /* we intentionally don't strip implicit coercions here */ if (IsA(expr, Var)) return get_name_for_var_field((Var *) expr, fieldno, var->varlevelsup + levelsup, diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/selfuncs.c postgresql-8.4-8.4.20/src/backend/utils/adt/selfuncs.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/selfuncs.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/selfuncs.c 2014-02-17 19:44:07.000000000 +0000 @@ -1430,31 +1430,29 @@ /* * No most-common-value info available. Still have null fraction * information, so use it for IS [NOT] UNKNOWN. Otherwise adjust - * for null fraction and assume an even split for boolean tests. + * for null fraction and assume a 50-50 split of TRUE and FALSE. */ switch (booltesttype) { case IS_UNKNOWN: - - /* - * Use freq_null directly. - */ + /* select only NULL values */ selec = freq_null; break; case IS_NOT_UNKNOWN: - - /* - * Select not unknown (not null) values. Calculate from - * freq_null. - */ + /* select non-NULL values */ selec = 1.0 - freq_null; break; case IS_TRUE: - case IS_NOT_TRUE: case IS_FALSE: - case IS_NOT_FALSE: + /* Assume we select half of the non-NULL values */ selec = (1.0 - freq_null) / 2.0; break; + case IS_NOT_TRUE: + case IS_NOT_FALSE: + /* Assume we select NULLs plus half of the non-NULLs */ + /* equiv. to freq_null + (1.0 - freq_null) / 2.0 */ + selec = (freq_null + 1.0) / 2.0; + break; default: elog(ERROR, "unrecognized booltesttype: %d", (int) booltesttype); @@ -2988,6 +2986,14 @@ ListCell *l; /* + * We don't ever want to return an estimate of zero groups, as that tends + * to lead to division-by-zero and other unpleasantness. The input_rows + * estimate is usually already at least 1, but clamp it just in case it + * isn't. + */ + input_rows = clamp_row_est(input_rows); + + /* * If no grouping columns, there's exactly one group. (This can't happen * for normal cases with GROUP BY or DISTINCT, but it is possible for * corner cases with set operations.) diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/tsquery.c postgresql-8.4-8.4.20/src/backend/utils/adt/tsquery.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/tsquery.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/tsquery.c 2014-02-17 19:44:07.000000000 +0000 @@ -517,8 +517,13 @@ return query; } - /* Pack the QueryItems in the final TSQuery struct to return to caller */ + if (TSQUERY_TOO_BIG(list_length(state.polstr), state.sumlen)) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("tsquery is too large"))); commonlen = COMPUTESIZE(list_length(state.polstr), state.sumlen); + + /* Pack the QueryItems in the final TSQuery struct to return to caller */ query = (TSQuery) palloc0(commonlen); SET_VARSIZE(query, commonlen); query->size = list_length(state.polstr); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/tsquery_util.c postgresql-8.4-8.4.20/src/backend/utils/adt/tsquery_util.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/tsquery_util.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/tsquery_util.c 2014-02-17 19:44:07.000000000 +0000 @@ -334,6 +334,11 @@ QTN2QTState state; cntsize(in, &sumlen, &nnode); + + if (TSQUERY_TOO_BIG(nnode, sumlen)) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("tsquery is too large"))); len = COMPUTESIZE(nnode, sumlen); out = (TSQuery) palloc0(len); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/txid.c postgresql-8.4-8.4.20/src/backend/utils/adt/txid.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/txid.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/txid.c 2014-02-17 19:44:07.000000000 +0000 @@ -26,6 +26,7 @@ #include "funcapi.h" #include "libpq/pqformat.h" #include "utils/builtins.h" +#include "utils/memutils.h" #include "utils/snapmgr.h" @@ -70,6 +71,8 @@ #define TXID_SNAPSHOT_SIZE(nxip) \ (offsetof(TxidSnapshot, xip) + sizeof(txid) * (nxip)) +#define TXID_SNAPSHOT_MAX_NXIP \ + ((MaxAllocSize - offsetof(TxidSnapshot, xip)) / sizeof(txid)) /* * Epoch values from xact.c @@ -445,20 +448,12 @@ txid last = 0; int nxip; int i; - int avail; - int expect; txid xmin, xmax; - /* - * load nxip and check for nonsense. - * - * (nxip > avail) check is against int overflows in 'expect'. - */ + /* load and validate nxip */ nxip = pq_getmsgint(buf, 4); - avail = buf->len - buf->cursor; - expect = 8 + 8 + nxip * 8; - if (nxip < 0 || nxip > avail || expect > avail) + if (nxip < 0 || nxip > TXID_SNAPSHOT_MAX_NXIP) goto bad_format; xmin = pq_getmsgint64(buf); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/varbit.c postgresql-8.4-8.4.20/src/backend/utils/adt/varbit.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/varbit.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/varbit.c 2014-02-17 19:44:07.000000000 +0000 @@ -138,12 +138,22 @@ sp = input_string; } + /* + * Determine bitlength from input string. MaxAllocSize ensures a regular + * input is small enough, but we must check hex input. + */ slen = strlen(sp); - /* Determine bitlength from input string */ if (bit_not_hex) bitlen = slen; else + { + if (slen > VARBITMAXLEN / 4) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("bit string length exceeds the maximum allowed (%d)", + VARBITMAXLEN))); bitlen = slen * 4; + } /* * Sometimes atttypmod is not supplied. If it is supplied we need to make @@ -436,12 +446,22 @@ sp = input_string; } + /* + * Determine bitlength from input string. MaxAllocSize ensures a regular + * input is small enough, but we must check hex input. + */ slen = strlen(sp); - /* Determine bitlength from input string */ if (bit_not_hex) bitlen = slen; else + { + if (slen > VARBITMAXLEN / 4) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("bit string length exceeds the maximum allowed (%d)", + VARBITMAXLEN))); bitlen = slen * 4; + } /* * Sometimes atttypmod is not supplied. If it is supplied we need to make @@ -520,6 +540,9 @@ /* varbit_out - * Prints the string as bits to preserve length accurately + * + * XXX varbit_recv() and hex input to varbit_in() can load a value that this + * cannot emit. Consider using hex output for such values. */ Datum varbit_out(PG_FUNCTION_ARGS) @@ -886,6 +909,11 @@ bitlen1 = VARBITLEN(arg1); bitlen2 = VARBITLEN(arg2); + if (bitlen1 > VARBITMAXLEN - bitlen2) + ereport(ERROR, + (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), + errmsg("bit string length exceeds the maximum allowed (%d)", + VARBITMAXLEN))); bytelen = VARBITTOTALLEN(bitlen1 + bitlen2); result = (VarBit *) palloc(bytelen); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/adt/varlena.c postgresql-8.4-8.4.20/src/backend/utils/adt/varlena.c --- postgresql-8.4-8.4.17/src/backend/utils/adt/varlena.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/adt/varlena.c 2014-02-17 19:44:07.000000000 +0000 @@ -2624,7 +2624,10 @@ break; /* - * Search from next character when the matching text is zero width. + * Advance search position. Normally we start the next search at the + * end of the previous match; but if the match was of zero length, we + * have to advance by one character, or we'd just find the same match + * again. */ search_start = data_pos; if (pmatch[0].rm_so == pmatch[0].rm_eo) diff -Nru postgresql-8.4-8.4.17/src/backend/utils/cache/plancache.c postgresql-8.4-8.4.20/src/backend/utils/cache/plancache.c --- postgresql-8.4-8.4.17/src/backend/utils/cache/plancache.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/cache/plancache.c 2014-02-17 19:44:07.000000000 +0000 @@ -59,6 +59,14 @@ #include "utils/syscache.h" +/* + * We must skip "overhead" operations that involve database access when the + * cached plan's subject statement is a transaction control command. + */ +#define IsTransactionStmtPlan(plansource) \ + ((plansource)->raw_parse_tree && \ + IsA((plansource)->raw_parse_tree, TransactionStmt)) + static List *cached_plans_list = NIL; static void StoreCachedPlan(CachedPlanSource *plansource, List *stmt_list, @@ -135,9 +143,13 @@ /* * Fetch current search_path into new context, but do any recalculation - * work required in caller's context. + * work required in caller's context. Skip this for a transaction control + * command, since we won't need it and can't risk catalog access. */ - search_path = GetOverrideSearchPath(source_context); + if (raw_parse_tree && IsA(raw_parse_tree, TransactionStmt)) + search_path = NULL; + else + search_path = GetOverrideSearchPath(source_context); /* * Create and fill the CachedPlanSource struct within the new context. @@ -225,9 +237,13 @@ /* * Fetch current search_path into given context, but do any recalculation - * work required in caller's context. + * work required in caller's context. Skip this for a transaction control + * command, since we won't need it and can't risk catalog access. */ - search_path = GetOverrideSearchPath(context); + if (raw_parse_tree && IsA(raw_parse_tree, TransactionStmt)) + search_path = NULL; + else + search_path = GetOverrideSearchPath(context); /* * Create and fill the CachedPlanSource struct within the given context. @@ -474,7 +490,8 @@ * * (XXX is there anything else we really need to restore?) */ - PushOverrideSearchPath(plansource->search_path); + if (plansource->search_path) + PushOverrideSearchPath(plansource->search_path); /* * If a snapshot is already set (the normal case), we can just use @@ -553,7 +570,8 @@ PopActiveSnapshot(); /* Now we can restore current search path */ - PopOverrideSearchPath(); + if (plansource->search_path) + PopOverrideSearchPath(); /* * Store the plans into the plancache entry, advancing the generation diff -Nru postgresql-8.4-8.4.17/src/backend/utils/error/elog.c postgresql-8.4-8.4.20/src/backend/utils/error/elog.c --- postgresql-8.4-8.4.17/src/backend/utils/error/elog.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/error/elog.c 2014-02-17 19:44:07.000000000 +0000 @@ -149,6 +149,7 @@ static void send_message_to_frontend(ErrorData *edata); static char *expand_fmt_string(const char *fmt, ErrorData *edata); static const char *useful_strerror(int errnum); +static const char *get_errno_symbol(int errnum); static const char *error_severity(int elevel); static void append_with_tabs(StringInfo buf, const char *str); static bool is_log_level_output(int elevel, int log_min_level); @@ -290,6 +291,18 @@ return false; /* + * We need to do some actual work. Make sure that memory context + * initialization has finished, else we can't do anything useful. + */ + if (ErrorContext == NULL) + { + /* Ooops, hard crash time; very little we can do safely here */ + write_stderr("error occurred at %s:%d before error message processing is available\n", + filename ? filename : "(unknown file)", lineno); + exit(2); + } + + /* * Okay, crank up a stack entry to store the info in. */ @@ -1094,6 +1107,15 @@ { ErrorData *edata; + /* Make sure that memory context initialization has finished */ + if (ErrorContext == NULL) + { + /* Ooops, hard crash time; very little we can do safely here */ + write_stderr("error occurred at %s:%d before error message processing is available\n", + filename ? filename : "(unknown file)", lineno); + exit(2); + } + if (++errordata_stack_depth >= ERRORDATA_STACK_SIZE) { /* @@ -2551,7 +2573,7 @@ static const char * useful_strerror(int errnum) { - /* this buffer is only used if errno has a bogus value */ + /* this buffer is only used if strerror() and get_errno_symbol() fail */ static char errorstr_buf[48]; const char *str; @@ -2563,10 +2585,16 @@ str = strerror(errnum); /* - * Some strerror()s return an empty string for out-of-range errno. This is - * ANSI C spec compliant, but not exactly useful. + * Some strerror()s return an empty string for out-of-range errno. This + * is ANSI C spec compliant, but not exactly useful. Also, we may get + * back strings of question marks if libc cannot transcode the message to + * the codeset specified by LC_CTYPE. If we get nothing useful, first try + * get_errno_symbol(), and if that fails, print the numeric errno. */ - if (str == NULL || *str == '\0') + if (str == NULL || *str == '\0' || *str == '?') + str = get_errno_symbol(errnum); + + if (str == NULL) { snprintf(errorstr_buf, sizeof(errorstr_buf), /*------ @@ -2579,6 +2607,178 @@ return str; } +/* + * Returns a symbol (e.g. "ENOENT") for an errno code. + * Returns NULL if the code is unrecognized. + */ +static const char * +get_errno_symbol(int errnum) +{ + switch (errnum) + { + case E2BIG: + return "E2BIG"; + case EACCES: + return "EACCES"; +#ifdef EADDRINUSE + case EADDRINUSE: + return "EADDRINUSE"; +#endif +#ifdef EADDRNOTAVAIL + case EADDRNOTAVAIL: + return "EADDRNOTAVAIL"; +#endif + case EAFNOSUPPORT: + return "EAFNOSUPPORT"; +#ifdef EAGAIN + case EAGAIN: + return "EAGAIN"; +#endif +#ifdef EALREADY + case EALREADY: + return "EALREADY"; +#endif + case EBADF: + return "EBADF"; +#ifdef EBADMSG + case EBADMSG: + return "EBADMSG"; +#endif + case EBUSY: + return "EBUSY"; + case ECHILD: + return "ECHILD"; +#ifdef ECONNABORTED + case ECONNABORTED: + return "ECONNABORTED"; +#endif + case ECONNREFUSED: + return "ECONNREFUSED"; +#ifdef ECONNRESET + case ECONNRESET: + return "ECONNRESET"; +#endif + case EDEADLK: + return "EDEADLK"; + case EDOM: + return "EDOM"; + case EEXIST: + return "EEXIST"; + case EFAULT: + return "EFAULT"; + case EFBIG: + return "EFBIG"; +#ifdef EHOSTUNREACH + case EHOSTUNREACH: + return "EHOSTUNREACH"; +#endif + case EIDRM: + return "EIDRM"; + case EINPROGRESS: + return "EINPROGRESS"; + case EINTR: + return "EINTR"; + case EINVAL: + return "EINVAL"; + case EIO: + return "EIO"; +#ifdef EISCONN + case EISCONN: + return "EISCONN"; +#endif + case EISDIR: + return "EISDIR"; +#ifdef ELOOP + case ELOOP: + return "ELOOP"; +#endif + case EMFILE: + return "EMFILE"; + case EMLINK: + return "EMLINK"; + case EMSGSIZE: + return "EMSGSIZE"; + case ENAMETOOLONG: + return "ENAMETOOLONG"; + case ENFILE: + return "ENFILE"; + case ENOBUFS: + return "ENOBUFS"; + case ENODEV: + return "ENODEV"; + case ENOENT: + return "ENOENT"; + case ENOEXEC: + return "ENOEXEC"; + case ENOMEM: + return "ENOMEM"; + case ENOSPC: + return "ENOSPC"; + case ENOSYS: + return "ENOSYS"; +#ifdef ENOTCONN + case ENOTCONN: + return "ENOTCONN"; +#endif + case ENOTDIR: + return "ENOTDIR"; +#if defined(ENOTEMPTY) && (ENOTEMPTY != EEXIST) /* same code on AIX */ + case ENOTEMPTY: + return "ENOTEMPTY"; +#endif +#ifdef ENOTSOCK + case ENOTSOCK: + return "ENOTSOCK"; +#endif +#ifdef ENOTSUP + case ENOTSUP: + return "ENOTSUP"; +#endif + case ENOTTY: + return "ENOTTY"; + case ENXIO: + return "ENXIO"; +#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUPP != ENOTSUP)) + case EOPNOTSUPP: + return "EOPNOTSUPP"; +#endif +#ifdef EOVERFLOW + case EOVERFLOW: + return "EOVERFLOW"; +#endif + case EPERM: + return "EPERM"; + case EPIPE: + return "EPIPE"; + case EPROTONOSUPPORT: + return "EPROTONOSUPPORT"; + case ERANGE: + return "ERANGE"; +#ifdef EROFS + case EROFS: + return "EROFS"; +#endif + case ESRCH: + return "ESRCH"; +#ifdef ETIMEDOUT + case ETIMEDOUT: + return "ETIMEDOUT"; +#endif +#ifdef ETXTBSY + case ETXTBSY: + return "ETXTBSY"; +#endif +#if defined(EWOULDBLOCK) && (!defined(EAGAIN) || (EWOULDBLOCK != EAGAIN)) + case EWOULDBLOCK: + return "EWOULDBLOCK"; +#endif + case EXDEV: + return "EXDEV"; + } + + return NULL; +} + /* * error_severity --- get localized string representing elevel diff -Nru postgresql-8.4-8.4.17/src/backend/utils/fmgr/fmgr.c postgresql-8.4-8.4.20/src/backend/utils/fmgr/fmgr.c --- postgresql-8.4-8.4.17/src/backend/utils/fmgr/fmgr.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/fmgr/fmgr.c 2014-02-17 19:44:07.000000000 +0000 @@ -24,6 +24,7 @@ #include "miscadmin.h" #include "nodes/nodeFuncs.h" #include "pgstat.h" +#include "utils/acl.h" #include "utils/builtins.h" #include "utils/fmgrtab.h" #include "utils/guc.h" @@ -2428,3 +2429,87 @@ return false; } + +/*------------------------------------------------------------------------- + * Support routines for procedural language implementations + *------------------------------------------------------------------------- + */ + +/* + * Verify that a validator is actually associated with the language of a + * particular function and that the user has access to both the language and + * the function. All validators should call this before doing anything + * substantial. Doing so ensures a user cannot achieve anything with explicit + * calls to validators that he could not achieve with CREATE FUNCTION or by + * simply calling an existing function. + * + * When this function returns false, callers should skip all validation work + * and call PG_RETURN_VOID(). This never happens at present; it is reserved + * for future expansion. + * + * In particular, checking that the validator corresponds to the function's + * language allows untrusted language validators to assume they process only + * superuser-chosen source code. (Untrusted language call handlers, by + * definition, do assume that.) A user lacking the USAGE language privilege + * would be unable to reach the validator through CREATE FUNCTION, so we check + * that to block explicit calls as well. Checking the EXECUTE privilege on + * the function is often superfluous, because most users can clone the + * function to get an executable copy. It is meaningful against users with no + * database TEMP right and no permanent schema CREATE right, thereby unable to + * create any function. Also, if the function tracks persistent state by + * function OID or name, validating the original function might permit more + * mischief than creating and validating a clone thereof. + */ +bool +CheckFunctionValidatorAccess(Oid validatorOid, Oid functionOid) +{ + HeapTuple procTup; + HeapTuple langTup; + Form_pg_proc procStruct; + Form_pg_language langStruct; + AclResult aclresult; + + /* Get the function's pg_proc entry */ + procTup = SearchSysCache(PROCOID, ObjectIdGetDatum(functionOid), 0, 0, 0); + if (!HeapTupleIsValid(procTup)) + elog(ERROR, "cache lookup failed for function %u", functionOid); + procStruct = (Form_pg_proc) GETSTRUCT(procTup); + + /* + * Fetch pg_language entry to know if this is the correct validation + * function for that pg_proc entry. + */ + langTup = SearchSysCache(LANGOID, ObjectIdGetDatum(procStruct->prolang), + 0, 0, 0); + if (!HeapTupleIsValid(langTup)) + elog(ERROR, "cache lookup failed for language %u", procStruct->prolang); + langStruct = (Form_pg_language) GETSTRUCT(langTup); + + if (langStruct->lanvalidator != validatorOid) + ereport(ERROR, + (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), + errmsg("language validation function %u called for language %u instead of %u", + validatorOid, procStruct->prolang, + langStruct->lanvalidator))); + + /* first validate that we have permissions to use the language */ + aclresult = pg_language_aclcheck(procStruct->prolang, GetUserId(), + ACL_USAGE); + if (aclresult != ACLCHECK_OK) + aclcheck_error(aclresult, ACL_KIND_LANGUAGE, + NameStr(langStruct->lanname)); + + /* + * Check whether we are allowed to execute the function itself. If we can + * execute it, there should be no possible side-effect of + * compiling/validation that execution can't have. + */ + aclresult = pg_proc_aclcheck(functionOid, GetUserId(), ACL_EXECUTE); + if (aclresult != ACLCHECK_OK) + aclcheck_error(aclresult, ACL_KIND_PROC, NameStr(procStruct->proname)); + + ReleaseSysCache(procTup); + ReleaseSysCache(langTup); + + return true; +} diff -Nru postgresql-8.4-8.4.17/src/backend/utils/mmgr/mcxt.c postgresql-8.4-8.4.20/src/backend/utils/mmgr/mcxt.c --- postgresql-8.4-8.4.17/src/backend/utils/mmgr/mcxt.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/mmgr/mcxt.c 2014-02-17 19:44:07.000000000 +0000 @@ -68,7 +68,8 @@ * In normal multi-backend operation, this is called once during * postmaster startup, and not at all by individual backend startup * (since the backends inherit an already-initialized context subsystem - * by virtue of being forked off the postmaster). + * by virtue of being forked off the postmaster). But in an EXEC_BACKEND + * build, each process must do this for itself. * * In a standalone backend this must be called during backend startup. */ @@ -102,6 +103,9 @@ * where retained memory in a context is *essential* --- we want to be * sure ErrorContext still has some memory even if we've run out * elsewhere! + * + * This should be the last step in this function, as elog.c assumes memory + * management works once ErrorContext is non-null. */ ErrorContext = AllocSetContextCreate(TopMemoryContext, "ErrorContext", diff -Nru postgresql-8.4-8.4.17/src/backend/utils/sort/tuplesort.c postgresql-8.4-8.4.20/src/backend/utils/sort/tuplesort.c --- postgresql-8.4-8.4.17/src/backend/utils/sort/tuplesort.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/sort/tuplesort.c 2014-02-17 19:44:07.000000000 +0000 @@ -1552,7 +1552,7 @@ * account for tuple space, so we don't care if LACKMEM becomes * inaccurate.) */ - tapeSpace = maxTapes * TAPE_BUFFER_OVERHEAD; + tapeSpace = (long) maxTapes * TAPE_BUFFER_OVERHEAD; if (tapeSpace + GetMemoryChunkSpace(state->memtuples) < state->allowedMem) USEMEM(state, tapeSpace); diff -Nru postgresql-8.4-8.4.17/src/backend/utils/time/tqual.c postgresql-8.4-8.4.20/src/backend/utils/time/tqual.c --- postgresql-8.4-8.4.17/src/backend/utils/time/tqual.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/backend/utils/time/tqual.c 2014-02-17 19:44:07.000000000 +0000 @@ -848,7 +848,8 @@ if (TransactionIdIsInProgress(HeapTupleHeaderGetXmax(tuple))) { - snapshot->xmax = HeapTupleHeaderGetXmax(tuple); + if (!(tuple->t_infomask & HEAP_IS_LOCKED)) + snapshot->xmax = HeapTupleHeaderGetXmax(tuple); return true; } diff -Nru postgresql-8.4-8.4.17/src/bin/initdb/initdb.c postgresql-8.4-8.4.20/src/bin/initdb/initdb.c --- postgresql-8.4-8.4.17/src/bin/initdb/initdb.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/initdb/initdb.c 2014-02-17 19:44:07.000000000 +0000 @@ -3174,7 +3174,7 @@ fprintf(stderr, "%s", authwarning); /* Get directory specification used to start this executable */ - strcpy(bin_dir, argv[0]); + strlcpy(bin_dir, argv[0], sizeof(bin_dir)); get_parent_directory(bin_dir); printf(_("\nSuccess. You can now start the database server using:\n\n" diff -Nru postgresql-8.4-8.4.17/src/bin/pg_controldata/po/ru.po postgresql-8.4-8.4.20/src/bin/pg_controldata/po/ru.po --- postgresql-8.4-8.4.17/src/bin/pg_controldata/po/ru.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_controldata/po/ru.po 2014-02-17 19:44:07.000000000 +0000 @@ -284,7 +284,7 @@ #: pg_controldata.c:219 #, c-format msgid "Float4 argument passing: %s\n" -msgstr "передача аргумента Float4: %s\n" +msgstr "Передача аргумента Float4: %s\n" #: pg_controldata.c:220 pg_controldata.c:222 msgid "by value" @@ -297,4 +297,4 @@ #: pg_controldata.c:221 #, c-format msgid "Float8 argument passing: %s\n" -msgstr "передача аргумента Float8: %s\n" +msgstr "Передача аргумента Float8: %s\n" diff -Nru postgresql-8.4-8.4.17/src/bin/pg_ctl/pg_ctl.c postgresql-8.4-8.4.20/src/bin/pg_ctl/pg_ctl.c --- postgresql-8.4-8.4.17/src/bin/pg_ctl/pg_ctl.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_ctl/pg_ctl.c 2014-02-17 19:44:07.000000000 +0000 @@ -18,7 +18,9 @@ #endif #include "postgres_fe.h" + #include "libpq-fe.h" +#include "pqexpbuffer.h" #include #include @@ -1038,16 +1040,13 @@ static char * pgwin32_CommandLine(bool registration) { - static char cmdLine[MAXPGPATH]; + PQExpBuffer cmdLine = createPQExpBuffer(); + char cmdPath[MAXPGPATH]; int ret; -#ifdef __CYGWIN__ - char buf[MAXPGPATH]; -#endif - if (registration) { - ret = find_my_exec(argv0, cmdLine); + ret = find_my_exec(argv0, cmdPath); if (ret != 0) { write_stderr(_("%s: could not find own program executable\n"), progname); @@ -1057,7 +1056,7 @@ else { ret = find_other_exec(argv0, "postgres", PG_BACKEND_VERSIONSTR, - cmdLine); + cmdPath); if (ret != 0) { write_stderr(_("%s: could not find postgres program executable\n"), progname); @@ -1067,50 +1066,57 @@ #ifdef __CYGWIN__ /* need to convert to windows path */ - cygwin_conv_to_full_win32_path(cmdLine, buf); - strcpy(cmdLine, buf); + { + char buf[MAXPGPATH]; + +#if CYGWIN_VERSION_DLL_MAJOR >= 1007 + cygwin_conv_path(CCP_POSIX_TO_WIN_A, cmdPath, buf, sizeof(buf)); +#else + cygwin_conv_to_full_win32_path(cmdPath, buf); +#endif + strcpy(cmdPath, buf); + } #endif + /* if path does not end in .exe, append it */ + if (strlen(cmdPath) < 4 || + pg_strcasecmp(cmdPath + strlen(cmdPath) - 4, ".exe") != 0) + snprintf(cmdPath + strlen(cmdPath), sizeof(cmdPath) - strlen(cmdPath), + ".exe"); + + /* use backslashes in path to avoid problems with some third-party tools */ + make_native_path(cmdPath); + + /* be sure to double-quote the executable's name in the command */ + appendPQExpBuffer(cmdLine, "\"%s\"", cmdPath); + + /* append assorted switches to the command line, as needed */ + if (registration) - { - if (pg_strcasecmp(cmdLine + strlen(cmdLine) - 4, ".exe")) - { - /* If commandline does not end in .exe, append it */ - strcat(cmdLine, ".exe"); - } - strcat(cmdLine, " runservice -N \""); - strcat(cmdLine, register_servicename); - strcat(cmdLine, "\""); - } + appendPQExpBuffer(cmdLine, " runservice -N \"%s\"", + register_servicename); if (pg_data) - { - strcat(cmdLine, " -D \""); - strcat(cmdLine, pg_data); - strcat(cmdLine, "\""); - } + appendPQExpBuffer(cmdLine, " -D \"%s\"", pg_data); if (registration && do_wait) - strcat(cmdLine, " -w"); + appendPQExpBuffer(cmdLine, " -w"); if (registration && wait_seconds != DEFAULT_WAIT) - /* concatenate */ - sprintf(cmdLine + strlen(cmdLine), " -t %d", wait_seconds); + appendPQExpBuffer(cmdLine, " -t %d", wait_seconds); if (registration && silent_mode) - strcat(cmdLine, " -s"); + appendPQExpBuffer(cmdLine, " -s"); if (post_opts) { - strcat(cmdLine, " "); - if (registration) - strcat(cmdLine, " -o \""); - strcat(cmdLine, post_opts); if (registration) - strcat(cmdLine, "\""); + appendPQExpBuffer(cmdLine, " -o \"%s\"", post_opts); + else + appendPQExpBuffer(cmdLine, " %s", post_opts); } - return cmdLine; + return cmdLine->data; } static void @@ -1546,7 +1552,7 @@ */ return r; } -#endif +#endif /* defined(WIN32) || defined(__CYGWIN__) */ static void do_advice(void) diff -Nru postgresql-8.4-8.4.17/src/bin/pg_dump/pg_backup_archiver.c postgresql-8.4-8.4.20/src/bin/pg_dump/pg_backup_archiver.c --- postgresql-8.4-8.4.17/src/bin/pg_dump/pg_backup_archiver.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_dump/pg_backup_archiver.c 2014-02-17 19:44:07.000000000 +0000 @@ -266,8 +266,12 @@ if (AH->version < K_VERS_1_3) die_horribly(AH, modulename, "direct database connections are not supported in pre-1.3 archives\n"); - /* XXX Should get this from the archive */ - AHX->minRemoteVersion = 070100; + /* + * We don't want to guess at whether the dump will successfully + * restore; allow the attempt regardless of the version of the restore + * target. + */ + AHX->minRemoteVersion = 0; AHX->maxRemoteVersion = 999999; ConnectDatabase(AHX, ropt->dbname, diff -Nru postgresql-8.4-8.4.17/src/bin/pg_dump/pg_dumpall.c postgresql-8.4-8.4.20/src/bin/pg_dump/pg_dumpall.c --- postgresql-8.4-8.4.17/src/bin/pg_dump/pg_dumpall.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_dump/pg_dumpall.c 2014-02-17 19:44:07.000000000 +0000 @@ -445,6 +445,9 @@ fprintf(OPF, "\\connect postgres\n\n"); + /* Restore will need to write to the target cluster */ + fprintf(OPF, "SET default_transaction_read_only = off;\n\n"); + /* Replicate encoding and std_strings in output */ fprintf(OPF, "SET client_encoding = '%s';\n", pg_encoding_to_char(encoding)); @@ -1452,6 +1455,17 @@ fprintf(OPF, "\\connect %s\n\n", fmtId(dbname)); + /* + * Restore will need to write to the target cluster. This connection + * setting is emitted for pg_dumpall rather than in the code also used + * by pg_dump, so that a cluster with databases or users which have + * this flag turned on can still be replicated through pg_dumpall + * without editing the file or stream. With pg_dump there are many + * other ways to allow the file to be used, and leaving it out allows + * users to protect databases from being accidental restore targets. + */ + fprintf(OPF, "SET default_transaction_read_only = off;\n\n"); + if (filename) fclose(OPF); diff -Nru postgresql-8.4-8.4.17/src/bin/pg_dump/pg_dump.c postgresql-8.4-8.4.20/src/bin/pg_dump/pg_dump.c --- postgresql-8.4-8.4.17/src/bin/pg_dump/pg_dump.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_dump/pg_dump.c 2014-02-17 19:44:07.000000000 +0000 @@ -10352,6 +10352,7 @@ dumpIndex(Archive *fout, IndxInfo *indxinfo) { TableInfo *tbinfo = indxinfo->indextable; + bool is_constraint = (indxinfo->indexconstraint != 0); PQExpBuffer q; PQExpBuffer delq; @@ -10364,9 +10365,11 @@ /* * If there's an associated constraint, don't dump the index per se, but * do dump any comment for it. (This is safe because dependency ordering - * will have ensured the constraint is emitted first.) + * will have ensured the constraint is emitted first.) Note that the + * emitted comment has to be shown as depending on the constraint, not + * the index, in such cases. */ - if (indxinfo->indexconstraint == 0) + if (!is_constraint) { /* Plain secondary index */ appendPQExpBuffer(q, "%s;\n", indxinfo->indexdef); @@ -10407,7 +10410,9 @@ dumpComment(fout, q->data, tbinfo->dobj.namespace->dobj.name, tbinfo->rolname, - indxinfo->dobj.catId, 0, indxinfo->dobj.dumpId); + indxinfo->dobj.catId, 0, + is_constraint ? indxinfo->indexconstraint : + indxinfo->dobj.dumpId); destroyPQExpBuffer(q); destroyPQExpBuffer(delq); diff -Nru postgresql-8.4-8.4.17/src/bin/pg_resetxlog/po/ru.po postgresql-8.4-8.4.20/src/bin/pg_resetxlog/po/ru.po --- postgresql-8.4-8.4.17/src/bin/pg_resetxlog/po/ru.po 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/pg_resetxlog/po/ru.po 2014-02-17 19:44:07.000000000 +0000 @@ -315,7 +315,7 @@ #: pg_resetxlog.c:576 #, c-format msgid "Float4 argument passing: %s\n" -msgstr "передача аргумента Float4: %s\n" +msgstr "Передача аргумента Float4: %s\n" #: pg_resetxlog.c:577 pg_resetxlog.c:579 msgid "by value" @@ -328,7 +328,7 @@ #: pg_resetxlog.c:578 #, c-format msgid "Float8 argument passing: %s\n" -msgstr "передача аргумента Float8: %s\n" +msgstr "Передача аргумента Float8: %s\n" #: pg_resetxlog.c:629 #, c-format diff -Nru postgresql-8.4-8.4.17/src/bin/psql/copy.c postgresql-8.4-8.4.20/src/bin/psql/copy.c --- postgresql-8.4-8.4.17/src/bin/psql/copy.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/psql/copy.c 2014-02-17 19:44:07.000000000 +0000 @@ -573,7 +573,9 @@ PQresultStatus(result)); /* if still in COPY IN state, try to get out of it */ if (PQresultStatus(result) == PGRES_COPY_IN) - PQputCopyEnd(pset.db, _("trying to exit copy mode")); + PQputCopyEnd(pset.db, + (PQprotocolVersion(pset.db) < 3) ? NULL : + _("trying to exit copy mode")); PQclear(result); } @@ -620,15 +622,15 @@ ret = PQgetCopyData(conn, &buf, 0); if (ret < 0) - break; /* done or error */ + break; /* done or server/connection error */ if (buf) { - if (fwrite(buf, 1, ret, copystream) != ret) + if (OK && fwrite(buf, 1, ret, copystream) != ret) { - if (OK) /* complain only once, keep reading data */ - psql_error("could not write COPY data: %s\n", - strerror(errno)); + psql_error("could not write COPY data: %s\n", + strerror(errno)); + /* complain only once, keep reading data from server */ OK = false; } PQfreemem(buf); @@ -692,7 +694,9 @@ /* got here with longjmp */ /* Terminate data transfer */ - PQputCopyEnd(conn, _("canceled by user")); + PQputCopyEnd(conn, + (PQprotocolVersion(conn) < 3) ? NULL : + _("canceled by user")); /* Check command status and return to normal libpq state */ res = PQgetResult(conn); @@ -820,7 +824,8 @@ /* Terminate data transfer */ if (PQputCopyEnd(conn, - OK ? NULL : _("aborted because of read failure")) <= 0) + (OK || PQprotocolVersion(conn) < 3) ? NULL : + _("aborted because of read failure")) <= 0) OK = false; /* Check command status and return to normal libpq state */ diff -Nru postgresql-8.4-8.4.17/src/bin/psql/Makefile postgresql-8.4-8.4.20/src/bin/psql/Makefile --- postgresql-8.4-8.4.17/src/bin/psql/Makefile 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/bin/psql/Makefile 2014-02-17 19:44:07.000000000 +0000 @@ -60,7 +60,7 @@ $(INSTALL_DATA) $(srcdir)/psqlrc.sample '$(DESTDIR)$(datadir)/psqlrc.sample' installdirs: - $(mkinstalldirs) '$(DESTDIR)$(bindir)' + $(mkinstalldirs) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)' uninstall: rm -f '$(DESTDIR)$(bindir)/psql$(X)' '$(DESTDIR)$(datadir)/psqlrc.sample' diff -Nru postgresql-8.4-8.4.17/src/include/access/gin.h postgresql-8.4-8.4.20/src/include/access/gin.h --- postgresql-8.4-8.4.17/src/include/access/gin.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/access/gin.h 2014-02-17 19:44:07.000000000 +0000 @@ -438,6 +438,7 @@ extern GinBtreeStack *ginPrepareFindLeafPage(GinBtree btree, BlockNumber blkno); extern GinBtreeStack *ginFindLeafPage(GinBtree btree, GinBtreeStack *stack); +extern Buffer ginStepRight(Buffer buffer, Relation index, int lockmode); extern void freeGinBtreeStack(GinBtreeStack *stack); extern void ginInsertValue(GinBtree btree, GinBtreeStack *stack); extern void findParents(GinBtree btree, GinBtreeStack *stack, BlockNumber rootBlkno); diff -Nru postgresql-8.4-8.4.17/src/include/catalog/index.h postgresql-8.4-8.4.20/src/include/catalog/index.h --- postgresql-8.4-8.4.17/src/include/catalog/index.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/catalog/index.h 2014-02-17 19:44:07.000000000 +0000 @@ -82,4 +82,6 @@ extern void reindex_index(Oid indexId); extern bool reindex_relation(Oid relid, bool toast_too); +extern Oid IndexGetRelation(Oid indexId); + #endif /* INDEX_H */ diff -Nru postgresql-8.4-8.4.17/src/include/catalog/pg_constraint.h postgresql-8.4-8.4.20/src/include/catalog/pg_constraint.h --- postgresql-8.4-8.4.17/src/include/catalog/pg_constraint.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/catalog/pg_constraint.h 2014-02-17 19:44:07.000000000 +0000 @@ -215,5 +215,6 @@ extern void AlterConstraintNamespaces(Oid ownerId, Oid oldNspId, Oid newNspId, bool isType); +extern void get_constraint_relation_oids(Oid constraint_oid, Oid *conrelid, Oid *confrelid); #endif /* PG_CONSTRAINT_H */ diff -Nru postgresql-8.4-8.4.17/src/include/catalog/pg_type.h postgresql-8.4-8.4.20/src/include/catalog/pg_type.h --- postgresql-8.4-8.4.17/src/include/catalog/pg_type.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/catalog/pg_type.h 2014-02-17 19:44:07.000000000 +0000 @@ -430,6 +430,7 @@ DATA(insert OID = 1002 ( _char PGNSP PGUID -1 f b A f t \054 0 18 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); DATA(insert OID = 1003 ( _name PGNSP PGUID -1 f b A f t \054 0 19 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); DATA(insert OID = 1005 ( _int2 PGNSP PGUID -1 f b A f t \054 0 21 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); +#define INT2ARRAYOID 1005 DATA(insert OID = 1006 ( _int2vector PGNSP PGUID -1 f b A f t \054 0 22 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); DATA(insert OID = 1007 ( _int4 PGNSP PGUID -1 f b A f t \054 0 23 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); #define INT4ARRAYOID 1007 @@ -437,6 +438,7 @@ DATA(insert OID = 1009 ( _text PGNSP PGUID -1 f b A f t \054 0 25 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); #define TEXTARRAYOID 1009 DATA(insert OID = 1028 ( _oid PGNSP PGUID -1 f b A f t \054 0 26 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); +#define OIDARRAYOID 1028 DATA(insert OID = 1010 ( _tid PGNSP PGUID -1 f b A f t \054 0 27 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); DATA(insert OID = 1011 ( _xid PGNSP PGUID -1 f b A f t \054 0 28 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); DATA(insert OID = 1012 ( _cid PGNSP PGUID -1 f b A f t \054 0 29 0 array_in array_out array_recv array_send - - - i x f 0 -1 0 _null_ _null_ )); diff -Nru postgresql-8.4-8.4.17/src/include/commands/defrem.h postgresql-8.4-8.4.20/src/include/commands/defrem.h --- postgresql-8.4-8.4.17/src/include/commands/defrem.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/commands/defrem.h 2014-02-17 19:44:07.000000000 +0000 @@ -18,7 +18,7 @@ /* commands/indexcmds.c */ -extern void DefineIndex(RangeVar *heapRelation, +extern void DefineIndex(Oid relationId, char *indexRelationName, Oid indexRelationId, char *accessMethodName, diff -Nru postgresql-8.4-8.4.17/src/include/commands/tablecmds.h postgresql-8.4-8.4.20/src/include/commands/tablecmds.h --- postgresql-8.4-8.4.17/src/include/commands/tablecmds.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/commands/tablecmds.h 2014-02-17 19:44:07.000000000 +0000 @@ -22,7 +22,7 @@ extern void RemoveRelations(DropStmt *drop); -extern void AlterTable(AlterTableStmt *stmt); +extern void AlterTable(Oid relid, AlterTableStmt *stmt); extern void ATExecChangeOwner(Oid relationOid, Oid newOwnerId, bool recursing); diff -Nru postgresql-8.4-8.4.17/src/include/commands/trigger.h postgresql-8.4-8.4.20/src/include/commands/trigger.h --- postgresql-8.4-8.4.17/src/include/commands/trigger.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/commands/trigger.h 2014-02-17 19:44:07.000000000 +0000 @@ -104,8 +104,8 @@ #define TRIGGER_FIRES_ON_REPLICA 'R' #define TRIGGER_DISABLED 'D' -extern Oid CreateTrigger(CreateTrigStmt *stmt, Oid constraintOid, - bool checkPermissions); +extern Oid CreateTrigger(CreateTrigStmt *stmt, Oid relOid, Oid refRelOid, + Oid constraintOid, bool checkPermissions); extern void DropTrigger(Oid relid, const char *trigname, DropBehavior behavior, bool missing_ok); diff -Nru postgresql-8.4-8.4.17/src/include/fmgr.h postgresql-8.4-8.4.20/src/include/fmgr.h --- postgresql-8.4-8.4.17/src/include/fmgr.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/fmgr.h 2014-02-17 19:44:07.000000000 +0000 @@ -518,6 +518,7 @@ extern Oid get_call_expr_argtype(fmNodePtr expr, int argnum); extern bool get_fn_expr_arg_stable(FmgrInfo *flinfo, int argnum); extern bool get_call_expr_arg_stable(fmNodePtr expr, int argnum); +extern bool CheckFunctionValidatorAccess(Oid validatorOid, Oid functionOid); /* * Routines in dfmgr.c diff -Nru postgresql-8.4-8.4.17/src/include/nodes/parsenodes.h postgresql-8.4-8.4.20/src/include/nodes/parsenodes.h --- postgresql-8.4-8.4.17/src/include/nodes/parsenodes.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/nodes/parsenodes.h 2014-02-17 19:44:07.000000000 +0000 @@ -597,7 +597,7 @@ * a stored rule might contain entries for columns dropped since the rule * was created. (This is only possible for columns not actually referenced * in the rule.) When loading a stored rule, we replace the joinaliasvars - * items for any such columns with NULL Consts. (We can't simply delete + * items for any such columns with null pointers. (We can't simply delete * them from the joinaliasvars list, because that would affect the attnums * of Vars referencing the rest of the list.) * @@ -667,13 +667,19 @@ /* * Fields valid for a join RTE (else NULL/zero): * - * joinaliasvars is a list of Vars or COALESCE expressions corresponding - * to the columns of the join result. An alias Var referencing column K - * of the join result can be replaced by the K'th element of joinaliasvars - * --- but to simplify the task of reverse-listing aliases correctly, we - * do not do that until planning time. In a Query loaded from a stored - * rule, it is also possible for joinaliasvars items to be NULL Consts, - * denoting columns dropped since the rule was made. + * joinaliasvars is a list of (usually) Vars corresponding to the columns + * of the join result. An alias Var referencing column K of the join + * result can be replaced by the K'th element of joinaliasvars --- but to + * simplify the task of reverse-listing aliases correctly, we do not do + * that until planning time. In detail: an element of joinaliasvars can + * be a Var of one of the join's input relations, or such a Var with an + * implicit coercion to the join's output column type, or a COALESCE + * expression containing the two input column Vars (possibly coerced). + * Within a Query loaded from a stored rule, it is also possible for + * joinaliasvars items to be null pointers, which are placeholders for + * (necessarily unreferenced) columns dropped since the rule was made. + * Also, once planning begins, joinaliasvars items can be almost anything, + * as a result of subquery-flattening substitutions. */ JoinType jointype; /* type of join */ List *joinaliasvars; /* list of alias-var expansions */ @@ -1424,6 +1430,7 @@ bool deferrable; /* DEFERRABLE */ bool initdeferred; /* INITIALLY DEFERRED */ bool skip_validation; /* skip validation of existing rows? */ + Oid old_pktable_oid; /* pg_constraint.confrelid of my former self */ } FkConstraint; diff -Nru postgresql-8.4-8.4.17/src/include/optimizer/tlist.h postgresql-8.4-8.4.20/src/include/optimizer/tlist.h --- postgresql-8.4-8.4.17/src/include/optimizer/tlist.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/optimizer/tlist.h 2014-02-17 19:44:07.000000000 +0000 @@ -19,6 +19,7 @@ extern TargetEntry *tlist_member(Node *node, List *targetlist); extern TargetEntry *tlist_member_ignore_relabel(Node *node, List *targetlist); +extern TargetEntry *tlist_member_match_var(Var *var, List *targetlist); extern List *flatten_tlist(List *tlist); extern List *add_to_flat_tlist(List *tlist, List *exprs); diff -Nru postgresql-8.4-8.4.17/src/include/parser/parse_utilcmd.h postgresql-8.4-8.4.20/src/include/parser/parse_utilcmd.h --- postgresql-8.4-8.4.17/src/include/parser/parse_utilcmd.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/parser/parse_utilcmd.h 2014-02-17 19:44:07.000000000 +0000 @@ -18,9 +18,10 @@ extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString); -extern List *transformAlterTableStmt(AlterTableStmt *stmt, +extern List *transformAlterTableStmt(Oid relid, AlterTableStmt *stmt, const char *queryString); -extern IndexStmt *transformIndexStmt(IndexStmt *stmt, const char *queryString); +extern IndexStmt *transformIndexStmt(Oid relid, IndexStmt *stmt, + const char *queryString); extern void transformRuleStmt(RuleStmt *stmt, const char *queryString, List **actions, Node **whereClause); extern List *transformCreateSchemaStmt(CreateSchemaStmt *stmt); diff -Nru postgresql-8.4-8.4.17/src/include/pg_config.h.win32 postgresql-8.4-8.4.20/src/include/pg_config.h.win32 --- postgresql-8.4-8.4.17/src/include/pg_config.h.win32 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/pg_config.h.win32 2014-02-17 19:44:07.000000000 +0000 @@ -563,16 +563,16 @@ #define PACKAGE_NAME "PostgreSQL" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "PostgreSQL 8.4.17" +#define PACKAGE_STRING "PostgreSQL 8.4.20" /* Define to the version of this package. */ -#define PACKAGE_VERSION "8.4.17" +#define PACKAGE_VERSION "8.4.20" /* PostgreSQL version as a string */ -#define PG_VERSION "8.4.17" +#define PG_VERSION "8.4.20" /* PostgreSQL version as a number */ -#define PG_VERSION_NUM 80417 +#define PG_VERSION_NUM 80420 /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "postgresql" diff -Nru postgresql-8.4-8.4.17/src/include/pgtime.h postgresql-8.4-8.4.20/src/include/pgtime.h --- postgresql-8.4-8.4.17/src/include/pgtime.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/pgtime.h 2014-02-17 19:44:07.000000000 +0000 @@ -55,6 +55,8 @@ extern void pg_timezone_pre_initialize(void); extern void pg_timezone_initialize(void); extern pg_tz *pg_tzset(const char *tzname); +extern pg_tz *pg_tzset_offset(long gmtoffset); + extern bool tz_acceptable(pg_tz *tz); extern bool pg_get_timezone_offset(const pg_tz *tz, long int *gmtoff); extern const char *pg_get_timezone_name(pg_tz *tz); diff -Nru postgresql-8.4-8.4.17/src/include/regex/regerrs.h postgresql-8.4-8.4.20/src/include/regex/regerrs.h --- postgresql-8.4-8.4.17/src/include/regex/regerrs.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/regex/regerrs.h 2014-02-17 19:44:07.000000000 +0000 @@ -77,3 +77,7 @@ { REG_ETOOBIG, "REG_ETOOBIG", "nfa has too many states" }, + +{ + REG_ECOLORS, "REG_ECOLORS", "too many colors" +}, diff -Nru postgresql-8.4-8.4.17/src/include/regex/regex.h postgresql-8.4-8.4.20/src/include/regex/regex.h --- postgresql-8.4-8.4.17/src/include/regex/regex.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/regex/regex.h 2014-02-17 19:44:07.000000000 +0000 @@ -152,6 +152,7 @@ #define REG_MIXED 17 /* character widths of regex and string differ */ #define REG_BADOPT 18 /* invalid embedded option */ #define REG_ETOOBIG 19 /* nfa has too many states */ +#define REG_ECOLORS 20 /* too many colors */ /* two specials for debugging and testing */ #define REG_ATOI 101 /* convert error-code name to number */ #define REG_ITOA 102 /* convert error-code number to name */ diff -Nru postgresql-8.4-8.4.17/src/include/regex/regguts.h postgresql-8.4-8.4.20/src/include/regex/regguts.h --- postgresql-8.4-8.4.17/src/include/regex/regguts.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/regex/regguts.h 2014-02-17 19:44:07.000000000 +0000 @@ -148,6 +148,7 @@ typedef short color; /* colors of characters */ typedef int pcolor; /* what color promotes to */ +#define MAX_COLOR 32767 /* max color (must fit in 'color' datatype) */ #define COLORLESS (-1) /* impossible color */ #define WHITE 0 /* default color, parent of all others */ diff -Nru postgresql-8.4-8.4.17/src/include/tcop/utility.h postgresql-8.4-8.4.20/src/include/tcop/utility.h --- postgresql-8.4-8.4.17/src/include/tcop/utility.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/tcop/utility.h 2014-02-17 19:44:07.000000000 +0000 @@ -31,6 +31,6 @@ extern bool CommandIsReadOnly(Node *parsetree); -extern void CheckRelationOwnership(RangeVar *rel, bool noCatalogs); +extern void CheckRelationOwnership(Oid relOid, bool noCatalogs); #endif /* UTILITY_H */ diff -Nru postgresql-8.4-8.4.17/src/include/tsearch/ts_type.h postgresql-8.4-8.4.20/src/include/tsearch/ts_type.h --- postgresql-8.4-8.4.17/src/include/tsearch/ts_type.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/tsearch/ts_type.h 2014-02-17 19:44:07.000000000 +0000 @@ -13,6 +13,7 @@ #define _PG_TSTYPE_H_ #include "fmgr.h" +#include "utils/memutils.h" #include "utils/pg_crc.h" @@ -242,6 +243,8 @@ * QueryItems, and lenofoperand is the total length of all operands */ #define COMPUTESIZE(size, lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) ) +#define TSQUERY_TOO_BIG(size, lenofoperand) \ + ((size) > (MaxAllocSize - HDRSIZETQ - (lenofoperand)) / sizeof(QueryItem)) /* Returns a pointer to the first QueryItem in a TSQuery */ #define GETQUERY(x) ((QueryItem*)( (char*)(x)+HDRSIZETQ )) diff -Nru postgresql-8.4-8.4.17/src/include/utils/datetime.h postgresql-8.4-8.4.20/src/include/utils/datetime.h --- postgresql-8.4-8.4.17/src/include/utils/datetime.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/utils/datetime.h 2014-02-17 19:44:07.000000000 +0000 @@ -188,12 +188,17 @@ #define DTK_DATE_M (DTK_M(YEAR) | DTK_M(MONTH) | DTK_M(DAY)) #define DTK_TIME_M (DTK_M(HOUR) | DTK_M(MINUTE) | DTK_ALL_SECS_M) -#define MAXDATELEN 63 /* maximum possible length of an input date - * string (not counting tr. null) */ -#define MAXDATEFIELDS 25 /* maximum possible number of fields in a date - * string */ -#define TOKMAXLEN 10 /* only this many chars are stored in - * datetktbl */ +/* + * Working buffer size for input and output of interval, timestamp, etc. + * Inputs that need more working space will be rejected early. Longer outputs + * will overrun buffers, so this must suffice for all possible output. As of + * this writing, interval_out() needs the most space at ~90 bytes. + */ +#define MAXDATELEN 128 +/* maximum possible number of fields in a date string */ +#define MAXDATEFIELDS 25 +/* only this many chars are stored in datetktbl */ +#define TOKMAXLEN 10 /* keep this struct small; it gets used a lot */ typedef struct diff -Nru postgresql-8.4-8.4.17/src/include/utils/varbit.h postgresql-8.4-8.4.20/src/include/utils/varbit.h --- postgresql-8.4-8.4.17/src/include/utils/varbit.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/include/utils/varbit.h 2014-02-17 19:44:07.000000000 +0000 @@ -15,6 +15,8 @@ #ifndef VARBIT_H #define VARBIT_H +#include + #include "fmgr.h" /* @@ -53,6 +55,11 @@ /* Number of bytes needed to store a bit string of a given length */ #define VARBITTOTALLEN(BITLEN) (((BITLEN) + BITS_PER_BYTE-1)/BITS_PER_BYTE + \ VARHDRSZ + VARBITHDRSZ) +/* + * Maximum number of bits. Several code sites assume no overflow from + * computing bitlen + X; VARBITTOTALLEN() has the largest such X. + */ +#define VARBITMAXLEN (INT_MAX - BITS_PER_BYTE + 1) /* pointer beyond the end of the bit string (like end() in STL containers) */ #define VARBITEND(PTR) (((bits8 *) (PTR)) + VARSIZE(PTR)) /* Mask that will cover exactly one byte, i.e. BITS_PER_BYTE bits */ diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/ecpglib/connect.c postgresql-8.4-8.4.20/src/interfaces/ecpg/ecpglib/connect.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/ecpglib/connect.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/ecpglib/connect.c 2014-02-17 19:44:07.000000000 +0000 @@ -326,7 +326,7 @@ if (dbname != NULL) { - /* get the detail information out of dbname */ + /* get the detail information from dbname */ if (strncmp(dbname, "tcp:", 4) == 0 || strncmp(dbname, "unix:", 5) == 0) { int offset = 0; @@ -345,7 +345,7 @@ /*------ * new style: * :postgresql://server[:port|:/unixsocket/path:] - * [/db name][?options] + * [/db-name][?options] *------ */ offset += strlen("postgresql://"); @@ -420,8 +420,10 @@ } } else - host = ecpg_strdup(dbname + offset, lineno); - + { + if (*(dbname + offset) != '\0') + host = ecpg_strdup(dbname + offset, lineno); + } } } else diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/ecpglib/data.c postgresql-8.4-8.4.20/src/interfaces/ecpg/ecpglib/data.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/ecpglib/data.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/ecpglib/data.c 2014-02-17 19:44:07.000000000 +0000 @@ -450,15 +450,15 @@ { case ECPGt_short: case ECPGt_unsigned_short: - *((short *) (ind + offset * act_tuple)) = variable->len; + *((short *) (ind + ind_offset * act_tuple)) = variable->len; break; case ECPGt_int: case ECPGt_unsigned_int: - *((int *) (ind + offset * act_tuple)) = variable->len; + *((int *) (ind + ind_offset * act_tuple)) = variable->len; break; case ECPGt_long: case ECPGt_unsigned_long: - *((long *) (ind + offset * act_tuple)) = variable->len; + *((long *) (ind + ind_offset * act_tuple)) = variable->len; break; #ifdef HAVE_LONG_LONG_INT_64 case ECPGt_long_long: diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/datetime.c postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/datetime.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/datetime.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/datetime.c 2014-02-17 19:44:07.000000000 +0000 @@ -61,14 +61,14 @@ int nf; char *field[MAXDATEFIELDS]; int ftype[MAXDATEFIELDS]; - char lowstr[MAXDATELEN + 1]; + char lowstr[MAXDATELEN + MAXDATEFIELDS]; char *realptr; char **ptr = (endptr != NULL) ? endptr : &realptr; bool EuroDates = FALSE; errno = 0; - if (strlen(str) >= sizeof(lowstr)) + if (strlen(str) > MAXDATELEN) { errno = PGTYPES_DATE_BAD_DATE; return INT_MIN; diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/dt_common.c postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/dt_common.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/dt_common.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/dt_common.c 2014-02-17 19:44:07.000000000 +0000 @@ -1143,15 +1143,22 @@ if ((cp = strchr(str, '.')) != NULL) { #ifdef HAVE_INT64_TIMESTAMP - char fstr[MAXDATELEN + 1]; + char fstr[7]; + int i; + + cp++; /* * OK, we have at most six digits to care about. Let's construct a - * string and then do the conversion to an integer. + * string with those digits, zero-padded on the right, and then do + * the conversion to an integer. + * + * XXX This truncates the seventh digit, unlike rounding it as do + * the backend and the !HAVE_INT64_TIMESTAMP case. */ - strcpy(fstr, (cp + 1)); - strcpy(fstr + strlen(fstr), "000000"); - *(fstr + 6) = '\0'; + for (i = 0; i < 6; i++) + fstr[i] = *cp != '\0' ? *cp++ : '0'; + fstr[i] = '\0'; *fsec = strtol(fstr, NULL, 10); #else *fsec = strtod(cp, NULL); @@ -1503,15 +1510,22 @@ else if (*cp == '.') { #ifdef HAVE_INT64_TIMESTAMP - char fstr[MAXDATELEN + 1]; + char fstr[7]; + int i; + + cp++; /* - * OK, we have at most six digits to work with. Let's construct a - * string and then do the conversion to an integer. + * OK, we have at most six digits to care about. Let's construct a + * string with those digits, zero-padded on the right, and then do + * the conversion to an integer. + * + * XXX This truncates the seventh digit, unlike rounding it as do + * the backend and the !HAVE_INT64_TIMESTAMP case. */ - strncpy(fstr, (cp + 1), 7); - strcpy(fstr + strlen(fstr), "000000"); - *(fstr + 6) = '\0'; + for (i = 0; i < 6; i++) + fstr[i] = *cp != '\0' ? *cp++ : '0'; + fstr[i] = '\0'; *fsec = strtol(fstr, &cp, 10); #else str = cp; @@ -1637,6 +1651,9 @@ * DTK_NUMBER can hold date fields (yy.ddd) * DTK_STRING can hold months (January) and time zones (PST) * DTK_DATE can hold Posix time zones (GMT-8) + * + * The "lowstr" work buffer must have at least strlen(timestr) + MAXDATEFIELDS + * bytes of space. On output, field[] entries will point into it. */ int ParseDateTime(char *timestr, char *lowstr, @@ -1649,7 +1666,10 @@ /* outer loop through fields */ while (*(*endstr) != '\0') { + /* Record start of current field */ field[nf] = lp; + if (nf >= MAXDATEFIELDS) + return -1; /* leading digit? then date or time */ if (isdigit((unsigned char) *(*endstr))) @@ -1790,8 +1810,6 @@ /* force in a delimiter after each field */ *lp++ = '\0'; nf++; - if (nf > MAXDATEFIELDS) - return -1; } *numfields = nf; diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/dt.h postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/dt.h --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/dt.h 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/dt.h 2014-02-17 19:44:07.000000000 +0000 @@ -192,12 +192,17 @@ #define DTK_DATE_M (DTK_M(YEAR) | DTK_M(MONTH) | DTK_M(DAY)) #define DTK_TIME_M (DTK_M(HOUR) | DTK_M(MINUTE) | DTK_M(SECOND)) -#define MAXDATELEN 63 /* maximum possible length of an input date - * string (not counting tr. null) */ -#define MAXDATEFIELDS 25 /* maximum possible number of fields in a date - * string */ -#define TOKMAXLEN 10 /* only this many chars are stored in - * datetktbl */ +/* + * Working buffer size for input and output of interval, timestamp, etc. + * Inputs that need more working space will be rejected early. Longer outputs + * will overrun buffers, so this must suffice for all possible output. As of + * this writing, PGTYPESinterval_to_asc() needs the most space at ~90 bytes. + */ +#define MAXDATELEN 128 +/* maximum possible number of fields in a date string */ +#define MAXDATEFIELDS 25 +/* only this many chars are stored in datetktbl */ +#define TOKMAXLEN 10 /* keep this struct small; it gets used a lot */ typedef struct diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/interval.c postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/interval.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/interval.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/interval.c 2014-02-17 19:44:07.000000000 +0000 @@ -1092,7 +1092,7 @@ tm->tm_sec = 0; fsec = 0; - if (strlen(str) >= sizeof(lowstr)) + if (strlen(str) > MAXDATELEN) { errno = PGTYPES_INTVL_BAD_INTERVAL; return NULL; diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/numeric.c postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/numeric.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/numeric.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/numeric.c 2014-02-17 19:44:07.000000000 +0000 @@ -402,14 +402,18 @@ numeric *numcopy = PGTYPESnumeric_new(); char *s; - if (dscale < 0) - dscale = num->dscale; + if (numcopy == NULL) + return NULL; if (PGTYPESnumeric_copy(num, numcopy) < 0) { PGTYPESnumeric_free(numcopy); return NULL; } + + if (dscale < 0) + dscale = num->dscale; + /* get_str_from_var may change its argument */ s = get_str_from_var(numcopy, dscale); PGTYPESnumeric_free(numcopy); @@ -1493,6 +1497,9 @@ char *endptr; numeric *varcopy = PGTYPESnumeric_new(); + if (varcopy == NULL) + return -1; + if (PGTYPESnumeric_copy(var, varcopy) < 0) { PGTYPESnumeric_free(varcopy); diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/timestamp.c postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/timestamp.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/pgtypeslib/timestamp.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/pgtypeslib/timestamp.c 2014-02-17 19:44:07.000000000 +0000 @@ -257,6 +257,8 @@ *tzn = NULL; } + tm->tm_yday = dDate - date2j(tm->tm_year, 1, 1) + 1; + return 0; } /* timestamp2tm() */ @@ -297,7 +299,7 @@ char *realptr; char **ptr = (endptr != NULL) ? endptr : &realptr; - if (strlen(str) >= sizeof(lowstr)) + if (strlen(str) > MAXDATELEN) { errno = PGTYPES_TS_BAD_TIMESTAMP; return (noresult); diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/ecpg.trailer postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/ecpg.trailer --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/ecpg.trailer 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/ecpg.trailer 2014-02-17 19:44:07.000000000 +0000 @@ -799,7 +799,12 @@ variable_list: variable { $$ = $1; } | variable_list ',' variable - { $$ = cat_str(3, $1, make_str(","), $3); } + { + if (actual_type[struct_level].type_enum == ECPGt_varchar) + $$ = cat_str(3, $1, make_str(";"), $3); + else + $$ = cat_str(3, $1, make_str(","), $3); + } ; variable: opt_pointer ECPGColLabel opt_array_bounds opt_bit_field opt_initializer diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/output.c postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/output.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/output.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/output.c 2014-02-17 19:44:07.000000000 +0000 @@ -95,9 +95,22 @@ #endif ) { - char *line = mm_alloc(strlen("\n#line %d \"%s\"\n") + sizeof(int) * CHAR_BIT * 10 / 3 + strlen(input_filename)); + /* "* 2" here is for escaping '\' and '"' below */ + char *line = mm_alloc(strlen("\n#line %d \"%s\"\n") + sizeof(int) * CHAR_BIT * 10 / 3 + strlen(input_filename) * 2); + char *src, + *dest; - sprintf(line, "\n#line %d \"%s\"\n", yylineno, input_filename); + sprintf(line, "\n#line %d \"", yylineno); + src = input_filename; + dest = line + strlen(line); + while (*src) + { + if (*src == '\\' || *src == '"') + *dest++ = '\\'; + *dest++ = *src++; + } + *dest = '\0'; + strcat(dest, "\"\n"); return line; } diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/pgc.c postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/pgc.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/pgc.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/pgc.c 2014-02-17 20:07:39.000000000 +0000 @@ -4745,7 +4745,7 @@ yytext[i] = '\0'; memmove(yytext, yytext+1, strlen(yytext)); - strncpy(inc_file, yytext, sizeof(inc_file)); + strlcpy(inc_file, yytext, sizeof(inc_file)); yyin = fopen(inc_file, "r"); if (!yyin) { diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/pgc.l postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/pgc.l --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/pgc.l 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/pgc.l 2014-02-17 19:44:07.000000000 +0000 @@ -1270,7 +1270,7 @@ yytext[i] = '\0'; memmove(yytext, yytext+1, strlen(yytext)); - strncpy(inc_file, yytext, sizeof(inc_file)); + strlcpy(inc_file, yytext, sizeof(inc_file)); yyin = fopen(inc_file, "r"); if (!yyin) { diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.c postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.c 2014-02-17 20:07:39.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,7 +73,7 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 5 "preproc.y" #include "postgres_fe.h" @@ -451,8 +449,8 @@ } -/* Line 189 of yacc.c */ -#line 456 "preproc.c" +/* Line 268 of yacc.c */ +#line 454 "preproc.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -971,7 +969,7 @@ typedef union YYSTYPE { -/* Line 214 of yacc.c */ +/* Line 293 of yacc.c */ #line 383 "preproc.y" double dval; @@ -989,8 +987,8 @@ -/* Line 214 of yacc.c */ -#line 994 "preproc.c" +/* Line 293 of yacc.c */ +#line 992 "preproc.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -1014,8 +1012,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 1019 "preproc.c" +/* Line 343 of yacc.c */ +#line 1017 "preproc.c" #ifdef short # undef short @@ -1065,7 +1063,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -1118,11 +1116,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -1145,24 +1143,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -1193,23 +1191,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ + 2 * YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -1229,6 +1211,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 3 /* YYLAST -- Last index in YYTABLE. */ @@ -2581,40 +2583,40 @@ 11496, 11500, 11504, 11503, 11554, 11556, 11555, 11570, 11576, 11583, 11588, 11591, 11592, 11595, 11596, 11597, 11598, 11599, 11600, 11601, 11609, 11617, 11620, 11621, 11622, 11623, 11624, 11625, 11633, 11641, - 11642, 11643, 11646, 11647, 11650, 11652, 11656, 11742, 11743, 11750, - 11751, 11752, 11758, 11767, 11770, 11771, 11772, 11773, 11776, 11777, - 11778, 11781, 11783, 11791, 11792, 11798, 11800, 11801, 11804, 11805, - 11808, 11815, 11822, 11822, 11824, 11824, 11826, 11833, 11834, 11837, - 11838, 11839, 11840, 11841, 11842, 11843, 11844, 11845, 11851, 11858, - 11865, 11874, 11875, 11887, 11898, 11909, 11913, 11914, 11917, 11922, - 11926, 11927, 11930, 11936, 11944, 11947, 11954, 11958, 11959, 11962, - 11965, 11969, 11970, 11973, 11979, 11987, 11988, 11997, 12006, 12018, - 12019, 12020, 12021, 12022, 12023, 12024, 12025, 12026, 12027, 12028, - 12029, 12030, 12031, 12032, 12039, 12040, 12043, 12044, 12051, 12052, - 12053, 12060, 12059, 12076, 12077, 12084, 12083, 12152, 12158, 12164, - 12172, 12178, 12184, 12190, 12196, 12202, 12208, 12214, 12220, 12231, - 12232, 12235, 12236, 12237, 12238, 12239, 12240, 12241, 12242, 12243, - 12244, 12245, 12246, 12247, 12248, 12249, 12250, 12251, 12252, 12253, - 12254, 12255, 12256, 12257, 12258, 12261, 12262, 12263, 12264, 12265, - 12266, 12270, 12271, 12272, 12273, 12274, 12275, 12276, 12279, 12282, - 12283, 12284, 12285, 12286, 12287, 12288, 12289, 12302, 12303, 12304, - 12305, 12306, 12307, 12308, 12313, 12314, 12315, 12316, 12317, 12318, - 12324, 12325, 12326, 12327, 12328, 12329, 12330, 12331, 12332, 12333, - 12334, 12337, 12338, 12339, 12340, 12341, 12344, 12345, 12346, 12347, - 12350, 12351, 12352, 12353, 12354, 12355, 12356, 12373, 12374, 12375, - 12378, 12379, 12380, 12381, 12382, 12383, 12387, 12387, 12390, 12396, - 12397, 12400, 12402, 12407, 12417, 12424, 12425, 12426, 12429, 12462, - 12464, 12466, 12469, 12479, 12489, 12499, 12500, 12503, 12505, 12506, - 12507, 12510, 12512, 12520, 12521, 12522, 12526, 12527, 12531, 12532, - 12535, 12536, 12539, 12540, 12541, 12542, 12543, 12546, 12547, 12548, - 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, - 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, - 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, - 12579, 12580, 12581, 12582, 12583, 12584, 12585, 12586, 12587, 12588, - 12589, 12590, 12591, 12592, 12593, 12594, 12595, 12596, 12597, 12598, - 12599, 12600, 12601, 12604, 12605, 12606, 12607, 12610, 12611, 12612, - 12613, 12614, 12615, 12616, 12617, 12618, 12621, 12622, 12623, 12624, - 12625, 12628, 12629 + 11642, 11643, 11646, 11647, 11650, 11652, 11661, 11747, 11748, 11755, + 11756, 11757, 11763, 11772, 11775, 11776, 11777, 11778, 11781, 11782, + 11783, 11786, 11788, 11796, 11797, 11803, 11805, 11806, 11809, 11810, + 11813, 11820, 11827, 11827, 11829, 11829, 11831, 11838, 11839, 11842, + 11843, 11844, 11845, 11846, 11847, 11848, 11849, 11850, 11856, 11863, + 11870, 11879, 11880, 11892, 11903, 11914, 11918, 11919, 11922, 11927, + 11931, 11932, 11935, 11941, 11949, 11952, 11959, 11963, 11964, 11967, + 11970, 11974, 11975, 11978, 11984, 11992, 11993, 12002, 12011, 12023, + 12024, 12025, 12026, 12027, 12028, 12029, 12030, 12031, 12032, 12033, + 12034, 12035, 12036, 12037, 12044, 12045, 12048, 12049, 12056, 12057, + 12058, 12065, 12064, 12081, 12082, 12089, 12088, 12157, 12163, 12169, + 12177, 12183, 12189, 12195, 12201, 12207, 12213, 12219, 12225, 12236, + 12237, 12240, 12241, 12242, 12243, 12244, 12245, 12246, 12247, 12248, + 12249, 12250, 12251, 12252, 12253, 12254, 12255, 12256, 12257, 12258, + 12259, 12260, 12261, 12262, 12263, 12266, 12267, 12268, 12269, 12270, + 12271, 12275, 12276, 12277, 12278, 12279, 12280, 12281, 12284, 12287, + 12288, 12289, 12290, 12291, 12292, 12293, 12294, 12307, 12308, 12309, + 12310, 12311, 12312, 12313, 12318, 12319, 12320, 12321, 12322, 12323, + 12329, 12330, 12331, 12332, 12333, 12334, 12335, 12336, 12337, 12338, + 12339, 12342, 12343, 12344, 12345, 12346, 12349, 12350, 12351, 12352, + 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12378, 12379, 12380, + 12383, 12384, 12385, 12386, 12387, 12388, 12392, 12392, 12395, 12401, + 12402, 12405, 12407, 12412, 12422, 12429, 12430, 12431, 12434, 12467, + 12469, 12471, 12474, 12484, 12494, 12504, 12505, 12508, 12510, 12511, + 12512, 12515, 12517, 12525, 12526, 12527, 12531, 12532, 12536, 12537, + 12540, 12541, 12544, 12545, 12546, 12547, 12548, 12551, 12552, 12553, + 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, + 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, + 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, + 12584, 12585, 12586, 12587, 12588, 12589, 12590, 12591, 12592, 12593, + 12594, 12595, 12596, 12597, 12598, 12599, 12600, 12601, 12602, 12603, + 12604, 12605, 12606, 12609, 12610, 12611, 12612, 12615, 12616, 12617, + 12618, 12619, 12620, 12621, 12622, 12623, 12626, 12627, 12628, 12629, + 12630, 12633, 12634 }; #endif @@ -3432,8 +3434,8 @@ 1, 2, 1 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint16 yydefact[] = { @@ -4434,8 +4436,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -2299 static const yytype_int16 yytable[] = { @@ -12990,6 +12991,12 @@ 0, 0, 0, 0, 55 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-3839)) + +#define yytable_value_is_error(yytable_value) \ + ((yytable_value) == (-2299)) + static const yytype_int16 yycheck[] = { 2, 1052, 244, 816, 1097, 165, 117, 948, 949, 2, @@ -21987,9 +21994,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -21999,7 +22015,6 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ @@ -22046,7 +22061,7 @@ we won't break user code: when these are the locations we know. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL +# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL # define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ @@ -22251,7 +22266,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -22354,115 +22368,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -22497,6 +22538,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -22526,10 +22568,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -22553,8 +22594,6 @@ #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -22583,7 +22622,7 @@ YYLTYPE *yylsp; /* The locations where the error started and ended. */ - YYLTYPE yyerror_range[2]; + YYLTYPE yyerror_range[3]; YYSIZE_T yystacksize; @@ -22630,7 +22669,7 @@ yyvsp = yyvs; yylsp = yyls; -#if YYLTYPE_IS_TRIVIAL +#if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL /* Initialize the default location before parsing starts. */ yylloc.first_line = yylloc.last_line = 1; yylloc.first_column = yylloc.last_column = 1; @@ -22732,7 +22771,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -22763,8 +22802,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -22820,147 +22859,147 @@ { case 3: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1192 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 4: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1194 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 5: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1196 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 6: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1198 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 7: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1200 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 8: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1202 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 9: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1204 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 10: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1206 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 11: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1208 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 12: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1210 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 13: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1212 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 14: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1214 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 15: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1216 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 16: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1218 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 17: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1220 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 18: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1222 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 19: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1224 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 20: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1226 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 21: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1228 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 22: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1230 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 23: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1232 "preproc.y" { if (INFORMIX_MODE) @@ -22978,587 +23017,587 @@ } output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); - ;} + } break; case 24: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1250 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 25: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1252 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 26: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1254 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 27: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1256 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 28: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1258 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 29: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1260 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 30: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1262 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 31: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1264 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 32: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1266 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 33: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1268 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 34: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1270 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 35: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1272 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 36: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1274 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 37: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1276 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 38: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1278 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 39: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1280 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 40: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1282 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 41: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1284 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 42: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1286 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 43: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1288 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 44: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1290 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 45: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1292 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 46: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1294 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 47: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1296 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 48: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1298 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 49: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1300 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 50: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1302 "preproc.y" { output_deallocate_prepare_statement((yyvsp[(1) - (1)].str)); - ;} + } break; case 51: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1306 "preproc.y" - { output_simple_statement((yyvsp[(1) - (1)].str)); ;} + { output_simple_statement((yyvsp[(1) - (1)].str)); } break; case 52: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1308 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 53: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1310 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 54: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1312 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 55: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1314 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 56: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1316 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 57: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1318 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 58: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1320 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 59: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1322 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 60: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1324 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 61: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1326 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 62: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1328 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 63: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1330 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 64: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1332 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 65: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1334 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 66: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1336 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 67: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1338 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 68: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1340 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 69: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1342 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 70: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1344 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 71: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1346 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 72: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1348 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_execute); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_execute); } break; case 73: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1350 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 74: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1352 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 75: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1354 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 76: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1356 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 77: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1358 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 78: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1360 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 79: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1362 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 80: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1364 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 81: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1366 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 82: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1368 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 83: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1370 "preproc.y" { if ((yyvsp[(1) - (1)].prep).type == NULL || strlen((yyvsp[(1) - (1)].prep).type) == 0) output_prepare_statement((yyvsp[(1) - (1)].prep).name, (yyvsp[(1) - (1)].prep).stmt); else output_statement(cat_str(5, make_str("prepare"), (yyvsp[(1) - (1)].prep).name, (yyvsp[(1) - (1)].prep).type, make_str("as"), (yyvsp[(1) - (1)].prep).stmt), 0, ECPGst_normal); - ;} + } break; case 84: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1377 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 85: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1379 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 86: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1381 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 87: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1383 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 88: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1385 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 89: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1387 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 90: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1389 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 91: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1391 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 92: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1393 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 93: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1395 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 94: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1397 "preproc.y" { fprintf(yyout, "{ ECPGtrans(__LINE__, %s, \"%s\");", connection ? connection : "NULL", (yyvsp[(1) - (1)].str)); whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 95: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1403 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 96: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1405 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 97: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1407 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 1, ECPGst_normal); } break; case 98: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1409 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 99: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1411 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 100: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1413 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 101: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1415 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 102: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1417 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_normal); } break; case 103: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1419 "preproc.y" { fprintf(yyout,"ECPGallocate_desc(__LINE__, %s);",(yyvsp[(1) - (1)].str)); whenever_action(0); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 104: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1425 "preproc.y" { if (connection) @@ -23568,41 +23607,41 @@ reset_variables(); whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1435 "preproc.y" { output_simple_statement((yyvsp[(1) - (1)].str)); - ;} + } break; case 106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1439 "preproc.y" { fprintf(yyout,"ECPGdeallocate_desc(__LINE__, %s);",(yyvsp[(1) - (1)].str)); whenever_action(0); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1445 "preproc.y" { output_simple_statement((yyvsp[(1) - (1)].str)); - ;} + } break; case 108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1449 "preproc.y" { fprintf(yyout, "{ ECPGdescribe(__LINE__, %s,", (yyvsp[(1) - (1)].str)); @@ -23612,12 +23651,12 @@ output_line_number(); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1459 "preproc.y" { if (connection) @@ -23627,19 +23666,19 @@ (yyvsp[(1) - (1)].str) ? (yyvsp[(1) - (1)].str) : "\"CURRENT\""); whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1468 "preproc.y" - { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_exec_immediate); ;} + { output_statement((yyvsp[(1) - (1)].str), 0, ECPGst_exec_immediate); } break; case 111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1470 "preproc.y" { const char *con = connection ? connection : "NULL"; @@ -23650,35 +23689,35 @@ whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1481 "preproc.y" { lookup_descriptor((yyvsp[(1) - (1)].descriptor).name, connection); output_get_descr((yyvsp[(1) - (1)].descriptor).name, (yyvsp[(1) - (1)].descriptor).str); free((yyvsp[(1) - (1)].descriptor).name); free((yyvsp[(1) - (1)].descriptor).str); - ;} + } break; case 113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1488 "preproc.y" { lookup_descriptor((yyvsp[(1) - (1)].str), connection); output_get_descr_header((yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1494 "preproc.y" { struct cursor *ptr; @@ -23689,23 +23728,23 @@ output_statement(mm_strdup(ptr->command), 0, 0); ptr->opened = true; } - ;} + } break; case 115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1505 "preproc.y" { fprintf(yyout, "{ ECPGsetcommit(__LINE__, \"%s\", %s);", (yyvsp[(1) - (1)].str), connection ? connection : "NULL"); whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1511 "preproc.y" { if (connection) @@ -23714,35 +23753,35 @@ fprintf(yyout, "{ ECPGsetconn(__LINE__, %s);", (yyvsp[(1) - (1)].str)); whenever_action(2); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1520 "preproc.y" { lookup_descriptor((yyvsp[(1) - (1)].descriptor).name, connection); output_set_descr((yyvsp[(1) - (1)].descriptor).name, (yyvsp[(1) - (1)].descriptor).str); free((yyvsp[(1) - (1)].descriptor).name); free((yyvsp[(1) - (1)].descriptor).str); - ;} + } break; case 118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1527 "preproc.y" { lookup_descriptor((yyvsp[(1) - (1)].str), connection); output_set_descr_header((yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); - ;} + } break; case 119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1533 "preproc.y" { if (connection) @@ -23751,760 +23790,760 @@ fprintf(yyout, "%s", (yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); output_line_number(); - ;} + } break; case 120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1542 "preproc.y" { if (connection) mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in VAR statement"); output_simple_statement((yyvsp[(1) - (1)].str)); - ;} + } break; case 121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1549 "preproc.y" { if (connection) mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in WHENEVER statement"); output_simple_statement((yyvsp[(1) - (1)].str)); - ;} + } break; case 122: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1556 "preproc.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 123: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1562 "preproc.y" { (yyval.str) = cat_str(4,make_str("create role"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1570 "preproc.y" { (yyval.str) = make_str("with"); -;} +} break; case 125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1574 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 126: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1581 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 127: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1585 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 128: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1592 "preproc.y" { (yyval.str) = cat_str(2,make_str("password"),(yyvsp[(2) - (2)].str)); -;} +} break; case 129: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1596 "preproc.y" { (yyval.str) = make_str("password null"); -;} +} break; case 130: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1600 "preproc.y" { (yyval.str) = cat_str(2,make_str("encrypted password"),(yyvsp[(3) - (3)].str)); -;} +} break; case 131: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1604 "preproc.y" { (yyval.str) = cat_str(2,make_str("unencrypted password"),(yyvsp[(3) - (3)].str)); -;} +} break; case 132: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1608 "preproc.y" { (yyval.str) = make_str("superuser"); -;} +} break; case 133: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1612 "preproc.y" { (yyval.str) = make_str("nosuperuser"); -;} +} break; case 134: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1616 "preproc.y" { (yyval.str) = make_str("inherit"); -;} +} break; case 135: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1620 "preproc.y" { (yyval.str) = make_str("noinherit"); -;} +} break; case 136: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1624 "preproc.y" { (yyval.str) = make_str("createdb"); -;} +} break; case 137: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1628 "preproc.y" { (yyval.str) = make_str("nocreatedb"); -;} +} break; case 138: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1632 "preproc.y" { (yyval.str) = make_str("createrole"); -;} +} break; case 139: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1636 "preproc.y" { (yyval.str) = make_str("nocreaterole"); -;} +} break; case 140: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1640 "preproc.y" { (yyval.str) = make_str("createuser"); -;} +} break; case 141: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1644 "preproc.y" { (yyval.str) = make_str("nocreateuser"); -;} +} break; case 142: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1648 "preproc.y" { (yyval.str) = make_str("login"); -;} +} break; case 143: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1652 "preproc.y" { (yyval.str) = make_str("nologin"); -;} +} break; case 144: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1656 "preproc.y" { (yyval.str) = cat_str(2,make_str("connection limit"),(yyvsp[(3) - (3)].str)); -;} +} break; case 145: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1660 "preproc.y" { (yyval.str) = cat_str(2,make_str("valid until"),(yyvsp[(3) - (3)].str)); -;} +} break; case 146: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1664 "preproc.y" { (yyval.str) = cat_str(2,make_str("user"),(yyvsp[(2) - (2)].str)); -;} +} break; case 147: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1668 "preproc.y" { (yyval.str) = cat_str(2,make_str("sysid"),(yyvsp[(2) - (2)].str)); -;} +} break; case 148: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1672 "preproc.y" { (yyval.str) = cat_str(2,make_str("admin"),(yyvsp[(2) - (2)].str)); -;} +} break; case 149: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1676 "preproc.y" { (yyval.str) = cat_str(2,make_str("role"),(yyvsp[(2) - (2)].str)); -;} +} break; case 150: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1680 "preproc.y" { (yyval.str) = cat_str(2,make_str("in role"),(yyvsp[(3) - (3)].str)); -;} +} break; case 151: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1684 "preproc.y" { (yyval.str) = cat_str(2,make_str("in group"),(yyvsp[(3) - (3)].str)); -;} +} break; case 152: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1692 "preproc.y" { (yyval.str) = cat_str(4,make_str("create user"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 153: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1700 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter role"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 154: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1708 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter role"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 155: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1716 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter user"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 156: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1724 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter user"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 157: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1732 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop role"),(yyvsp[(3) - (3)].str)); -;} +} break; case 158: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1736 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop role if exists"),(yyvsp[(5) - (5)].str)); -;} +} break; case 159: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1744 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop user"),(yyvsp[(3) - (3)].str)); -;} +} break; case 160: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1748 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop user if exists"),(yyvsp[(5) - (5)].str)); -;} +} break; case 161: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1756 "preproc.y" { (yyval.str) = cat_str(4,make_str("create group"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 162: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1764 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter group"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),make_str("user"),(yyvsp[(6) - (6)].str)); -;} +} break; case 163: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1772 "preproc.y" { (yyval.str) = make_str("add"); -;} +} break; case 164: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1776 "preproc.y" { (yyval.str) = make_str("drop"); -;} +} break; case 165: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1784 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop group"),(yyvsp[(3) - (3)].str)); -;} +} break; case 166: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1788 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop group if exists"),(yyvsp[(5) - (5)].str)); -;} +} break; case 167: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1796 "preproc.y" { (yyval.str) = cat_str(5,make_str("create schema"),(yyvsp[(3) - (6)].str),make_str("authorization"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 168: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1800 "preproc.y" { (yyval.str) = cat_str(3,make_str("create schema"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 169: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1808 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 170: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1812 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 171: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1819 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 172: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1823 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 173: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1830 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 174: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1834 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 175: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1838 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 176: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1842 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 177: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1846 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 178: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1850 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 179: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1858 "preproc.y" { (yyval.str) = cat_str(2,make_str("set"),(yyvsp[(2) - (2)].str)); -;} +} break; case 180: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1862 "preproc.y" { (yyval.str) = cat_str(2,make_str("set local"),(yyvsp[(3) - (3)].str)); -;} +} break; case 181: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1866 "preproc.y" { (yyval.str) = cat_str(2,make_str("set session"),(yyvsp[(3) - (3)].str)); -;} +} break; case 182: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1874 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("to"),(yyvsp[(3) - (3)].str)); -;} +} break; case 183: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1878 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 184: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1882 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("to default")); -;} +} break; case 185: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1886 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("= default")); -;} +} break; case 186: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1890 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("from current")); -;} +} break; case 187: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1894 "preproc.y" { (yyval.str) = cat_str(2,make_str("time zone"),(yyvsp[(3) - (3)].str)); -;} +} break; case 188: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1898 "preproc.y" { (yyval.str) = cat_str(2,make_str("transaction"),(yyvsp[(2) - (2)].str)); -;} +} break; case 189: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1902 "preproc.y" { (yyval.str) = cat_str(2,make_str("session characteristics as transaction"),(yyvsp[(5) - (5)].str)); -;} +} break; case 190: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1906 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = cat_str(2,make_str("catalog"),(yyvsp[(2) - (2)].str)); -;} +} break; case 191: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1911 "preproc.y" { (yyval.str) = cat_str(2,make_str("schema"),(yyvsp[(2) - (2)].str)); -;} +} break; case 192: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1915 "preproc.y" { (yyval.str) = cat_str(2,make_str("names"),(yyvsp[(2) - (2)].str)); -;} +} break; case 193: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1919 "preproc.y" { (yyval.str) = cat_str(2,make_str("role"),(yyvsp[(2) - (2)].str)); -;} +} break; case 194: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1923 "preproc.y" { (yyval.str) = cat_str(2,make_str("session authorization"),(yyvsp[(3) - (3)].str)); -;} +} break; case 195: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1927 "preproc.y" { (yyval.str) = make_str("session authorization default"); -;} +} break; case 196: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1931 "preproc.y" { (yyval.str) = cat_str(2,make_str("xml option"),(yyvsp[(3) - (3)].str)); -;} +} break; case 197: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1939 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 198: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1943 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("."),(yyvsp[(3) - (3)].str)); -;} +} break; case 199: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1951 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 200: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1955 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 201: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1963 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 202: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1967 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 203: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1971 "preproc.y" { if ((yyvsp[(1) - (1)].str)[0] == '$') @@ -24514,891 +24553,891 @@ } (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 204: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1985 "preproc.y" { (yyval.str) = make_str("read uncommitted"); -;} +} break; case 205: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1989 "preproc.y" { (yyval.str) = make_str("read committed"); -;} +} break; case 206: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1993 "preproc.y" { (yyval.str) = make_str("repeatable read"); -;} +} break; case 207: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1997 "preproc.y" { (yyval.str) = make_str("serializable"); -;} +} break; case 208: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2005 "preproc.y" { (yyval.str) = make_str("true"); -;} +} break; case 209: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2009 "preproc.y" { (yyval.str) = make_str("false"); -;} +} break; case 210: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2013 "preproc.y" { (yyval.str) = make_str("on"); -;} +} break; case 211: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2017 "preproc.y" { (yyval.str) = make_str("off"); -;} +} break; case 212: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2025 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 213: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2029 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 214: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2033 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 215: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2037 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (6)].str),make_str("("),(yyvsp[(3) - (6)].str),make_str(")"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 216: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2041 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 217: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2045 "preproc.y" { (yyval.str) = make_str("default"); -;} +} break; case 218: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2049 "preproc.y" { (yyval.str) = make_str("local"); -;} +} break; case 219: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2057 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 220: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2061 "preproc.y" { (yyval.str) = make_str("default"); -;} +} break; case 221: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2065 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 222: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2072 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 223: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2076 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 224: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2084 "preproc.y" { (yyval.str) = cat_str(2,make_str("reset"),(yyvsp[(2) - (2)].str)); -;} +} break; case 225: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2088 "preproc.y" { (yyval.str) = make_str("reset time zone"); -;} +} break; case 226: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2092 "preproc.y" { (yyval.str) = make_str("reset transaction isolation level"); -;} +} break; case 227: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2096 "preproc.y" { (yyval.str) = make_str("reset session authorization"); -;} +} break; case 228: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2100 "preproc.y" { (yyval.str) = make_str("reset all"); -;} +} break; case 229: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2108 "preproc.y" { (yyval.str) = cat_str(2,make_str("set"),(yyvsp[(2) - (2)].str)); -;} +} break; case 230: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2112 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 231: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2120 "preproc.y" { (yyval.str) = cat_str(2,make_str("show"),(yyvsp[(2) - (3)].str)); -;} +} break; case 232: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2124 "preproc.y" { (yyval.str) = make_str("show time zone"); -;} +} break; case 233: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2128 "preproc.y" { (yyval.str) = make_str("show transaction isolation level"); -;} +} break; case 234: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2132 "preproc.y" { (yyval.str) = make_str("show session authorization"); -;} +} break; case 235: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2136 "preproc.y" { mmerror(PARSE_ERROR, ET_ERROR, "SHOW ALL is not implemented"); (yyval.str) = EMPTY; - ;} + } break; case 236: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2145 "preproc.y" { (yyval.str) = cat_str(3,make_str("set constraints"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 237: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2153 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 238: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2157 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 239: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2165 "preproc.y" { (yyval.str) = make_str("deferred"); -;} +} break; case 240: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2169 "preproc.y" { (yyval.str) = make_str("immediate"); -;} +} break; case 241: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2177 "preproc.y" { (yyval.str) = make_str("checkpoint"); -;} +} break; case 242: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2185 "preproc.y" { (yyval.str) = make_str("discard all"); -;} +} break; case 243: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2189 "preproc.y" { (yyval.str) = make_str("discard temp"); -;} +} break; case 244: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2193 "preproc.y" { (yyval.str) = make_str("discard temporary"); -;} +} break; case 245: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2197 "preproc.y" { (yyval.str) = make_str("discard plans"); -;} +} break; case 246: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2205 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter table"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 247: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2209 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter index"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 248: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2213 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter sequence"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 249: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2217 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter view"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 250: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2225 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 251: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2229 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 252: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2237 "preproc.y" { (yyval.str) = cat_str(3,make_str("add"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 253: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2241 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 254: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2245 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter"),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),make_str("drop not null")); -;} +} break; case 255: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2249 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter"),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),make_str("set not null")); -;} +} break; case 256: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2253 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter"),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),make_str("set statistics"),(yyvsp[(6) - (6)].str)); -;} +} break; case 257: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2257 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter"),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),make_str("set storage"),(yyvsp[(6) - (6)].str)); -;} +} break; case 258: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2261 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 259: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2265 "preproc.y" { (yyval.str) = cat_str(7,make_str("alter"),(yyvsp[(2) - (7)].str),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("type"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 260: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2269 "preproc.y" { (yyval.str) = cat_str(2,make_str("add"),(yyvsp[(2) - (2)].str)); -;} +} break; case 261: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2273 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop constraint"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 262: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2277 "preproc.y" { (yyval.str) = make_str("set with oids"); -;} +} break; case 263: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2281 "preproc.y" { (yyval.str) = make_str("set without oids"); -;} +} break; case 264: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2285 "preproc.y" { (yyval.str) = cat_str(2,make_str("cluster on"),(yyvsp[(3) - (3)].str)); -;} +} break; case 265: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2289 "preproc.y" { (yyval.str) = make_str("set without cluster"); -;} +} break; case 266: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2293 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable trigger"),(yyvsp[(3) - (3)].str)); -;} +} break; case 267: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2297 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable always trigger"),(yyvsp[(4) - (4)].str)); -;} +} break; case 268: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2301 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable replica trigger"),(yyvsp[(4) - (4)].str)); -;} +} break; case 269: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2305 "preproc.y" { (yyval.str) = make_str("enable trigger all"); -;} +} break; case 270: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2309 "preproc.y" { (yyval.str) = make_str("enable trigger user"); -;} +} break; case 271: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2313 "preproc.y" { (yyval.str) = cat_str(2,make_str("disable trigger"),(yyvsp[(3) - (3)].str)); -;} +} break; case 272: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2317 "preproc.y" { (yyval.str) = make_str("disable trigger all"); -;} +} break; case 273: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2321 "preproc.y" { (yyval.str) = make_str("disable trigger user"); -;} +} break; case 274: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2325 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable rule"),(yyvsp[(3) - (3)].str)); -;} +} break; case 275: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2329 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable always rule"),(yyvsp[(4) - (4)].str)); -;} +} break; case 276: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2333 "preproc.y" { (yyval.str) = cat_str(2,make_str("enable replica rule"),(yyvsp[(4) - (4)].str)); -;} +} break; case 277: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2337 "preproc.y" { (yyval.str) = cat_str(2,make_str("disable rule"),(yyvsp[(3) - (3)].str)); -;} +} break; case 278: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2341 "preproc.y" { (yyval.str) = cat_str(2,make_str("inherit"),(yyvsp[(2) - (2)].str)); -;} +} break; case 279: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2345 "preproc.y" { (yyval.str) = cat_str(2,make_str("no inherit"),(yyvsp[(3) - (3)].str)); -;} +} break; case 280: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2349 "preproc.y" { (yyval.str) = cat_str(2,make_str("owner to"),(yyvsp[(3) - (3)].str)); -;} +} break; case 281: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2353 "preproc.y" { (yyval.str) = cat_str(2,make_str("set tablespace"),(yyvsp[(3) - (3)].str)); -;} +} break; case 282: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2357 "preproc.y" { (yyval.str) = cat_str(2,make_str("set"),(yyvsp[(2) - (2)].str)); -;} +} break; case 283: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2361 "preproc.y" { (yyval.str) = cat_str(2,make_str("reset"),(yyvsp[(2) - (2)].str)); -;} +} break; case 284: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2369 "preproc.y" { (yyval.str) = cat_str(2,make_str("set default"),(yyvsp[(3) - (3)].str)); -;} +} break; case 285: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2373 "preproc.y" { (yyval.str) = make_str("drop default"); -;} +} break; case 286: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2381 "preproc.y" { (yyval.str) = make_str("cascade"); -;} +} break; case 287: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2385 "preproc.y" { (yyval.str) = make_str("restrict"); -;} +} break; case 288: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2389 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 289: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2396 "preproc.y" { (yyval.str) = cat_str(2,make_str("using"),(yyvsp[(2) - (2)].str)); -;} +} break; case 290: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2400 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 291: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2407 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 292: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2415 "preproc.y" { (yyval.str) = cat_str(2,make_str("with"),(yyvsp[(2) - (2)].str)); -;} +} break; case 293: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2419 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 294: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2426 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 295: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2430 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 296: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2438 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 297: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2442 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 298: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2446 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("."),(yyvsp[(3) - (5)].str),make_str("="),(yyvsp[(5) - (5)].str)); -;} +} break; case 299: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2450 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("."),(yyvsp[(3) - (3)].str)); -;} +} break; case 300: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2458 "preproc.y" { (yyval.str) = cat_str(2,make_str("close"),(yyvsp[(2) - (2)].str)); -;} +} break; case 301: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2462 "preproc.y" { (yyval.str) = make_str("close all"); -;} +} break; case 302: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2470 "preproc.y" { if (strcmp((yyvsp[(6) - (10)].str), "to") == 0 && strcmp((yyvsp[(7) - (10)].str), "stdin") == 0) @@ -25409,3289 +25448,3289 @@ mmerror(PARSE_ERROR, ET_WARNING, "COPY FROM STDIN is not implemented"); (yyval.str) = cat_str(10,make_str("copy"),(yyvsp[(2) - (10)].str),(yyvsp[(3) - (10)].str),(yyvsp[(4) - (10)].str),(yyvsp[(5) - (10)].str),(yyvsp[(6) - (10)].str),(yyvsp[(7) - (10)].str),(yyvsp[(8) - (10)].str),(yyvsp[(9) - (10)].str),(yyvsp[(10) - (10)].str)); -;} +} break; case 303: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2481 "preproc.y" { if (strcmp((yyvsp[(4) - (6)].str), "stdin") == 0) mmerror(PARSE_ERROR, ET_ERROR, "COPY TO STDIN is not possible"); (yyval.str) = cat_str(6,make_str("copy"),(yyvsp[(2) - (6)].str),make_str("to"),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 304: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2492 "preproc.y" { (yyval.str) = make_str("from"); -;} +} break; case 305: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2496 "preproc.y" { (yyval.str) = make_str("to"); -;} +} break; case 306: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2504 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 307: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2508 "preproc.y" { (yyval.str) = make_str("stdin"); -;} +} break; case 308: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2512 "preproc.y" { (yyval.str) = make_str("stdout"); -;} +} break; case 309: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2520 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 310: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2524 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 311: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2531 "preproc.y" { (yyval.str) = make_str("binary"); -;} +} break; case 312: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2535 "preproc.y" { (yyval.str) = make_str("oids"); -;} +} break; case 313: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2539 "preproc.y" { (yyval.str) = cat_str(3,make_str("delimiter"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 314: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2543 "preproc.y" { (yyval.str) = cat_str(3,make_str("null"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 315: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2547 "preproc.y" { (yyval.str) = make_str("csv"); -;} +} break; case 316: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2551 "preproc.y" { (yyval.str) = make_str("header"); -;} +} break; case 317: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2555 "preproc.y" { (yyval.str) = cat_str(3,make_str("quote"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 318: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2559 "preproc.y" { (yyval.str) = cat_str(3,make_str("escape"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 319: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2563 "preproc.y" { (yyval.str) = cat_str(2,make_str("force quote"),(yyvsp[(3) - (3)].str)); -;} +} break; case 320: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2567 "preproc.y" { (yyval.str) = cat_str(2,make_str("force not null"),(yyvsp[(4) - (4)].str)); -;} +} break; case 321: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2575 "preproc.y" { (yyval.str) = make_str("binary"); -;} +} break; case 322: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2579 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 323: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2586 "preproc.y" { (yyval.str) = make_str("with oids"); -;} +} break; case 324: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2590 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 325: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2597 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("delimiters"),(yyvsp[(3) - (3)].str)); -;} +} break; case 326: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2601 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 327: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2608 "preproc.y" { (yyval.str) = make_str("using"); -;} +} break; case 328: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2612 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 329: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2619 "preproc.y" { (yyval.str) = cat_str(11,make_str("create"),(yyvsp[(2) - (11)].str),make_str("table"),(yyvsp[(4) - (11)].str),make_str("("),(yyvsp[(6) - (11)].str),make_str(")"),(yyvsp[(8) - (11)].str),(yyvsp[(9) - (11)].str),(yyvsp[(10) - (11)].str),(yyvsp[(11) - (11)].str)); -;} +} break; case 330: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2623 "preproc.y" { (yyval.str) = cat_str(12,make_str("create"),(yyvsp[(2) - (12)].str),make_str("table"),(yyvsp[(4) - (12)].str),make_str("of"),(yyvsp[(6) - (12)].str),make_str("("),(yyvsp[(8) - (12)].str),make_str(")"),(yyvsp[(10) - (12)].str),(yyvsp[(11) - (12)].str),(yyvsp[(12) - (12)].str)); -;} +} break; case 331: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2631 "preproc.y" { (yyval.str) = make_str("temporary"); -;} +} break; case 332: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2635 "preproc.y" { (yyval.str) = make_str("temp"); -;} +} break; case 333: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2639 "preproc.y" { (yyval.str) = make_str("local temporary"); -;} +} break; case 334: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2643 "preproc.y" { (yyval.str) = make_str("local temp"); -;} +} break; case 335: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2647 "preproc.y" { (yyval.str) = make_str("global temporary"); -;} +} break; case 336: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2651 "preproc.y" { (yyval.str) = make_str("global temp"); -;} +} break; case 337: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2655 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 338: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2662 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 339: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2666 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 340: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2673 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 341: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2677 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 342: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2685 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 343: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2689 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 344: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2693 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 345: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2701 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 346: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2709 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 347: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2713 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 348: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2720 "preproc.y" { (yyval.str) = cat_str(3,make_str("constraint"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 349: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2724 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 350: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2728 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 351: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2736 "preproc.y" { (yyval.str) = make_str("not null"); -;} +} break; case 352: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2740 "preproc.y" { (yyval.str) = make_str("null"); -;} +} break; case 353: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2744 "preproc.y" { (yyval.str) = cat_str(3,make_str("unique"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 354: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2748 "preproc.y" { (yyval.str) = cat_str(3,make_str("primary key"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 355: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2752 "preproc.y" { (yyval.str) = cat_str(3,make_str("check ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 356: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2756 "preproc.y" { (yyval.str) = cat_str(2,make_str("default"),(yyvsp[(2) - (2)].str)); -;} +} break; case 357: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2760 "preproc.y" { (yyval.str) = cat_str(5,make_str("references"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 358: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2768 "preproc.y" { (yyval.str) = make_str("deferrable"); -;} +} break; case 359: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2772 "preproc.y" { (yyval.str) = make_str("not deferrable"); -;} +} break; case 360: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2776 "preproc.y" { (yyval.str) = make_str("initially deferred"); -;} +} break; case 361: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2780 "preproc.y" { (yyval.str) = make_str("initially immediate"); -;} +} break; case 362: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2788 "preproc.y" { (yyval.str) = cat_str(3,make_str("like"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 363: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2796 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 364: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2800 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 365: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2807 "preproc.y" { (yyval.str) = make_str("including defaults"); -;} +} break; case 366: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2811 "preproc.y" { (yyval.str) = make_str("excluding defaults"); -;} +} break; case 367: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2815 "preproc.y" { (yyval.str) = make_str("including constraints"); -;} +} break; case 368: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2819 "preproc.y" { (yyval.str) = make_str("excluding constraints"); -;} +} break; case 369: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2823 "preproc.y" { (yyval.str) = make_str("including indexes"); -;} +} break; case 370: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2827 "preproc.y" { (yyval.str) = make_str("excluding indexes"); -;} +} break; case 371: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2835 "preproc.y" { (yyval.str) = cat_str(3,make_str("constraint"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 372: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2839 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 373: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2847 "preproc.y" { (yyval.str) = cat_str(3,make_str("check ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 374: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2851 "preproc.y" { (yyval.str) = cat_str(5,make_str("unique ("),(yyvsp[(3) - (6)].str),make_str(")"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 375: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2855 "preproc.y" { (yyval.str) = cat_str(5,make_str("primary key ("),(yyvsp[(4) - (7)].str),make_str(")"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 376: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2859 "preproc.y" { (yyval.str) = cat_str(8,make_str("foreign key ("),(yyvsp[(4) - (11)].str),make_str(") references"),(yyvsp[(7) - (11)].str),(yyvsp[(8) - (11)].str),(yyvsp[(9) - (11)].str),(yyvsp[(10) - (11)].str),(yyvsp[(11) - (11)].str)); -;} +} break; case 377: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2867 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 378: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2871 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 379: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2878 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 380: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2882 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 381: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2890 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 382: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2898 "preproc.y" { (yyval.str) = make_str("match full"); -;} +} break; case 383: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2902 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = make_str("match partial"); -;} +} break; case 384: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2907 "preproc.y" { (yyval.str) = make_str("match simple"); -;} +} break; case 385: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2911 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 386: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2918 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 387: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2922 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 388: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2926 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 389: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2930 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 390: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2934 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 391: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2941 "preproc.y" { (yyval.str) = cat_str(2,make_str("on update"),(yyvsp[(3) - (3)].str)); -;} +} break; case 392: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2949 "preproc.y" { (yyval.str) = cat_str(2,make_str("on delete"),(yyvsp[(3) - (3)].str)); -;} +} break; case 393: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2957 "preproc.y" { (yyval.str) = make_str("no action"); -;} +} break; case 394: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2961 "preproc.y" { (yyval.str) = make_str("restrict"); -;} +} break; case 395: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2965 "preproc.y" { (yyval.str) = make_str("cascade"); -;} +} break; case 396: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2969 "preproc.y" { (yyval.str) = make_str("set null"); -;} +} break; case 397: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2973 "preproc.y" { (yyval.str) = make_str("set default"); -;} +} break; case 398: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2981 "preproc.y" { (yyval.str) = cat_str(3,make_str("inherits ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 399: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2985 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 400: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2992 "preproc.y" { (yyval.str) = cat_str(2,make_str("with"),(yyvsp[(2) - (2)].str)); -;} +} break; case 401: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 2996 "preproc.y" { (yyval.str) = make_str("with oids"); -;} +} break; case 402: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3000 "preproc.y" { (yyval.str) = make_str("without oids"); -;} +} break; case 403: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3004 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 404: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3011 "preproc.y" { (yyval.str) = make_str("on commit drop"); -;} +} break; case 405: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3015 "preproc.y" { (yyval.str) = make_str("on commit delete rows"); -;} +} break; case 406: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3019 "preproc.y" { (yyval.str) = make_str("on commit preserve rows"); -;} +} break; case 407: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3023 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 408: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3030 "preproc.y" { (yyval.str) = cat_str(2,make_str("tablespace"),(yyvsp[(2) - (2)].str)); -;} +} break; case 409: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3034 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 410: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3041 "preproc.y" { (yyval.str) = cat_str(2,make_str("using index tablespace"),(yyvsp[(4) - (4)].str)); -;} +} break; case 411: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3045 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 412: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3052 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 413: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3060 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 414: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3064 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 415: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3071 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 416: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3075 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 417: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3083 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 418: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3091 "preproc.y" { (yyval.str) = make_str("with data"); -;} +} break; case 419: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3095 "preproc.y" { (yyval.str) = make_str("with no data"); -;} +} break; case 420: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3099 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 421: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3106 "preproc.y" { (yyval.str) = cat_str(5,make_str("create"),(yyvsp[(2) - (5)].str),make_str("sequence"),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 422: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3114 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter sequence"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 423: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3122 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 424: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3126 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 425: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3133 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 426: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3137 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 427: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3145 "preproc.y" { (yyval.str) = cat_str(2,make_str("cache"),(yyvsp[(2) - (2)].str)); -;} +} break; case 428: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3149 "preproc.y" { (yyval.str) = make_str("cycle"); -;} +} break; case 429: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3153 "preproc.y" { (yyval.str) = make_str("no cycle"); -;} +} break; case 430: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3157 "preproc.y" { (yyval.str) = cat_str(3,make_str("increment"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 431: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3161 "preproc.y" { (yyval.str) = cat_str(2,make_str("maxvalue"),(yyvsp[(2) - (2)].str)); -;} +} break; case 432: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3165 "preproc.y" { (yyval.str) = cat_str(2,make_str("minvalue"),(yyvsp[(2) - (2)].str)); -;} +} break; case 433: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3169 "preproc.y" { (yyval.str) = make_str("no maxvalue"); -;} +} break; case 434: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3173 "preproc.y" { (yyval.str) = make_str("no minvalue"); -;} +} break; case 435: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3177 "preproc.y" { (yyval.str) = cat_str(2,make_str("owned by"),(yyvsp[(3) - (3)].str)); -;} +} break; case 436: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3181 "preproc.y" { (yyval.str) = cat_str(3,make_str("start"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 437: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3185 "preproc.y" { (yyval.str) = make_str("restart"); -;} +} break; case 438: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3189 "preproc.y" { (yyval.str) = cat_str(3,make_str("restart"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 439: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3197 "preproc.y" { (yyval.str) = make_str("by"); -;} +} break; case 440: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3201 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 441: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3208 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 442: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3212 "preproc.y" { (yyval.str) = cat_str(2,make_str("-"),(yyvsp[(2) - (2)].str)); -;} +} break; case 443: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3216 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 444: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3227 "preproc.y" { (yyval.str) = cat_str(5,make_str("create"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),make_str("language"),(yyvsp[(5) - (5)].str)); -;} +} break; case 445: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3231 "preproc.y" { (yyval.str) = cat_str(9,make_str("create"),(yyvsp[(2) - (9)].str),(yyvsp[(3) - (9)].str),make_str("language"),(yyvsp[(5) - (9)].str),make_str("handler"),(yyvsp[(7) - (9)].str),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 446: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3239 "preproc.y" { (yyval.str) = make_str("trusted"); -;} +} break; case 447: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3243 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 448: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3250 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 449: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3254 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 450: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3262 "preproc.y" { (yyval.str) = cat_str(2,make_str("validator"),(yyvsp[(2) - (2)].str)); -;} +} break; case 451: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3266 "preproc.y" { (yyval.str) = make_str("no validator"); -;} +} break; case 452: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3274 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 453: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3278 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 454: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3285 "preproc.y" { (yyval.str) = cat_str(2,make_str("lancompiler"),(yyvsp[(2) - (2)].str)); -;} +} break; case 455: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3289 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 456: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3296 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop"),(yyvsp[(2) - (5)].str),make_str("language"),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 457: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3300 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop"),(yyvsp[(2) - (7)].str),make_str("language if exists"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 458: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3308 "preproc.y" { (yyval.str) = make_str("procedural"); -;} +} break; case 459: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3312 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 460: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3319 "preproc.y" { (yyval.str) = cat_str(5,make_str("create tablespace"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),make_str("location"),(yyvsp[(6) - (6)].str)); -;} +} break; case 461: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3327 "preproc.y" { (yyval.str) = cat_str(2,make_str("owner"),(yyvsp[(2) - (2)].str)); -;} +} break; case 462: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3331 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 463: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3338 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop tablespace"),(yyvsp[(3) - (3)].str)); -;} +} break; case 464: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3342 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop tablespace if exists"),(yyvsp[(5) - (5)].str)); -;} +} break; case 465: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3350 "preproc.y" { (yyval.str) = cat_str(4,make_str("create foreign data wrapper"),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 466: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3358 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop foreign data wrapper"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 467: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3362 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop foreign data wrapper if exists"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 468: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3370 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter foreign data wrapper"),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 469: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3374 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter foreign data wrapper"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 470: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3378 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter foreign data wrapper"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 471: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3386 "preproc.y" { (yyval.str) = cat_str(3,make_str("options ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 472: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3390 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 473: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3397 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 474: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3401 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 475: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3409 "preproc.y" { (yyval.str) = cat_str(3,make_str("options ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 476: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3417 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 477: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3421 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 478: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3429 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 479: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3433 "preproc.y" { (yyval.str) = cat_str(2,make_str("set"),(yyvsp[(2) - (2)].str)); -;} +} break; case 480: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3437 "preproc.y" { (yyval.str) = cat_str(2,make_str("add"),(yyvsp[(2) - (2)].str)); -;} +} break; case 481: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3441 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop"),(yyvsp[(2) - (2)].str)); -;} +} break; case 482: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3449 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 483: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3457 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 484: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3465 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 485: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3473 "preproc.y" { (yyval.str) = cat_str(7,make_str("create server"),(yyvsp[(3) - (10)].str),(yyvsp[(4) - (10)].str),(yyvsp[(5) - (10)].str),make_str("foreign data wrapper"),(yyvsp[(9) - (10)].str),(yyvsp[(10) - (10)].str)); -;} +} break; case 486: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3481 "preproc.y" { (yyval.str) = cat_str(2,make_str("type"),(yyvsp[(2) - (2)].str)); -;} +} break; case 487: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3485 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 488: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3492 "preproc.y" { (yyval.str) = cat_str(2,make_str("version"),(yyvsp[(2) - (2)].str)); -;} +} break; case 489: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3496 "preproc.y" { (yyval.str) = make_str("version null"); -;} +} break; case 490: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3504 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 491: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3508 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 492: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3515 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop server"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 493: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3519 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop server if exists"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 494: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3527 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter server"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 495: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3531 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter server"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 496: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3535 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter server"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 497: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3543 "preproc.y" { (yyval.str) = cat_str(5,make_str("create user mapping for"),(yyvsp[(5) - (8)].str),make_str("server"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 498: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3551 "preproc.y" { (yyval.str) = make_str("current_user"); -;} +} break; case 499: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3555 "preproc.y" { (yyval.str) = make_str("user"); -;} +} break; case 500: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3559 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 501: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3567 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop user mapping for"),(yyvsp[(5) - (7)].str),make_str("server"),(yyvsp[(7) - (7)].str)); -;} +} break; case 502: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3571 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop user mapping if exists for"),(yyvsp[(7) - (9)].str),make_str("server"),(yyvsp[(9) - (9)].str)); -;} +} break; case 503: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3579 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter user mapping for"),(yyvsp[(5) - (8)].str),make_str("server"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 504: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3587 "preproc.y" { (yyval.str) = cat_str(12,make_str("create trigger"),(yyvsp[(3) - (14)].str),(yyvsp[(4) - (14)].str),(yyvsp[(5) - (14)].str),make_str("on"),(yyvsp[(7) - (14)].str),(yyvsp[(8) - (14)].str),make_str("execute procedure"),(yyvsp[(11) - (14)].str),make_str("("),(yyvsp[(13) - (14)].str),make_str(")")); -;} +} break; case 505: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3591 "preproc.y" { (yyval.str) = cat_str(13,make_str("create constraint trigger"),(yyvsp[(4) - (19)].str),make_str("after"),(yyvsp[(6) - (19)].str),make_str("on"),(yyvsp[(8) - (19)].str),(yyvsp[(9) - (19)].str),(yyvsp[(10) - (19)].str),make_str("for each row execute procedure"),(yyvsp[(16) - (19)].str),make_str("("),(yyvsp[(18) - (19)].str),make_str(")")); -;} +} break; case 506: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3599 "preproc.y" { (yyval.str) = make_str("before"); -;} +} break; case 507: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3603 "preproc.y" { (yyval.str) = make_str("after"); -;} +} break; case 508: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3611 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 509: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3615 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("or"),(yyvsp[(3) - (3)].str)); -;} +} break; case 510: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3623 "preproc.y" { (yyval.str) = make_str("insert"); -;} +} break; case 511: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3627 "preproc.y" { (yyval.str) = make_str("delete"); -;} +} break; case 512: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3631 "preproc.y" { (yyval.str) = make_str("update"); -;} +} break; case 513: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3635 "preproc.y" { (yyval.str) = make_str("truncate"); -;} +} break; case 514: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3643 "preproc.y" { (yyval.str) = cat_str(3,make_str("for"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 515: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3647 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 516: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3654 "preproc.y" { (yyval.str) = make_str("each"); -;} +} break; case 517: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3658 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 518: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3665 "preproc.y" { (yyval.str) = make_str("row"); -;} +} break; case 519: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3669 "preproc.y" { (yyval.str) = make_str("statement"); -;} +} break; case 520: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3677 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 521: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3681 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 522: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3685 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 523: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3692 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 524: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3696 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 525: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3700 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 526: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3704 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 527: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3708 "preproc.y" { (yyval.str) = make_str("xconst"); -;} +} break; case 528: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3712 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 529: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3720 "preproc.y" { (yyval.str) = cat_str(2,make_str("from"),(yyvsp[(2) - (2)].str)); -;} +} break; case 530: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3724 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 531: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3731 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 532: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3735 "preproc.y" { if (strcmp((yyvsp[(1) - (2)].str), "deferrable") != 0 && strcmp((yyvsp[(2) - (2)].str), "initially deferrable") == 0 ) mmerror(PARSE_ERROR, ET_ERROR, "constraint declared INITIALLY DEFERRED must be DEFERRABLE"); (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 533: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3742 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 534: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3746 "preproc.y" { if (strcmp((yyvsp[(2) - (2)].str), "deferrable") != 0 && strcmp((yyvsp[(1) - (2)].str), "initially deferrable") == 0 ) mmerror(PARSE_ERROR, ET_ERROR, "constraint declared INITIALLY DEFERRED must be DEFERRABLE"); (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 535: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3753 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 536: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3760 "preproc.y" { (yyval.str) = make_str("not deferrable"); -;} +} break; case 537: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3764 "preproc.y" { (yyval.str) = make_str("deferrable"); -;} +} break; case 538: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3772 "preproc.y" { (yyval.str) = make_str("initially immediate"); -;} +} break; case 539: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3776 "preproc.y" { (yyval.str) = make_str("initially deferred"); -;} +} break; case 540: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3784 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop trigger"),(yyvsp[(3) - (6)].str),make_str("on"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 541: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3788 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop trigger if exists"),(yyvsp[(5) - (8)].str),make_str("on"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 542: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3796 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = cat_str(6,make_str("create assertion"),(yyvsp[(3) - (8)].str),make_str("check ("),(yyvsp[(6) - (8)].str),make_str(")"),(yyvsp[(8) - (8)].str)); -;} +} break; case 543: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3805 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = cat_str(3,make_str("drop assertion"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 544: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3814 "preproc.y" { (yyval.str) = cat_str(4,make_str("create aggregate"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 545: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3818 "preproc.y" { (yyval.str) = cat_str(3,make_str("create aggregate"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 546: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3822 "preproc.y" { (yyval.str) = cat_str(3,make_str("create operator"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 547: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3826 "preproc.y" { (yyval.str) = cat_str(3,make_str("create type"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 548: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3830 "preproc.y" { (yyval.str) = cat_str(2,make_str("create type"),(yyvsp[(3) - (3)].str)); -;} +} break; case 549: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3834 "preproc.y" { (yyval.str) = cat_str(5,make_str("create type"),(yyvsp[(3) - (7)].str),make_str("as ("),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 550: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3838 "preproc.y" { (yyval.str) = cat_str(5,make_str("create type"),(yyvsp[(3) - (8)].str),make_str("as enum ("),(yyvsp[(7) - (8)].str),make_str(")")); -;} +} break; case 551: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3842 "preproc.y" { (yyval.str) = cat_str(3,make_str("create text search parser"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 552: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3846 "preproc.y" { (yyval.str) = cat_str(3,make_str("create text search dictionary"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 553: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3850 "preproc.y" { (yyval.str) = cat_str(3,make_str("create text search template"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 554: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3854 "preproc.y" { (yyval.str) = cat_str(3,make_str("create text search configuration"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 555: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3862 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 556: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3870 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 557: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3874 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 558: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3882 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 559: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3886 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 560: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3894 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 561: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3898 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 562: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3902 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 563: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3906 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 564: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3910 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 565: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3918 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 566: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3922 "preproc.y" { (yyval.str) = make_str("( * )"); -;} +} break; case 567: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3930 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 568: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3938 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 569: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3942 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 570: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3950 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 571: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3958 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 572: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3962 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 573: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3970 "preproc.y" { (yyval.str) = cat_str(10,make_str("create operator class"),(yyvsp[(4) - (13)].str),(yyvsp[(5) - (13)].str),make_str("for type"),(yyvsp[(8) - (13)].str),make_str("using"),(yyvsp[(10) - (13)].str),(yyvsp[(11) - (13)].str),make_str("as"),(yyvsp[(13) - (13)].str)); -;} +} break; case 574: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3978 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 575: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3982 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 576: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3990 "preproc.y" { (yyval.str) = cat_str(4,make_str("operator"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 577: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3994 "preproc.y" { (yyval.str) = cat_str(5,make_str("operator"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 578: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 3998 "preproc.y" { (yyval.str) = cat_str(4,make_str("function"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 579: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4002 "preproc.y" { (yyval.str) = cat_str(7,make_str("function"),(yyvsp[(2) - (7)].str),make_str("("),(yyvsp[(4) - (7)].str),make_str(")"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 580: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4006 "preproc.y" { (yyval.str) = cat_str(2,make_str("storage"),(yyvsp[(2) - (2)].str)); -;} +} break; case 581: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4014 "preproc.y" { (yyval.str) = make_str("default"); -;} +} break; case 582: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4018 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 583: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4025 "preproc.y" { (yyval.str) = cat_str(2,make_str("family"),(yyvsp[(2) - (2)].str)); -;} +} break; case 584: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4029 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 585: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4036 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = make_str("recheck"); -;} +} break; case 586: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4041 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 587: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4048 "preproc.y" { (yyval.str) = cat_str(4,make_str("create operator family"),(yyvsp[(4) - (6)].str),make_str("using"),(yyvsp[(6) - (6)].str)); -;} +} break; case 588: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4056 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator family"),(yyvsp[(4) - (8)].str),make_str("using"),(yyvsp[(6) - (8)].str),make_str("add"),(yyvsp[(8) - (8)].str)); -;} +} break; case 589: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4060 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator family"),(yyvsp[(4) - (8)].str),make_str("using"),(yyvsp[(6) - (8)].str),make_str("drop"),(yyvsp[(8) - (8)].str)); -;} +} break; case 590: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4068 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 591: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4072 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 592: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4080 "preproc.y" { (yyval.str) = cat_str(5,make_str("operator"),(yyvsp[(2) - (5)].str),make_str("("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 593: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4084 "preproc.y" { (yyval.str) = cat_str(5,make_str("function"),(yyvsp[(2) - (5)].str),make_str("("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 594: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4092 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop operator class"),(yyvsp[(4) - (7)].str),make_str("using"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 595: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4096 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop operator class if exists"),(yyvsp[(6) - (9)].str),make_str("using"),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 596: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4104 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop operator family"),(yyvsp[(4) - (7)].str),make_str("using"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 597: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4108 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop operator family if exists"),(yyvsp[(6) - (9)].str),make_str("using"),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 598: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4116 "preproc.y" { (yyval.str) = cat_str(3,make_str("drop owned by"),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 599: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4124 "preproc.y" { (yyval.str) = cat_str(4,make_str("reassign owned by"),(yyvsp[(4) - (6)].str),make_str("to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 600: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4132 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop"),(yyvsp[(2) - (6)].str),make_str("if exists"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 601: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4136 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 602: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4144 "preproc.y" { (yyval.str) = make_str("table"); -;} +} break; case 603: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4148 "preproc.y" { (yyval.str) = make_str("sequence"); -;} +} break; case 604: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4152 "preproc.y" { (yyval.str) = make_str("view"); -;} +} break; case 605: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4156 "preproc.y" { (yyval.str) = make_str("index"); -;} +} break; case 606: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4160 "preproc.y" { (yyval.str) = make_str("type"); -;} +} break; case 607: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4164 "preproc.y" { (yyval.str) = make_str("domain"); -;} +} break; case 608: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4168 "preproc.y" { (yyval.str) = make_str("conversion"); -;} +} break; case 609: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4172 "preproc.y" { (yyval.str) = make_str("schema"); -;} +} break; case 610: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4176 "preproc.y" { (yyval.str) = make_str("text search parser"); -;} +} break; case 611: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4180 "preproc.y" { (yyval.str) = make_str("text search dictionary"); -;} +} break; case 612: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4184 "preproc.y" { (yyval.str) = make_str("text search template"); -;} +} break; case 613: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4188 "preproc.y" { (yyval.str) = make_str("text search configuration"); -;} +} break; case 614: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4196 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 615: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4200 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 616: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4208 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 617: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4212 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 618: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4220 "preproc.y" { (yyval.str) = cat_str(2,make_str("."),(yyvsp[(2) - (2)].str)); -;} +} break; case 619: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4224 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("."),(yyvsp[(3) - (3)].str)); -;} +} break; case 620: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4232 "preproc.y" { (yyval.str) = cat_str(5,make_str("truncate"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 621: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4240 "preproc.y" { (yyval.str) = make_str("continue identity"); -;} +} break; case 622: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4244 "preproc.y" { (yyval.str) = make_str("restart identity"); -;} +} break; case 623: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4248 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 624: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4255 "preproc.y" { (yyval.str) = cat_str(5,make_str("comment on"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),make_str("is"),(yyvsp[(6) - (6)].str)); -;} +} break; case 625: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4259 "preproc.y" { (yyval.str) = cat_str(5,make_str("comment on aggregate"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),make_str("is"),(yyvsp[(7) - (7)].str)); -;} +} break; case 626: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4263 "preproc.y" { (yyval.str) = cat_str(5,make_str("comment on function"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),make_str("is"),(yyvsp[(7) - (7)].str)); -;} +} break; case 627: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4267 "preproc.y" { (yyval.str) = cat_str(5,make_str("comment on operator"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),make_str("is"),(yyvsp[(7) - (7)].str)); -;} +} break; case 628: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4271 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on constraint"),(yyvsp[(4) - (8)].str),make_str("on"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 629: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4275 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on rule"),(yyvsp[(4) - (8)].str),make_str("on"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 630: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4279 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on rule"),(yyvsp[(4) - (6)].str),make_str("is"),(yyvsp[(6) - (6)].str)); -;} +} break; case 631: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4283 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on trigger"),(yyvsp[(4) - (8)].str),make_str("on"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 632: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4287 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on operator class"),(yyvsp[(5) - (9)].str),make_str("using"),(yyvsp[(7) - (9)].str),make_str("is"),(yyvsp[(9) - (9)].str)); -;} +} break; case 633: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4291 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on operator family"),(yyvsp[(5) - (9)].str),make_str("using"),(yyvsp[(7) - (9)].str),make_str("is"),(yyvsp[(9) - (9)].str)); -;} +} break; case 634: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4295 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on large object"),(yyvsp[(5) - (7)].str),make_str("is"),(yyvsp[(7) - (7)].str)); -;} +} break; case 635: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4299 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on cast ("),(yyvsp[(5) - (10)].str),make_str("as"),(yyvsp[(7) - (10)].str),make_str(") is"),(yyvsp[(10) - (10)].str)); -;} +} break; case 636: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4303 "preproc.y" { (yyval.str) = cat_str(6,make_str("comment on"),(yyvsp[(3) - (7)].str),make_str("language"),(yyvsp[(5) - (7)].str),make_str("is"),(yyvsp[(7) - (7)].str)); -;} +} break; case 637: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4307 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on text search parser"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 638: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4311 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on text search dictionary"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 639: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4315 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on text search template"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 640: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4319 "preproc.y" { (yyval.str) = cat_str(4,make_str("comment on text search configuration"),(yyvsp[(6) - (8)].str),make_str("is"),(yyvsp[(8) - (8)].str)); -;} +} break; case 641: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4327 "preproc.y" { (yyval.str) = make_str("column"); -;} +} break; case 642: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4331 "preproc.y" { (yyval.str) = make_str("database"); -;} +} break; case 643: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4335 "preproc.y" { (yyval.str) = make_str("schema"); -;} +} break; case 644: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4339 "preproc.y" { (yyval.str) = make_str("index"); -;} +} break; case 645: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4343 "preproc.y" { (yyval.str) = make_str("sequence"); -;} +} break; case 646: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4347 "preproc.y" { (yyval.str) = make_str("table"); -;} +} break; case 647: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4351 "preproc.y" { (yyval.str) = make_str("domain"); -;} +} break; case 648: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4355 "preproc.y" { (yyval.str) = make_str("type"); -;} +} break; case 649: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4359 "preproc.y" { (yyval.str) = make_str("view"); -;} +} break; case 650: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4363 "preproc.y" { (yyval.str) = make_str("conversion"); -;} +} break; case 651: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4367 "preproc.y" { (yyval.str) = make_str("tablespace"); -;} +} break; case 652: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4371 "preproc.y" { (yyval.str) = make_str("role"); -;} +} break; case 653: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4379 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 654: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4383 "preproc.y" { (yyval.str) = make_str("null"); -;} +} break; case 655: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4391 "preproc.y" { add_additional_variables((yyvsp[(4) - (4)].str), false); (yyval.str) = cat_str(4, make_str("fetch"), (yyvsp[(2) - (4)].str), (yyvsp[(3) - (4)].str), (yyvsp[(4) - (4)].str)); - ;} + } break; case 656: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4396 "preproc.y" { add_additional_variables((yyvsp[(2) - (2)].str), false); (yyval.str) = cat_str(2, make_str("fetch"), (yyvsp[(2) - (2)].str)); - ;} + } break; case 657: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4401 "preproc.y" { (yyval.str) = cat_str(4,make_str("move"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 658: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4405 "preproc.y" { (yyval.str) = cat_str(2,make_str("move"),(yyvsp[(2) - (2)].str)); -;} +} break; case 659: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4409 "preproc.y" { add_additional_variables((yyvsp[(4) - (5)].str), false); (yyval.str) = cat_str(4, make_str("fetch"), (yyvsp[(2) - (5)].str), (yyvsp[(3) - (5)].str), (yyvsp[(4) - (5)].str)); - ;} + } break; case 660: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4414 "preproc.y" { add_additional_variables((yyvsp[(3) - (4)].str), false); (yyval.str) = cat_str(4, make_str("fetch"), (yyvsp[(2) - (4)].str), make_str("from"), (yyvsp[(3) - (4)].str)); - ;} + } break; case 661: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4419 "preproc.y" { add_additional_variables((yyvsp[(3) - (4)].str), false); (yyval.str) = cat_str(3, make_str("fetch"), (yyvsp[(2) - (4)].str), (yyvsp[(3) - (4)].str)); - ;} + } break; case 662: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4424 "preproc.y" { add_additional_variables((yyvsp[(2) - (3)].str), false); (yyval.str) = cat2_str(make_str("fetch"), (yyvsp[(2) - (3)].str)); - ;} + } break; case 663: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4429 "preproc.y" { add_additional_variables((yyvsp[(3) - (3)].str), false); (yyval.str) = cat_str(4, make_str("fetch"), (yyvsp[(2) - (3)].str), make_str("from"), (yyvsp[(3) - (3)].str)); - ;} + } break; case 664: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4434 "preproc.y" { add_additional_variables((yyvsp[(3) - (3)].str), false); (yyval.str) = cat_str(3, make_str("fetch"), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str)); - ;} + } break; case 665: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4443 "preproc.y" { (yyval.str) = make_str("next"); -;} +} break; case 666: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4447 "preproc.y" { (yyval.str) = make_str("prior"); -;} +} break; case 667: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4451 "preproc.y" { (yyval.str) = make_str("first"); -;} +} break; case 668: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4455 "preproc.y" { (yyval.str) = make_str("last"); -;} +} break; case 669: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4459 "preproc.y" { if ((yyvsp[(2) - (2)].str)[0] == '$') @@ -28701,12 +28740,12 @@ } (yyval.str) = cat_str(2,make_str("absolute"),(yyvsp[(2) - (2)].str)); -;} +} break; case 670: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4469 "preproc.y" { if ((yyvsp[(2) - (2)].str)[0] == '$') @@ -28716,12 +28755,12 @@ } (yyval.str) = cat_str(2,make_str("relative"),(yyvsp[(2) - (2)].str)); -;} +} break; case 671: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4479 "preproc.y" { if ((yyvsp[(1) - (1)].str)[0] == '$') @@ -28731,30 +28770,30 @@ } (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 672: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4489 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 673: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4493 "preproc.y" { (yyval.str) = make_str("forward"); -;} +} break; case 674: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4497 "preproc.y" { if ((yyvsp[(2) - (2)].str)[0] == '$') @@ -28764,30 +28803,30 @@ } (yyval.str) = cat_str(2,make_str("forward"),(yyvsp[(2) - (2)].str)); -;} +} break; case 675: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4507 "preproc.y" { (yyval.str) = make_str("forward all"); -;} +} break; case 676: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4511 "preproc.y" { (yyval.str) = make_str("backward"); -;} +} break; case 677: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4515 "preproc.y" { if ((yyvsp[(2) - (2)].str)[0] == '$') @@ -28797,3418 +28836,3418 @@ } (yyval.str) = cat_str(2,make_str("backward"),(yyvsp[(2) - (2)].str)); -;} +} break; case 678: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4525 "preproc.y" { (yyval.str) = make_str("backward all"); -;} +} break; case 679: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4533 "preproc.y" { (yyval.str) = make_str("from"); -;} +} break; case 680: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4537 "preproc.y" { (yyval.str) = make_str("in"); -;} +} break; case 681: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4545 "preproc.y" { (yyval.str) = cat_str(7,make_str("grant"),(yyvsp[(2) - (7)].str),make_str("on"),(yyvsp[(4) - (7)].str),make_str("to"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 682: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4553 "preproc.y" { (yyval.str) = cat_str(7,make_str("revoke"),(yyvsp[(2) - (7)].str),make_str("on"),(yyvsp[(4) - (7)].str),make_str("from"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 683: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4557 "preproc.y" { (yyval.str) = cat_str(7,make_str("revoke grant option for"),(yyvsp[(5) - (10)].str),make_str("on"),(yyvsp[(7) - (10)].str),make_str("from"),(yyvsp[(9) - (10)].str),(yyvsp[(10) - (10)].str)); -;} +} break; case 684: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4565 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 685: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4569 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 686: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4573 "preproc.y" { (yyval.str) = make_str("all privileges"); -;} +} break; case 687: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4577 "preproc.y" { (yyval.str) = cat_str(3,make_str("all ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 688: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4581 "preproc.y" { (yyval.str) = cat_str(3,make_str("all privileges ("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 689: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4589 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 690: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4593 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 691: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4601 "preproc.y" { (yyval.str) = cat_str(2,make_str("select"),(yyvsp[(2) - (2)].str)); -;} +} break; case 692: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4605 "preproc.y" { (yyval.str) = cat_str(2,make_str("references"),(yyvsp[(2) - (2)].str)); -;} +} break; case 693: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4609 "preproc.y" { (yyval.str) = cat_str(2,make_str("create"),(yyvsp[(2) - (2)].str)); -;} +} break; case 694: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4613 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 695: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4621 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 696: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4625 "preproc.y" { (yyval.str) = cat_str(2,make_str("table"),(yyvsp[(2) - (2)].str)); -;} +} break; case 697: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4629 "preproc.y" { (yyval.str) = cat_str(2,make_str("sequence"),(yyvsp[(2) - (2)].str)); -;} +} break; case 698: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4633 "preproc.y" { (yyval.str) = cat_str(2,make_str("foreign data wrapper"),(yyvsp[(4) - (4)].str)); -;} +} break; case 699: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4637 "preproc.y" { (yyval.str) = cat_str(2,make_str("foreign server"),(yyvsp[(3) - (3)].str)); -;} +} break; case 700: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4641 "preproc.y" { (yyval.str) = cat_str(2,make_str("function"),(yyvsp[(2) - (2)].str)); -;} +} break; case 701: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4645 "preproc.y" { (yyval.str) = cat_str(2,make_str("database"),(yyvsp[(2) - (2)].str)); -;} +} break; case 702: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4649 "preproc.y" { (yyval.str) = cat_str(2,make_str("language"),(yyvsp[(2) - (2)].str)); -;} +} break; case 703: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4653 "preproc.y" { (yyval.str) = cat_str(2,make_str("schema"),(yyvsp[(2) - (2)].str)); -;} +} break; case 704: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4657 "preproc.y" { (yyval.str) = cat_str(2,make_str("tablespace"),(yyvsp[(2) - (2)].str)); -;} +} break; case 705: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4665 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 706: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4669 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 707: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4677 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 708: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4681 "preproc.y" { (yyval.str) = cat_str(2,make_str("group"),(yyvsp[(2) - (2)].str)); -;} +} break; case 709: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4689 "preproc.y" { (yyval.str) = make_str("with grant option"); -;} +} break; case 710: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4693 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 711: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4700 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 712: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4704 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 713: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4712 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 714: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4720 "preproc.y" { (yyval.str) = cat_str(6,make_str("grant"),(yyvsp[(2) - (6)].str),make_str("to"),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 715: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4728 "preproc.y" { (yyval.str) = cat_str(6,make_str("revoke"),(yyvsp[(2) - (6)].str),make_str("from"),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 716: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4732 "preproc.y" { (yyval.str) = cat_str(6,make_str("revoke admin option for"),(yyvsp[(5) - (9)].str),make_str("from"),(yyvsp[(7) - (9)].str),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 717: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4740 "preproc.y" { (yyval.str) = make_str("with admin option"); -;} +} break; case 718: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4744 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 719: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4751 "preproc.y" { (yyval.str) = cat_str(2,make_str("granted by"),(yyvsp[(3) - (3)].str)); -;} +} break; case 720: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4755 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 721: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4762 "preproc.y" { (yyval.str) = cat_str(13,make_str("create"),(yyvsp[(2) - (13)].str),make_str("index"),(yyvsp[(4) - (13)].str),make_str("on"),(yyvsp[(6) - (13)].str),(yyvsp[(7) - (13)].str),make_str("("),(yyvsp[(9) - (13)].str),make_str(")"),(yyvsp[(11) - (13)].str),(yyvsp[(12) - (13)].str),(yyvsp[(13) - (13)].str)); -;} +} break; case 722: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4766 "preproc.y" { (yyval.str) = cat_str(13,make_str("create"),(yyvsp[(2) - (14)].str),make_str("index concurrently"),(yyvsp[(5) - (14)].str),make_str("on"),(yyvsp[(7) - (14)].str),(yyvsp[(8) - (14)].str),make_str("("),(yyvsp[(10) - (14)].str),make_str(")"),(yyvsp[(12) - (14)].str),(yyvsp[(13) - (14)].str),(yyvsp[(14) - (14)].str)); -;} +} break; case 723: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4774 "preproc.y" { (yyval.str) = make_str("unique"); -;} +} break; case 724: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4778 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 725: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4785 "preproc.y" { (yyval.str) = cat_str(2,make_str("using"),(yyvsp[(2) - (2)].str)); -;} +} break; case 726: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4789 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 727: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4796 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 728: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4800 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 729: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4808 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 730: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4812 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 731: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4816 "preproc.y" { (yyval.str) = cat_str(6,make_str("("),(yyvsp[(2) - (6)].str),make_str(")"),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 732: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4824 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 733: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4828 "preproc.y" { (yyval.str) = cat_str(2,make_str("using"),(yyvsp[(2) - (2)].str)); -;} +} break; case 734: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4832 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 735: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4839 "preproc.y" { (yyval.str) = make_str("asc"); -;} +} break; case 736: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4843 "preproc.y" { (yyval.str) = make_str("desc"); -;} +} break; case 737: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4847 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 738: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4854 "preproc.y" { (yyval.str) = make_str("nulls first"); -;} +} break; case 739: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4858 "preproc.y" { (yyval.str) = make_str("nulls last"); -;} +} break; case 740: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4862 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 741: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4869 "preproc.y" { (yyval.str) = cat_str(9,make_str("create"),(yyvsp[(2) - (9)].str),make_str("function"),(yyvsp[(4) - (9)].str),(yyvsp[(5) - (9)].str),make_str("returns"),(yyvsp[(7) - (9)].str),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 742: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4873 "preproc.y" { (yyval.str) = cat_str(10,make_str("create"),(yyvsp[(2) - (12)].str),make_str("function"),(yyvsp[(4) - (12)].str),(yyvsp[(5) - (12)].str),make_str("returns table ("),(yyvsp[(9) - (12)].str),make_str(")"),(yyvsp[(11) - (12)].str),(yyvsp[(12) - (12)].str)); -;} +} break; case 743: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4877 "preproc.y" { (yyval.str) = cat_str(7,make_str("create"),(yyvsp[(2) - (7)].str),make_str("function"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 744: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4885 "preproc.y" { (yyval.str) = make_str("or replace"); -;} +} break; case 745: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4889 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 746: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4896 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 747: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4900 "preproc.y" { (yyval.str) = make_str("( )"); -;} +} break; case 748: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4908 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 749: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4912 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 750: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4920 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 751: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4924 "preproc.y" { (yyval.str) = make_str("( )"); -;} +} break; case 752: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4932 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 753: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4936 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 754: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4944 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 755: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4948 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 756: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4952 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 757: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4956 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 758: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4960 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 759: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4968 "preproc.y" { (yyval.str) = make_str("in"); -;} +} break; case 760: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4972 "preproc.y" { (yyval.str) = make_str("out"); -;} +} break; case 761: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4976 "preproc.y" { (yyval.str) = make_str("inout"); -;} +} break; case 762: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4980 "preproc.y" { (yyval.str) = make_str("in out"); -;} +} break; case 763: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4984 "preproc.y" { (yyval.str) = make_str("variadic"); -;} +} break; case 764: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 4992 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 765: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5000 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 766: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5008 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 767: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5012 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),make_str("% type")); -;} +} break; case 768: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5016 "preproc.y" { (yyval.str) = cat_str(4,make_str("setof"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),make_str("% type")); -;} +} break; case 769: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5024 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 770: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5028 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("default"),(yyvsp[(3) - (3)].str)); -;} +} break; case 771: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5032 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 772: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5040 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 773: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5044 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 774: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5052 "preproc.y" { (yyval.str) = make_str("called on null input"); -;} +} break; case 775: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5056 "preproc.y" { (yyval.str) = make_str("returns null on null input"); -;} +} break; case 776: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5060 "preproc.y" { (yyval.str) = make_str("strict"); -;} +} break; case 777: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5064 "preproc.y" { (yyval.str) = make_str("immutable"); -;} +} break; case 778: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5068 "preproc.y" { (yyval.str) = make_str("stable"); -;} +} break; case 779: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5072 "preproc.y" { (yyval.str) = make_str("volatile"); -;} +} break; case 780: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5076 "preproc.y" { (yyval.str) = make_str("external security definer"); -;} +} break; case 781: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5080 "preproc.y" { (yyval.str) = make_str("external security invoker"); -;} +} break; case 782: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5084 "preproc.y" { (yyval.str) = make_str("security definer"); -;} +} break; case 783: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5088 "preproc.y" { (yyval.str) = make_str("security invoker"); -;} +} break; case 784: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5092 "preproc.y" { (yyval.str) = cat_str(2,make_str("cost"),(yyvsp[(2) - (2)].str)); -;} +} break; case 785: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5096 "preproc.y" { (yyval.str) = cat_str(2,make_str("rows"),(yyvsp[(2) - (2)].str)); -;} +} break; case 786: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5100 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 787: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5108 "preproc.y" { (yyval.str) = cat_str(2,make_str("as"),(yyvsp[(2) - (2)].str)); -;} +} break; case 788: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5112 "preproc.y" { (yyval.str) = cat_str(2,make_str("language"),(yyvsp[(2) - (2)].str)); -;} +} break; case 789: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5116 "preproc.y" { (yyval.str) = make_str("window"); -;} +} break; case 790: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5120 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 791: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5128 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 792: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5132 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 793: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5140 "preproc.y" { (yyval.str) = cat_str(2,make_str("with"),(yyvsp[(2) - (2)].str)); -;} +} break; case 794: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5144 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 795: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5151 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 796: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5159 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 797: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5163 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 798: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5171 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter function"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 799: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5179 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 800: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5183 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 801: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5191 "preproc.y" { (yyval.str) = make_str("restrict"); -;} +} break; case 802: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5195 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 803: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5202 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop function"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 804: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5206 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop function if exists"),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 805: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5214 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop aggregate"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 806: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5218 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop aggregate if exists"),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 807: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5226 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop operator"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 808: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5230 "preproc.y" { (yyval.str) = cat_str(4,make_str("drop operator if exists"),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 809: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5238 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 810: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5242 "preproc.y" { (yyval.str) = cat_str(5,make_str("("),(yyvsp[(2) - (5)].str),make_str(","),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 811: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5246 "preproc.y" { (yyval.str) = cat_str(3,make_str("( none ,"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 812: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5250 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (5)].str),make_str(", none )")); -;} +} break; case 813: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5258 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 814: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5262 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("."),(yyvsp[(3) - (3)].str)); -;} +} break; case 815: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5270 "preproc.y" { (yyval.str) = cat_str(7,make_str("create cast ("),(yyvsp[(4) - (11)].str),make_str("as"),(yyvsp[(6) - (11)].str),make_str(") with function"),(yyvsp[(10) - (11)].str),(yyvsp[(11) - (11)].str)); -;} +} break; case 816: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5274 "preproc.y" { (yyval.str) = cat_str(6,make_str("create cast ("),(yyvsp[(4) - (10)].str),make_str("as"),(yyvsp[(6) - (10)].str),make_str(") without function"),(yyvsp[(10) - (10)].str)); -;} +} break; case 817: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5278 "preproc.y" { (yyval.str) = cat_str(6,make_str("create cast ("),(yyvsp[(4) - (10)].str),make_str("as"),(yyvsp[(6) - (10)].str),make_str(") with inout"),(yyvsp[(10) - (10)].str)); -;} +} break; case 818: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5286 "preproc.y" { (yyval.str) = make_str("as implicit"); -;} +} break; case 819: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5290 "preproc.y" { (yyval.str) = make_str("as assignment"); -;} +} break; case 820: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5294 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 821: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5301 "preproc.y" { (yyval.str) = cat_str(8,make_str("drop cast"),(yyvsp[(3) - (9)].str),make_str("("),(yyvsp[(5) - (9)].str),make_str("as"),(yyvsp[(7) - (9)].str),make_str(")"),(yyvsp[(9) - (9)].str)); -;} +} break; case 822: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5309 "preproc.y" { (yyval.str) = make_str("if exists"); -;} +} break; case 823: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5313 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 824: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5320 "preproc.y" { (yyval.str) = cat_str(4,make_str("reindex"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 825: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5324 "preproc.y" { (yyval.str) = cat_str(3,make_str("reindex system"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 826: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5328 "preproc.y" { (yyval.str) = cat_str(3,make_str("reindex database"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 827: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5336 "preproc.y" { (yyval.str) = make_str("index"); -;} +} break; case 828: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5340 "preproc.y" { (yyval.str) = make_str("table"); -;} +} break; case 829: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5348 "preproc.y" { (yyval.str) = make_str("force"); -;} +} break; case 830: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5352 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 831: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5359 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter aggregate"),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("rename to"),(yyvsp[(7) - (7)].str)); -;} +} break; case 832: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5363 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter conversion"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 833: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5367 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter database"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 834: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5371 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter function"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 835: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5375 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter group"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 836: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5379 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter"),(yyvsp[(2) - (7)].str),make_str("language"),(yyvsp[(4) - (7)].str),make_str("rename to"),(yyvsp[(7) - (7)].str)); -;} +} break; case 837: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5383 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator class"),(yyvsp[(4) - (9)].str),make_str("using"),(yyvsp[(6) - (9)].str),make_str("rename to"),(yyvsp[(9) - (9)].str)); -;} +} break; case 838: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5387 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator family"),(yyvsp[(4) - (9)].str),make_str("using"),(yyvsp[(6) - (9)].str),make_str("rename to"),(yyvsp[(9) - (9)].str)); -;} +} break; case 839: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5391 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter schema"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 840: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5395 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter table"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 841: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5399 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter sequence"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 842: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5403 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter view"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 843: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5407 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter index"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 844: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5411 "preproc.y" { (yyval.str) = cat_str(7,make_str("alter table"),(yyvsp[(3) - (8)].str),make_str("rename"),(yyvsp[(5) - (8)].str),(yyvsp[(6) - (8)].str),make_str("to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 845: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5415 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter trigger"),(yyvsp[(3) - (8)].str),make_str("on"),(yyvsp[(5) - (8)].str),make_str("rename to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 846: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5419 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter role"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 847: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5423 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter user"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 848: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5427 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter tablespace"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 849: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5431 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search parser"),(yyvsp[(5) - (8)].str),make_str("rename to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 850: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5435 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search dictionary"),(yyvsp[(5) - (8)].str),make_str("rename to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 851: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5439 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search template"),(yyvsp[(5) - (8)].str),make_str("rename to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 852: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5443 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search configuration"),(yyvsp[(5) - (8)].str),make_str("rename to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 853: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5447 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter type"),(yyvsp[(3) - (6)].str),make_str("rename to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 854: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5455 "preproc.y" { (yyval.str) = make_str("column"); -;} +} break; case 855: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5459 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 856: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5466 "preproc.y" { (yyval.str) = make_str("set data"); -;} +} break; case 857: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5470 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 858: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5477 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter aggregate"),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("set schema"),(yyvsp[(7) - (7)].str)); -;} +} break; case 859: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5481 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter domain"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 860: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5485 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter function"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 861: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5489 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter table"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 862: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5493 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter sequence"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 863: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5497 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter view"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 864: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5501 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter type"),(yyvsp[(3) - (6)].str),make_str("set schema"),(yyvsp[(6) - (6)].str)); -;} +} break; case 865: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5509 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter aggregate"),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("owner to"),(yyvsp[(7) - (7)].str)); -;} +} break; case 866: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5513 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter conversion"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 867: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5517 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter database"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 868: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5521 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter domain"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 869: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5525 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter function"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 870: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5529 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter"),(yyvsp[(2) - (7)].str),make_str("language"),(yyvsp[(4) - (7)].str),make_str("owner to"),(yyvsp[(7) - (7)].str)); -;} +} break; case 871: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5533 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter operator"),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("owner to"),(yyvsp[(7) - (7)].str)); -;} +} break; case 872: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5537 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator class"),(yyvsp[(4) - (9)].str),make_str("using"),(yyvsp[(6) - (9)].str),make_str("owner to"),(yyvsp[(9) - (9)].str)); -;} +} break; case 873: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5541 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter operator family"),(yyvsp[(4) - (9)].str),make_str("using"),(yyvsp[(6) - (9)].str),make_str("owner to"),(yyvsp[(9) - (9)].str)); -;} +} break; case 874: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5545 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter schema"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 875: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5549 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter type"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 876: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5553 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter tablespace"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 877: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5557 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search dictionary"),(yyvsp[(5) - (8)].str),make_str("owner to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 878: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5561 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search configuration"),(yyvsp[(5) - (8)].str),make_str("owner to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 879: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5565 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter foreign data wrapper"),(yyvsp[(5) - (8)].str),make_str("owner to"),(yyvsp[(8) - (8)].str)); -;} +} break; case 880: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5569 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter server"),(yyvsp[(3) - (6)].str),make_str("owner to"),(yyvsp[(6) - (6)].str)); -;} +} break; case 881: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5577 "preproc.y" { (yyval.str) = make_str("nothing"); -;} +} break; case 882: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5581 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 883: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5585 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 884: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5593 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(";"),(yyvsp[(3) - (3)].str)); -;} +} break; case 885: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5597 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 886: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5605 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 887: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5609 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 888: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5613 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 889: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5617 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 890: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5621 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 891: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5629 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 892: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5633 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 893: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5640 "preproc.y" { (yyval.str) = make_str("select"); -;} +} break; case 894: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5644 "preproc.y" { (yyval.str) = make_str("update"); -;} +} break; case 895: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5648 "preproc.y" { (yyval.str) = make_str("delete"); -;} +} break; case 896: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5652 "preproc.y" { (yyval.str) = make_str("insert"); -;} +} break; case 897: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5660 "preproc.y" { (yyval.str) = make_str("instead"); -;} +} break; case 898: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5664 "preproc.y" { (yyval.str) = make_str("also"); -;} +} break; case 899: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5668 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 900: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5675 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop rule"),(yyvsp[(3) - (6)].str),make_str("on"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 901: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5679 "preproc.y" { (yyval.str) = cat_str(5,make_str("drop rule if exists"),(yyvsp[(5) - (8)].str),make_str("on"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 902: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5687 "preproc.y" { (yyval.str) = cat_str(2,make_str("notify"),(yyvsp[(2) - (2)].str)); -;} +} break; case 903: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5695 "preproc.y" { (yyval.str) = cat_str(2,make_str("listen"),(yyvsp[(2) - (2)].str)); -;} +} break; case 904: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5703 "preproc.y" { (yyval.str) = cat_str(2,make_str("unlisten"),(yyvsp[(2) - (2)].str)); -;} +} break; case 905: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5707 "preproc.y" { (yyval.str) = make_str("unlisten *"); -;} +} break; case 906: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5715 "preproc.y" { (yyval.str) = cat_str(2,make_str("abort"),(yyvsp[(2) - (2)].str)); -;} +} break; case 907: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5719 "preproc.y" { (yyval.str) = cat_str(3,make_str("begin"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 908: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5723 "preproc.y" { (yyval.str) = cat_str(2,make_str("start transaction"),(yyvsp[(3) - (3)].str)); -;} +} break; case 909: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5727 "preproc.y" { (yyval.str) = cat_str(2,make_str("commit"),(yyvsp[(2) - (2)].str)); -;} +} break; case 910: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5731 "preproc.y" { (yyval.str) = cat_str(2,make_str("end"),(yyvsp[(2) - (2)].str)); -;} +} break; case 911: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5735 "preproc.y" { (yyval.str) = cat_str(2,make_str("rollback"),(yyvsp[(2) - (2)].str)); -;} +} break; case 912: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5739 "preproc.y" { (yyval.str) = cat_str(2,make_str("savepoint"),(yyvsp[(2) - (2)].str)); -;} +} break; case 913: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5743 "preproc.y" { (yyval.str) = cat_str(2,make_str("release savepoint"),(yyvsp[(3) - (3)].str)); -;} +} break; case 914: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5747 "preproc.y" { (yyval.str) = cat_str(2,make_str("release"),(yyvsp[(2) - (2)].str)); -;} +} break; case 915: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5751 "preproc.y" { (yyval.str) = cat_str(4,make_str("rollback"),(yyvsp[(2) - (5)].str),make_str("to savepoint"),(yyvsp[(5) - (5)].str)); -;} +} break; case 916: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5755 "preproc.y" { (yyval.str) = cat_str(4,make_str("rollback"),(yyvsp[(2) - (4)].str),make_str("to"),(yyvsp[(4) - (4)].str)); -;} +} break; case 917: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5759 "preproc.y" { (yyval.str) = cat_str(2,make_str("prepare transaction"),(yyvsp[(3) - (3)].str)); -;} +} break; case 918: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5763 "preproc.y" { (yyval.str) = cat_str(2,make_str("commit prepared"),(yyvsp[(3) - (3)].str)); -;} +} break; case 919: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5767 "preproc.y" { (yyval.str) = cat_str(2,make_str("rollback prepared"),(yyvsp[(3) - (3)].str)); -;} +} break; case 920: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5775 "preproc.y" { (yyval.str) = make_str("work"); -;} +} break; case 921: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5779 "preproc.y" { (yyval.str) = make_str("transaction"); -;} +} break; case 922: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5783 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 923: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5790 "preproc.y" { (yyval.str) = cat_str(2,make_str("isolation level"),(yyvsp[(3) - (3)].str)); -;} +} break; case 924: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5794 "preproc.y" { (yyval.str) = make_str("read only"); -;} +} break; case 925: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5798 "preproc.y" { (yyval.str) = make_str("read write"); -;} +} break; case 926: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5806 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 927: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5810 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 928: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5814 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 929: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5822 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 930: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5826 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 931: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5833 "preproc.y" { (yyval.str) = cat_str(8,make_str("create"),(yyvsp[(2) - (8)].str),make_str("view"),(yyvsp[(4) - (8)].str),(yyvsp[(5) - (8)].str),make_str("as"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 932: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5837 "preproc.y" { (yyval.str) = cat_str(8,make_str("create or replace"),(yyvsp[(4) - (10)].str),make_str("view"),(yyvsp[(6) - (10)].str),(yyvsp[(7) - (10)].str),make_str("as"),(yyvsp[(9) - (10)].str),(yyvsp[(10) - (10)].str)); -;} +} break; case 933: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5845 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = make_str("with check option"); -;} +} break; case 934: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5850 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = make_str("with cascaded check option"); -;} +} break; case 935: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5855 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = make_str("with local check option"); -;} +} break; case 936: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5860 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 937: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5867 "preproc.y" { (yyval.str) = cat_str(2,make_str("load"),(yyvsp[(2) - (2)].str)); -;} +} break; case 938: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5875 "preproc.y" { (yyval.str) = cat_str(4,make_str("create database"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 939: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5883 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 940: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5887 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 941: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5894 "preproc.y" { (yyval.str) = cat_str(3,make_str("tablespace"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 942: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5898 "preproc.y" { (yyval.str) = cat_str(3,make_str("tablespace"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 943: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5902 "preproc.y" { (yyval.str) = cat_str(3,make_str("location"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 944: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5906 "preproc.y" { (yyval.str) = cat_str(3,make_str("location"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 945: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5910 "preproc.y" { (yyval.str) = cat_str(3,make_str("template"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 946: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5914 "preproc.y" { (yyval.str) = cat_str(3,make_str("template"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 947: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5918 "preproc.y" { (yyval.str) = cat_str(3,make_str("encoding"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 948: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5922 "preproc.y" { (yyval.str) = cat_str(3,make_str("encoding"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 949: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5926 "preproc.y" { (yyval.str) = cat_str(3,make_str("encoding"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 950: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5930 "preproc.y" { (yyval.str) = cat_str(3,make_str("lc_collate"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 951: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5934 "preproc.y" { (yyval.str) = cat_str(3,make_str("lc_collate"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 952: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5938 "preproc.y" { (yyval.str) = cat_str(3,make_str("lc_ctype"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 953: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5942 "preproc.y" { (yyval.str) = cat_str(3,make_str("lc_ctype"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 954: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5946 "preproc.y" { (yyval.str) = cat_str(3,make_str("connection limit"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 955: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5950 "preproc.y" { (yyval.str) = cat_str(3,make_str("owner"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 956: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5954 "preproc.y" { (yyval.str) = cat_str(3,make_str("owner"),(yyvsp[(2) - (3)].str),make_str("default")); -;} +} break; case 957: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5962 "preproc.y" { (yyval.str) = make_str("="); -;} +} break; case 958: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5966 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 959: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5973 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter database"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 960: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5977 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter database"),(yyvsp[(3) - (6)].str),make_str("set tablespace"),(yyvsp[(6) - (6)].str)); -;} +} break; case 961: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5985 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter database"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 962: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5993 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 963: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 5997 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 964: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6004 "preproc.y" { (yyval.str) = cat_str(3,make_str("connection limit"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 965: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6012 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop database"),(yyvsp[(3) - (3)].str)); -;} +} break; case 966: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6016 "preproc.y" { (yyval.str) = cat_str(2,make_str("drop database if exists"),(yyvsp[(5) - (5)].str)); -;} +} break; case 967: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6024 "preproc.y" { (yyval.str) = cat_str(5,make_str("create domain"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 968: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6032 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter domain"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 969: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6036 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter domain"),(yyvsp[(3) - (6)].str),make_str("drop not null")); -;} +} break; case 970: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6040 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter domain"),(yyvsp[(3) - (6)].str),make_str("set not null")); -;} +} break; case 971: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6044 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter domain"),(yyvsp[(3) - (5)].str),make_str("add"),(yyvsp[(5) - (5)].str)); -;} +} break; case 972: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6048 "preproc.y" { (yyval.str) = cat_str(5,make_str("alter domain"),(yyvsp[(3) - (7)].str),make_str("drop constraint"),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 973: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6056 "preproc.y" { (yyval.str) = make_str("as"); -;} +} break; case 974: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6060 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 975: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6067 "preproc.y" { (yyval.str) = cat_str(3,make_str("alter text search dictionary"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 976: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6075 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter text search configuration"),(yyvsp[(5) - (11)].str),make_str("add mapping for"),(yyvsp[(9) - (11)].str),make_str("with"),(yyvsp[(11) - (11)].str)); -;} +} break; case 977: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6079 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter text search configuration"),(yyvsp[(5) - (11)].str),make_str("alter mapping for"),(yyvsp[(9) - (11)].str),make_str("with"),(yyvsp[(11) - (11)].str)); -;} +} break; case 978: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6083 "preproc.y" { (yyval.str) = cat_str(6,make_str("alter text search configuration"),(yyvsp[(5) - (11)].str),make_str("alter mapping replace"),(yyvsp[(9) - (11)].str),make_str("with"),(yyvsp[(11) - (11)].str)); -;} +} break; case 979: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6087 "preproc.y" { (yyval.str) = cat_str(8,make_str("alter text search configuration"),(yyvsp[(5) - (13)].str),make_str("alter mapping for"),(yyvsp[(9) - (13)].str),make_str("replace"),(yyvsp[(11) - (13)].str),make_str("with"),(yyvsp[(13) - (13)].str)); -;} +} break; case 980: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6091 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search configuration"),(yyvsp[(5) - (9)].str),make_str("drop mapping for"),(yyvsp[(9) - (9)].str)); -;} +} break; case 981: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6095 "preproc.y" { (yyval.str) = cat_str(4,make_str("alter text search configuration"),(yyvsp[(5) - (11)].str),make_str("drop mapping if exists for"),(yyvsp[(11) - (11)].str)); -;} +} break; case 982: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6103 "preproc.y" { (yyval.str) = cat_str(10,make_str("create"),(yyvsp[(2) - (10)].str),make_str("conversion"),(yyvsp[(4) - (10)].str),make_str("for"),(yyvsp[(6) - (10)].str),make_str("to"),(yyvsp[(8) - (10)].str),make_str("from"),(yyvsp[(10) - (10)].str)); -;} +} break; case 983: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6111 "preproc.y" { (yyval.str) = cat_str(4,make_str("cluster"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 984: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6115 "preproc.y" { (yyval.str) = cat_str(2,make_str("cluster"),(yyvsp[(2) - (2)].str)); -;} +} break; case 985: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6119 "preproc.y" { (yyval.str) = cat_str(5,make_str("cluster"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),make_str("on"),(yyvsp[(5) - (5)].str)); -;} +} break; case 986: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6127 "preproc.y" { (yyval.str) = cat_str(2,make_str("using"),(yyvsp[(2) - (2)].str)); -;} +} break; case 987: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6131 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 988: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6138 "preproc.y" { (yyval.str) = cat_str(4,make_str("vacuum"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 989: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6142 "preproc.y" { (yyval.str) = cat_str(5,make_str("vacuum"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 990: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6146 "preproc.y" { (yyval.str) = cat_str(5,make_str("vacuum"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 991: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6154 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 992: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6158 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 993: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6166 "preproc.y" { (yyval.str) = make_str("analyze"); -;} +} break; case 994: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6170 "preproc.y" { (yyval.str) = make_str("analyse"); -;} +} break; case 995: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6178 "preproc.y" { (yyval.str) = make_str("verbose"); -;} +} break; case 996: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6182 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 997: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6189 "preproc.y" { (yyval.str) = make_str("full"); -;} +} break; case 998: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6193 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 999: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6200 "preproc.y" { (yyval.str) = make_str("freeze"); -;} +} break; case 1000: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6204 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1001: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6211 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1002: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6215 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1003: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6222 "preproc.y" { (yyval.str) = cat_str(4,make_str("explain"),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1004: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6230 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1005: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6234 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1006: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6238 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1007: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6242 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1008: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6246 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1009: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6250 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1010: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6254 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1011: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6262 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1012: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6266 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1013: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6273 "preproc.y" { (yyval.prep).name = (yyvsp[(2) - (5)].str); (yyval.prep).type = (yyvsp[(3) - (5)].str); (yyval.prep).stmt = cat_str(3, make_str("\""), (yyvsp[(5) - (5)].str), make_str("\"")); - ;} + } break; case 1014: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6279 "preproc.y" { (yyval.prep).name = (yyvsp[(2) - (4)].str); (yyval.prep).type = NULL; (yyval.prep).stmt = (yyvsp[(4) - (4)].str); - ;} + } break; case 1015: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6289 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1016: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6293 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1017: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6300 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1018: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6304 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1019: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6308 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1020: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6312 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1021: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6320 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (4)].str); ;} + { (yyval.str) = (yyvsp[(2) - (4)].str); } break; case 1022: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6322 "preproc.y" { (yyval.str) = cat_str(7,make_str("create"),(yyvsp[(2) - (8)].str),make_str("table"),(yyvsp[(4) - (8)].str),make_str("as execute"),(yyvsp[(7) - (8)].str),(yyvsp[(8) - (8)].str)); -;} +} break; case 1023: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6330 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1024: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6334 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1025: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6341 "preproc.y" { (yyval.str) = cat_str(4,make_str("insert into"),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 1026: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6349 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1027: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6353 "preproc.y" { (yyval.str) = cat_str(4,make_str("("),(yyvsp[(2) - (4)].str),make_str(")"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1028: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6357 "preproc.y" { (yyval.str) = make_str("default values"); -;} +} break; case 1029: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6365 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1030: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6369 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1031: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6377 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1032: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6385 "preproc.y" { (yyval.str) = cat_str(2,make_str("returning"),(yyvsp[(2) - (3)].str)); -;} +} break; case 1033: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6389 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1034: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6396 "preproc.y" { (yyval.str) = cat_str(5,make_str("delete from"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 1035: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6404 "preproc.y" { (yyval.str) = cat_str(2,make_str("using"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1036: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6408 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1037: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6415 "preproc.y" { (yyval.str) = cat_str(5,make_str("lock"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 1038: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6423 "preproc.y" { (yyval.str) = cat_str(3,make_str("in"),(yyvsp[(2) - (3)].str),make_str("mode")); -;} +} break; case 1039: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6427 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1040: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6434 "preproc.y" { (yyval.str) = make_str("access share"); -;} +} break; case 1041: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6438 "preproc.y" { (yyval.str) = make_str("row share"); -;} +} break; case 1042: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6442 "preproc.y" { (yyval.str) = make_str("row exclusive"); -;} +} break; case 1043: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6446 "preproc.y" { (yyval.str) = make_str("share update exclusive"); -;} +} break; case 1044: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6450 "preproc.y" { (yyval.str) = make_str("share"); -;} +} break; case 1045: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6454 "preproc.y" { (yyval.str) = make_str("share row exclusive"); -;} +} break; case 1046: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6458 "preproc.y" { (yyval.str) = make_str("exclusive"); -;} +} break; case 1047: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6462 "preproc.y" { (yyval.str) = make_str("access exclusive"); -;} +} break; case 1048: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6470 "preproc.y" { (yyval.str) = make_str("nowait"); -;} +} break; case 1049: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6474 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1050: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6481 "preproc.y" { (yyval.str) = cat_str(7,make_str("update"),(yyvsp[(2) - (7)].str),make_str("set"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),(yyvsp[(7) - (7)].str)); -;} +} break; case 1051: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6489 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1052: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6493 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1053: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6501 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1054: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6505 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1055: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6513 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 1056: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6521 "preproc.y" { (yyval.str) = cat_str(4,make_str("("),(yyvsp[(2) - (5)].str),make_str(") ="),(yyvsp[(5) - (5)].str)); -;} +} break; case 1057: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6529 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1058: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6537 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1059: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6541 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1060: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6549 "preproc.y" { struct cursor *ptr, *this; @@ -32244,1392 +32283,1392 @@ (yyval.str) = cat_str(5, adjust_informix(this->argsinsert), adjust_informix(this->argsresult), make_str("/*"), c1, make_str("*/")); else (yyval.str) = cat_str(3, make_str("/*"), c1, make_str("*/")); - ;} + } break; case 1061: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6589 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1062: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6592 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("no scroll")); -;} +} break; case 1063: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6596 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("scroll")); -;} +} break; case 1064: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6600 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("binary")); -;} +} break; case 1065: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6604 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("insensitive")); -;} +} break; case 1066: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6612 "preproc.y" { if (compat == ECPG_COMPAT_INFORMIX_SE && autocommit == true) (yyval.str) = make_str("with hold"); else (yyval.str) = EMPTY; - ;} + } break; case 1067: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6619 "preproc.y" { (yyval.str) = make_str("with hold"); -;} +} break; case 1068: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6623 "preproc.y" { (yyval.str) = make_str("without hold"); -;} +} break; case 1069: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6631 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1070: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6635 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1071: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6643 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1072: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6647 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1073: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6655 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1074: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6659 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1075: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6663 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1076: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6667 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1077: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6671 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1078: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6675 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1079: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6679 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 1080: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6683 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 1081: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6691 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1082: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6695 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1083: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6703 "preproc.y" { (yyval.str) = cat_str(9,make_str("select"),(yyvsp[(2) - (9)].str),(yyvsp[(3) - (9)].str),(yyvsp[(4) - (9)].str),(yyvsp[(5) - (9)].str),(yyvsp[(6) - (9)].str),(yyvsp[(7) - (9)].str),(yyvsp[(8) - (9)].str),(yyvsp[(9) - (9)].str)); -;} +} break; case 1084: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6707 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1085: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6711 "preproc.y" { (yyval.str) = cat_str(2,make_str("table"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1086: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6715 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("union"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1087: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6719 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("intersect"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1088: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6723 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("except"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1089: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6731 "preproc.y" { (yyval.str) = cat_str(2,make_str("with"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1090: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6735 "preproc.y" { (yyval.str) = cat_str(2,make_str("with recursive"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1091: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6743 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1092: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6747 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1093: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6755 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),make_str("as"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1094: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6763 "preproc.y" { FoundInto = 1; (yyval.str)= cat2_str(make_str("into"), (yyvsp[(2) - (2)].str)); - ;} + } break; case 1095: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6767 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 1096: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6769 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1097: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6776 "preproc.y" { (yyval.str) = cat_str(3,make_str("temporary"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1098: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6780 "preproc.y" { (yyval.str) = cat_str(3,make_str("temp"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1099: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6784 "preproc.y" { (yyval.str) = cat_str(3,make_str("local temporary"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1100: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6788 "preproc.y" { (yyval.str) = cat_str(3,make_str("local temp"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1101: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6792 "preproc.y" { (yyval.str) = cat_str(3,make_str("global temporary"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1102: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6796 "preproc.y" { (yyval.str) = cat_str(3,make_str("global temp"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1103: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6800 "preproc.y" { (yyval.str) = cat_str(2,make_str("table"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1104: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6804 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6812 "preproc.y" { (yyval.str) = make_str("table"); -;} +} break; case 1106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6816 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6823 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 1108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6827 "preproc.y" { (yyval.str) = make_str("distinct"); -;} +} break; case 1109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6831 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6838 "preproc.y" { (yyval.str) = make_str("distinct"); -;} +} break; case 1111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6842 "preproc.y" { (yyval.str) = cat_str(3,make_str("distinct on ("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6846 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 1113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6850 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6857 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6861 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6868 "preproc.y" { (yyval.str) = cat_str(2,make_str("order by"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6876 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6880 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6888 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("using"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6892 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6900 "preproc.y" { (yyval.str) = cat_str(4,make_str("limit"),(yyvsp[(2) - (4)].str),make_str("offset"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1122: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6904 "preproc.y" { (yyval.str) = cat_str(4,make_str("offset"),(yyvsp[(2) - (4)].str),make_str("limit"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1123: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6908 "preproc.y" { (yyval.str) = cat_str(2,make_str("limit"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6912 "preproc.y" { (yyval.str) = cat_str(2,make_str("offset"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6916 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "no longer supported LIMIT #,# syntax passed to server"); (yyval.str) = cat_str(4, make_str("limit"), (yyvsp[(2) - (4)].str), make_str(","), (yyvsp[(4) - (4)].str)); - ;} + } break; case 1126: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6921 "preproc.y" { (yyval.str) = cat_str(3,make_str("offset"),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1127: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6925 "preproc.y" { (yyval.str) = cat_str(5,make_str("fetch"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),make_str("only")); -;} +} break; case 1128: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6929 "preproc.y" { (yyval.str) = cat_str(8,make_str("offset"),(yyvsp[(2) - (8)].str),(yyvsp[(3) - (8)].str),make_str("fetch"),(yyvsp[(5) - (8)].str),(yyvsp[(6) - (8)].str),(yyvsp[(7) - (8)].str),make_str("only")); -;} +} break; case 1129: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6937 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1130: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6941 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1131: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6948 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1132: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6952 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 1133: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6960 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1134: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6964 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1135: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6968 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1136: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6975 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1137: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6983 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1138: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6991 "preproc.y" { (yyval.str) = make_str("row"); -;} +} break; case 1139: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 6995 "preproc.y" { (yyval.str) = make_str("rows"); -;} +} break; case 1140: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7003 "preproc.y" { (yyval.str) = make_str("first"); -;} +} break; case 1141: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7007 "preproc.y" { (yyval.str) = make_str("next"); -;} +} break; case 1142: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7015 "preproc.y" { (yyval.str) = cat_str(2,make_str("group by"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1143: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7019 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1144: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7026 "preproc.y" { (yyval.str) = cat_str(2,make_str("having"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1145: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7030 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1146: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7037 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1147: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7041 "preproc.y" { (yyval.str) = make_str("for read only"); -;} +} break; case 1148: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7049 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1149: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7053 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1150: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7060 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1151: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7064 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1152: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7072 "preproc.y" { (yyval.str) = cat_str(3,make_str("for update"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1153: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7076 "preproc.y" { (yyval.str) = cat_str(3,make_str("for share"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1154: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7084 "preproc.y" { (yyval.str) = cat_str(2,make_str("of"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1155: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7088 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1156: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7095 "preproc.y" { (yyval.str) = cat_str(2,make_str("values"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1157: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7099 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1158: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7107 "preproc.y" { (yyval.str) = cat_str(2,make_str("from"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1159: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7111 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1160: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7118 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1161: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7122 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1162: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7130 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1163: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7134 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1164: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7138 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1165: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7142 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1166: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7146 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (5)].str),make_str("as ("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1167: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7150 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (6)].str),make_str("as"),(yyvsp[(3) - (6)].str),make_str("("),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1168: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7154 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),(yyvsp[(2) - (5)].str),make_str("("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1169: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7158 "preproc.y" { mmerror(PARSE_ERROR, ET_ERROR, "subquery in FROM must have an alias"); (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1170: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7164 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1171: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7168 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1172: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7172 "preproc.y" { (yyval.str) = cat_str(4,make_str("("),(yyvsp[(2) - (4)].str),make_str(")"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1173: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7180 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1174: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7184 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("cross join"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1175: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7188 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),(yyvsp[(2) - (5)].str),make_str("join"),(yyvsp[(4) - (5)].str),(yyvsp[(5) - (5)].str)); -;} +} break; case 1176: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7192 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("join"),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1177: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7196 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("natural"),(yyvsp[(3) - (5)].str),make_str("join"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1178: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7200 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("natural join"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1179: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7208 "preproc.y" { (yyval.str) = cat_str(5,make_str("as"),(yyvsp[(2) - (5)].str),make_str("("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1180: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7212 "preproc.y" { (yyval.str) = cat_str(2,make_str("as"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1181: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7216 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),make_str("("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1182: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7220 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1183: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7228 "preproc.y" { (yyval.str) = cat_str(2,make_str("full"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1184: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7232 "preproc.y" { (yyval.str) = cat_str(2,make_str("left"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1185: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7236 "preproc.y" { (yyval.str) = cat_str(2,make_str("right"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1186: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7240 "preproc.y" { (yyval.str) = make_str("inner"); -;} +} break; case 1187: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7248 "preproc.y" { (yyval.str) = make_str("outer"); -;} +} break; case 1188: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7252 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1189: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7259 "preproc.y" { (yyval.str) = cat_str(3,make_str("using ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1190: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7263 "preproc.y" { (yyval.str) = cat_str(2,make_str("on"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1191: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7271 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1192: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7275 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("*")); -;} +} break; case 1193: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7279 "preproc.y" { (yyval.str) = cat_str(2,make_str("only"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1194: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7283 "preproc.y" { (yyval.str) = cat_str(3,make_str("only ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1195: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7291 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1196: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7295 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1197: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7303 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1198: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7307 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1199: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7311 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("as"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1200: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7319 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1201: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7327 "preproc.y" { (yyval.str) = cat_str(2,make_str("where"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1202: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7331 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1203: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7338 "preproc.y" { (yyval.str) = cat_str(2,make_str("where"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1204: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7342 "preproc.y" { (yyval.str) = cat_str(2,make_str("where current of"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1205: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7346 "preproc.y" { (yyval.str) = cat_str(2,make_str("where current of"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1206: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7350 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1207: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7357 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1208: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7361 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1209: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7369 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1210: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7377 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].index).str); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].index).str); } break; case 1211: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7379 "preproc.y" - { (yyval.str) = (yyval.str) = cat_str(3, make_str("setof"), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].index).str); ;} + { (yyval.str) = (yyval.str) = cat_str(3, make_str("setof"), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].index).str); } break; case 1212: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7381 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (5)].str),make_str("array ["),(yyvsp[(4) - (5)].str),make_str("]")); -;} +} break; case 1213: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7385 "preproc.y" { (yyval.str) = cat_str(5,make_str("setof"),(yyvsp[(2) - (6)].str),make_str("array ["),(yyvsp[(5) - (6)].str),make_str("]")); -;} +} break; case 1214: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7389 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("array")); -;} +} break; case 1215: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7393 "preproc.y" { (yyval.str) = cat_str(3,make_str("setof"),(yyvsp[(2) - (3)].str),make_str("array")); -;} +} break; case 1216: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7401 "preproc.y" { (yyval.index).index1 = (yyvsp[(1) - (3)].index).index1; @@ -33639,12 +33678,12 @@ else if (strcmp((yyvsp[(1) - (3)].index).index2, "-1") == 0) (yyval.index).index2 = make_str("0"); (yyval.index).str = cat_str(2, (yyvsp[(1) - (3)].index).str, make_str("[]")); - ;} + } break; case 1217: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7411 "preproc.y" { (yyval.index).index1 = (yyvsp[(1) - (4)].index).index1; @@ -33654,6944 +33693,6944 @@ else if (strcmp((yyvsp[(1) - (4)].index).index2, "-1") == 0) (yyval.index).index2 = strdup((yyvsp[(3) - (4)].str)); (yyval.index).str = cat_str(4, (yyvsp[(1) - (4)].index).str, make_str("["), (yyvsp[(3) - (4)].str), make_str("]")); - ;} + } break; case 1218: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7421 "preproc.y" { (yyval.index).index1 = make_str("-1"); (yyval.index).index2 = make_str("-1"); (yyval.index).str= EMPTY; - ;} + } break; case 1219: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7431 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1220: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7435 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1221: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7439 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1222: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7443 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1223: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7447 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1224: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7451 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1225: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7455 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1226: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7463 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1227: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7467 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1228: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7471 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1229: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7475 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1230: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7483 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1231: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7487 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1232: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7495 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1233: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7499 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1234: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7506 "preproc.y" { (yyval.str) = make_str("int"); -;} +} break; case 1235: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7510 "preproc.y" { (yyval.str) = make_str("integer"); -;} +} break; case 1236: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7514 "preproc.y" { (yyval.str) = make_str("smallint"); -;} +} break; case 1237: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7518 "preproc.y" { (yyval.str) = make_str("bigint"); -;} +} break; case 1238: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7522 "preproc.y" { (yyval.str) = make_str("real"); -;} +} break; case 1239: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7526 "preproc.y" { (yyval.str) = cat_str(2,make_str("float"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1240: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7530 "preproc.y" { (yyval.str) = make_str("double precision"); -;} +} break; case 1241: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7534 "preproc.y" { (yyval.str) = cat_str(2,make_str("decimal"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1242: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7538 "preproc.y" { (yyval.str) = cat_str(2,make_str("dec"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1243: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7542 "preproc.y" { (yyval.str) = cat_str(2,make_str("numeric"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1244: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7546 "preproc.y" { (yyval.str) = make_str("boolean"); -;} +} break; case 1245: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7554 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1246: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7558 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1247: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7565 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1248: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7569 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1249: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7577 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1250: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7581 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1251: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7589 "preproc.y" { (yyval.str) = cat_str(5,make_str("bit"),(yyvsp[(2) - (5)].str),make_str("("),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1252: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7597 "preproc.y" { (yyval.str) = cat_str(2,make_str("bit"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1253: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7605 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1254: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7609 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1255: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7617 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1256: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7621 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1257: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7629 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1258: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7637 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1259: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7645 "preproc.y" { (yyval.str) = cat_str(2,make_str("character"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1260: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7649 "preproc.y" { (yyval.str) = cat_str(2,make_str("char"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1261: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7653 "preproc.y" { (yyval.str) = make_str("varchar"); -;} +} break; case 1262: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7657 "preproc.y" { (yyval.str) = cat_str(2,make_str("national character"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1263: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7661 "preproc.y" { (yyval.str) = cat_str(2,make_str("national char"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1264: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7665 "preproc.y" { (yyval.str) = cat_str(2,make_str("nchar"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1265: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7673 "preproc.y" { (yyval.str) = make_str("varying"); -;} +} break; case 1266: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7677 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1267: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7684 "preproc.y" { (yyval.str) = cat_str(2,make_str("character set"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1268: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7688 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1269: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7695 "preproc.y" { (yyval.str) = cat_str(4,make_str("timestamp ("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1270: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7699 "preproc.y" { (yyval.str) = cat_str(2,make_str("timestamp"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1271: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7703 "preproc.y" { (yyval.str) = cat_str(4,make_str("time ("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1272: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7707 "preproc.y" { (yyval.str) = cat_str(2,make_str("time"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1273: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7715 "preproc.y" { (yyval.str) = make_str("interval"); -;} +} break; case 1274: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7723 "preproc.y" { (yyval.str) = make_str("with time zone"); -;} +} break; case 1275: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7727 "preproc.y" { (yyval.str) = make_str("without time zone"); -;} +} break; case 1276: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7731 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1277: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7738 "preproc.y" { (yyval.str) = make_str("year"); -;} +} break; case 1278: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7742 "preproc.y" { (yyval.str) = make_str("month"); -;} +} break; case 1279: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7746 "preproc.y" { (yyval.str) = make_str("day"); -;} +} break; case 1280: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7750 "preproc.y" { (yyval.str) = make_str("hour"); -;} +} break; case 1281: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7754 "preproc.y" { (yyval.str) = make_str("minute"); -;} +} break; case 1282: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7758 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1283: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7762 "preproc.y" { (yyval.str) = make_str("year to month"); -;} +} break; case 1284: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7766 "preproc.y" { (yyval.str) = make_str("day to hour"); -;} +} break; case 1285: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7770 "preproc.y" { (yyval.str) = make_str("day to minute"); -;} +} break; case 1286: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7774 "preproc.y" { (yyval.str) = cat_str(2,make_str("day to"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1287: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7778 "preproc.y" { (yyval.str) = make_str("hour to minute"); -;} +} break; case 1288: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7782 "preproc.y" { (yyval.str) = cat_str(2,make_str("hour to"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1289: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7786 "preproc.y" { (yyval.str) = cat_str(2,make_str("minute to"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1290: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7790 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1291: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7797 "preproc.y" { (yyval.str) = make_str("second"); -;} +} break; case 1292: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7801 "preproc.y" { (yyval.str) = cat_str(3,make_str("second ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1293: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7809 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1294: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7813 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("::"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1295: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7817 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (5)].str),make_str("at time zone"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1296: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7821 "preproc.y" { (yyval.str) = cat_str(2,make_str("+"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1297: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7825 "preproc.y" { (yyval.str) = cat_str(2,make_str("-"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1298: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7829 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("+"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1299: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7833 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("-"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1300: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7837 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("*"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1301: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7841 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("/"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1302: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7845 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("%"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1303: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7849 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("^"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1304: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7853 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("<"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1305: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7857 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(">"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1306: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7861 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 1307: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7865 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1308: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7869 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1309: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7873 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1310: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7877 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("and"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1311: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7881 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("or"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1312: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7885 "preproc.y" { (yyval.str) = cat_str(2,make_str("not"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1313: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7889 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("like"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1314: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7893 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("like"),(yyvsp[(3) - (5)].str),make_str("escape"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1315: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7897 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("not like"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1316: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7901 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("not like"),(yyvsp[(4) - (6)].str),make_str("escape"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1317: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7905 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("ilike"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1318: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7909 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("ilike"),(yyvsp[(3) - (5)].str),make_str("escape"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1319: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7913 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("not ilike"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1320: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7917 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("not ilike"),(yyvsp[(4) - (6)].str),make_str("escape"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1321: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7921 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("similar to"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1322: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7925 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("similar to"),(yyvsp[(4) - (6)].str),make_str("escape"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1323: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7929 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (5)].str),make_str("not similar to"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1324: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7933 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (7)].str),make_str("not similar to"),(yyvsp[(5) - (7)].str),make_str("escape"),(yyvsp[(7) - (7)].str)); -;} +} break; case 1325: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7937 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is null")); -;} +} break; case 1326: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7941 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("isnull")); -;} +} break; case 1327: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7945 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not null")); -;} +} break; case 1328: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7949 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),make_str("notnull")); -;} +} break; case 1329: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7953 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("overlaps"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1330: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7957 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is true")); -;} +} break; case 1331: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7961 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not true")); -;} +} break; case 1332: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7965 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is false")); -;} +} break; case 1333: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7969 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not false")); -;} +} break; case 1334: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7973 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is unknown")); -;} +} break; case 1335: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7977 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not unknown")); -;} +} break; case 1336: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7981 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (5)].str),make_str("is distinct from"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1337: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7985 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (6)].str),make_str("is not distinct from"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1338: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7989 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (6)].str),make_str("is of ("),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1339: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7993 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (7)].str),make_str("is not of ("),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1340: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 7997 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (6)].str),make_str("between"),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),make_str("and"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1341: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8001 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (7)].str),make_str("not between"),(yyvsp[(4) - (7)].str),(yyvsp[(5) - (7)].str),make_str("and"),(yyvsp[(7) - (7)].str)); -;} +} break; case 1342: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8005 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("between symmetric"),(yyvsp[(4) - (6)].str),make_str("and"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1343: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8009 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (7)].str),make_str("not between symmetric"),(yyvsp[(5) - (7)].str),make_str("and"),(yyvsp[(7) - (7)].str)); -;} +} break; case 1344: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8013 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("in"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1345: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8017 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("not in"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1346: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8021 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1347: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8025 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (6)].str),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),make_str("("),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1348: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8029 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = cat_str(2,make_str("unique"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1349: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8034 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is document")); -;} +} break; case 1350: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8038 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not document")); -;} +} break; case 1351: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8046 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1352: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8050 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("::"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1353: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8054 "preproc.y" { (yyval.str) = cat_str(2,make_str("+"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1354: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8058 "preproc.y" { (yyval.str) = cat_str(2,make_str("-"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1355: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8062 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("+"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1356: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8066 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("-"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1357: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8070 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("*"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1358: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8074 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("/"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1359: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8078 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("%"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1360: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8082 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("^"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1361: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8086 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("<"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1362: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8090 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(">"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1363: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8094 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("="),(yyvsp[(3) - (3)].str)); -;} +} break; case 1364: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8098 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1365: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8102 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1366: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8106 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1367: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8110 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (5)].str),make_str("is distinct from"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1368: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8114 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (6)].str),make_str("is not distinct from"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1369: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8118 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (6)].str),make_str("is of ("),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1370: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8122 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (7)].str),make_str("is not of ("),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1371: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8126 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (3)].str),make_str("is document")); -;} +} break; case 1372: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8130 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (4)].str),make_str("is not document")); -;} +} break; case 1373: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8138 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1374: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8142 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1375: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8146 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1376: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8150 "preproc.y" { (yyval.str) = cat_str(4,make_str("("),(yyvsp[(2) - (4)].str),make_str(")"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1377: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8154 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1378: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8158 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1379: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8162 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1380: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8166 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1381: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8170 "preproc.y" { (yyval.str) = cat_str(2,make_str("exists"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1382: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8174 "preproc.y" { (yyval.str) = cat_str(2,make_str("array"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1383: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8178 "preproc.y" { (yyval.str) = cat_str(2,make_str("array"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1384: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8182 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1385: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8190 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (4)].str),make_str("( )"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1386: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8194 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1387: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8198 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("( variadic"),(yyvsp[(4) - (6)].str),make_str(")"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1388: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8202 "preproc.y" { (yyval.str) = cat_str(7,(yyvsp[(1) - (8)].str),make_str("("),(yyvsp[(3) - (8)].str),make_str(", variadic"),(yyvsp[(6) - (8)].str),make_str(")"),(yyvsp[(8) - (8)].str)); -;} +} break; case 1389: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8206 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("( all"),(yyvsp[(4) - (6)].str),make_str(")"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1390: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8210 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (6)].str),make_str("( distinct"),(yyvsp[(4) - (6)].str),make_str(")"),(yyvsp[(6) - (6)].str)); -;} +} break; case 1391: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8214 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (5)].str),make_str("( * )"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1392: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8218 "preproc.y" { (yyval.str) = make_str("current_date"); -;} +} break; case 1393: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8222 "preproc.y" { (yyval.str) = make_str("current_time"); -;} +} break; case 1394: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8226 "preproc.y" { (yyval.str) = cat_str(3,make_str("current_time ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1395: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8230 "preproc.y" { (yyval.str) = make_str("current_timestamp"); -;} +} break; case 1396: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8234 "preproc.y" { (yyval.str) = cat_str(3,make_str("current_timestamp ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1397: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8238 "preproc.y" { (yyval.str) = make_str("localtime"); -;} +} break; case 1398: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8242 "preproc.y" { (yyval.str) = cat_str(3,make_str("localtime ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1399: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8246 "preproc.y" { (yyval.str) = make_str("localtimestamp"); -;} +} break; case 1400: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8250 "preproc.y" { (yyval.str) = cat_str(3,make_str("localtimestamp ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1401: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8254 "preproc.y" { (yyval.str) = make_str("current_role"); -;} +} break; case 1402: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8258 "preproc.y" { (yyval.str) = make_str("current_user"); -;} +} break; case 1403: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8262 "preproc.y" { (yyval.str) = make_str("session_user"); -;} +} break; case 1404: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8266 "preproc.y" { (yyval.str) = make_str("user"); -;} +} break; case 1405: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8270 "preproc.y" { (yyval.str) = make_str("current_catalog"); -;} +} break; case 1406: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8274 "preproc.y" { (yyval.str) = make_str("current_schema"); -;} +} break; case 1407: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8278 "preproc.y" { (yyval.str) = cat_str(5,make_str("cast ("),(yyvsp[(3) - (6)].str),make_str("as"),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1408: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8282 "preproc.y" { (yyval.str) = cat_str(3,make_str("extract ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1409: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8286 "preproc.y" { (yyval.str) = cat_str(3,make_str("overlay ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1410: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8290 "preproc.y" { (yyval.str) = cat_str(3,make_str("position ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1411: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8294 "preproc.y" { (yyval.str) = cat_str(3,make_str("substring ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1412: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8298 "preproc.y" { (yyval.str) = cat_str(5,make_str("treat ("),(yyvsp[(3) - (6)].str),make_str("as"),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1413: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8302 "preproc.y" { (yyval.str) = cat_str(3,make_str("trim ( both"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1414: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8306 "preproc.y" { (yyval.str) = cat_str(3,make_str("trim ( leading"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1415: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8310 "preproc.y" { (yyval.str) = cat_str(3,make_str("trim ( trailing"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1416: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8314 "preproc.y" { (yyval.str) = cat_str(3,make_str("trim ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1417: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8318 "preproc.y" { (yyval.str) = cat_str(5,make_str("nullif ("),(yyvsp[(3) - (6)].str),make_str(","),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1418: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8322 "preproc.y" { (yyval.str) = cat_str(3,make_str("coalesce ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1419: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8326 "preproc.y" { (yyval.str) = cat_str(3,make_str("greatest ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1420: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8330 "preproc.y" { (yyval.str) = cat_str(3,make_str("least ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1421: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8334 "preproc.y" { (yyval.str) = cat_str(3,make_str("xmlconcat ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1422: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8338 "preproc.y" { (yyval.str) = cat_str(3,make_str("xmlelement ( name"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1423: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8342 "preproc.y" { (yyval.str) = cat_str(5,make_str("xmlelement ( name"),(yyvsp[(4) - (7)].str),make_str(","),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1424: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8346 "preproc.y" { (yyval.str) = cat_str(5,make_str("xmlelement ( name"),(yyvsp[(4) - (7)].str),make_str(","),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1425: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8350 "preproc.y" { (yyval.str) = cat_str(7,make_str("xmlelement ( name"),(yyvsp[(4) - (9)].str),make_str(","),(yyvsp[(6) - (9)].str),make_str(","),(yyvsp[(8) - (9)].str),make_str(")")); -;} +} break; case 1426: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8354 "preproc.y" { (yyval.str) = cat_str(3,make_str("xmlforest ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1427: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8358 "preproc.y" { (yyval.str) = cat_str(5,make_str("xmlparse ("),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1428: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8362 "preproc.y" { (yyval.str) = cat_str(3,make_str("xmlpi ( name"),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1429: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8366 "preproc.y" { (yyval.str) = cat_str(5,make_str("xmlpi ( name"),(yyvsp[(4) - (7)].str),make_str(","),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1430: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8370 "preproc.y" { (yyval.str) = cat_str(6,make_str("xmlroot ("),(yyvsp[(3) - (7)].str),make_str(","),(yyvsp[(5) - (7)].str),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1431: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8374 "preproc.y" { (yyval.str) = cat_str(6,make_str("xmlserialize ("),(yyvsp[(3) - (7)].str),(yyvsp[(4) - (7)].str),make_str("as"),(yyvsp[(6) - (7)].str),make_str(")")); -;} +} break; case 1432: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8382 "preproc.y" { (yyval.str) = cat_str(2,make_str("version"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1433: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8386 "preproc.y" { (yyval.str) = make_str("version no value"); -;} +} break; case 1434: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8394 "preproc.y" { (yyval.str) = make_str(", standalone yes"); -;} +} break; case 1435: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8398 "preproc.y" { (yyval.str) = make_str(", standalone no"); -;} +} break; case 1436: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8402 "preproc.y" { (yyval.str) = make_str(", standalone no value"); -;} +} break; case 1437: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8406 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1438: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8413 "preproc.y" { (yyval.str) = cat_str(3,make_str("xmlattributes ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1439: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8421 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1440: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8425 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1441: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8433 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("as"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1442: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8437 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1443: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8445 "preproc.y" { (yyval.str) = make_str("document"); -;} +} break; case 1444: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8449 "preproc.y" { (yyval.str) = make_str("content"); -;} +} break; case 1445: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8457 "preproc.y" { (yyval.str) = make_str("preserve whitespace"); -;} +} break; case 1446: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8461 "preproc.y" { (yyval.str) = make_str("strip whitespace"); -;} +} break; case 1447: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8465 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1448: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8472 "preproc.y" { (yyval.str) = cat_str(2,make_str("window"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1449: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8476 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1450: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8483 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1451: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8487 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1452: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8495 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("as"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1453: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8503 "preproc.y" { (yyval.str) = cat_str(2,make_str("over"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1454: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8507 "preproc.y" { (yyval.str) = cat_str(2,make_str("over"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1455: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8511 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1456: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8518 "preproc.y" { (yyval.str) = cat_str(6,make_str("("),(yyvsp[(2) - (6)].str),(yyvsp[(3) - (6)].str),(yyvsp[(4) - (6)].str),(yyvsp[(5) - (6)].str),make_str(")")); -;} +} break; case 1457: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8526 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1458: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8530 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1459: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8537 "preproc.y" { (yyval.str) = cat_str(2,make_str("partition by"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1460: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8541 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1461: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8548 "preproc.y" { (yyval.str) = cat_str(2,make_str("range"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1462: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8552 "preproc.y" { (yyval.str) = cat_str(2,make_str("rows"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1463: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8556 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1464: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8563 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1465: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8568 "preproc.y" { mmerror(PARSE_ERROR, ET_WARNING, "unsupported feature will be passed to server"); (yyval.str) = cat_str(4,make_str("between"),(yyvsp[(2) - (4)].str),make_str("and"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1466: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8577 "preproc.y" { (yyval.str) = make_str("unbounded preceding"); -;} +} break; case 1467: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8581 "preproc.y" { (yyval.str) = make_str("unbounded following"); -;} +} break; case 1468: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8585 "preproc.y" { (yyval.str) = make_str("current row"); -;} +} break; case 1469: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8593 "preproc.y" { (yyval.str) = cat_str(3,make_str("row ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1470: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8597 "preproc.y" { (yyval.str) = make_str("row ( )"); -;} +} break; case 1471: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8601 "preproc.y" { (yyval.str) = cat_str(5,make_str("("),(yyvsp[(2) - (5)].str),make_str(","),(yyvsp[(4) - (5)].str),make_str(")")); -;} +} break; case 1472: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8609 "preproc.y" { (yyval.str) = make_str("any"); -;} +} break; case 1473: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8613 "preproc.y" { (yyval.str) = make_str("some"); -;} +} break; case 1474: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8617 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 1475: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8625 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1476: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8629 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1477: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8637 "preproc.y" { (yyval.str) = make_str("+"); -;} +} break; case 1478: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8641 "preproc.y" { (yyval.str) = make_str("-"); -;} +} break; case 1479: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8645 "preproc.y" { (yyval.str) = make_str("*"); -;} +} break; case 1480: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8649 "preproc.y" { (yyval.str) = make_str("/"); -;} +} break; case 1481: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8653 "preproc.y" { (yyval.str) = make_str("%"); -;} +} break; case 1482: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8657 "preproc.y" { (yyval.str) = make_str("^"); -;} +} break; case 1483: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8661 "preproc.y" { (yyval.str) = make_str("<"); -;} +} break; case 1484: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8665 "preproc.y" { (yyval.str) = make_str(">"); -;} +} break; case 1485: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8669 "preproc.y" { (yyval.str) = make_str("="); -;} +} break; case 1486: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8677 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1487: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8681 "preproc.y" { (yyval.str) = cat_str(3,make_str("operator ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1488: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8689 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1489: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8693 "preproc.y" { (yyval.str) = cat_str(3,make_str("operator ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1490: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8701 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1491: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8705 "preproc.y" { (yyval.str) = cat_str(3,make_str("operator ("),(yyvsp[(3) - (4)].str),make_str(")")); -;} +} break; case 1492: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8709 "preproc.y" { (yyval.str) = make_str("like"); -;} +} break; case 1493: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8713 "preproc.y" { (yyval.str) = make_str("not like"); -;} +} break; case 1494: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8717 "preproc.y" { (yyval.str) = make_str("ilike"); -;} +} break; case 1495: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8721 "preproc.y" { (yyval.str) = make_str("not ilike"); -;} +} break; case 1496: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8729 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1497: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8733 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1498: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8741 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1499: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8745 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1500: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8753 "preproc.y" { (yyval.str) = cat_str(3,make_str("["),(yyvsp[(2) - (3)].str),make_str("]")); -;} +} break; case 1501: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8757 "preproc.y" { (yyval.str) = cat_str(3,make_str("["),(yyvsp[(2) - (3)].str),make_str("]")); -;} +} break; case 1502: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8761 "preproc.y" { (yyval.str) = make_str("[ ]"); -;} +} break; case 1503: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8769 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1504: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8773 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1505: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8781 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("from"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1506: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8785 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1507: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8792 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1508: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8796 "preproc.y" { (yyval.str) = make_str("year"); -;} +} break; case 1509: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8800 "preproc.y" { (yyval.str) = make_str("month"); -;} +} break; case 1510: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8804 "preproc.y" { (yyval.str) = make_str("day"); -;} +} break; case 1511: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8808 "preproc.y" { (yyval.str) = make_str("hour"); -;} +} break; case 1512: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8812 "preproc.y" { (yyval.str) = make_str("minute"); -;} +} break; case 1513: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8816 "preproc.y" { (yyval.str) = make_str("second"); -;} +} break; case 1514: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8820 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1515: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8828 "preproc.y" { (yyval.str) = cat_str(4,(yyvsp[(1) - (4)].str),(yyvsp[(2) - (4)].str),(yyvsp[(3) - (4)].str),(yyvsp[(4) - (4)].str)); -;} +} break; case 1516: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8832 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1517: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8840 "preproc.y" { (yyval.str) = cat_str(2,make_str("placing"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1518: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8848 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("in"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1519: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8852 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1520: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8859 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1521: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8863 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1522: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8867 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1523: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8871 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1524: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8875 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1525: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8879 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1526: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8886 "preproc.y" { (yyval.str) = cat_str(2,make_str("from"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1527: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8894 "preproc.y" { (yyval.str) = cat_str(2,make_str("for"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1528: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8902 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("from"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1529: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8906 "preproc.y" { (yyval.str) = cat_str(2,make_str("from"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1530: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8910 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1531: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8918 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1532: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8922 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1533: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8930 "preproc.y" { (yyval.str) = cat_str(5,make_str("case"),(yyvsp[(2) - (5)].str),(yyvsp[(3) - (5)].str),(yyvsp[(4) - (5)].str),make_str("end")); -;} +} break; case 1534: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8938 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1535: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8942 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1536: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8950 "preproc.y" { (yyval.str) = cat_str(4,make_str("when"),(yyvsp[(2) - (4)].str),make_str("then"),(yyvsp[(4) - (4)].str)); -;} +} break; case 1537: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8958 "preproc.y" { (yyval.str) = cat_str(2,make_str("else"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1538: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8962 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1539: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8969 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1540: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8973 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1541: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8980 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1542: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8984 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1543: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8992 "preproc.y" { (yyval.str) = cat_str(2,make_str("."),(yyvsp[(2) - (2)].str)); -;} +} break; case 1544: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 8996 "preproc.y" { (yyval.str) = make_str(". *"); -;} +} break; case 1545: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9000 "preproc.y" { (yyval.str) = cat_str(3,make_str("["),(yyvsp[(2) - (3)].str),make_str("]")); -;} +} break; case 1546: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9004 "preproc.y" { (yyval.str) = cat_str(5,make_str("["),(yyvsp[(2) - (5)].str),make_str(":"),(yyvsp[(4) - (5)].str),make_str("]")); -;} +} break; case 1547: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9012 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1548: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9016 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1549: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9024 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1550: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9027 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1551: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9035 "preproc.y" { (yyval.str) = make_str("asymmetric"); -;} +} break; case 1552: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9039 "preproc.y" { - (yyval.str)=EMPTY; ;} + (yyval.str)=EMPTY; } break; case 1553: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9046 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1554: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9050 "preproc.y" { (yyval.str) = make_str("default"); -;} +} break; case 1555: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9058 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1556: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9062 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1557: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9070 "preproc.y" { (yyval.str) = cat_str(3,make_str("("),(yyvsp[(2) - (3)].str),make_str(")")); -;} +} break; case 1558: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9078 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1559: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9082 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1560: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9090 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str("as"),(yyvsp[(3) - (3)].str)); -;} +} break; case 1561: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9094 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1562: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9098 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1563: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9102 "preproc.y" { (yyval.str) = make_str("*"); -;} +} break; case 1564: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9110 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1565: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9114 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1566: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9122 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1567: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9126 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1568: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9134 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1569: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9138 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1570: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9146 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1571: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9150 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),make_str(","),(yyvsp[(3) - (3)].str)); -;} +} break; case 1572: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9158 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1573: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9166 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1574: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9174 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1575: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9182 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1576: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9190 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1577: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9198 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1578: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9206 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1579: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9210 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1580: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9218 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1581: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9222 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1582: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9226 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1583: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9230 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1584: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9234 "preproc.y" { (yyval.str) = make_str("xconst"); -;} +} break; case 1585: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9238 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1586: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9242 "preproc.y" { (yyval.str) = cat_str(5,(yyvsp[(1) - (5)].str),make_str("("),(yyvsp[(3) - (5)].str),make_str(")"),(yyvsp[(5) - (5)].str)); -;} +} break; case 1587: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9246 "preproc.y" { (yyval.str) = cat_str(2,(yyvsp[(1) - (2)].str),(yyvsp[(2) - (2)].str)); -;} +} break; case 1588: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9250 "preproc.y" { (yyval.str) = cat_str(3,(yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str),(yyvsp[(3) - (3)].str)); -;} +} break; case 1589: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9254 "preproc.y" { (yyval.str) = cat_str(6,(yyvsp[(1) - (6)].str),make_str("("),(yyvsp[(3) - (6)].str),make_str(")"),(yyvsp[(5) - (6)].str),(yyvsp[(6) - (6)].str)); -;} +} break; case 1590: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9258 "preproc.y" { (yyval.str) = make_str("true"); -;} +} break; case 1591: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9262 "preproc.y" { (yyval.str) = make_str("false"); -;} +} break; case 1592: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9266 "preproc.y" { (yyval.str) = make_str("null"); -;} +} break; case 1593: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9269 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1594: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9270 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1595: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9276 "preproc.y" - { (yyval.str) = make_name(); ;} + { (yyval.str) = make_name(); } break; case 1596: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9282 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1597: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9290 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); -;} +} break; case 1598: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9293 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 1599: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9295 "preproc.y" { (yyval.str) = cat_str(2,make_str("+"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1600: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9299 "preproc.y" { (yyval.str) = cat_str(2,make_str("-"),(yyvsp[(2) - (2)].str)); -;} +} break; case 1601: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9307 "preproc.y" { (yyval.str) = make_str("abort"); -;} +} break; case 1602: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9311 "preproc.y" { (yyval.str) = make_str("absolute"); -;} +} break; case 1603: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9315 "preproc.y" { (yyval.str) = make_str("access"); -;} +} break; case 1604: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9319 "preproc.y" { (yyval.str) = make_str("action"); -;} +} break; case 1605: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9323 "preproc.y" { (yyval.str) = make_str("add"); -;} +} break; case 1606: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9327 "preproc.y" { (yyval.str) = make_str("admin"); -;} +} break; case 1607: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9331 "preproc.y" { (yyval.str) = make_str("after"); -;} +} break; case 1608: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9335 "preproc.y" { (yyval.str) = make_str("aggregate"); -;} +} break; case 1609: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9339 "preproc.y" { (yyval.str) = make_str("also"); -;} +} break; case 1610: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9343 "preproc.y" { (yyval.str) = make_str("alter"); -;} +} break; case 1611: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9347 "preproc.y" { (yyval.str) = make_str("always"); -;} +} break; case 1612: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9351 "preproc.y" { (yyval.str) = make_str("assertion"); -;} +} break; case 1613: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9355 "preproc.y" { (yyval.str) = make_str("assignment"); -;} +} break; case 1614: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9359 "preproc.y" { (yyval.str) = make_str("at"); -;} +} break; case 1615: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9363 "preproc.y" { (yyval.str) = make_str("backward"); -;} +} break; case 1616: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9367 "preproc.y" { (yyval.str) = make_str("before"); -;} +} break; case 1617: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9371 "preproc.y" { (yyval.str) = make_str("begin"); -;} +} break; case 1618: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9375 "preproc.y" { (yyval.str) = make_str("by"); -;} +} break; case 1619: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9379 "preproc.y" { (yyval.str) = make_str("cache"); -;} +} break; case 1620: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9383 "preproc.y" { (yyval.str) = make_str("called"); -;} +} break; case 1621: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9387 "preproc.y" { (yyval.str) = make_str("cascade"); -;} +} break; case 1622: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9391 "preproc.y" { (yyval.str) = make_str("cascaded"); -;} +} break; case 1623: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9395 "preproc.y" { (yyval.str) = make_str("catalog"); -;} +} break; case 1624: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9399 "preproc.y" { (yyval.str) = make_str("chain"); -;} +} break; case 1625: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9403 "preproc.y" { (yyval.str) = make_str("characteristics"); -;} +} break; case 1626: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9407 "preproc.y" { (yyval.str) = make_str("checkpoint"); -;} +} break; case 1627: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9411 "preproc.y" { (yyval.str) = make_str("class"); -;} +} break; case 1628: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9415 "preproc.y" { (yyval.str) = make_str("close"); -;} +} break; case 1629: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9419 "preproc.y" { (yyval.str) = make_str("cluster"); -;} +} break; case 1630: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9423 "preproc.y" { (yyval.str) = make_str("comment"); -;} +} break; case 1631: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9427 "preproc.y" { (yyval.str) = make_str("commit"); -;} +} break; case 1632: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9431 "preproc.y" { (yyval.str) = make_str("committed"); -;} +} break; case 1633: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9435 "preproc.y" { (yyval.str) = make_str("concurrently"); -;} +} break; case 1634: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9439 "preproc.y" { (yyval.str) = make_str("configuration"); -;} +} break; case 1635: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9443 "preproc.y" { (yyval.str) = make_str("constraints"); -;} +} break; case 1636: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9447 "preproc.y" { (yyval.str) = make_str("content"); -;} +} break; case 1637: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9451 "preproc.y" { (yyval.str) = make_str("continue"); -;} +} break; case 1638: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9455 "preproc.y" { (yyval.str) = make_str("conversion"); -;} +} break; case 1639: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9459 "preproc.y" { (yyval.str) = make_str("copy"); -;} +} break; case 1640: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9463 "preproc.y" { (yyval.str) = make_str("cost"); -;} +} break; case 1641: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9467 "preproc.y" { (yyval.str) = make_str("createdb"); -;} +} break; case 1642: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9471 "preproc.y" { (yyval.str) = make_str("createrole"); -;} +} break; case 1643: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9475 "preproc.y" { (yyval.str) = make_str("createuser"); -;} +} break; case 1644: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9479 "preproc.y" { (yyval.str) = make_str("csv"); -;} +} break; case 1645: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9483 "preproc.y" { (yyval.str) = make_str("cursor"); -;} +} break; case 1646: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9487 "preproc.y" { (yyval.str) = make_str("cycle"); -;} +} break; case 1647: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9491 "preproc.y" { (yyval.str) = make_str("data"); -;} +} break; case 1648: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9495 "preproc.y" { (yyval.str) = make_str("database"); -;} +} break; case 1649: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9499 "preproc.y" { (yyval.str) = make_str("deallocate"); -;} +} break; case 1650: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9503 "preproc.y" { (yyval.str) = make_str("declare"); -;} +} break; case 1651: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9507 "preproc.y" { (yyval.str) = make_str("defaults"); -;} +} break; case 1652: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9511 "preproc.y" { (yyval.str) = make_str("deferred"); -;} +} break; case 1653: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9515 "preproc.y" { (yyval.str) = make_str("definer"); -;} +} break; case 1654: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9519 "preproc.y" { (yyval.str) = make_str("delete"); -;} +} break; case 1655: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9523 "preproc.y" { (yyval.str) = make_str("delimiter"); -;} +} break; case 1656: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9527 "preproc.y" { (yyval.str) = make_str("delimiters"); -;} +} break; case 1657: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9531 "preproc.y" { (yyval.str) = make_str("dictionary"); -;} +} break; case 1658: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9535 "preproc.y" { (yyval.str) = make_str("disable"); -;} +} break; case 1659: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9539 "preproc.y" { (yyval.str) = make_str("discard"); -;} +} break; case 1660: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9543 "preproc.y" { (yyval.str) = make_str("document"); -;} +} break; case 1661: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9547 "preproc.y" { (yyval.str) = make_str("domain"); -;} +} break; case 1662: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9551 "preproc.y" { (yyval.str) = make_str("double"); -;} +} break; case 1663: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9555 "preproc.y" { (yyval.str) = make_str("drop"); -;} +} break; case 1664: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9559 "preproc.y" { (yyval.str) = make_str("each"); -;} +} break; case 1665: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9563 "preproc.y" { (yyval.str) = make_str("enable"); -;} +} break; case 1666: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9567 "preproc.y" { (yyval.str) = make_str("encoding"); -;} +} break; case 1667: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9571 "preproc.y" { (yyval.str) = make_str("encrypted"); -;} +} break; case 1668: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9575 "preproc.y" { (yyval.str) = make_str("enum"); -;} +} break; case 1669: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9579 "preproc.y" { (yyval.str) = make_str("escape"); -;} +} break; case 1670: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9583 "preproc.y" { (yyval.str) = make_str("excluding"); -;} +} break; case 1671: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9587 "preproc.y" { (yyval.str) = make_str("exclusive"); -;} +} break; case 1672: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9591 "preproc.y" { (yyval.str) = make_str("execute"); -;} +} break; case 1673: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9595 "preproc.y" { (yyval.str) = make_str("explain"); -;} +} break; case 1674: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9599 "preproc.y" { (yyval.str) = make_str("external"); -;} +} break; case 1675: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9603 "preproc.y" { (yyval.str) = make_str("family"); -;} +} break; case 1676: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9607 "preproc.y" { (yyval.str) = make_str("first"); -;} +} break; case 1677: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9611 "preproc.y" { (yyval.str) = make_str("following"); -;} +} break; case 1678: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9615 "preproc.y" { (yyval.str) = make_str("force"); -;} +} break; case 1679: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9619 "preproc.y" { (yyval.str) = make_str("forward"); -;} +} break; case 1680: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9623 "preproc.y" { (yyval.str) = make_str("function"); -;} +} break; case 1681: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9627 "preproc.y" { (yyval.str) = make_str("global"); -;} +} break; case 1682: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9631 "preproc.y" { (yyval.str) = make_str("granted"); -;} +} break; case 1683: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9635 "preproc.y" { (yyval.str) = make_str("handler"); -;} +} break; case 1684: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9639 "preproc.y" { (yyval.str) = make_str("header"); -;} +} break; case 1685: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9643 "preproc.y" { (yyval.str) = make_str("hold"); -;} +} break; case 1686: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9647 "preproc.y" { (yyval.str) = make_str("identity"); -;} +} break; case 1687: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9651 "preproc.y" { (yyval.str) = make_str("if"); -;} +} break; case 1688: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9655 "preproc.y" { (yyval.str) = make_str("immediate"); -;} +} break; case 1689: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9659 "preproc.y" { (yyval.str) = make_str("immutable"); -;} +} break; case 1690: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9663 "preproc.y" { (yyval.str) = make_str("implicit"); -;} +} break; case 1691: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9667 "preproc.y" { (yyval.str) = make_str("including"); -;} +} break; case 1692: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9671 "preproc.y" { (yyval.str) = make_str("increment"); -;} +} break; case 1693: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9675 "preproc.y" { (yyval.str) = make_str("index"); -;} +} break; case 1694: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9679 "preproc.y" { (yyval.str) = make_str("indexes"); -;} +} break; case 1695: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9683 "preproc.y" { (yyval.str) = make_str("inherit"); -;} +} break; case 1696: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9687 "preproc.y" { (yyval.str) = make_str("inherits"); -;} +} break; case 1697: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9691 "preproc.y" { (yyval.str) = make_str("insensitive"); -;} +} break; case 1698: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9695 "preproc.y" { (yyval.str) = make_str("insert"); -;} +} break; case 1699: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9699 "preproc.y" { (yyval.str) = make_str("instead"); -;} +} break; case 1700: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9703 "preproc.y" { (yyval.str) = make_str("invoker"); -;} +} break; case 1701: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9707 "preproc.y" { (yyval.str) = make_str("isolation"); -;} +} break; case 1702: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9711 "preproc.y" { (yyval.str) = make_str("key"); -;} +} break; case 1703: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9715 "preproc.y" { (yyval.str) = make_str("lancompiler"); -;} +} break; case 1704: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9719 "preproc.y" { (yyval.str) = make_str("language"); -;} +} break; case 1705: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9723 "preproc.y" { (yyval.str) = make_str("large"); -;} +} break; case 1706: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9727 "preproc.y" { (yyval.str) = make_str("last"); -;} +} break; case 1707: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9731 "preproc.y" { (yyval.str) = make_str("lc_collate"); -;} +} break; case 1708: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9735 "preproc.y" { (yyval.str) = make_str("lc_ctype"); -;} +} break; case 1709: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9739 "preproc.y" { (yyval.str) = make_str("level"); -;} +} break; case 1710: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9743 "preproc.y" { (yyval.str) = make_str("listen"); -;} +} break; case 1711: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9747 "preproc.y" { (yyval.str) = make_str("load"); -;} +} break; case 1712: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9751 "preproc.y" { (yyval.str) = make_str("local"); -;} +} break; case 1713: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9755 "preproc.y" { (yyval.str) = make_str("location"); -;} +} break; case 1714: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9759 "preproc.y" { (yyval.str) = make_str("lock"); -;} +} break; case 1715: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9763 "preproc.y" { (yyval.str) = make_str("login"); -;} +} break; case 1716: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9767 "preproc.y" { (yyval.str) = make_str("mapping"); -;} +} break; case 1717: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9771 "preproc.y" { (yyval.str) = make_str("match"); -;} +} break; case 1718: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9775 "preproc.y" { (yyval.str) = make_str("maxvalue"); -;} +} break; case 1719: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9779 "preproc.y" { (yyval.str) = make_str("minvalue"); -;} +} break; case 1720: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9783 "preproc.y" { (yyval.str) = make_str("mode"); -;} +} break; case 1721: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9787 "preproc.y" { (yyval.str) = make_str("move"); -;} +} break; case 1722: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9791 "preproc.y" { (yyval.str) = make_str("name"); -;} +} break; case 1723: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9795 "preproc.y" { (yyval.str) = make_str("names"); -;} +} break; case 1724: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9799 "preproc.y" { (yyval.str) = make_str("next"); -;} +} break; case 1725: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9803 "preproc.y" { (yyval.str) = make_str("no"); -;} +} break; case 1726: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9807 "preproc.y" { (yyval.str) = make_str("nocreatedb"); -;} +} break; case 1727: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9811 "preproc.y" { (yyval.str) = make_str("nocreaterole"); -;} +} break; case 1728: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9815 "preproc.y" { (yyval.str) = make_str("nocreateuser"); -;} +} break; case 1729: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9819 "preproc.y" { (yyval.str) = make_str("noinherit"); -;} +} break; case 1730: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9823 "preproc.y" { (yyval.str) = make_str("nologin"); -;} +} break; case 1731: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9827 "preproc.y" { (yyval.str) = make_str("nosuperuser"); -;} +} break; case 1732: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9831 "preproc.y" { (yyval.str) = make_str("nothing"); -;} +} break; case 1733: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9835 "preproc.y" { (yyval.str) = make_str("notify"); -;} +} break; case 1734: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9839 "preproc.y" { (yyval.str) = make_str("nowait"); -;} +} break; case 1735: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9843 "preproc.y" { (yyval.str) = make_str("nulls"); -;} +} break; case 1736: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9847 "preproc.y" { (yyval.str) = make_str("object"); -;} +} break; case 1737: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9851 "preproc.y" { (yyval.str) = make_str("of"); -;} +} break; case 1738: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9855 "preproc.y" { (yyval.str) = make_str("oids"); -;} +} break; case 1739: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9859 "preproc.y" { (yyval.str) = make_str("operator"); -;} +} break; case 1740: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9863 "preproc.y" { (yyval.str) = make_str("option"); -;} +} break; case 1741: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9867 "preproc.y" { (yyval.str) = make_str("options"); -;} +} break; case 1742: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9871 "preproc.y" { (yyval.str) = make_str("owned"); -;} +} break; case 1743: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9875 "preproc.y" { (yyval.str) = make_str("owner"); -;} +} break; case 1744: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9879 "preproc.y" { (yyval.str) = make_str("parser"); -;} +} break; case 1745: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9883 "preproc.y" { (yyval.str) = make_str("partial"); -;} +} break; case 1746: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9887 "preproc.y" { (yyval.str) = make_str("partition"); -;} +} break; case 1747: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9891 "preproc.y" { (yyval.str) = make_str("password"); -;} +} break; case 1748: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9895 "preproc.y" { (yyval.str) = make_str("plans"); -;} +} break; case 1749: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9899 "preproc.y" { (yyval.str) = make_str("preceding"); -;} +} break; case 1750: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9903 "preproc.y" { (yyval.str) = make_str("prepare"); -;} +} break; case 1751: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9907 "preproc.y" { (yyval.str) = make_str("prepared"); -;} +} break; case 1752: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9911 "preproc.y" { (yyval.str) = make_str("preserve"); -;} +} break; case 1753: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9915 "preproc.y" { (yyval.str) = make_str("prior"); -;} +} break; case 1754: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9919 "preproc.y" { (yyval.str) = make_str("privileges"); -;} +} break; case 1755: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9923 "preproc.y" { (yyval.str) = make_str("procedural"); -;} +} break; case 1756: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9927 "preproc.y" { (yyval.str) = make_str("procedure"); -;} +} break; case 1757: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9931 "preproc.y" { (yyval.str) = make_str("quote"); -;} +} break; case 1758: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9935 "preproc.y" { (yyval.str) = make_str("range"); -;} +} break; case 1759: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9939 "preproc.y" { (yyval.str) = make_str("read"); -;} +} break; case 1760: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9943 "preproc.y" { (yyval.str) = make_str("reassign"); -;} +} break; case 1761: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9947 "preproc.y" { (yyval.str) = make_str("recheck"); -;} +} break; case 1762: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9951 "preproc.y" { (yyval.str) = make_str("recursive"); -;} +} break; case 1763: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9955 "preproc.y" { (yyval.str) = make_str("reindex"); -;} +} break; case 1764: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9959 "preproc.y" { (yyval.str) = make_str("relative"); -;} +} break; case 1765: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9963 "preproc.y" { (yyval.str) = make_str("release"); -;} +} break; case 1766: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9967 "preproc.y" { (yyval.str) = make_str("rename"); -;} +} break; case 1767: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9971 "preproc.y" { (yyval.str) = make_str("repeatable"); -;} +} break; case 1768: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9975 "preproc.y" { (yyval.str) = make_str("replace"); -;} +} break; case 1769: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9979 "preproc.y" { (yyval.str) = make_str("replica"); -;} +} break; case 1770: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9983 "preproc.y" { (yyval.str) = make_str("reset"); -;} +} break; case 1771: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9987 "preproc.y" { (yyval.str) = make_str("restart"); -;} +} break; case 1772: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9991 "preproc.y" { (yyval.str) = make_str("restrict"); -;} +} break; case 1773: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9995 "preproc.y" { (yyval.str) = make_str("returns"); -;} +} break; case 1774: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 9999 "preproc.y" { (yyval.str) = make_str("revoke"); -;} +} break; case 1775: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10003 "preproc.y" { (yyval.str) = make_str("role"); -;} +} break; case 1776: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10007 "preproc.y" { (yyval.str) = make_str("rollback"); -;} +} break; case 1777: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10011 "preproc.y" { (yyval.str) = make_str("rows"); -;} +} break; case 1778: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10015 "preproc.y" { (yyval.str) = make_str("rule"); -;} +} break; case 1779: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10019 "preproc.y" { (yyval.str) = make_str("savepoint"); -;} +} break; case 1780: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10023 "preproc.y" { (yyval.str) = make_str("schema"); -;} +} break; case 1781: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10027 "preproc.y" { (yyval.str) = make_str("scroll"); -;} +} break; case 1782: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10031 "preproc.y" { (yyval.str) = make_str("search"); -;} +} break; case 1783: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10035 "preproc.y" { (yyval.str) = make_str("security"); -;} +} break; case 1784: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10039 "preproc.y" { (yyval.str) = make_str("sequence"); -;} +} break; case 1785: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10043 "preproc.y" { (yyval.str) = make_str("serializable"); -;} +} break; case 1786: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10047 "preproc.y" { (yyval.str) = make_str("server"); -;} +} break; case 1787: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10051 "preproc.y" { (yyval.str) = make_str("session"); -;} +} break; case 1788: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10055 "preproc.y" { (yyval.str) = make_str("set"); -;} +} break; case 1789: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10059 "preproc.y" { (yyval.str) = make_str("share"); -;} +} break; case 1790: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10063 "preproc.y" { (yyval.str) = make_str("show"); -;} +} break; case 1791: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10067 "preproc.y" { (yyval.str) = make_str("simple"); -;} +} break; case 1792: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10071 "preproc.y" { (yyval.str) = make_str("stable"); -;} +} break; case 1793: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10075 "preproc.y" { (yyval.str) = make_str("standalone"); -;} +} break; case 1794: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10079 "preproc.y" { (yyval.str) = make_str("start"); -;} +} break; case 1795: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10083 "preproc.y" { (yyval.str) = make_str("statement"); -;} +} break; case 1796: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10087 "preproc.y" { (yyval.str) = make_str("statistics"); -;} +} break; case 1797: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10091 "preproc.y" { (yyval.str) = make_str("stdin"); -;} +} break; case 1798: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10095 "preproc.y" { (yyval.str) = make_str("stdout"); -;} +} break; case 1799: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10099 "preproc.y" { (yyval.str) = make_str("storage"); -;} +} break; case 1800: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10103 "preproc.y" { (yyval.str) = make_str("strict"); -;} +} break; case 1801: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10107 "preproc.y" { (yyval.str) = make_str("strip"); -;} +} break; case 1802: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10111 "preproc.y" { (yyval.str) = make_str("superuser"); -;} +} break; case 1803: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10115 "preproc.y" { (yyval.str) = make_str("sysid"); -;} +} break; case 1804: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10119 "preproc.y" { (yyval.str) = make_str("system"); -;} +} break; case 1805: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10123 "preproc.y" { (yyval.str) = make_str("tablespace"); -;} +} break; case 1806: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10127 "preproc.y" { (yyval.str) = make_str("temp"); -;} +} break; case 1807: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10131 "preproc.y" { (yyval.str) = make_str("template"); -;} +} break; case 1808: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10135 "preproc.y" { (yyval.str) = make_str("temporary"); -;} +} break; case 1809: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10139 "preproc.y" { (yyval.str) = make_str("text"); -;} +} break; case 1810: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10143 "preproc.y" { (yyval.str) = make_str("transaction"); -;} +} break; case 1811: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10147 "preproc.y" { (yyval.str) = make_str("trigger"); -;} +} break; case 1812: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10151 "preproc.y" { (yyval.str) = make_str("truncate"); -;} +} break; case 1813: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10155 "preproc.y" { (yyval.str) = make_str("trusted"); -;} +} break; case 1814: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10159 "preproc.y" { (yyval.str) = make_str("type"); -;} +} break; case 1815: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10163 "preproc.y" { (yyval.str) = make_str("unbounded"); -;} +} break; case 1816: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10167 "preproc.y" { (yyval.str) = make_str("uncommitted"); -;} +} break; case 1817: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10171 "preproc.y" { (yyval.str) = make_str("unencrypted"); -;} +} break; case 1818: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10175 "preproc.y" { (yyval.str) = make_str("unknown"); -;} +} break; case 1819: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10179 "preproc.y" { (yyval.str) = make_str("unlisten"); -;} +} break; case 1820: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10183 "preproc.y" { (yyval.str) = make_str("until"); -;} +} break; case 1821: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10187 "preproc.y" { (yyval.str) = make_str("update"); -;} +} break; case 1822: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10191 "preproc.y" { (yyval.str) = make_str("vacuum"); -;} +} break; case 1823: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10195 "preproc.y" { (yyval.str) = make_str("valid"); -;} +} break; case 1824: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10199 "preproc.y" { (yyval.str) = make_str("validator"); -;} +} break; case 1825: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10203 "preproc.y" { (yyval.str) = make_str("value"); -;} +} break; case 1826: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10207 "preproc.y" { (yyval.str) = make_str("varying"); -;} +} break; case 1827: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10211 "preproc.y" { (yyval.str) = make_str("version"); -;} +} break; case 1828: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10215 "preproc.y" { (yyval.str) = make_str("view"); -;} +} break; case 1829: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10219 "preproc.y" { (yyval.str) = make_str("volatile"); -;} +} break; case 1830: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10223 "preproc.y" { (yyval.str) = make_str("whitespace"); -;} +} break; case 1831: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10227 "preproc.y" { (yyval.str) = make_str("without"); -;} +} break; case 1832: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10231 "preproc.y" { (yyval.str) = make_str("work"); -;} +} break; case 1833: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10235 "preproc.y" { (yyval.str) = make_str("wrapper"); -;} +} break; case 1834: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10239 "preproc.y" { (yyval.str) = make_str("write"); -;} +} break; case 1835: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10243 "preproc.y" { (yyval.str) = make_str("xml"); -;} +} break; case 1836: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10247 "preproc.y" { (yyval.str) = make_str("yes"); -;} +} break; case 1837: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10251 "preproc.y" { (yyval.str) = make_str("zone"); -;} +} break; case 1838: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10259 "preproc.y" { (yyval.str) = make_str("bigint"); -;} +} break; case 1839: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10263 "preproc.y" { (yyval.str) = make_str("bit"); -;} +} break; case 1840: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10267 "preproc.y" { (yyval.str) = make_str("boolean"); -;} +} break; case 1841: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10271 "preproc.y" { (yyval.str) = make_str("character"); -;} +} break; case 1842: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10275 "preproc.y" { (yyval.str) = make_str("coalesce"); -;} +} break; case 1843: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10279 "preproc.y" { (yyval.str) = make_str("dec"); -;} +} break; case 1844: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10283 "preproc.y" { (yyval.str) = make_str("decimal"); -;} +} break; case 1845: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10287 "preproc.y" { (yyval.str) = make_str("exists"); -;} +} break; case 1846: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10291 "preproc.y" { (yyval.str) = make_str("extract"); -;} +} break; case 1847: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10295 "preproc.y" { (yyval.str) = make_str("float"); -;} +} break; case 1848: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10299 "preproc.y" { (yyval.str) = make_str("greatest"); -;} +} break; case 1849: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10303 "preproc.y" { (yyval.str) = make_str("inout"); -;} +} break; case 1850: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10307 "preproc.y" { (yyval.str) = make_str("integer"); -;} +} break; case 1851: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10311 "preproc.y" { (yyval.str) = make_str("interval"); -;} +} break; case 1852: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10315 "preproc.y" { (yyval.str) = make_str("least"); -;} +} break; case 1853: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10319 "preproc.y" { (yyval.str) = make_str("national"); -;} +} break; case 1854: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10323 "preproc.y" { (yyval.str) = make_str("nchar"); -;} +} break; case 1855: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10327 "preproc.y" { (yyval.str) = make_str("none"); -;} +} break; case 1856: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10331 "preproc.y" { (yyval.str) = make_str("nullif"); -;} +} break; case 1857: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10335 "preproc.y" { (yyval.str) = make_str("numeric"); -;} +} break; case 1858: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10339 "preproc.y" { (yyval.str) = make_str("out"); -;} +} break; case 1859: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10343 "preproc.y" { (yyval.str) = make_str("overlay"); -;} +} break; case 1860: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10347 "preproc.y" { (yyval.str) = make_str("position"); -;} +} break; case 1861: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10351 "preproc.y" { (yyval.str) = make_str("precision"); -;} +} break; case 1862: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10355 "preproc.y" { (yyval.str) = make_str("real"); -;} +} break; case 1863: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10359 "preproc.y" { (yyval.str) = make_str("row"); -;} +} break; case 1864: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10363 "preproc.y" { (yyval.str) = make_str("setof"); -;} +} break; case 1865: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10367 "preproc.y" { (yyval.str) = make_str("smallint"); -;} +} break; case 1866: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10371 "preproc.y" { (yyval.str) = make_str("substring"); -;} +} break; case 1867: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10375 "preproc.y" { (yyval.str) = make_str("time"); -;} +} break; case 1868: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10379 "preproc.y" { (yyval.str) = make_str("timestamp"); -;} +} break; case 1869: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10383 "preproc.y" { (yyval.str) = make_str("treat"); -;} +} break; case 1870: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10387 "preproc.y" { (yyval.str) = make_str("trim"); -;} +} break; case 1871: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10391 "preproc.y" { (yyval.str) = make_str("varchar"); -;} +} break; case 1872: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10395 "preproc.y" { (yyval.str) = make_str("xmlattributes"); -;} +} break; case 1873: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10399 "preproc.y" { (yyval.str) = make_str("xmlconcat"); -;} +} break; case 1874: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10403 "preproc.y" { (yyval.str) = make_str("xmlelement"); -;} +} break; case 1875: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10407 "preproc.y" { (yyval.str) = make_str("xmlforest"); -;} +} break; case 1876: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10411 "preproc.y" { (yyval.str) = make_str("xmlparse"); -;} +} break; case 1877: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10415 "preproc.y" { (yyval.str) = make_str("xmlpi"); -;} +} break; case 1878: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10419 "preproc.y" { (yyval.str) = make_str("xmlroot"); -;} +} break; case 1879: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10423 "preproc.y" { (yyval.str) = make_str("xmlserialize"); -;} +} break; case 1880: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10431 "preproc.y" { (yyval.str) = make_str("authorization"); -;} +} break; case 1881: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10435 "preproc.y" { (yyval.str) = make_str("between"); -;} +} break; case 1882: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10439 "preproc.y" { (yyval.str) = make_str("binary"); -;} +} break; case 1883: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10443 "preproc.y" { (yyval.str) = make_str("cross"); -;} +} break; case 1884: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10447 "preproc.y" { (yyval.str) = make_str("current_schema"); -;} +} break; case 1885: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10451 "preproc.y" { (yyval.str) = make_str("freeze"); -;} +} break; case 1886: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10455 "preproc.y" { (yyval.str) = make_str("full"); -;} +} break; case 1887: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10459 "preproc.y" { (yyval.str) = make_str("ilike"); -;} +} break; case 1888: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10463 "preproc.y" { (yyval.str) = make_str("inner"); -;} +} break; case 1889: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10467 "preproc.y" { (yyval.str) = make_str("is"); -;} +} break; case 1890: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10471 "preproc.y" { (yyval.str) = make_str("isnull"); -;} +} break; case 1891: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10475 "preproc.y" { (yyval.str) = make_str("join"); -;} +} break; case 1892: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10479 "preproc.y" { (yyval.str) = make_str("left"); -;} +} break; case 1893: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10483 "preproc.y" { (yyval.str) = make_str("like"); -;} +} break; case 1894: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10487 "preproc.y" { (yyval.str) = make_str("natural"); -;} +} break; case 1895: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10491 "preproc.y" { (yyval.str) = make_str("notnull"); -;} +} break; case 1896: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10495 "preproc.y" { (yyval.str) = make_str("outer"); -;} +} break; case 1897: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10499 "preproc.y" { (yyval.str) = make_str("over"); -;} +} break; case 1898: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10503 "preproc.y" { (yyval.str) = make_str("overlaps"); -;} +} break; case 1899: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10507 "preproc.y" { (yyval.str) = make_str("right"); -;} +} break; case 1900: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10511 "preproc.y" { (yyval.str) = make_str("similar"); -;} +} break; case 1901: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10515 "preproc.y" { (yyval.str) = make_str("verbose"); -;} +} break; case 1902: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10523 "preproc.y" { (yyval.str) = make_str("all"); -;} +} break; case 1903: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10527 "preproc.y" { (yyval.str) = make_str("analyse"); -;} +} break; case 1904: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10531 "preproc.y" { (yyval.str) = make_str("analyze"); -;} +} break; case 1905: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10535 "preproc.y" { (yyval.str) = make_str("and"); -;} +} break; case 1906: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10539 "preproc.y" { (yyval.str) = make_str("any"); -;} +} break; case 1907: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10543 "preproc.y" { (yyval.str) = make_str("array"); -;} +} break; case 1908: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10547 "preproc.y" { (yyval.str) = make_str("as"); -;} +} break; case 1909: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10551 "preproc.y" { (yyval.str) = make_str("asc"); -;} +} break; case 1910: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10555 "preproc.y" { (yyval.str) = make_str("asymmetric"); -;} +} break; case 1911: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10559 "preproc.y" { (yyval.str) = make_str("both"); -;} +} break; case 1912: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10563 "preproc.y" { (yyval.str) = make_str("case"); -;} +} break; case 1913: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10567 "preproc.y" { (yyval.str) = make_str("cast"); -;} +} break; case 1914: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10571 "preproc.y" { (yyval.str) = make_str("check"); -;} +} break; case 1915: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10575 "preproc.y" { (yyval.str) = make_str("collate"); -;} +} break; case 1916: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10579 "preproc.y" { (yyval.str) = make_str("column"); -;} +} break; case 1917: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10583 "preproc.y" { (yyval.str) = make_str("constraint"); -;} +} break; case 1918: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10587 "preproc.y" { (yyval.str) = make_str("create"); -;} +} break; case 1919: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10591 "preproc.y" { (yyval.str) = make_str("current_catalog"); -;} +} break; case 1920: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10595 "preproc.y" { (yyval.str) = make_str("current_date"); -;} +} break; case 1921: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10599 "preproc.y" { (yyval.str) = make_str("current_role"); -;} +} break; case 1922: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10603 "preproc.y" { (yyval.str) = make_str("current_time"); -;} +} break; case 1923: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10607 "preproc.y" { (yyval.str) = make_str("current_timestamp"); -;} +} break; case 1924: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10611 "preproc.y" { (yyval.str) = make_str("current_user"); -;} +} break; case 1925: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10615 "preproc.y" { (yyval.str) = make_str("default"); -;} +} break; case 1926: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10619 "preproc.y" { (yyval.str) = make_str("deferrable"); -;} +} break; case 1927: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10623 "preproc.y" { (yyval.str) = make_str("desc"); -;} +} break; case 1928: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10627 "preproc.y" { (yyval.str) = make_str("distinct"); -;} +} break; case 1929: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10631 "preproc.y" { (yyval.str) = make_str("do"); -;} +} break; case 1930: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10635 "preproc.y" { (yyval.str) = make_str("else"); -;} +} break; case 1931: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10639 "preproc.y" { (yyval.str) = make_str("end"); -;} +} break; case 1932: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10643 "preproc.y" { (yyval.str) = make_str("except"); -;} +} break; case 1933: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10647 "preproc.y" { (yyval.str) = make_str("false"); -;} +} break; case 1934: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10651 "preproc.y" { (yyval.str) = make_str("fetch"); -;} +} break; case 1935: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10655 "preproc.y" { (yyval.str) = make_str("for"); -;} +} break; case 1936: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10659 "preproc.y" { (yyval.str) = make_str("foreign"); -;} +} break; case 1937: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10663 "preproc.y" { (yyval.str) = make_str("from"); -;} +} break; case 1938: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10667 "preproc.y" { (yyval.str) = make_str("grant"); -;} +} break; case 1939: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10671 "preproc.y" { (yyval.str) = make_str("group"); -;} +} break; case 1940: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10675 "preproc.y" { (yyval.str) = make_str("having"); -;} +} break; case 1941: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10679 "preproc.y" { (yyval.str) = make_str("in"); -;} +} break; case 1942: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10683 "preproc.y" { (yyval.str) = make_str("initially"); -;} +} break; case 1943: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10687 "preproc.y" { (yyval.str) = make_str("intersect"); -;} +} break; case 1944: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10691 "preproc.y" { (yyval.str) = make_str("into"); -;} +} break; case 1945: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10695 "preproc.y" { (yyval.str) = make_str("leading"); -;} +} break; case 1946: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10699 "preproc.y" { (yyval.str) = make_str("limit"); -;} +} break; case 1947: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10703 "preproc.y" { (yyval.str) = make_str("localtime"); -;} +} break; case 1948: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10707 "preproc.y" { (yyval.str) = make_str("localtimestamp"); -;} +} break; case 1949: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10711 "preproc.y" { (yyval.str) = make_str("new"); -;} +} break; case 1950: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10715 "preproc.y" { (yyval.str) = make_str("not"); -;} +} break; case 1951: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10719 "preproc.y" { (yyval.str) = make_str("null"); -;} +} break; case 1952: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10723 "preproc.y" { (yyval.str) = make_str("off"); -;} +} break; case 1953: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10727 "preproc.y" { (yyval.str) = make_str("offset"); -;} +} break; case 1954: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10731 "preproc.y" { (yyval.str) = make_str("old"); -;} +} break; case 1955: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10735 "preproc.y" { (yyval.str) = make_str("on"); -;} +} break; case 1956: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10739 "preproc.y" { (yyval.str) = make_str("only"); -;} +} break; case 1957: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10743 "preproc.y" { (yyval.str) = make_str("or"); -;} +} break; case 1958: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10747 "preproc.y" { (yyval.str) = make_str("order"); -;} +} break; case 1959: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10751 "preproc.y" { (yyval.str) = make_str("placing"); -;} +} break; case 1960: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10755 "preproc.y" { (yyval.str) = make_str("primary"); -;} +} break; case 1961: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10759 "preproc.y" { (yyval.str) = make_str("references"); -;} +} break; case 1962: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10763 "preproc.y" { (yyval.str) = make_str("returning"); -;} +} break; case 1963: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10767 "preproc.y" { (yyval.str) = make_str("select"); -;} +} break; case 1964: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10771 "preproc.y" { (yyval.str) = make_str("session_user"); -;} +} break; case 1965: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10775 "preproc.y" { (yyval.str) = make_str("some"); -;} +} break; case 1966: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10779 "preproc.y" { (yyval.str) = make_str("symmetric"); -;} +} break; case 1967: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10783 "preproc.y" { (yyval.str) = make_str("table"); -;} +} break; case 1968: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10787 "preproc.y" { (yyval.str) = make_str("then"); -;} +} break; case 1969: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10791 "preproc.y" { (yyval.str) = make_str("trailing"); -;} +} break; case 1970: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10795 "preproc.y" { (yyval.str) = make_str("true"); -;} +} break; case 1971: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10799 "preproc.y" { (yyval.str) = make_str("unique"); -;} +} break; case 1972: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10803 "preproc.y" { (yyval.str) = make_str("user"); -;} +} break; case 1973: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10807 "preproc.y" { (yyval.str) = make_str("using"); -;} +} break; case 1974: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10811 "preproc.y" { (yyval.str) = make_str("variadic"); -;} +} break; case 1975: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10815 "preproc.y" { (yyval.str) = make_str("when"); -;} +} break; case 1976: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10819 "preproc.y" { (yyval.str) = make_str("where"); -;} +} break; case 1977: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10823 "preproc.y" { (yyval.str) = make_str("window"); -;} +} break; case 1978: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10827 "preproc.y" { (yyval.str) = make_str("with"); -;} +} break; case 1979: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10835 "preproc.y" { if (!QueryIsRule) mmerror(PARSE_ERROR, ET_ERROR, "OLD used in query that is not in a rule"); (yyval.str) = make_str("old"); -;} +} break; case 1980: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10842 "preproc.y" { if (!QueryIsRule) mmerror(PARSE_ERROR, ET_ERROR, "NEW used in query that is not in a rule"); (yyval.str) = make_str("new"); -;} +} break; case 1983: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10858 "preproc.y" - { connection = NULL; ;} + { connection = NULL; } break; case 1985: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10861 "preproc.y" { fprintf(yyout, "%s", (yyvsp[(2) - (2)].str)); free((yyvsp[(2) - (2)].str)); output_line_number(); - ;} + } break; case 1987: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10867 "preproc.y" - { fprintf(yyout, "%s", (yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); ;} + { fprintf(yyout, "%s", (yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); } break; case 1988: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10868 "preproc.y" - { fprintf(yyout, "%s", (yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); ;} + { fprintf(yyout, "%s", (yyvsp[(1) - (1)].str)); free((yyvsp[(1) - (1)].str)); } break; case 1989: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10869 "preproc.y" - { braces_open++; fputs("{", yyout); ;} + { braces_open++; fputs("{", yyout); } break; case 1990: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10870 "preproc.y" - { remove_typedefs(braces_open); remove_variables(braces_open--); fputs("}", yyout); ;} + { remove_typedefs(braces_open); remove_variables(braces_open--); fputs("}", yyout); } break; case 1991: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10873 "preproc.y" - {FoundInto = 0;;} + {FoundInto = 0;} break; case 1992: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10874 "preproc.y" { if (FoundInto == 1) mmerror(PARSE_ERROR, ET_ERROR, "CREATE TABLE AS cannot specify INTO"); (yyval.str) = cat_str(6, make_str("create"), (yyvsp[(2) - (8)].str), make_str("table"), (yyvsp[(4) - (8)].str), make_str("as"), (yyvsp[(7) - (8)].str)); - ;} + } break; case 1993: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10883 "preproc.y" - {QueryIsRule = 1;;} + {QueryIsRule = 1;} break; case 1994: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10886 "preproc.y" { QueryIsRule=0; (yyval.str) = cat_str(12, make_str("create"), (yyvsp[(2) - (14)].str), make_str("rule"), (yyvsp[(4) - (14)].str), make_str("as on"), (yyvsp[(8) - (14)].str), make_str("to"), (yyvsp[(10) - (14)].str), (yyvsp[(11) - (14)].str), make_str("do"), (yyvsp[(13) - (14)].str), (yyvsp[(14) - (14)].str)); - ;} + } break; case 1995: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10893 "preproc.y" { connection = (yyvsp[(2) - (2)].str); @@ -40602,40 +40641,40 @@ */ if (argsinsert != NULL) argsinsert = NULL; - ;} + } break; case 1996: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10909 "preproc.y" - { (yyval.str) = cat_str(5, (yyvsp[(3) - (5)].str), make_str(","), (yyvsp[(5) - (5)].str), make_str(","), (yyvsp[(4) - (5)].str)); ;} + { (yyval.str) = cat_str(5, (yyvsp[(3) - (5)].str), make_str(","), (yyvsp[(5) - (5)].str), make_str(","), (yyvsp[(4) - (5)].str)); } break; case 1997: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10911 "preproc.y" - { (yyval.str) = make_str("NULL, NULL, NULL, \"DEFAULT\""); ;} + { (yyval.str) = make_str("NULL, NULL, NULL, \"DEFAULT\""); } break; case 1998: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10914 "preproc.y" - { (yyval.str) = cat_str(3, make_str("NULL,"), (yyvsp[(2) - (2)].str), make_str(", NULL")); ;} + { (yyval.str) = cat_str(3, make_str("NULL,"), (yyvsp[(2) - (2)].str), make_str(", NULL")); } break; case 1999: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10916 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(2) - (2)].str), make_str(", NULL, NULL, NULL")); ;} + { (yyval.str) = cat2_str((yyvsp[(2) - (2)].str), make_str(", NULL, NULL, NULL")); } break; case 2000: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10920 "preproc.y" { /* old style: dbname[@server][:port] */ @@ -40647,12 +40686,12 @@ (yyval.str) = (yyvsp[(1) - (3)].str); else (yyval.str) = make3_str(make_str("\""), make3_str((yyvsp[(1) - (3)].str), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str)), make_str("\"")); - ;} + } break; case 2001: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10932 "preproc.y" { /* new style: :postgresql://server[:port][/dbname] */ @@ -40668,21 +40707,21 @@ mmerror(PARSE_ERROR, ET_ERROR, "Unix-domain sockets only work on \"localhost\" but not on \"%s\"", (yyvsp[(3) - (7)].str) + strlen("//")); (yyval.str) = make3_str(make3_str(make_str("\""), (yyvsp[(1) - (7)].str), make_str(":")), (yyvsp[(3) - (7)].str), make3_str(make3_str((yyvsp[(4) - (7)].str), make_str("/"), (yyvsp[(6) - (7)].str)), (yyvsp[(7) - (7)].str), make_str("\""))); - ;} + } break; case 2002: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10948 "preproc.y" { (yyval.str) = (yyvsp[(1) - (1)].str); - ;} + } break; case 2003: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10952 "preproc.y" { /* We can only process double quoted strings not single quotes ones, @@ -40691,26 +40730,26 @@ (yyvsp[(1) - (1)].str)[0] = '\"'; (yyvsp[(1) - (1)].str)[strlen((yyvsp[(1) - (1)].str))-1] = '\"'; (yyval.str) = (yyvsp[(1) - (1)].str); - ;} + } break; case 2004: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10962 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2005: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10963 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2006: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10967 "preproc.y" { if (strcmp((yyvsp[(2) - (2)].str), "postgresql") != 0 && strcmp((yyvsp[(2) - (2)].str), "postgres") != 0) @@ -40720,153 +40759,153 @@ mmerror(PARSE_ERROR, ET_ERROR, "invalid connection type: %s", (yyvsp[(1) - (2)].str)); (yyval.str) = make3_str((yyvsp[(1) - (2)].str), make_str(":"), (yyvsp[(2) - (2)].str)); - ;} + } break; case 2007: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10979 "preproc.y" { if (strcmp((yyvsp[(1) - (2)].str), "@") != 0 && strcmp((yyvsp[(1) - (2)].str), "//") != 0) mmerror(PARSE_ERROR, ET_ERROR, "expected \"@\" or \"://\", found \"%s\"", (yyvsp[(1) - (2)].str)); (yyval.str) = make2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); - ;} + } break; case 2008: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10987 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2009: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10988 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2010: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10991 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2011: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10992 "preproc.y" - { (yyval.str) = make3_str((yyvsp[(1) - (3)].str), make_str("."), (yyvsp[(3) - (3)].str)); ;} + { (yyval.str) = make3_str((yyvsp[(1) - (3)].str), make_str("."), (yyvsp[(3) - (3)].str)); } break; case 2012: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10993 "preproc.y" - { (yyval.str) = make_name(); ;} + { (yyval.str) = make_name(); } break; case 2013: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10996 "preproc.y" - { (yyval.str) = make2_str(make_str(":"), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = make2_str(make_str(":"), (yyvsp[(2) - (2)].str)); } break; case 2014: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 10997 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2015: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11000 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2016: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11001 "preproc.y" - { (yyval.str) = make_str("NULL"); ;} + { (yyval.str) = make_str("NULL"); } break; case 2017: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11004 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2018: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11005 "preproc.y" - { (yyval.str) = make_str("NULL, NULL"); ;} + { (yyval.str) = make_str("NULL, NULL"); } break; case 2019: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11009 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (1)].str), make_str(", NULL")); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (1)].str), make_str(", NULL")); } break; case 2020: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11011 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); ;} + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); } break; case 2021: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11013 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (4)].str), make_str(","), (yyvsp[(4) - (4)].str)); ;} + { (yyval.str) = cat_str(3, (yyvsp[(1) - (4)].str), make_str(","), (yyvsp[(4) - (4)].str)); } break; case 2022: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11015 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); ;} + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); } break; case 2023: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11019 "preproc.y" { if ((yyvsp[(1) - (1)].str)[0] == '\"') (yyval.str) = (yyvsp[(1) - (1)].str); else (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); - ;} + } break; case 2024: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11026 "preproc.y" { if ((yyvsp[(1) - (1)].str)[0] == '\"') (yyval.str) = (yyvsp[(1) - (1)].str); else (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); - ;} + } break; case 2025: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11033 "preproc.y" { enum ECPGttype type = argsinsert->variable->type->type; @@ -40880,12 +40919,12 @@ (yyval.str) = make2_str(mm_strdup(argsinsert->variable->name), make_str(".arr")); else (yyval.str) = mm_strdup(argsinsert->variable->name); - ;} + } break; case 2026: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11049 "preproc.y" { /* check if we have a string variable */ @@ -40916,12 +40955,12 @@ break; } } - ;} + } break; case 2027: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11082 "preproc.y" { if (strlen((yyvsp[(1) - (2)].str)) == 0) @@ -40931,26 +40970,26 @@ mmerror(PARSE_ERROR, ET_ERROR, "unrecognized token \"%s\"", (yyvsp[(1) - (2)].str)); (yyval.str) = make2_str(make_str("?"), (yyvsp[(2) - (2)].str)); - ;} + } break; case 2028: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11091 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2029: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11095 "preproc.y" - { (yyval.str) = make2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = make2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2030: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11097 "preproc.y" { if (strlen((yyvsp[(3) - (4)].str)) == 0) @@ -40960,40 +40999,40 @@ mmerror(PARSE_ERROR, ET_ERROR, "unrecognized token \"%s\"", (yyvsp[(3) - (4)].str)); (yyval.str) = cat_str(3, make2_str((yyvsp[(1) - (4)].str), (yyvsp[(2) - (4)].str)), (yyvsp[(3) - (4)].str), (yyvsp[(4) - (4)].str)); - ;} + } break; case 2031: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11109 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2032: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11111 "preproc.y" - { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); } break; case 2033: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11113 "preproc.y" - { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); } break; case 2034: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11115 "preproc.y" - { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = make2_str(make_str("="), (yyvsp[(2) - (2)].str)); } break; case 2035: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11118 "preproc.y" { if ((yyvsp[(1) - (1)].str)[0] == '\"' && (yyvsp[(1) - (1)].str)[strlen((yyvsp[(1) - (1)].str))-1] == '\"') /* already quoted? */ @@ -41007,19 +41046,19 @@ (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); } - ;} + } break; case 2036: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11131 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2037: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11139 "preproc.y" { struct cursor *ptr, *this; @@ -41054,206 +41093,206 @@ cur = this; (yyval.str) = cat_str(3, make_str("/*"), mm_strdup(this->command), make_str("*/")); - ;} + } break; case 2038: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11176 "preproc.y" { /* execute immediate means prepare the statement and * immediately execute it */ (yyval.str) = (yyvsp[(3) - (3)].str); - ;} + } break; case 2040: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11186 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2041: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11187 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2042: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11190 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2043: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11192 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2044: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11193 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2045: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11196 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2046: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11197 "preproc.y" - { (yyval.str) = make_str("year to minute"); ;} + { (yyval.str) = make_str("year to minute"); } break; case 2047: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11198 "preproc.y" - { (yyval.str) = make_str("year to second"); ;} + { (yyval.str) = make_str("year to second"); } break; case 2048: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11199 "preproc.y" - { (yyval.str) = make_str("day to day"); ;} + { (yyval.str) = make_str("day to day"); } break; case 2049: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11200 "preproc.y" - { (yyval.str) = make_str("month to month"); ;} + { (yyval.str) = make_str("month to month"); } break; case 2050: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11207 "preproc.y" - { fputs("/* exec sql begin declare section */", yyout); ;} + { fputs("/* exec sql begin declare section */", yyout); } break; case 2051: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11209 "preproc.y" { fprintf(yyout, "%s/* exec sql end declare section */", (yyvsp[(3) - (4)].str)); free((yyvsp[(3) - (4)].str)); output_line_number(); - ;} + } break; case 2052: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11216 "preproc.y" - {;} + {} break; case 2053: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11218 "preproc.y" - {;} + {} break; case 2054: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11220 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2055: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11221 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2056: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11222 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2057: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11225 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2058: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11226 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2059: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11227 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2060: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11228 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2061: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11229 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2062: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11232 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2063: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11233 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2064: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11237 "preproc.y" { /* reset this variable so we see if there was */ /* an initializer specified */ initializer = 0; - ;} + } break; case 2065: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11243 "preproc.y" { add_typedef((yyvsp[(5) - (7)].str), (yyvsp[(6) - (7)].index).index1, (yyvsp[(6) - (7)].index).index2, (yyvsp[(3) - (7)].type).type_enum, (yyvsp[(3) - (7)].type).type_dimension, (yyvsp[(3) - (7)].type).type_index, initializer, *(yyvsp[(4) - (7)].str) ? 1 : 0); @@ -41261,12 +41300,12 @@ fprintf(yyout, "typedef %s %s %s %s;\n", (yyvsp[(3) - (7)].type).type_str, *(yyvsp[(4) - (7)].str) ? "*" : "", (yyvsp[(5) - (7)].str), (yyvsp[(6) - (7)].index).str); output_line_number(); (yyval.str) = make_str(""); - ;} + } break; case 2066: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11253 "preproc.y" { actual_type[struct_level].type_enum = (yyvsp[(2) - (2)].type).type_enum; @@ -41275,21 +41314,21 @@ actual_type[struct_level].type_sizeof = (yyvsp[(2) - (2)].type).type_sizeof; actual_startline[struct_level] = hashline_number(); - ;} + } break; case 2067: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11262 "preproc.y" { (yyval.str) = cat_str(5, actual_startline[struct_level], (yyvsp[(1) - (5)].str), (yyvsp[(2) - (5)].type).type_str, (yyvsp[(4) - (5)].str), make_str(";\n")); - ;} + } break; case 2068: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11266 "preproc.y" { actual_type[struct_level].type_enum = (yyvsp[(1) - (1)].type).type_enum; @@ -41298,107 +41337,107 @@ actual_type[struct_level].type_sizeof = (yyvsp[(1) - (1)].type).type_sizeof; actual_startline[struct_level] = hashline_number(); - ;} + } break; case 2069: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11275 "preproc.y" { (yyval.str) = cat_str(4, actual_startline[struct_level], (yyvsp[(1) - (4)].type).type_str, (yyvsp[(3) - (4)].str), make_str(";\n")); - ;} + } break; case 2070: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11279 "preproc.y" { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), make_str(";")); - ;} + } break; case 2071: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11284 "preproc.y" - { (yyval.str) =cat2_str(make_str(":"), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) =cat2_str(make_str(":"), (yyvsp[(2) - (2)].str)); } break; case 2072: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11285 "preproc.y" - { (yyval.str) = EMPTY; ;} + { (yyval.str) = EMPTY; } break; case 2073: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11289 "preproc.y" - {(yyval.str) = cat2_str ((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} + {(yyval.str) = cat2_str ((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2074: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11290 "preproc.y" - {(yyval.str) = (yyvsp[(1) - (1)].str); ;} + {(yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2075: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11291 "preproc.y" - {(yyval.str) = (yyvsp[(1) - (1)].str); ;} + {(yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2076: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11294 "preproc.y" - { (yyval.str) = make_str("extern"); ;} + { (yyval.str) = make_str("extern"); } break; case 2077: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11295 "preproc.y" - { (yyval.str) = make_str("static"); ;} + { (yyval.str) = make_str("static"); } break; case 2078: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11296 "preproc.y" - { (yyval.str) = make_str("register"); ;} + { (yyval.str) = make_str("register"); } break; case 2079: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11297 "preproc.y" - { (yyval.str) = make_str("auto"); ;} + { (yyval.str) = make_str("auto"); } break; case 2080: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11300 "preproc.y" - { (yyval.str) = make_str("const"); ;} + { (yyval.str) = make_str("const"); } break; case 2081: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11301 "preproc.y" - { (yyval.str) = make_str("volatile"); ;} + { (yyval.str) = make_str("volatile"); } break; case 2082: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11305 "preproc.y" { (yyval.type).type_enum = (yyvsp[(1) - (1)].type_enum); @@ -41406,12 +41445,12 @@ (yyval.type).type_dimension = make_str("-1"); (yyval.type).type_index = make_str("-1"); (yyval.type).type_sizeof = NULL; - ;} + } break; case 2083: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11313 "preproc.y" { (yyval.type).type_str = (yyvsp[(1) - (1)].str); @@ -41428,12 +41467,12 @@ (yyval.type).type_enum = ECPGt_union; (yyval.type).type_sizeof = NULL; } - ;} + } break; case 2084: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11330 "preproc.y" { (yyval.type).type_str = (yyvsp[(1) - (1)].str); @@ -41441,12 +41480,12 @@ (yyval.type).type_dimension = make_str("-1"); (yyval.type).type_index = make_str("-1"); (yyval.type).type_sizeof = NULL; - ;} + } break; case 2085: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11338 "preproc.y" { if (strcmp((yyvsp[(1) - (5)].str), "numeric") == 0) @@ -41469,12 +41508,12 @@ (yyval.type).type_dimension = make_str("-1"); (yyval.type).type_index = make_str("-1"); (yyval.type).type_sizeof = NULL; - ;} + } break; case 2086: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11361 "preproc.y" { if (strlen((yyvsp[(2) - (2)].str)) != 0 && strcmp ((yyvsp[(1) - (2)].str), "datetime") != 0 && strcmp ((yyvsp[(1) - (2)].str), "interval") != 0) @@ -41572,12 +41611,12 @@ struct_member_list[struct_level] = ECPGstruct_member_dup(this->struct_member_list); } - ;} + } break; case 2087: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11459 "preproc.y" { /* this is for named structs/unions */ @@ -41609,52 +41648,52 @@ (yyval.type).type_sizeof = make_str(""); struct_member_list[struct_level] = NULL; } - ;} + } break; case 2088: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11493 "preproc.y" - { (yyval.str) = cat_str(3, make_str("enum"), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str)); ;} + { (yyval.str) = cat_str(3, make_str("enum"), (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str)); } break; case 2089: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11495 "preproc.y" - { (yyval.str) = cat2_str(make_str("enum"), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str(make_str("enum"), (yyvsp[(2) - (2)].str)); } break; case 2090: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11497 "preproc.y" - { (yyval.str) = cat2_str(make_str("enum"), (yyvsp[(2) - (2)].str)); ;} + { (yyval.str) = cat2_str(make_str("enum"), (yyvsp[(2) - (2)].str)); } break; case 2091: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11501 "preproc.y" - { (yyval.str) = cat_str(3, make_str("{"), (yyvsp[(2) - (3)].str), make_str("}")); ;} + { (yyval.str) = cat_str(3, make_str("{"), (yyvsp[(2) - (3)].str), make_str("}")); } break; case 2092: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11504 "preproc.y" { struct_member_list[struct_level++] = NULL; if (struct_level >= STRUCT_DEPTH) mmerror(PARSE_ERROR, ET_ERROR, "too many levels in nested structure/union definition"); forward_name = mm_strdup((yyvsp[(1) - (1)].struct_union).symbol); - ;} + } break; case 2093: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11511 "preproc.y" { struct typedefs *ptr, *this; @@ -41696,136 +41735,136 @@ types = this; (yyval.str) = cat_str(4, su_type.type_str, make_str("{"), (yyvsp[(4) - (5)].str), make_str("}")); - ;} + } break; case 2094: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11554 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2095: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11556 "preproc.y" { struct_member_list[struct_level++] = NULL; if (struct_level >= STRUCT_DEPTH) mmerror(PARSE_ERROR, ET_ERROR, "too many levels in nested structure/union definition"); - ;} + } break; case 2096: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11562 "preproc.y" { ECPGfree_struct_member(struct_member_list[struct_level]); struct_member_list[struct_level] = NULL; struct_level--; (yyval.str) = cat_str(4, (yyvsp[(1) - (5)].str), make_str("{"), (yyvsp[(4) - (5)].str), make_str("}")); - ;} + } break; case 2097: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11571 "preproc.y" { (yyval.struct_union).su = make_str("struct"); (yyval.struct_union).symbol = (yyvsp[(2) - (2)].str); ECPGstruct_sizeof = cat_str(3, make_str("sizeof("), cat2_str(mm_strdup((yyval.struct_union).su), mm_strdup((yyval.struct_union).symbol)), make_str(")")); - ;} + } break; case 2098: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11577 "preproc.y" { (yyval.struct_union).su = make_str("union"); (yyval.struct_union).symbol = (yyvsp[(2) - (2)].str); - ;} + } break; case 2099: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11584 "preproc.y" { ECPGstruct_sizeof = make_str(""); /* This must not be NULL to distinguish from simple types. */ (yyval.str) = make_str("struct"); - ;} + } break; case 2100: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11588 "preproc.y" - { (yyval.str) = make_str("union"); ;} + { (yyval.str) = make_str("union"); } break; case 2101: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11591 "preproc.y" - { (yyval.type_enum)=(yyvsp[(1) - (1)].type_enum); ;} + { (yyval.type_enum)=(yyvsp[(1) - (1)].type_enum); } break; case 2102: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11592 "preproc.y" - { (yyval.type_enum)=(yyvsp[(2) - (2)].type_enum); ;} + { (yyval.type_enum)=(yyvsp[(2) - (2)].type_enum); } break; case 2103: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11595 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_short; ;} + { (yyval.type_enum) = ECPGt_unsigned_short; } break; case 2104: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11596 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_short; ;} + { (yyval.type_enum) = ECPGt_unsigned_short; } break; case 2105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11597 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_int; ;} + { (yyval.type_enum) = ECPGt_unsigned_int; } break; case 2106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11598 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_int; ;} + { (yyval.type_enum) = ECPGt_unsigned_int; } break; case 2107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11599 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_long; ;} + { (yyval.type_enum) = ECPGt_unsigned_long; } break; case 2108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11600 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_long; ;} + { (yyval.type_enum) = ECPGt_unsigned_long; } break; case 2109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11602 "preproc.y" { #ifdef HAVE_LONG_LONG_INT_64 @@ -41833,12 +41872,12 @@ #else (yyval.type_enum) = ECPGt_unsigned_long; #endif - ;} + } break; case 2110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11610 "preproc.y" { #ifdef HAVE_LONG_LONG_INT_64 @@ -41846,54 +41885,54 @@ #else (yyval.type_enum) = ECPGt_unsigned_long; #endif - ;} + } break; case 2111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11617 "preproc.y" - { (yyval.type_enum) = ECPGt_unsigned_char; ;} + { (yyval.type_enum) = ECPGt_unsigned_char; } break; case 2112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11620 "preproc.y" - { (yyval.type_enum) = ECPGt_short; ;} + { (yyval.type_enum) = ECPGt_short; } break; case 2113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11621 "preproc.y" - { (yyval.type_enum) = ECPGt_short; ;} + { (yyval.type_enum) = ECPGt_short; } break; case 2114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11622 "preproc.y" - { (yyval.type_enum) = ECPGt_int; ;} + { (yyval.type_enum) = ECPGt_int; } break; case 2115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11623 "preproc.y" - { (yyval.type_enum) = ECPGt_long; ;} + { (yyval.type_enum) = ECPGt_long; } break; case 2116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11624 "preproc.y" - { (yyval.type_enum) = ECPGt_long; ;} + { (yyval.type_enum) = ECPGt_long; } break; case 2117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11626 "preproc.y" { #ifdef HAVE_LONG_LONG_INT_64 @@ -41901,12 +41940,12 @@ #else (yyval.type_enum) = ECPGt_long; #endif - ;} + } break; case 2118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11634 "preproc.y" { #ifdef HAVE_LONG_LONG_INT_64 @@ -41914,48 +41953,53 @@ #else (yyval.type_enum) = ECPGt_long; #endif - ;} + } break; case 2119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11641 "preproc.y" - { (yyval.type_enum) = ECPGt_bool; ;} + { (yyval.type_enum) = ECPGt_bool; } break; case 2120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11642 "preproc.y" - { (yyval.type_enum) = ECPGt_char; ;} + { (yyval.type_enum) = ECPGt_char; } break; case 2121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11643 "preproc.y" - { (yyval.type_enum) = ECPGt_double; ;} + { (yyval.type_enum) = ECPGt_double; } break; case 2124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11651 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 11653 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); ;} + { + if (actual_type[struct_level].type_enum == ECPGt_varchar) + (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(";"), (yyvsp[(3) - (3)].str)); + else + (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); + } break; case 2126: -/* Line 1455 of yacc.c */ -#line 11657 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11662 "preproc.y" { struct ECPGtype * type; char *dimension = (yyvsp[(3) - (5)].index).index1; /* dimension of array */ @@ -42037,466 +42081,466 @@ ECPGmake_struct_member((yyvsp[(2) - (5)].str), type, &(struct_member_list[struct_level - 1])); free((yyvsp[(2) - (5)].str)); - ;} + } break; case 2127: -/* Line 1455 of yacc.c */ -#line 11742 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11747 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2128: -/* Line 1455 of yacc.c */ -#line 11744 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11749 "preproc.y" { initializer = 1; (yyval.str) = cat2_str(make_str("="), (yyvsp[(2) - (2)].str)); - ;} + } break; case 2129: -/* Line 1455 of yacc.c */ -#line 11750 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11755 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2130: -/* Line 1455 of yacc.c */ -#line 11751 "preproc.y" - { (yyval.str) = make_str("*"); ;} +/* Line 1806 of yacc.c */ +#line 11756 "preproc.y" + { (yyval.str) = make_str("*"); } break; case 2131: -/* Line 1455 of yacc.c */ -#line 11752 "preproc.y" - { (yyval.str) = make_str("**"); ;} +/* Line 1806 of yacc.c */ +#line 11757 "preproc.y" + { (yyval.str) = make_str("**"); } break; case 2132: -/* Line 1455 of yacc.c */ -#line 11759 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11764 "preproc.y" { /* this is only supported for compatibility */ (yyval.str) = cat_str(3, make_str("/* declare statement"), (yyvsp[(3) - (3)].str), make_str("*/")); - ;} + } break; case 2133: -/* Line 1455 of yacc.c */ -#line 11767 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} +/* Line 1806 of yacc.c */ +#line 11772 "preproc.y" + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2134: -/* Line 1455 of yacc.c */ -#line 11770 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11775 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2135: -/* Line 1455 of yacc.c */ -#line 11771 "preproc.y" - { (yyval.str) = make_str("\"CURRENT\""); ;} +/* Line 1806 of yacc.c */ +#line 11776 "preproc.y" + { (yyval.str) = make_str("\"CURRENT\""); } break; case 2136: -/* Line 1455 of yacc.c */ -#line 11772 "preproc.y" - { (yyval.str) = make_str("\"ALL\""); ;} +/* Line 1806 of yacc.c */ +#line 11777 "preproc.y" + { (yyval.str) = make_str("\"ALL\""); } break; case 2137: -/* Line 1455 of yacc.c */ -#line 11773 "preproc.y" - { (yyval.str) = make_str("\"CURRENT\""); ;} +/* Line 1806 of yacc.c */ +#line 11778 "preproc.y" + { (yyval.str) = make_str("\"CURRENT\""); } break; case 2138: -/* Line 1455 of yacc.c */ -#line 11776 "preproc.y" - { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); ;} +/* Line 1806 of yacc.c */ +#line 11781 "preproc.y" + { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); } break; case 2139: -/* Line 1455 of yacc.c */ -#line 11777 "preproc.y" - { (yyval.str) = make_str("\"DEFAULT\""); ;} +/* Line 1806 of yacc.c */ +#line 11782 "preproc.y" + { (yyval.str) = make_str("\"DEFAULT\""); } break; case 2140: -/* Line 1455 of yacc.c */ -#line 11778 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11783 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2141: -/* Line 1455 of yacc.c */ -#line 11782 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11787 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2142: -/* Line 1455 of yacc.c */ -#line 11784 "preproc.y" - { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); ;} +/* Line 1806 of yacc.c */ +#line 11789 "preproc.y" + { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); } break; case 2143: -/* Line 1455 of yacc.c */ -#line 11791 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} +/* Line 1806 of yacc.c */ +#line 11796 "preproc.y" + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2144: -/* Line 1455 of yacc.c */ -#line 11792 "preproc.y" - { (yyval.str) = make_str("all"); ;} +/* Line 1806 of yacc.c */ +#line 11797 "preproc.y" + { (yyval.str) = make_str("all"); } break; case 2145: -/* Line 1455 of yacc.c */ -#line 11798 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (3)].str); ;} +/* Line 1806 of yacc.c */ +#line 11803 "preproc.y" + { (yyval.str) = (yyvsp[(2) - (3)].str); } break; case 2146: -/* Line 1455 of yacc.c */ -#line 11800 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11805 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2147: -/* Line 1455 of yacc.c */ -#line 11801 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11806 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2148: -/* Line 1455 of yacc.c */ -#line 11804 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11809 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2149: -/* Line 1455 of yacc.c */ -#line 11805 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11810 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2150: -/* Line 1455 of yacc.c */ -#line 11809 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11814 "preproc.y" { add_variable_to_head(&argsinsert, descriptor_variable((yyvsp[(4) - (4)].str),0), &no_indicator); (yyval.str) = EMPTY; - ;} + } break; case 2151: -/* Line 1455 of yacc.c */ -#line 11816 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11821 "preproc.y" { add_variable_to_head(&argsresult, descriptor_variable((yyvsp[(4) - (4)].str),1), &no_indicator); (yyval.str) = EMPTY; - ;} + } break; case 2156: -/* Line 1455 of yacc.c */ -#line 11827 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11832 "preproc.y" { char *length = mm_alloc(32); sprintf(length, "%d", (int) strlen((yyvsp[(1) - (1)].str))); add_variable_to_head(&argsinsert, new_variable((yyvsp[(1) - (1)].str), ECPGmake_simple_type(ECPGt_const, length, 0), 0), &no_indicator); - ;} + } break; case 2157: -/* Line 1455 of yacc.c */ -#line 11833 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11838 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2158: -/* Line 1455 of yacc.c */ -#line 11834 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11839 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2159: -/* Line 1455 of yacc.c */ -#line 11837 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11842 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2160: -/* Line 1455 of yacc.c */ -#line 11838 "preproc.y" - { (yyval.str) = cat_str(2, make_str("+"), (yyvsp[(2) - (2)].str)); ;} +/* Line 1806 of yacc.c */ +#line 11843 "preproc.y" + { (yyval.str) = cat_str(2, make_str("+"), (yyvsp[(2) - (2)].str)); } break; case 2161: -/* Line 1455 of yacc.c */ -#line 11839 "preproc.y" - { (yyval.str) = cat_str(2, make_str("-"), (yyvsp[(2) - (2)].str)); ;} +/* Line 1806 of yacc.c */ +#line 11844 "preproc.y" + { (yyval.str) = cat_str(2, make_str("-"), (yyvsp[(2) - (2)].str)); } break; case 2162: -/* Line 1455 of yacc.c */ -#line 11840 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11845 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2163: -/* Line 1455 of yacc.c */ -#line 11841 "preproc.y" - { (yyval.str) = cat_str(2, make_str("+"), (yyvsp[(2) - (2)].str)); ;} +/* Line 1806 of yacc.c */ +#line 11846 "preproc.y" + { (yyval.str) = cat_str(2, make_str("+"), (yyvsp[(2) - (2)].str)); } break; case 2164: -/* Line 1455 of yacc.c */ -#line 11842 "preproc.y" - { (yyval.str) = cat_str(2, make_str("-"), (yyvsp[(2) - (2)].str)); ;} +/* Line 1806 of yacc.c */ +#line 11847 "preproc.y" + { (yyval.str) = cat_str(2, make_str("-"), (yyvsp[(2) - (2)].str)); } break; case 2165: -/* Line 1455 of yacc.c */ -#line 11843 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11848 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2166: -/* Line 1455 of yacc.c */ -#line 11844 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11849 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2167: -/* Line 1455 of yacc.c */ -#line 11845 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11850 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2168: -/* Line 1455 of yacc.c */ -#line 11852 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11857 "preproc.y" { const char *con = connection ? connection : "NULL"; mmerror(PARSE_ERROR, ET_WARNING, "using unsupported DESCRIBE statement"); (yyval.str) = (char *) mm_alloc(sizeof("1, ECPGprepared_statement(, \"\", __LINE__)") + strlen(con) + strlen((yyvsp[(3) - (4)].str))); sprintf((yyval.str), "1, ECPGprepared_statement(%s, \"%s\", __LINE__)", con, (yyvsp[(3) - (4)].str)); - ;} + } break; case 2169: -/* Line 1455 of yacc.c */ -#line 11859 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11864 "preproc.y" { const char *con = connection ? connection : "NULL"; mmerror(PARSE_ERROR, ET_WARNING, "using unsupported DESCRIBE statement"); (yyval.str) = (char *) mm_alloc(sizeof("0, ECPGprepared_statement(, \"\", __LINE__)") + strlen(con) + strlen((yyvsp[(3) - (4)].str))); sprintf((yyval.str), "0, ECPGprepared_statement(%s, \"%s\", __LINE__)", con, (yyvsp[(3) - (4)].str)); - ;} + } break; case 2170: -/* Line 1455 of yacc.c */ -#line 11866 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11871 "preproc.y" { const char *con = connection ? connection : "NULL"; mmerror(PARSE_ERROR, ET_WARNING, "using unsupported DESCRIBE statement"); (yyval.str) = (char *) mm_alloc(sizeof("0, ECPGprepared_statement(, \"\", __LINE__)") + strlen(con) + strlen((yyvsp[(3) - (4)].str))); sprintf((yyval.str), "0, ECPGprepared_statement(%s, \"%s\", __LINE__)", con, (yyvsp[(3) - (4)].str)); - ;} + } break; case 2171: -/* Line 1455 of yacc.c */ -#line 11874 "preproc.y" - { (yyval.str) = make_str("output"); ;} +/* Line 1806 of yacc.c */ +#line 11879 "preproc.y" + { (yyval.str) = make_str("output"); } break; case 2172: -/* Line 1455 of yacc.c */ -#line 11875 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 11880 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2173: -/* Line 1455 of yacc.c */ -#line 11888 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11893 "preproc.y" { add_descriptor((yyvsp[(3) - (3)].str),connection); (yyval.str) = (yyvsp[(3) - (3)].str); - ;} + } break; case 2174: -/* Line 1455 of yacc.c */ -#line 11899 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11904 "preproc.y" { drop_descriptor((yyvsp[(3) - (3)].str),connection); (yyval.str) = (yyvsp[(3) - (3)].str); - ;} + } break; case 2175: -/* Line 1455 of yacc.c */ -#line 11910 "preproc.y" - { (yyval.str) = (yyvsp[(3) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 11915 "preproc.y" + { (yyval.str) = (yyvsp[(3) - (4)].str); } break; case 2178: -/* Line 1455 of yacc.c */ -#line 11918 "preproc.y" - { push_assignment((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].dtype_enum)); ;} +/* Line 1806 of yacc.c */ +#line 11923 "preproc.y" + { push_assignment((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].dtype_enum)); } break; case 2179: -/* Line 1455 of yacc.c */ -#line 11923 "preproc.y" - { (yyval.str) = (yyvsp[(3) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 11928 "preproc.y" + { (yyval.str) = (yyvsp[(3) - (4)].str); } break; case 2182: -/* Line 1455 of yacc.c */ -#line 11931 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11936 "preproc.y" { push_assignment((yyvsp[(3) - (3)].str), (yyvsp[(1) - (3)].dtype_enum)); - ;} + } break; case 2183: -/* Line 1455 of yacc.c */ -#line 11937 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11942 "preproc.y" { char *length = mm_alloc(sizeof(int) * CHAR_BIT * 10 / 3); sprintf(length, "%d", (int) strlen((yyvsp[(1) - (1)].str))); new_variable((yyvsp[(1) - (1)].str), ECPGmake_simple_type(ECPGt_const, length, 0), 0); (yyval.str) = (yyvsp[(1) - (1)].str); - ;} + } break; case 2184: -/* Line 1455 of yacc.c */ -#line 11944 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11949 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2185: -/* Line 1455 of yacc.c */ -#line 11947 "preproc.y" - { (yyval.dtype_enum) = ECPGd_count; ;} +/* Line 1806 of yacc.c */ +#line 11952 "preproc.y" + { (yyval.dtype_enum) = ECPGd_count; } break; case 2186: -/* Line 1455 of yacc.c */ -#line 11955 "preproc.y" - { (yyval.descriptor).str = (yyvsp[(5) - (6)].str); (yyval.descriptor).name = (yyvsp[(3) - (6)].str); ;} +/* Line 1806 of yacc.c */ +#line 11960 "preproc.y" + { (yyval.descriptor).str = (yyvsp[(5) - (6)].str); (yyval.descriptor).name = (yyvsp[(3) - (6)].str); } break; case 2189: -/* Line 1455 of yacc.c */ -#line 11962 "preproc.y" - { push_assignment((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].dtype_enum)); ;} +/* Line 1806 of yacc.c */ +#line 11967 "preproc.y" + { push_assignment((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].dtype_enum)); } break; case 2190: -/* Line 1455 of yacc.c */ -#line 11966 "preproc.y" - { (yyval.descriptor).str = (yyvsp[(5) - (6)].str); (yyval.descriptor).name = (yyvsp[(3) - (6)].str); ;} +/* Line 1806 of yacc.c */ +#line 11971 "preproc.y" + { (yyval.descriptor).str = (yyvsp[(5) - (6)].str); (yyval.descriptor).name = (yyvsp[(3) - (6)].str); } break; case 2193: -/* Line 1455 of yacc.c */ -#line 11974 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11979 "preproc.y" { push_assignment((yyvsp[(3) - (3)].str), (yyvsp[(1) - (3)].dtype_enum)); - ;} + } break; case 2194: -/* Line 1455 of yacc.c */ -#line 11980 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11985 "preproc.y" { char *length = mm_alloc(sizeof(int) * CHAR_BIT * 10 / 3); sprintf(length, "%d", (int) strlen((yyvsp[(1) - (1)].str))); new_variable((yyvsp[(1) - (1)].str), ECPGmake_simple_type(ECPGt_const, length, 0), 0); (yyval.str) = (yyvsp[(1) - (1)].str); - ;} + } break; case 2195: -/* Line 1455 of yacc.c */ -#line 11987 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 11992 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2196: -/* Line 1455 of yacc.c */ -#line 11989 "preproc.y" +/* Line 1806 of yacc.c */ +#line 11994 "preproc.y" { char *length = mm_alloc(sizeof(int) * CHAR_BIT * 10 / 3); char *var = cat2_str(make_str("-"), (yyvsp[(2) - (2)].str)); @@ -42504,13 +42548,13 @@ sprintf(length, "%d", (int) strlen(var)); new_variable(var, ECPGmake_simple_type(ECPGt_const, length, 0), 0); (yyval.str) = var; - ;} + } break; case 2197: -/* Line 1455 of yacc.c */ -#line 11998 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12003 "preproc.y" { char *length = mm_alloc(sizeof(int) * CHAR_BIT * 10 / 3); char *var = cat2_str(make_str("-"), (yyvsp[(2) - (2)].str)); @@ -42518,13 +42562,13 @@ sprintf(length, "%d", (int) strlen(var)); new_variable(var, ECPGmake_simple_type(ECPGt_const, length, 0), 0); (yyval.str) = var; - ;} + } break; case 2198: -/* Line 1455 of yacc.c */ -#line 12007 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12012 "preproc.y" { char *length = mm_alloc(sizeof(int) * CHAR_BIT * 10 / 3); char *var = (yyvsp[(1) - (1)].str) + 1; @@ -42533,178 +42577,178 @@ sprintf(length, "%d", (int) strlen(var)); new_variable(var, ECPGmake_simple_type(ECPGt_const, length, 0), 0); (yyval.str) = var; - ;} + } break; case 2199: -/* Line 1455 of yacc.c */ -#line 12018 "preproc.y" - { (yyval.dtype_enum) = ECPGd_cardinality; ;} +/* Line 1806 of yacc.c */ +#line 12023 "preproc.y" + { (yyval.dtype_enum) = ECPGd_cardinality; } break; case 2200: -/* Line 1455 of yacc.c */ -#line 12019 "preproc.y" - { (yyval.dtype_enum) = ECPGd_data; ;} +/* Line 1806 of yacc.c */ +#line 12024 "preproc.y" + { (yyval.dtype_enum) = ECPGd_data; } break; case 2201: -/* Line 1455 of yacc.c */ -#line 12020 "preproc.y" - { (yyval.dtype_enum) = ECPGd_di_code; ;} +/* Line 1806 of yacc.c */ +#line 12025 "preproc.y" + { (yyval.dtype_enum) = ECPGd_di_code; } break; case 2202: -/* Line 1455 of yacc.c */ -#line 12021 "preproc.y" - { (yyval.dtype_enum) = ECPGd_di_precision; ;} +/* Line 1806 of yacc.c */ +#line 12026 "preproc.y" + { (yyval.dtype_enum) = ECPGd_di_precision; } break; case 2203: -/* Line 1455 of yacc.c */ -#line 12022 "preproc.y" - { (yyval.dtype_enum) = ECPGd_indicator; ;} +/* Line 1806 of yacc.c */ +#line 12027 "preproc.y" + { (yyval.dtype_enum) = ECPGd_indicator; } break; case 2204: -/* Line 1455 of yacc.c */ -#line 12023 "preproc.y" - { (yyval.dtype_enum) = ECPGd_key_member; ;} +/* Line 1806 of yacc.c */ +#line 12028 "preproc.y" + { (yyval.dtype_enum) = ECPGd_key_member; } break; case 2205: -/* Line 1455 of yacc.c */ -#line 12024 "preproc.y" - { (yyval.dtype_enum) = ECPGd_length; ;} +/* Line 1806 of yacc.c */ +#line 12029 "preproc.y" + { (yyval.dtype_enum) = ECPGd_length; } break; case 2206: -/* Line 1455 of yacc.c */ -#line 12025 "preproc.y" - { (yyval.dtype_enum) = ECPGd_name; ;} +/* Line 1806 of yacc.c */ +#line 12030 "preproc.y" + { (yyval.dtype_enum) = ECPGd_name; } break; case 2207: -/* Line 1455 of yacc.c */ -#line 12026 "preproc.y" - { (yyval.dtype_enum) = ECPGd_nullable; ;} +/* Line 1806 of yacc.c */ +#line 12031 "preproc.y" + { (yyval.dtype_enum) = ECPGd_nullable; } break; case 2208: -/* Line 1455 of yacc.c */ -#line 12027 "preproc.y" - { (yyval.dtype_enum) = ECPGd_octet; ;} +/* Line 1806 of yacc.c */ +#line 12032 "preproc.y" + { (yyval.dtype_enum) = ECPGd_octet; } break; case 2209: -/* Line 1455 of yacc.c */ -#line 12028 "preproc.y" - { (yyval.dtype_enum) = ECPGd_precision; ;} +/* Line 1806 of yacc.c */ +#line 12033 "preproc.y" + { (yyval.dtype_enum) = ECPGd_precision; } break; case 2210: -/* Line 1455 of yacc.c */ -#line 12029 "preproc.y" - { (yyval.dtype_enum) = ECPGd_length; ;} +/* Line 1806 of yacc.c */ +#line 12034 "preproc.y" + { (yyval.dtype_enum) = ECPGd_length; } break; case 2211: -/* Line 1455 of yacc.c */ -#line 12030 "preproc.y" - { (yyval.dtype_enum) = ECPGd_ret_octet; ;} +/* Line 1806 of yacc.c */ +#line 12035 "preproc.y" + { (yyval.dtype_enum) = ECPGd_ret_octet; } break; case 2212: -/* Line 1455 of yacc.c */ -#line 12031 "preproc.y" - { (yyval.dtype_enum) = ECPGd_scale; ;} +/* Line 1806 of yacc.c */ +#line 12036 "preproc.y" + { (yyval.dtype_enum) = ECPGd_scale; } break; case 2213: -/* Line 1455 of yacc.c */ -#line 12032 "preproc.y" - { (yyval.dtype_enum) = ECPGd_type; ;} +/* Line 1806 of yacc.c */ +#line 12037 "preproc.y" + { (yyval.dtype_enum) = ECPGd_type; } break; case 2214: -/* Line 1455 of yacc.c */ -#line 12039 "preproc.y" - { (yyval.str) = (yyvsp[(4) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 12044 "preproc.y" + { (yyval.str) = (yyvsp[(4) - (4)].str); } break; case 2215: -/* Line 1455 of yacc.c */ -#line 12040 "preproc.y" - { (yyval.str) = (yyvsp[(4) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 12045 "preproc.y" + { (yyval.str) = (yyvsp[(4) - (4)].str); } break; case 2216: -/* Line 1455 of yacc.c */ -#line 12043 "preproc.y" - { (yyval.str) = make_str("on"); ;} +/* Line 1806 of yacc.c */ +#line 12048 "preproc.y" + { (yyval.str) = make_str("on"); } break; case 2217: -/* Line 1455 of yacc.c */ -#line 12044 "preproc.y" - { (yyval.str) = make_str("off"); ;} +/* Line 1806 of yacc.c */ +#line 12049 "preproc.y" + { (yyval.str) = make_str("off"); } break; case 2218: -/* Line 1455 of yacc.c */ -#line 12051 "preproc.y" - { (yyval.str) = (yyvsp[(4) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 12056 "preproc.y" + { (yyval.str) = (yyvsp[(4) - (4)].str); } break; case 2219: -/* Line 1455 of yacc.c */ -#line 12052 "preproc.y" - { (yyval.str) = (yyvsp[(4) - (4)].str); ;} +/* Line 1806 of yacc.c */ +#line 12057 "preproc.y" + { (yyval.str) = (yyvsp[(4) - (4)].str); } break; case 2220: -/* Line 1455 of yacc.c */ -#line 12053 "preproc.y" - { (yyval.str) = (yyvsp[(3) - (3)].str); ;} +/* Line 1806 of yacc.c */ +#line 12058 "preproc.y" + { (yyval.str) = (yyvsp[(3) - (3)].str); } break; case 2221: -/* Line 1455 of yacc.c */ -#line 12060 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12065 "preproc.y" { /* reset this variable so we see if there was */ /* an initializer specified */ initializer = 0; - ;} + } break; case 2222: -/* Line 1455 of yacc.c */ -#line 12066 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12071 "preproc.y" { add_typedef((yyvsp[(3) - (7)].str), (yyvsp[(6) - (7)].index).index1, (yyvsp[(6) - (7)].index).index2, (yyvsp[(5) - (7)].type).type_enum, (yyvsp[(5) - (7)].type).type_dimension, (yyvsp[(5) - (7)].type).type_index, initializer, *(yyvsp[(7) - (7)].str) ? 1 : 0); @@ -42712,38 +42756,38 @@ (yyval.str) = cat_str(7, make_str("/* exec sql type"), mm_strdup((yyvsp[(3) - (7)].str)), make_str("is"), mm_strdup((yyvsp[(5) - (7)].type).type_str), mm_strdup((yyvsp[(6) - (7)].index).str), (yyvsp[(7) - (7)].str), make_str("*/")); else (yyval.str) = cat_str(6, make_str("typedef "), mm_strdup((yyvsp[(5) - (7)].type).type_str), *(yyvsp[(7) - (7)].str)?make_str("*"):make_str(""), mm_strdup((yyvsp[(6) - (7)].index).str), mm_strdup((yyvsp[(3) - (7)].str)), make_str(";")); - ;} + } break; case 2223: -/* Line 1455 of yacc.c */ -#line 12076 "preproc.y" - { (yyval.str) = make_str("reference"); ;} +/* Line 1806 of yacc.c */ +#line 12081 "preproc.y" + { (yyval.str) = make_str("reference"); } break; case 2224: -/* Line 1455 of yacc.c */ -#line 12077 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12082 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2225: -/* Line 1455 of yacc.c */ -#line 12084 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12089 "preproc.y" { /* reset this variable so we see if there was */ /* an initializer specified */ initializer = 0; - ;} + } break; case 2226: -/* Line 1455 of yacc.c */ -#line 12090 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12095 "preproc.y" { struct variable *p = find_variable((yyvsp[(3) - (7)].str)); char *dimension = (yyvsp[(6) - (7)].index).index1; @@ -42799,906 +42843,906 @@ } (yyval.str) = cat_str(7, make_str("/* exec sql var"), mm_strdup((yyvsp[(3) - (7)].str)), make_str("is"), mm_strdup((yyvsp[(5) - (7)].type).type_str), mm_strdup((yyvsp[(6) - (7)].index).str), (yyvsp[(7) - (7)].str), make_str("*/")); - ;} + } break; case 2227: -/* Line 1455 of yacc.c */ -#line 12153 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12158 "preproc.y" { when_error.code = (yyvsp[(3) - (3)].action).code; when_error.command = (yyvsp[(3) - (3)].action).command; (yyval.str) = cat_str(3, make_str("/* exec sql whenever sqlerror "), (yyvsp[(3) - (3)].action).str, make_str("; */")); - ;} + } break; case 2228: -/* Line 1455 of yacc.c */ -#line 12159 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12164 "preproc.y" { when_nf.code = (yyvsp[(4) - (4)].action).code; when_nf.command = (yyvsp[(4) - (4)].action).command; (yyval.str) = cat_str(3, make_str("/* exec sql whenever not found "), (yyvsp[(4) - (4)].action).str, make_str("; */")); - ;} + } break; case 2229: -/* Line 1455 of yacc.c */ -#line 12165 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12170 "preproc.y" { when_warn.code = (yyvsp[(3) - (3)].action).code; when_warn.command = (yyvsp[(3) - (3)].action).command; (yyval.str) = cat_str(3, make_str("/* exec sql whenever sql_warning "), (yyvsp[(3) - (3)].action).str, make_str("; */")); - ;} + } break; case 2230: -/* Line 1455 of yacc.c */ -#line 12173 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12178 "preproc.y" { (yyval.action).code = W_NOTHING; (yyval.action).command = NULL; (yyval.action).str = make_str("continue"); - ;} + } break; case 2231: -/* Line 1455 of yacc.c */ -#line 12179 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12184 "preproc.y" { (yyval.action).code = W_SQLPRINT; (yyval.action).command = NULL; (yyval.action).str = make_str("sqlprint"); - ;} + } break; case 2232: -/* Line 1455 of yacc.c */ -#line 12185 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12190 "preproc.y" { (yyval.action).code = W_STOP; (yyval.action).command = NULL; (yyval.action).str = make_str("stop"); - ;} + } break; case 2233: -/* Line 1455 of yacc.c */ -#line 12191 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12196 "preproc.y" { (yyval.action).code = W_GOTO; (yyval.action).command = strdup((yyvsp[(2) - (2)].str)); (yyval.action).str = cat2_str(make_str("goto "), (yyvsp[(2) - (2)].str)); - ;} + } break; case 2234: -/* Line 1455 of yacc.c */ -#line 12197 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12202 "preproc.y" { (yyval.action).code = W_GOTO; (yyval.action).command = strdup((yyvsp[(3) - (3)].str)); (yyval.action).str = cat2_str(make_str("goto "), (yyvsp[(3) - (3)].str)); - ;} + } break; case 2235: -/* Line 1455 of yacc.c */ -#line 12203 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12208 "preproc.y" { (yyval.action).code = W_DO; (yyval.action).command = cat_str(4, (yyvsp[(2) - (5)].str), make_str("("), (yyvsp[(4) - (5)].str), make_str(")")); (yyval.action).str = cat2_str(make_str("do"), mm_strdup((yyval.action).command)); - ;} + } break; case 2236: -/* Line 1455 of yacc.c */ -#line 12209 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12214 "preproc.y" { (yyval.action).code = W_BREAK; (yyval.action).command = NULL; (yyval.action).str = make_str("break"); - ;} + } break; case 2237: -/* Line 1455 of yacc.c */ -#line 12215 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12220 "preproc.y" { (yyval.action).code = W_DO; (yyval.action).command = cat_str(4, (yyvsp[(2) - (5)].str), make_str("("), (yyvsp[(4) - (5)].str), make_str(")")); (yyval.action).str = cat2_str(make_str("call"), mm_strdup((yyval.action).command)); - ;} + } break; case 2238: -/* Line 1455 of yacc.c */ -#line 12221 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12226 "preproc.y" { (yyval.action).code = W_DO; (yyval.action).command = cat2_str((yyvsp[(2) - (2)].str), make_str("()")); (yyval.action).str = cat2_str(make_str("call"), mm_strdup((yyval.action).command)); - ;} + } break; case 2239: -/* Line 1455 of yacc.c */ -#line 12231 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12236 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2240: -/* Line 1455 of yacc.c */ -#line 12232 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12237 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2241: -/* Line 1455 of yacc.c */ -#line 12235 "preproc.y" - { (yyval.str) = make_str("break"); ;} +/* Line 1806 of yacc.c */ +#line 12240 "preproc.y" + { (yyval.str) = make_str("break"); } break; case 2242: -/* Line 1455 of yacc.c */ -#line 12236 "preproc.y" - { (yyval.str) = make_str("call"); ;} +/* Line 1806 of yacc.c */ +#line 12241 "preproc.y" + { (yyval.str) = make_str("call"); } break; case 2243: -/* Line 1455 of yacc.c */ -#line 12237 "preproc.y" - { (yyval.str) = make_str("cardinality"); ;} +/* Line 1806 of yacc.c */ +#line 12242 "preproc.y" + { (yyval.str) = make_str("cardinality"); } break; case 2244: -/* Line 1455 of yacc.c */ -#line 12238 "preproc.y" - { (yyval.str) = make_str("count"); ;} +/* Line 1806 of yacc.c */ +#line 12243 "preproc.y" + { (yyval.str) = make_str("count"); } break; case 2245: -/* Line 1455 of yacc.c */ -#line 12239 "preproc.y" - { (yyval.str) = make_str("datetime_interval_code"); ;} +/* Line 1806 of yacc.c */ +#line 12244 "preproc.y" + { (yyval.str) = make_str("datetime_interval_code"); } break; case 2246: -/* Line 1455 of yacc.c */ -#line 12240 "preproc.y" - { (yyval.str) = make_str("datetime_interval_precision"); ;} +/* Line 1806 of yacc.c */ +#line 12245 "preproc.y" + { (yyval.str) = make_str("datetime_interval_precision"); } break; case 2247: -/* Line 1455 of yacc.c */ -#line 12241 "preproc.y" - { (yyval.str) = make_str("found"); ;} +/* Line 1806 of yacc.c */ +#line 12246 "preproc.y" + { (yyval.str) = make_str("found"); } break; case 2248: -/* Line 1455 of yacc.c */ -#line 12242 "preproc.y" - { (yyval.str) = make_str("go"); ;} +/* Line 1806 of yacc.c */ +#line 12247 "preproc.y" + { (yyval.str) = make_str("go"); } break; case 2249: -/* Line 1455 of yacc.c */ -#line 12243 "preproc.y" - { (yyval.str) = make_str("goto"); ;} +/* Line 1806 of yacc.c */ +#line 12248 "preproc.y" + { (yyval.str) = make_str("goto"); } break; case 2250: -/* Line 1455 of yacc.c */ -#line 12244 "preproc.y" - { (yyval.str) = make_str("identified"); ;} +/* Line 1806 of yacc.c */ +#line 12249 "preproc.y" + { (yyval.str) = make_str("identified"); } break; case 2251: -/* Line 1455 of yacc.c */ -#line 12245 "preproc.y" - { (yyval.str) = make_str("indicator"); ;} +/* Line 1806 of yacc.c */ +#line 12250 "preproc.y" + { (yyval.str) = make_str("indicator"); } break; case 2252: -/* Line 1455 of yacc.c */ -#line 12246 "preproc.y" - { (yyval.str) = make_str("key_member"); ;} +/* Line 1806 of yacc.c */ +#line 12251 "preproc.y" + { (yyval.str) = make_str("key_member"); } break; case 2253: -/* Line 1455 of yacc.c */ -#line 12247 "preproc.y" - { (yyval.str) = make_str("length"); ;} +/* Line 1806 of yacc.c */ +#line 12252 "preproc.y" + { (yyval.str) = make_str("length"); } break; case 2254: -/* Line 1455 of yacc.c */ -#line 12248 "preproc.y" - { (yyval.str) = make_str("nullable"); ;} +/* Line 1806 of yacc.c */ +#line 12253 "preproc.y" + { (yyval.str) = make_str("nullable"); } break; case 2255: -/* Line 1455 of yacc.c */ -#line 12249 "preproc.y" - { (yyval.str) = make_str("octet_length"); ;} +/* Line 1806 of yacc.c */ +#line 12254 "preproc.y" + { (yyval.str) = make_str("octet_length"); } break; case 2256: -/* Line 1455 of yacc.c */ -#line 12250 "preproc.y" - { (yyval.str) = make_str("returned_length"); ;} +/* Line 1806 of yacc.c */ +#line 12255 "preproc.y" + { (yyval.str) = make_str("returned_length"); } break; case 2257: -/* Line 1455 of yacc.c */ -#line 12251 "preproc.y" - { (yyval.str) = make_str("returned_octet_length"); ;} +/* Line 1806 of yacc.c */ +#line 12256 "preproc.y" + { (yyval.str) = make_str("returned_octet_length"); } break; case 2258: -/* Line 1455 of yacc.c */ -#line 12252 "preproc.y" - { (yyval.str) = make_str("scale"); ;} +/* Line 1806 of yacc.c */ +#line 12257 "preproc.y" + { (yyval.str) = make_str("scale"); } break; case 2259: -/* Line 1455 of yacc.c */ -#line 12253 "preproc.y" - { (yyval.str) = make_str("section"); ;} +/* Line 1806 of yacc.c */ +#line 12258 "preproc.y" + { (yyval.str) = make_str("section"); } break; case 2260: -/* Line 1455 of yacc.c */ -#line 12254 "preproc.y" - { (yyval.str) = make_str("sql"); ;} +/* Line 1806 of yacc.c */ +#line 12259 "preproc.y" + { (yyval.str) = make_str("sql"); } break; case 2261: -/* Line 1455 of yacc.c */ -#line 12255 "preproc.y" - { (yyval.str) = make_str("sqlerror"); ;} +/* Line 1806 of yacc.c */ +#line 12260 "preproc.y" + { (yyval.str) = make_str("sqlerror"); } break; case 2262: -/* Line 1455 of yacc.c */ -#line 12256 "preproc.y" - { (yyval.str) = make_str("sqlprint"); ;} +/* Line 1806 of yacc.c */ +#line 12261 "preproc.y" + { (yyval.str) = make_str("sqlprint"); } break; case 2263: -/* Line 1455 of yacc.c */ -#line 12257 "preproc.y" - { (yyval.str) = make_str("sqlwarning"); ;} +/* Line 1806 of yacc.c */ +#line 12262 "preproc.y" + { (yyval.str) = make_str("sqlwarning"); } break; case 2264: -/* Line 1455 of yacc.c */ -#line 12258 "preproc.y" - { (yyval.str) = make_str("stop"); ;} +/* Line 1806 of yacc.c */ +#line 12263 "preproc.y" + { (yyval.str) = make_str("stop"); } break; case 2265: -/* Line 1455 of yacc.c */ -#line 12261 "preproc.y" - { (yyval.str) = make_str("connect"); ;} +/* Line 1806 of yacc.c */ +#line 12266 "preproc.y" + { (yyval.str) = make_str("connect"); } break; case 2266: -/* Line 1455 of yacc.c */ -#line 12262 "preproc.y" - { (yyval.str) = make_str("describe"); ;} +/* Line 1806 of yacc.c */ +#line 12267 "preproc.y" + { (yyval.str) = make_str("describe"); } break; case 2267: -/* Line 1455 of yacc.c */ -#line 12263 "preproc.y" - { (yyval.str) = make_str("disconnect"); ;} +/* Line 1806 of yacc.c */ +#line 12268 "preproc.y" + { (yyval.str) = make_str("disconnect"); } break; case 2268: -/* Line 1455 of yacc.c */ -#line 12264 "preproc.y" - { (yyval.str) = make_str("open"); ;} +/* Line 1806 of yacc.c */ +#line 12269 "preproc.y" + { (yyval.str) = make_str("open"); } break; case 2269: -/* Line 1455 of yacc.c */ -#line 12265 "preproc.y" - { (yyval.str) = make_str("var"); ;} +/* Line 1806 of yacc.c */ +#line 12270 "preproc.y" + { (yyval.str) = make_str("var"); } break; case 2270: -/* Line 1455 of yacc.c */ -#line 12266 "preproc.y" - { (yyval.str) = make_str("whenever"); ;} +/* Line 1806 of yacc.c */ +#line 12271 "preproc.y" + { (yyval.str) = make_str("whenever"); } break; case 2271: -/* Line 1455 of yacc.c */ -#line 12270 "preproc.y" - { (yyval.str) = make_str("bool"); ;} +/* Line 1806 of yacc.c */ +#line 12275 "preproc.y" + { (yyval.str) = make_str("bool"); } break; case 2272: -/* Line 1455 of yacc.c */ -#line 12271 "preproc.y" - { (yyval.str) = make_str("long"); ;} +/* Line 1806 of yacc.c */ +#line 12276 "preproc.y" + { (yyval.str) = make_str("long"); } break; case 2273: -/* Line 1455 of yacc.c */ -#line 12272 "preproc.y" - { (yyval.str) = make_str("output"); ;} +/* Line 1806 of yacc.c */ +#line 12277 "preproc.y" + { (yyval.str) = make_str("output"); } break; case 2274: -/* Line 1455 of yacc.c */ -#line 12273 "preproc.y" - { (yyval.str) = make_str("short"); ;} +/* Line 1806 of yacc.c */ +#line 12278 "preproc.y" + { (yyval.str) = make_str("short"); } break; case 2275: -/* Line 1455 of yacc.c */ -#line 12274 "preproc.y" - { (yyval.str) = make_str("struct"); ;} +/* Line 1806 of yacc.c */ +#line 12279 "preproc.y" + { (yyval.str) = make_str("struct"); } break; case 2276: -/* Line 1455 of yacc.c */ -#line 12275 "preproc.y" - { (yyval.str) = make_str("signed"); ;} +/* Line 1806 of yacc.c */ +#line 12280 "preproc.y" + { (yyval.str) = make_str("signed"); } break; case 2277: -/* Line 1455 of yacc.c */ -#line 12276 "preproc.y" - { (yyval.str) = make_str("unsigned"); ;} +/* Line 1806 of yacc.c */ +#line 12281 "preproc.y" + { (yyval.str) = make_str("unsigned"); } break; case 2278: -/* Line 1455 of yacc.c */ -#line 12279 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12284 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2279: -/* Line 1455 of yacc.c */ -#line 12282 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12287 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2280: -/* Line 1455 of yacc.c */ -#line 12283 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12288 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2281: -/* Line 1455 of yacc.c */ -#line 12284 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12289 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2282: -/* Line 1455 of yacc.c */ -#line 12285 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12290 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2283: -/* Line 1455 of yacc.c */ -#line 12286 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12291 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2284: -/* Line 1455 of yacc.c */ -#line 12287 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12292 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2285: -/* Line 1455 of yacc.c */ -#line 12288 "preproc.y" - { (yyval.str) = make_str("char"); ;} +/* Line 1806 of yacc.c */ +#line 12293 "preproc.y" + { (yyval.str) = make_str("char"); } break; case 2286: -/* Line 1455 of yacc.c */ -#line 12289 "preproc.y" - { (yyval.str) = make_str("values"); ;} +/* Line 1806 of yacc.c */ +#line 12294 "preproc.y" + { (yyval.str) = make_str("values"); } break; case 2287: -/* Line 1455 of yacc.c */ -#line 12302 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12307 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2288: -/* Line 1455 of yacc.c */ -#line 12303 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12308 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2289: -/* Line 1455 of yacc.c */ -#line 12304 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12309 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2290: -/* Line 1455 of yacc.c */ -#line 12305 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12310 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2291: -/* Line 1455 of yacc.c */ -#line 12306 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12311 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2292: -/* Line 1455 of yacc.c */ -#line 12307 "preproc.y" - { (yyval.str) = make_str("char"); ;} +/* Line 1806 of yacc.c */ +#line 12312 "preproc.y" + { (yyval.str) = make_str("char"); } break; case 2293: -/* Line 1455 of yacc.c */ -#line 12308 "preproc.y" - { (yyval.str) = make_str("values"); ;} +/* Line 1806 of yacc.c */ +#line 12313 "preproc.y" + { (yyval.str) = make_str("values"); } break; case 2294: -/* Line 1455 of yacc.c */ -#line 12313 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12318 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2295: -/* Line 1455 of yacc.c */ -#line 12314 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12319 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2296: -/* Line 1455 of yacc.c */ -#line 12315 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12320 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2297: -/* Line 1455 of yacc.c */ -#line 12316 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12321 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2298: -/* Line 1455 of yacc.c */ -#line 12317 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12322 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2299: -/* Line 1455 of yacc.c */ -#line 12318 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12323 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2300: -/* Line 1455 of yacc.c */ -#line 12324 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12329 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2301: -/* Line 1455 of yacc.c */ -#line 12325 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12330 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2302: -/* Line 1455 of yacc.c */ -#line 12326 "preproc.y" - { (yyval.str) = make_str("char"); ;} +/* Line 1806 of yacc.c */ +#line 12331 "preproc.y" + { (yyval.str) = make_str("char"); } break; case 2303: -/* Line 1455 of yacc.c */ -#line 12327 "preproc.y" - { (yyval.str) = make_str("current"); ;} +/* Line 1806 of yacc.c */ +#line 12332 "preproc.y" + { (yyval.str) = make_str("current"); } break; case 2304: -/* Line 1455 of yacc.c */ -#line 12328 "preproc.y" - { (yyval.str) = make_str("input"); ;} +/* Line 1806 of yacc.c */ +#line 12333 "preproc.y" + { (yyval.str) = make_str("input"); } break; case 2305: -/* Line 1455 of yacc.c */ -#line 12329 "preproc.y" - { (yyval.str) = make_str("int"); ;} +/* Line 1806 of yacc.c */ +#line 12334 "preproc.y" + { (yyval.str) = make_str("int"); } break; case 2306: -/* Line 1455 of yacc.c */ -#line 12330 "preproc.y" - { (yyval.str) = make_str("to"); ;} +/* Line 1806 of yacc.c */ +#line 12335 "preproc.y" + { (yyval.str) = make_str("to"); } break; case 2307: -/* Line 1455 of yacc.c */ -#line 12331 "preproc.y" - { (yyval.str) = make_str("union"); ;} +/* Line 1806 of yacc.c */ +#line 12336 "preproc.y" + { (yyval.str) = make_str("union"); } break; case 2308: -/* Line 1455 of yacc.c */ -#line 12332 "preproc.y" - { (yyval.str) = make_str("values"); ;} +/* Line 1806 of yacc.c */ +#line 12337 "preproc.y" + { (yyval.str) = make_str("values"); } break; case 2309: -/* Line 1455 of yacc.c */ -#line 12333 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12338 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2310: -/* Line 1455 of yacc.c */ -#line 12334 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12339 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2311: -/* Line 1455 of yacc.c */ -#line 12337 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12342 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2312: -/* Line 1455 of yacc.c */ -#line 12338 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12343 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2313: -/* Line 1455 of yacc.c */ -#line 12339 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12344 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2314: -/* Line 1455 of yacc.c */ -#line 12340 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12345 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2315: -/* Line 1455 of yacc.c */ -#line 12341 "preproc.y" - { (yyval.str) = make_str("connection"); ;} +/* Line 1806 of yacc.c */ +#line 12346 "preproc.y" + { (yyval.str) = make_str("connection"); } break; case 2316: -/* Line 1455 of yacc.c */ -#line 12344 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12349 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2317: -/* Line 1455 of yacc.c */ -#line 12345 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12350 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2318: -/* Line 1455 of yacc.c */ -#line 12346 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12351 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2319: -/* Line 1455 of yacc.c */ -#line 12347 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12352 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2320: -/* Line 1455 of yacc.c */ -#line 12350 "preproc.y" - { (yyval.str) = make_str("auto"); ;} +/* Line 1806 of yacc.c */ +#line 12355 "preproc.y" + { (yyval.str) = make_str("auto"); } break; case 2321: -/* Line 1455 of yacc.c */ -#line 12351 "preproc.y" - { (yyval.str) = make_str("const"); ;} +/* Line 1806 of yacc.c */ +#line 12356 "preproc.y" + { (yyval.str) = make_str("const"); } break; case 2322: -/* Line 1455 of yacc.c */ -#line 12352 "preproc.y" - { (yyval.str) = make_str("extern"); ;} +/* Line 1806 of yacc.c */ +#line 12357 "preproc.y" + { (yyval.str) = make_str("extern"); } break; case 2323: -/* Line 1455 of yacc.c */ -#line 12353 "preproc.y" - { (yyval.str) = make_str("register"); ;} +/* Line 1806 of yacc.c */ +#line 12358 "preproc.y" + { (yyval.str) = make_str("register"); } break; case 2324: -/* Line 1455 of yacc.c */ -#line 12354 "preproc.y" - { (yyval.str) = make_str("static"); ;} +/* Line 1806 of yacc.c */ +#line 12359 "preproc.y" + { (yyval.str) = make_str("static"); } break; case 2325: -/* Line 1455 of yacc.c */ -#line 12355 "preproc.y" - { (yyval.str) = make_str("typedef"); ;} +/* Line 1806 of yacc.c */ +#line 12360 "preproc.y" + { (yyval.str) = make_str("typedef"); } break; case 2326: -/* Line 1455 of yacc.c */ -#line 12356 "preproc.y" - { (yyval.str) = make_str("volatile"); ;} +/* Line 1806 of yacc.c */ +#line 12361 "preproc.y" + { (yyval.str) = make_str("volatile"); } break; case 2327: -/* Line 1455 of yacc.c */ -#line 12373 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12378 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2328: -/* Line 1455 of yacc.c */ -#line 12374 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12379 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2329: -/* Line 1455 of yacc.c */ -#line 12375 "preproc.y" - { (yyval.str) = make_str("connection"); ;} +/* Line 1806 of yacc.c */ +#line 12380 "preproc.y" + { (yyval.str) = make_str("connection"); } break; case 2330: -/* Line 1455 of yacc.c */ -#line 12378 "preproc.y" - { (yyval.str) = make_str("day"); ;} +/* Line 1806 of yacc.c */ +#line 12383 "preproc.y" + { (yyval.str) = make_str("day"); } break; case 2331: -/* Line 1455 of yacc.c */ -#line 12379 "preproc.y" - { (yyval.str) = make_str("hour"); ;} +/* Line 1806 of yacc.c */ +#line 12384 "preproc.y" + { (yyval.str) = make_str("hour"); } break; case 2332: -/* Line 1455 of yacc.c */ -#line 12380 "preproc.y" - { (yyval.str) = make_str("minute"); ;} +/* Line 1806 of yacc.c */ +#line 12385 "preproc.y" + { (yyval.str) = make_str("minute"); } break; case 2333: -/* Line 1455 of yacc.c */ -#line 12381 "preproc.y" - { (yyval.str) = make_str("month"); ;} +/* Line 1806 of yacc.c */ +#line 12386 "preproc.y" + { (yyval.str) = make_str("month"); } break; case 2334: -/* Line 1455 of yacc.c */ -#line 12382 "preproc.y" - { (yyval.str) = make_str("second"); ;} +/* Line 1806 of yacc.c */ +#line 12387 "preproc.y" + { (yyval.str) = make_str("second"); } break; case 2335: -/* Line 1455 of yacc.c */ -#line 12383 "preproc.y" - { (yyval.str) = make_str("year"); ;} +/* Line 1806 of yacc.c */ +#line 12388 "preproc.y" + { (yyval.str) = make_str("year"); } break; case 2338: -/* Line 1455 of yacc.c */ -#line 12390 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12395 "preproc.y" { reset_variables(); pacounter = 1; - ;} + } break; case 2339: -/* Line 1455 of yacc.c */ -#line 12396 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12401 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2340: -/* Line 1455 of yacc.c */ -#line 12397 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12402 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2341: -/* Line 1455 of yacc.c */ -#line 12401 "preproc.y" - { add_variable_to_head(&argsresult, find_variable((yyvsp[(1) - (2)].str)), find_variable((yyvsp[(2) - (2)].str))); ;} +/* Line 1806 of yacc.c */ +#line 12406 "preproc.y" + { add_variable_to_head(&argsresult, find_variable((yyvsp[(1) - (2)].str)), find_variable((yyvsp[(2) - (2)].str))); } break; case 2342: -/* Line 1455 of yacc.c */ -#line 12403 "preproc.y" - { add_variable_to_head(&argsresult, find_variable((yyvsp[(1) - (1)].str)), &no_indicator); ;} +/* Line 1806 of yacc.c */ +#line 12408 "preproc.y" + { add_variable_to_head(&argsresult, find_variable((yyvsp[(1) - (1)].str)), &no_indicator); } break; case 2343: -/* Line 1455 of yacc.c */ -#line 12408 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12413 "preproc.y" { if (find_variable((yyvsp[(2) - (2)].str))->type->type == ECPGt_array) mmerror(PARSE_ERROR, ET_ERROR, "arrays of indicators are not allowed on input"); add_variable_to_head(&argsinsert, find_variable((yyvsp[(1) - (2)].str)), find_variable((yyvsp[(2) - (2)].str))); (yyval.str) = create_questionmarks((yyvsp[(1) - (2)].str), false); - ;} + } break; case 2344: -/* Line 1455 of yacc.c */ -#line 12418 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12423 "preproc.y" { add_variable_to_head(&argsinsert, find_variable((yyvsp[(1) - (1)].str)), &no_indicator); (yyval.str) = create_questionmarks((yyvsp[(1) - (1)].str), false); - ;} + } break; case 2345: -/* Line 1455 of yacc.c */ -#line 12424 "preproc.y" - { check_indicator((find_variable((yyvsp[(1) - (1)].str)))->type); (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12429 "preproc.y" + { check_indicator((find_variable((yyvsp[(1) - (1)].str)))->type); (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2346: -/* Line 1455 of yacc.c */ -#line 12425 "preproc.y" - { check_indicator((find_variable((yyvsp[(2) - (2)].str)))->type); (yyval.str) = (yyvsp[(2) - (2)].str); ;} +/* Line 1806 of yacc.c */ +#line 12430 "preproc.y" + { check_indicator((find_variable((yyvsp[(2) - (2)].str)))->type); (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2347: -/* Line 1455 of yacc.c */ -#line 12426 "preproc.y" - { check_indicator((find_variable((yyvsp[(2) - (2)].str)))->type); (yyval.str) = (yyvsp[(2) - (2)].str); ;} +/* Line 1806 of yacc.c */ +#line 12431 "preproc.y" + { check_indicator((find_variable((yyvsp[(2) - (2)].str)))->type); (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2348: -/* Line 1455 of yacc.c */ -#line 12430 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12435 "preproc.y" { /* As long as multidimensional arrays are not implemented we have to check for those here */ char *ptr = (yyvsp[(1) - (1)].str); @@ -43728,34 +43772,34 @@ } } (yyval.str) = (yyvsp[(1) - (1)].str); - ;} + } break; case 2349: -/* Line 1455 of yacc.c */ -#line 12462 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12467 "preproc.y" + { (yyval.str) = make_name(); } break; case 2350: -/* Line 1455 of yacc.c */ -#line 12464 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12469 "preproc.y" + { (yyval.str) = make_name(); } break; case 2351: -/* Line 1455 of yacc.c */ -#line 12466 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12471 "preproc.y" + { (yyval.str) = make_name(); } break; case 2352: -/* Line 1455 of yacc.c */ -#line 12470 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12475 "preproc.y" { /* could have been input as '' or $$ */ (yyval.str) = (char *)mm_alloc(strlen((yyvsp[(1) - (1)].str)) + 3); @@ -43764,13 +43808,13 @@ (yyval.str)[strlen((yyvsp[(1) - (1)].str))+1]='\''; (yyval.str)[strlen((yyvsp[(1) - (1)].str))+2]='\0'; free((yyvsp[(1) - (1)].str)); - ;} + } break; case 2353: -/* Line 1455 of yacc.c */ -#line 12480 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12485 "preproc.y" { (yyval.str) = (char *)mm_alloc(strlen((yyvsp[(1) - (1)].str)) + 4); (yyval.str)[0]='E'; @@ -43779,13 +43823,13 @@ (yyval.str)[strlen((yyvsp[(1) - (1)].str))+2]='\''; (yyval.str)[strlen((yyvsp[(1) - (1)].str))+3]='\0'; free((yyvsp[(1) - (1)].str)); - ;} + } break; case 2354: -/* Line 1455 of yacc.c */ -#line 12490 "preproc.y" +/* Line 1806 of yacc.c */ +#line 12495 "preproc.y" { (yyval.str) = (char *)mm_alloc(strlen((yyvsp[(1) - (1)].str)) + 4); (yyval.str)[0]='N'; @@ -43794,701 +43838,712 @@ (yyval.str)[strlen((yyvsp[(1) - (1)].str))+2]='\''; (yyval.str)[strlen((yyvsp[(1) - (1)].str))+3]='\0'; free((yyvsp[(1) - (1)].str)); - ;} + } break; case 2355: -/* Line 1455 of yacc.c */ -#line 12499 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12504 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2356: -/* Line 1455 of yacc.c */ -#line 12500 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12505 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2357: -/* Line 1455 of yacc.c */ -#line 12503 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12508 "preproc.y" + { (yyval.str) = make_name(); } break; case 2358: -/* Line 1455 of yacc.c */ -#line 12505 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12510 "preproc.y" + { (yyval.str) = make_name(); } break; case 2359: -/* Line 1455 of yacc.c */ -#line 12506 "preproc.y" - { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); ;} +/* Line 1806 of yacc.c */ +#line 12511 "preproc.y" + { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); } break; case 2360: -/* Line 1455 of yacc.c */ -#line 12507 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12512 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2361: -/* Line 1455 of yacc.c */ -#line 12511 "preproc.y" - { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); ;} +/* Line 1806 of yacc.c */ +#line 12516 "preproc.y" + { (yyval.str) = make3_str(make_str("\""), (yyvsp[(1) - (1)].str), make_str("\"")); } break; case 2362: -/* Line 1455 of yacc.c */ -#line 12513 "preproc.y" - { (yyval.str) = make3_str(make_str("("), (yyvsp[(1) - (1)].str), make_str(")")); ;} +/* Line 1806 of yacc.c */ +#line 12518 "preproc.y" + { (yyval.str) = make3_str(make_str("("), (yyvsp[(1) - (1)].str), make_str(")")); } break; case 2363: -/* Line 1455 of yacc.c */ -#line 12520 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12525 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2364: -/* Line 1455 of yacc.c */ -#line 12521 "preproc.y" - { (yyval.str) = make_str("()"); ;} +/* Line 1806 of yacc.c */ +#line 12526 "preproc.y" + { (yyval.str) = make_str("()"); } break; case 2365: -/* Line 1455 of yacc.c */ -#line 12523 "preproc.y" - { (yyval.str) = cat_str(3, make_str("("), (yyvsp[(2) - (3)].str), make_str(")")); ;} +/* Line 1806 of yacc.c */ +#line 12528 "preproc.y" + { (yyval.str) = cat_str(3, make_str("("), (yyvsp[(2) - (3)].str), make_str(")")); } break; case 2366: -/* Line 1455 of yacc.c */ -#line 12526 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12531 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2367: -/* Line 1455 of yacc.c */ -#line 12528 "preproc.y" - { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12533 "preproc.y" + { (yyval.str) = cat2_str((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str)); } break; case 2368: -/* Line 1455 of yacc.c */ -#line 12531 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12536 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2369: -/* Line 1455 of yacc.c */ -#line 12532 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12537 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str(","), (yyvsp[(3) - (3)].str)); } break; case 2370: -/* Line 1455 of yacc.c */ -#line 12535 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12540 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2371: -/* Line 1455 of yacc.c */ -#line 12536 "preproc.y" - { (yyval.str) = cat_str(3, make_str("{"), (yyvsp[(2) - (3)].str), make_str("}")); ;} +/* Line 1806 of yacc.c */ +#line 12541 "preproc.y" + { (yyval.str) = cat_str(3, make_str("{"), (yyvsp[(2) - (3)].str), make_str("}")); } break; case 2372: -/* Line 1455 of yacc.c */ -#line 12539 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12544 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2373: -/* Line 1455 of yacc.c */ -#line 12540 "preproc.y" - { (yyval.str) = make_str("("); ;} +/* Line 1806 of yacc.c */ +#line 12545 "preproc.y" + { (yyval.str) = make_str("("); } break; case 2374: -/* Line 1455 of yacc.c */ -#line 12541 "preproc.y" - { (yyval.str) = make_str(")"); ;} +/* Line 1806 of yacc.c */ +#line 12546 "preproc.y" + { (yyval.str) = make_str(")"); } break; case 2375: -/* Line 1455 of yacc.c */ -#line 12542 "preproc.y" - { (yyval.str) = make_str(","); ;} +/* Line 1806 of yacc.c */ +#line 12547 "preproc.y" + { (yyval.str) = make_str(","); } break; case 2376: -/* Line 1455 of yacc.c */ -#line 12543 "preproc.y" - { (yyval.str) = make_str(";"); ;} +/* Line 1806 of yacc.c */ +#line 12548 "preproc.y" + { (yyval.str) = make_str(";"); } break; case 2377: -/* Line 1455 of yacc.c */ -#line 12546 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12551 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2378: -/* Line 1455 of yacc.c */ -#line 12547 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12552 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2379: -/* Line 1455 of yacc.c */ -#line 12548 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12553 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2380: -/* Line 1455 of yacc.c */ -#line 12549 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12554 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2381: -/* Line 1455 of yacc.c */ -#line 12550 "preproc.y" - { (yyval.str) = make_str("*"); ;} +/* Line 1806 of yacc.c */ +#line 12555 "preproc.y" + { (yyval.str) = make_str("*"); } break; case 2382: -/* Line 1455 of yacc.c */ -#line 12551 "preproc.y" - { (yyval.str) = make_str("+"); ;} +/* Line 1806 of yacc.c */ +#line 12556 "preproc.y" + { (yyval.str) = make_str("+"); } break; case 2383: -/* Line 1455 of yacc.c */ -#line 12552 "preproc.y" - { (yyval.str) = make_str("-"); ;} +/* Line 1806 of yacc.c */ +#line 12557 "preproc.y" + { (yyval.str) = make_str("-"); } break; case 2384: -/* Line 1455 of yacc.c */ -#line 12553 "preproc.y" - { (yyval.str) = make_str("/"); ;} +/* Line 1806 of yacc.c */ +#line 12558 "preproc.y" + { (yyval.str) = make_str("/"); } break; case 2385: -/* Line 1455 of yacc.c */ -#line 12554 "preproc.y" - { (yyval.str) = make_str("%"); ;} +/* Line 1806 of yacc.c */ +#line 12559 "preproc.y" + { (yyval.str) = make_str("%"); } break; case 2386: -/* Line 1455 of yacc.c */ -#line 12555 "preproc.y" - { (yyval.str) = make_str("NULL"); ;} +/* Line 1806 of yacc.c */ +#line 12560 "preproc.y" + { (yyval.str) = make_str("NULL"); } break; case 2387: -/* Line 1455 of yacc.c */ -#line 12556 "preproc.y" - { (yyval.str) = make_str("+="); ;} +/* Line 1806 of yacc.c */ +#line 12561 "preproc.y" + { (yyval.str) = make_str("+="); } break; case 2388: -/* Line 1455 of yacc.c */ -#line 12557 "preproc.y" - { (yyval.str) = make_str("&&"); ;} +/* Line 1806 of yacc.c */ +#line 12562 "preproc.y" + { (yyval.str) = make_str("&&"); } break; case 2389: -/* Line 1455 of yacc.c */ -#line 12558 "preproc.y" - { (yyval.str) = make_name(); ;} +/* Line 1806 of yacc.c */ +#line 12563 "preproc.y" + { (yyval.str) = make_name(); } break; case 2390: -/* Line 1455 of yacc.c */ -#line 12559 "preproc.y" - { (yyval.str) = make_str("auto"); ;} +/* Line 1806 of yacc.c */ +#line 12564 "preproc.y" + { (yyval.str) = make_str("auto"); } break; case 2391: -/* Line 1455 of yacc.c */ -#line 12560 "preproc.y" - { (yyval.str) = make_str("const"); ;} +/* Line 1806 of yacc.c */ +#line 12565 "preproc.y" + { (yyval.str) = make_str("const"); } break; case 2392: -/* Line 1455 of yacc.c */ -#line 12561 "preproc.y" - { (yyval.str) = make_str("--"); ;} +/* Line 1806 of yacc.c */ +#line 12566 "preproc.y" + { (yyval.str) = make_str("--"); } break; case 2393: -/* Line 1455 of yacc.c */ -#line 12562 "preproc.y" - { (yyval.str) = make_str("/="); ;} +/* Line 1806 of yacc.c */ +#line 12567 "preproc.y" + { (yyval.str) = make_str("/="); } break; case 2394: -/* Line 1455 of yacc.c */ -#line 12563 "preproc.y" - { (yyval.str) = make_str(".*"); ;} +/* Line 1806 of yacc.c */ +#line 12568 "preproc.y" + { (yyval.str) = make_str(".*"); } break; case 2395: -/* Line 1455 of yacc.c */ -#line 12564 "preproc.y" - { (yyval.str) = make_str("=="); ;} +/* Line 1806 of yacc.c */ +#line 12569 "preproc.y" + { (yyval.str) = make_str("=="); } break; case 2396: -/* Line 1455 of yacc.c */ -#line 12565 "preproc.y" - { (yyval.str) = make_str("extern"); ;} +/* Line 1806 of yacc.c */ +#line 12570 "preproc.y" + { (yyval.str) = make_str("extern"); } break; case 2397: -/* Line 1455 of yacc.c */ -#line 12566 "preproc.y" - { (yyval.str) = make_str("++"); ;} +/* Line 1806 of yacc.c */ +#line 12571 "preproc.y" + { (yyval.str) = make_str("++"); } break; case 2398: -/* Line 1455 of yacc.c */ -#line 12567 "preproc.y" - { (yyval.str) = make_str("<<"); ;} +/* Line 1806 of yacc.c */ +#line 12572 "preproc.y" + { (yyval.str) = make_str("<<"); } break; case 2399: -/* Line 1455 of yacc.c */ -#line 12568 "preproc.y" - { (yyval.str) = make_str("->"); ;} +/* Line 1806 of yacc.c */ +#line 12573 "preproc.y" + { (yyval.str) = make_str("->"); } break; case 2400: -/* Line 1455 of yacc.c */ -#line 12569 "preproc.y" - { (yyval.str) = make_str("->*"); ;} +/* Line 1806 of yacc.c */ +#line 12574 "preproc.y" + { (yyval.str) = make_str("->*"); } break; case 2401: -/* Line 1455 of yacc.c */ -#line 12570 "preproc.y" - { (yyval.str) = make_str("%="); ;} +/* Line 1806 of yacc.c */ +#line 12575 "preproc.y" + { (yyval.str) = make_str("%="); } break; case 2402: -/* Line 1455 of yacc.c */ -#line 12571 "preproc.y" - { (yyval.str) = make_str("*="); ;} +/* Line 1806 of yacc.c */ +#line 12576 "preproc.y" + { (yyval.str) = make_str("*="); } break; case 2403: -/* Line 1455 of yacc.c */ -#line 12572 "preproc.y" - { (yyval.str) = make_str("!="); ;} +/* Line 1806 of yacc.c */ +#line 12577 "preproc.y" + { (yyval.str) = make_str("!="); } break; case 2404: -/* Line 1455 of yacc.c */ -#line 12573 "preproc.y" - { (yyval.str) = make_str("||"); ;} +/* Line 1806 of yacc.c */ +#line 12578 "preproc.y" + { (yyval.str) = make_str("||"); } break; case 2405: -/* Line 1455 of yacc.c */ -#line 12574 "preproc.y" - { (yyval.str) = make_str("register"); ;} +/* Line 1806 of yacc.c */ +#line 12579 "preproc.y" + { (yyval.str) = make_str("register"); } break; case 2406: -/* Line 1455 of yacc.c */ -#line 12575 "preproc.y" - { (yyval.str) = make_str(">>"); ;} +/* Line 1806 of yacc.c */ +#line 12580 "preproc.y" + { (yyval.str) = make_str(">>"); } break; case 2407: -/* Line 1455 of yacc.c */ -#line 12576 "preproc.y" - { (yyval.str) = make_str("static"); ;} +/* Line 1806 of yacc.c */ +#line 12581 "preproc.y" + { (yyval.str) = make_str("static"); } break; case 2408: -/* Line 1455 of yacc.c */ -#line 12577 "preproc.y" - { (yyval.str) = make_str("-="); ;} +/* Line 1806 of yacc.c */ +#line 12582 "preproc.y" + { (yyval.str) = make_str("-="); } break; case 2409: -/* Line 1455 of yacc.c */ -#line 12578 "preproc.y" - { (yyval.str) = make_str("typedef"); ;} +/* Line 1806 of yacc.c */ +#line 12583 "preproc.y" + { (yyval.str) = make_str("typedef"); } break; case 2410: -/* Line 1455 of yacc.c */ -#line 12579 "preproc.y" - { (yyval.str) = make_str("volatile"); ;} +/* Line 1806 of yacc.c */ +#line 12584 "preproc.y" + { (yyval.str) = make_str("volatile"); } break; case 2411: -/* Line 1455 of yacc.c */ -#line 12580 "preproc.y" - { (yyval.str) = make_str("bool"); ;} +/* Line 1806 of yacc.c */ +#line 12585 "preproc.y" + { (yyval.str) = make_str("bool"); } break; case 2412: -/* Line 1455 of yacc.c */ -#line 12581 "preproc.y" - { (yyval.str) = make_str("enum"); ;} +/* Line 1806 of yacc.c */ +#line 12586 "preproc.y" + { (yyval.str) = make_str("enum"); } break; case 2413: -/* Line 1455 of yacc.c */ -#line 12582 "preproc.y" - { (yyval.str) = make_str("hour"); ;} +/* Line 1806 of yacc.c */ +#line 12587 "preproc.y" + { (yyval.str) = make_str("hour"); } break; case 2414: -/* Line 1455 of yacc.c */ -#line 12583 "preproc.y" - { (yyval.str) = make_str("int"); ;} +/* Line 1806 of yacc.c */ +#line 12588 "preproc.y" + { (yyval.str) = make_str("int"); } break; case 2415: -/* Line 1455 of yacc.c */ -#line 12584 "preproc.y" - { (yyval.str) = make_str("long"); ;} +/* Line 1806 of yacc.c */ +#line 12589 "preproc.y" + { (yyval.str) = make_str("long"); } break; case 2416: -/* Line 1455 of yacc.c */ -#line 12585 "preproc.y" - { (yyval.str) = make_str("minute"); ;} +/* Line 1806 of yacc.c */ +#line 12590 "preproc.y" + { (yyval.str) = make_str("minute"); } break; case 2417: -/* Line 1455 of yacc.c */ -#line 12586 "preproc.y" - { (yyval.str) = make_str("month"); ;} +/* Line 1806 of yacc.c */ +#line 12591 "preproc.y" + { (yyval.str) = make_str("month"); } break; case 2418: -/* Line 1455 of yacc.c */ -#line 12587 "preproc.y" - { (yyval.str) = make_str("second"); ;} +/* Line 1806 of yacc.c */ +#line 12592 "preproc.y" + { (yyval.str) = make_str("second"); } break; case 2419: -/* Line 1455 of yacc.c */ -#line 12588 "preproc.y" - { (yyval.str) = make_str("short"); ;} +/* Line 1806 of yacc.c */ +#line 12593 "preproc.y" + { (yyval.str) = make_str("short"); } break; case 2420: -/* Line 1455 of yacc.c */ -#line 12589 "preproc.y" - { (yyval.str) = make_str("signed"); ;} +/* Line 1806 of yacc.c */ +#line 12594 "preproc.y" + { (yyval.str) = make_str("signed"); } break; case 2421: -/* Line 1455 of yacc.c */ -#line 12590 "preproc.y" - { (yyval.str) = make_str("struct"); ;} +/* Line 1806 of yacc.c */ +#line 12595 "preproc.y" + { (yyval.str) = make_str("struct"); } break; case 2422: -/* Line 1455 of yacc.c */ -#line 12591 "preproc.y" - { (yyval.str) = make_str("unsigned"); ;} +/* Line 1806 of yacc.c */ +#line 12596 "preproc.y" + { (yyval.str) = make_str("unsigned"); } break; case 2423: -/* Line 1455 of yacc.c */ -#line 12592 "preproc.y" - { (yyval.str) = make_str("year"); ;} +/* Line 1806 of yacc.c */ +#line 12597 "preproc.y" + { (yyval.str) = make_str("year"); } break; case 2424: -/* Line 1455 of yacc.c */ -#line 12593 "preproc.y" - { (yyval.str) = make_str("char"); ;} +/* Line 1806 of yacc.c */ +#line 12598 "preproc.y" + { (yyval.str) = make_str("char"); } break; case 2425: -/* Line 1455 of yacc.c */ -#line 12594 "preproc.y" - { (yyval.str) = make_str("float"); ;} +/* Line 1806 of yacc.c */ +#line 12599 "preproc.y" + { (yyval.str) = make_str("float"); } break; case 2426: -/* Line 1455 of yacc.c */ -#line 12595 "preproc.y" - { (yyval.str) = make_str("to"); ;} +/* Line 1806 of yacc.c */ +#line 12600 "preproc.y" + { (yyval.str) = make_str("to"); } break; case 2427: -/* Line 1455 of yacc.c */ -#line 12596 "preproc.y" - { (yyval.str) = make_str("union"); ;} +/* Line 1806 of yacc.c */ +#line 12601 "preproc.y" + { (yyval.str) = make_str("union"); } break; case 2428: -/* Line 1455 of yacc.c */ -#line 12597 "preproc.y" - { (yyval.str) = make_str("varchar"); ;} +/* Line 1806 of yacc.c */ +#line 12602 "preproc.y" + { (yyval.str) = make_str("varchar"); } break; case 2429: -/* Line 1455 of yacc.c */ -#line 12598 "preproc.y" - { (yyval.str) = make_str("["); ;} +/* Line 1806 of yacc.c */ +#line 12603 "preproc.y" + { (yyval.str) = make_str("["); } break; case 2430: -/* Line 1455 of yacc.c */ -#line 12599 "preproc.y" - { (yyval.str) = make_str("]"); ;} +/* Line 1806 of yacc.c */ +#line 12604 "preproc.y" + { (yyval.str) = make_str("]"); } break; case 2431: -/* Line 1455 of yacc.c */ -#line 12600 "preproc.y" - { (yyval.str) = make_str("="); ;} +/* Line 1806 of yacc.c */ +#line 12605 "preproc.y" + { (yyval.str) = make_str("="); } break; case 2432: -/* Line 1455 of yacc.c */ -#line 12601 "preproc.y" - { (yyval.str) = make_str(":"); ;} +/* Line 1806 of yacc.c */ +#line 12606 "preproc.y" + { (yyval.str) = make_str(":"); } break; case 2433: -/* Line 1455 of yacc.c */ -#line 12604 "preproc.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} +/* Line 1806 of yacc.c */ +#line 12609 "preproc.y" + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 2434: -/* Line 1455 of yacc.c */ -#line 12605 "preproc.y" - { (yyval.str) = (yyvsp[(3) - (3)].str); ;} +/* Line 1806 of yacc.c */ +#line 12610 "preproc.y" + { (yyval.str) = (yyvsp[(3) - (3)].str); } break; case 2435: -/* Line 1455 of yacc.c */ -#line 12606 "preproc.y" - { (yyval.str) = make_str("all"); ;} +/* Line 1806 of yacc.c */ +#line 12611 "preproc.y" + { (yyval.str) = make_str("all"); } break; case 2436: -/* Line 1455 of yacc.c */ -#line 12607 "preproc.y" - { (yyval.str) = make_str("all"); ;} +/* Line 1806 of yacc.c */ +#line 12612 "preproc.y" + { (yyval.str) = make_str("all"); } break; case 2437: -/* Line 1455 of yacc.c */ -#line 12610 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12615 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2438: -/* Line 1455 of yacc.c */ -#line 12611 "preproc.y" - { (yyval.str) = cat_str(3, make_str("("), (yyvsp[(2) - (3)].str), make_str(")")); ;} +/* Line 1806 of yacc.c */ +#line 12616 "preproc.y" + { (yyval.str) = cat_str(3, make_str("("), (yyvsp[(2) - (3)].str), make_str(")")); } break; case 2439: -/* Line 1455 of yacc.c */ -#line 12612 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("+"), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12617 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("+"), (yyvsp[(3) - (3)].str)); } break; case 2440: -/* Line 1455 of yacc.c */ -#line 12613 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("-"), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12618 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("-"), (yyvsp[(3) - (3)].str)); } break; case 2441: -/* Line 1455 of yacc.c */ -#line 12614 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("*"), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12619 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("*"), (yyvsp[(3) - (3)].str)); } break; case 2442: -/* Line 1455 of yacc.c */ -#line 12615 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("/"), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12620 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("/"), (yyvsp[(3) - (3)].str)); } break; case 2443: -/* Line 1455 of yacc.c */ -#line 12616 "preproc.y" - { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("%"), (yyvsp[(3) - (3)].str)); ;} +/* Line 1806 of yacc.c */ +#line 12621 "preproc.y" + { (yyval.str) = cat_str(3, (yyvsp[(1) - (3)].str), make_str("%"), (yyvsp[(3) - (3)].str)); } break; case 2444: -/* Line 1455 of yacc.c */ -#line 12617 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12622 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2445: -/* Line 1455 of yacc.c */ -#line 12618 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12623 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 2446: -/* Line 1455 of yacc.c */ -#line 12621 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12626 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2447: -/* Line 1455 of yacc.c */ -#line 12622 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12627 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2448: -/* Line 1455 of yacc.c */ -#line 12623 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12628 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2449: -/* Line 1455 of yacc.c */ -#line 12624 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12629 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2450: -/* Line 1455 of yacc.c */ -#line 12625 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12630 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2451: -/* Line 1455 of yacc.c */ -#line 12628 "preproc.y" - { (yyval.str) = EMPTY; ;} +/* Line 1806 of yacc.c */ +#line 12633 "preproc.y" + { (yyval.str) = EMPTY; } break; case 2452: -/* Line 1455 of yacc.c */ -#line 12629 "preproc.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +/* Line 1806 of yacc.c */ +#line 12634 "preproc.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; -/* Line 1455 of yacc.c */ -#line 44490 "preproc.c" +/* Line 1806 of yacc.c */ +#line 44534 "preproc.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -44517,6 +44572,10 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { @@ -44524,41 +44583,40 @@ #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } - yyerror_range[0] = yylloc; + yyerror_range[1] = yylloc; if (yyerrstatus == 3) { @@ -44595,7 +44653,7 @@ if (/*CONSTCOND*/ 0) goto yyerrorlab; - yyerror_range[0] = yylsp[1-yylen]; + yyerror_range[1] = yylsp[1-yylen]; /* Do not reclaim the symbols of the rule which action triggered this YYERROR. */ YYPOPSTACK (yylen); @@ -44614,7 +44672,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -44629,7 +44687,7 @@ if (yyssp == yyss) YYABORT; - yyerror_range[0] = *yylsp; + yyerror_range[1] = *yylsp; yydestruct ("Error: popping", yystos[yystate], yyvsp, yylsp); YYPOPSTACK (1); @@ -44639,10 +44697,10 @@ *++yyvsp = yylval; - yyerror_range[1] = yylloc; + yyerror_range[2] = yylloc; /* Using YYLLOC is tempting, but would change the location of the lookahead. YYLOC is available though. */ - YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2); + YYLLOC_DEFAULT (yyloc, yyerror_range, 2); *++yylsp = yyloc; /* Shift the error token. */ @@ -44678,8 +44736,13 @@ yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval, &yylloc); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval, &yylloc); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -44704,8 +44767,8 @@ -/* Line 1675 of yacc.c */ -#line 12632 "preproc.y" +/* Line 2067 of yacc.c */ +#line 12637 "preproc.y" void base_yyerror(const char *error) diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.h postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.h --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.h 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.h 2014-02-17 20:07:39.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -531,7 +529,7 @@ typedef union YYSTYPE { -/* Line 1676 of yacc.c */ +/* Line 2068 of yacc.c */ #line 383 "preproc.y" double dval; @@ -549,8 +547,8 @@ -/* Line 1676 of yacc.c */ -#line 554 "preproc.h" +/* Line 2068 of yacc.c */ +#line 552 "preproc.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.y postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.y --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/preproc.y 2013-04-01 18:44:32.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/preproc.y 2014-02-17 20:07:38.000000000 +0000 @@ -11650,7 +11650,12 @@ variable_list: variable { $$ = $1; } | variable_list ',' variable - { $$ = cat_str(3, $1, make_str(","), $3); } + { + if (actual_type[struct_level].type_enum == ECPGt_varchar) + $$ = cat_str(3, $1, make_str(";"), $3); + else + $$ = cat_str(3, $1, make_str(","), $3); + } ; variable: opt_pointer ECPGColLabel opt_array_bounds opt_bit_field opt_initializer diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/type.c postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/type.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/preproc/type.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/preproc/type.c 2014-02-17 19:44:07.000000000 +0000 @@ -324,7 +324,7 @@ fprintf(o, "\n\tECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, "); else if (type == ECPGt_descriptor) /* remember that name here already contains quotes (if needed) */ - fprintf(o, "\n\tECPGt_descriptor, %s, 0L, 0L, 0L, ", name); + fprintf(o, "\n\tECPGt_descriptor, %s, 1L, 1L, 1L, ", name); else { char *variable = (char *) mm_alloc(strlen(name) + ((prefix == NULL) ? 0 : strlen(prefix)) + 4); diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c 2014-02-17 19:44:07.000000000 +0000 @@ -45,6 +45,15 @@ "1999.008", "J2451187", "January 8, 99 BC", + /* + * Maximize space usage in ParseDateTime() with 25 + * (MAXDATEFIELDS) fields and 128 (MAXDATELEN) total length. + */ + "........................Xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + /* 26 fields */ + ".........................aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", NULL }; /* do not conflict with libc "times" symbol */ @@ -52,6 +61,7 @@ "1:59 PDT", "13:24:40 -8:00", "13:24:40.495+3", + "13:24:40.123456789+3", NULL }; char *intervals[] = { "1 minute", @@ -73,22 +83,22 @@ -#line 52 "dt_test2.pgc" +#line 62 "dt_test2.pgc" date date1 ; -#line 53 "dt_test2.pgc" +#line 63 "dt_test2.pgc" timestamp ts1 , ts2 ; -#line 54 "dt_test2.pgc" +#line 64 "dt_test2.pgc" char * text ; -#line 55 "dt_test2.pgc" +#line 65 "dt_test2.pgc" interval * i1 ; -#line 56 "dt_test2.pgc" +#line 66 "dt_test2.pgc" date * dc ; /* exec sql end declare section */ -#line 57 "dt_test2.pgc" +#line 67 "dt_test2.pgc" int i, j; diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout 2014-02-17 19:44:07.000000000 +0000 @@ -8,85 +8,104 @@ TS[3,1]: 1999-01-08 01:59:00 TS[3,2]: 1999-01-08 13:24:40 TS[3,3]: 1999-01-08 13:24:40.495 +TS[3,4]: 1999-01-08 13:24:40.123456 Date[4]: 1999-01-08 (N - F) TS[4,0]: 1999-01-08 00:04:00 TS[4,1]: 1999-01-08 01:59:00 TS[4,2]: 1999-01-08 13:24:40 TS[4,3]: 1999-01-08 13:24:40.495 +TS[4,4]: 1999-01-08 13:24:40.123456 Date[5]: 1999-01-08 (N - F) TS[5,0]: 1999-01-08 00:04:00 TS[5,1]: 1999-01-08 01:59:00 TS[5,2]: 1999-01-08 13:24:40 TS[5,3]: 1999-01-08 13:24:40.495 +TS[5,4]: 1999-01-08 13:24:40.123456 Date[6]: 1999-01-18 (N - F) TS[6,0]: 1999-01-18 00:04:00 TS[6,1]: 1999-01-18 01:59:00 TS[6,2]: 1999-01-18 13:24:40 TS[6,3]: 1999-01-18 13:24:40.495 +TS[6,4]: 1999-01-18 13:24:40.123456 Date[7]: 2003-01-02 (N - F) TS[7,0]: 2003-01-02 00:04:00 TS[7,1]: 2003-01-02 01:59:00 TS[7,2]: 2003-01-02 13:24:40 TS[7,3]: 2003-01-02 13:24:40.495 +TS[7,4]: 2003-01-02 13:24:40.123456 Date[8]: 1999-01-08 (N - F) TS[8,0]: 1999-01-08 00:04:00 TS[8,1]: 1999-01-08 01:59:00 TS[8,2]: 1999-01-08 13:24:40 TS[8,3]: 1999-01-08 13:24:40.495 +TS[8,4]: 1999-01-08 13:24:40.123456 Date[9]: 1999-01-08 (N - F) TS[9,0]: 1999-01-08 00:04:00 TS[9,1]: 1999-01-08 01:59:00 TS[9,2]: 1999-01-08 13:24:40 TS[9,3]: 1999-01-08 13:24:40.495 +TS[9,4]: 1999-01-08 13:24:40.123456 Date[10]: 1999-01-08 (N - F) TS[10,0]: 1999-01-08 00:04:00 TS[10,1]: 1999-01-08 01:59:00 TS[10,2]: 1999-01-08 13:24:40 TS[10,3]: 1999-01-08 13:24:40.495 +TS[10,4]: 1999-01-08 13:24:40.123456 Date[11]: 1999-01-08 (N - F) TS[11,0]: 1999-01-08 00:04:00 TS[11,1]: 1999-01-08 01:59:00 TS[11,2]: 1999-01-08 13:24:40 TS[11,3]: 1999-01-08 13:24:40.495 +TS[11,4]: 1999-01-08 13:24:40.123456 Date[12]: 1999-01-08 (N - F) TS[12,0]: 1999-01-08 00:04:00 TS[12,1]: 1999-01-08 01:59:00 TS[12,2]: 1999-01-08 13:24:40 TS[12,3]: 1999-01-08 13:24:40.495 +TS[12,4]: 1999-01-08 13:24:40.123456 Date[13]: 2006-01-08 (N - F) TS[13,0]: 2006-01-08 00:04:00 TS[13,1]: 2006-01-08 01:59:00 TS[13,2]: 2006-01-08 13:24:40 TS[13,3]: 2006-01-08 13:24:40.495 +TS[13,4]: 2006-01-08 13:24:40.123456 Date[14]: 1999-01-08 (N - F) TS[14,0]: 1999-01-08 00:04:00 TS[14,1]: 1999-01-08 01:59:00 TS[14,2]: 1999-01-08 13:24:40 TS[14,3]: 1999-01-08 13:24:40.495 +TS[14,4]: 1999-01-08 13:24:40.123456 Date[15]: 1999-01-08 (N - F) TS[15,0]: 1999-01-08 00:04:00 TS[15,1]: 1999-01-08 01:59:00 TS[15,2]: 1999-01-08 13:24:40 TS[15,3]: 1999-01-08 13:24:40.495 +TS[15,4]: 1999-01-08 13:24:40.123456 Date[16]: 1999-01-08 (N - F) TS[16,0]: 1999-01-08 00:04:00 TS[16,1]: 1999-01-08 01:59:00 TS[16,2]: 1999-01-08 13:24:40 TS[16,3]: 1999-01-08 13:24:40.495 +TS[16,4]: 1999-01-08 13:24:40.123456 Date[17]: 1999-01-08 (N - F) TS[17,0]: 1999-01-08 00:04:00 TS[17,1]: 1999-01-08 01:59:00 TS[17,2]: 1999-01-08 13:24:40 TS[17,3]: 1999-01-08 13:24:40.495 +TS[17,4]: 1999-01-08 13:24:40.123456 Date[18]: 1999-01-08 (N - F) TS[18,0]: 1999-01-08 00:04:00 TS[18,1]: 1999-01-08 01:59:00 TS[18,2]: 1999-01-08 13:24:40 TS[18,3]: 1999-01-08 13:24:40.495 +TS[18,4]: 1999-01-08 13:24:40.123456 Date[19]: 0099-01-08 BC (N - F) TS[19,0]: 0099-01-08 00:04:00 BC TS[19,1]: 0099-01-08 01:59:00 BC TS[19,2]: 0099-01-08 13:24:40 BC +TS[19,4]: 0099-01-08 13:24:40.123456 BC +Date[20]: - (N - T) +Date[21]: - (N - T) interval[0]: @ 1 min interval_copy[0]: @ 1 min interval[1]: @ 1 day 12 hours 59 mins 10 secs diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c 2014-02-17 19:44:07.000000000 +0000 @@ -147,6 +147,12 @@ free(text); free(out); + out = (char*) malloc(48); + i = PGTYPEStimestamp_fmt_asc(&ts1, out, 47, "Which is day number %j in %Y."); + printf("%s\n", out); + free(out); + + /* rdate_defmt_asc() */ date1 = 0; text = ""; @@ -431,16 +437,16 @@ free(text); { ECPGtrans(__LINE__, NULL, "rollback"); -#line 359 "dt_test.pgc" +#line 365 "dt_test.pgc" if (sqlca.sqlcode < 0) sqlprint ( );} -#line 359 "dt_test.pgc" +#line 365 "dt_test.pgc" { ECPGdisconnect(__LINE__, "CURRENT"); -#line 360 "dt_test.pgc" +#line 366 "dt_test.pgc" if (sqlca.sqlcode < 0) sqlprint ( );} -#line 360 "dt_test.pgc" +#line 366 "dt_test.pgc" return (0); diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr 2014-02-17 19:44:07.000000000 +0000 @@ -42,7 +42,7 @@ [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_get_data on line 38: RESULT: 2000-07-12 17:34:29 offset: -1; array: yes [NO_PID]: sqlca: code: 0, state: 00000 -[NO_PID]: ECPGtrans on line 359: action "rollback"; connection "regress1" +[NO_PID]: ECPGtrans on line 365: action "rollback"; connection "regress1" [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_finish: connection regress1 closed [NO_PID]: sqlca: code: 0, state: 00000 diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout 2014-02-17 19:44:07.000000000 +0000 @@ -6,6 +6,7 @@ m: 4, d: 19, y: 1998 date_day of 2003-12-04 17:34:29 is 4 Above date in format "(ddd), mmm. dd, yyyy, repeat: (ddd), mmm. dd, yyyy. end" is "(Thu), Dec. 04, 2003, repeat: (Thu), Dec. 04, 2003. end" +Which is day number 338 in 2003. date_defmt_asc1: 1995-12-25 date_defmt_asc2: 0095-12-25 date_defmt_asc3: 0095-12-25 diff -Nru postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/preproc-define.c postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/preproc-define.c --- postgresql-8.4-8.4.17/src/interfaces/ecpg/test/expected/preproc-define.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/ecpg/test/expected/preproc-define.c 2014-02-17 19:44:07.000000000 +0000 @@ -125,16 +125,20 @@ for (i=0, j=sqlca.sqlerrd[2]; iai_addrlen) < 0) { if (SOCK_ERRNO == EINPROGRESS || +#ifdef WIN32 SOCK_ERRNO == EWOULDBLOCK || - SOCK_ERRNO == EINTR || - SOCK_ERRNO == 0) +#endif + SOCK_ERRNO == EINTR) { /* * This is fine - we're in non-blocking mode, and @@ -3519,7 +3520,16 @@ { if (!conn) return NULL; - return conn->pghost ? conn->pghost : conn->pgunixsocket; + if (conn->pghost != NULL && conn->pghost[0] != '\0') + return conn->pghost; + else + { +#ifdef HAVE_UNIX_SOCKETS + return conn->pgunixsocket; +#else + return DefaultHost; +#endif + } } char * diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/fe-exec.c postgresql-8.4-8.4.20/src/interfaces/libpq/fe-exec.c --- postgresql-8.4-8.4.17/src/interfaces/libpq/fe-exec.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/fe-exec.c 2014-02-17 19:44:07.000000000 +0000 @@ -60,6 +60,7 @@ const int *paramFormats, int resultFormat); static void parseInput(PGconn *conn); +static PGresult *getCopyResult(PGconn *conn, ExecStatusType copytype); static bool PQexecStart(PGconn *conn); static PGresult *PQexecFinish(PGconn *conn); static int PQsendDescribe(PGconn *conn, char desc_type, @@ -1561,16 +1562,10 @@ conn->asyncStatus = PGASYNC_BUSY; break; case PGASYNC_COPY_IN: - if (conn->result && conn->result->resultStatus == PGRES_COPY_IN) - res = pqPrepareAsyncResult(conn); - else - res = PQmakeEmptyPGresult(conn, PGRES_COPY_IN); + res = getCopyResult(conn, PGRES_COPY_IN); break; case PGASYNC_COPY_OUT: - if (conn->result && conn->result->resultStatus == PGRES_COPY_OUT) - res = pqPrepareAsyncResult(conn); - else - res = PQmakeEmptyPGresult(conn, PGRES_COPY_OUT); + res = getCopyResult(conn, PGRES_COPY_OUT); break; default: printfPQExpBuffer(&conn->errorMessage, @@ -1607,6 +1602,36 @@ return res; } +/* + * getCopyResult + * Helper for PQgetResult: generate result for COPY-in-progress cases + */ +static PGresult * +getCopyResult(PGconn *conn, ExecStatusType copytype) +{ + /* + * If the server connection has been lost, don't pretend everything is + * hunky-dory; instead return a PGRES_FATAL_ERROR result, and reset the + * asyncStatus to idle (corresponding to what we'd do if we'd detected I/O + * error in the earlier steps in PQgetResult). The text returned in the + * result is whatever is in conn->errorMessage; we hope that was filled + * with something relevant when the lost connection was detected. + */ + if (conn->status != CONNECTION_OK) + { + pqSaveErrorResult(conn); + conn->asyncStatus = PGASYNC_IDLE; + return pqPrepareAsyncResult(conn); + } + + /* If we have an async result for the COPY, return that */ + if (conn->result && conn->result->resultStatus == copytype) + return pqPrepareAsyncResult(conn); + + /* Otherwise, invent a suitable PGresult */ + return PQmakeEmptyPGresult(conn, copytype); +} + /* * PQexec diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/fe-misc.c postgresql-8.4-8.4.20/src/interfaces/libpq/fe-misc.c --- postgresql-8.4-8.4.17/src/interfaces/libpq/fe-misc.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/fe-misc.c 2014-02-17 19:44:07.000000000 +0000 @@ -774,6 +774,8 @@ { printfPQExpBuffer(&conn->errorMessage, libpq_gettext("connection not open\n")); + /* Discard queued data; no chance it'll ever be sent */ + conn->outCount = 0; return -1; } diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/fe-protocol2.c postgresql-8.4-8.4.20/src/interfaces/libpq/fe-protocol2.c --- postgresql-8.4-8.4.17/src/interfaces/libpq/fe-protocol2.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/fe-protocol2.c 2014-02-17 19:44:07.000000000 +0000 @@ -440,7 +440,7 @@ if (!conn->result) return; } - strncpy(conn->result->cmdStatus, conn->workBuffer.data, + strlcpy(conn->result->cmdStatus, conn->workBuffer.data, CMDSTATUS_LEN); checkXactStatus(conn, conn->workBuffer.data); conn->asyncStatus = PGASYNC_READY; diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/fe-protocol3.c postgresql-8.4-8.4.20/src/interfaces/libpq/fe-protocol3.c --- postgresql-8.4-8.4.17/src/interfaces/libpq/fe-protocol3.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/fe-protocol3.c 2014-02-17 19:44:07.000000000 +0000 @@ -206,7 +206,7 @@ if (!conn->result) return; } - strncpy(conn->result->cmdStatus, conn->workBuffer.data, + strlcpy(conn->result->cmdStatus, conn->workBuffer.data, CMDSTATUS_LEN); conn->asyncStatus = PGASYNC_READY; break; diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/fe-secure.c postgresql-8.4-8.4.20/src/interfaces/libpq/fe-secure.c --- postgresql-8.4-8.4.17/src/interfaces/libpq/fe-secure.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/fe-secure.c 2014-02-17 19:44:07.000000000 +0000 @@ -875,7 +875,17 @@ { /* Colon, but not in second character, treat as engine:key */ char *engine_str = strdup(conn->sslkey); - char *engine_colon = strchr(engine_str, ':'); + char *engine_colon; + + if (engine_str == NULL) + { + printfPQExpBuffer(&conn->errorMessage, + libpq_gettext("out of memory\n")); + return -1; + } + + /* cannot return NULL because we already checked before strdup */ + engine_colon = strchr(engine_str, ':'); *engine_colon = '\0'; /* engine_str now has engine name */ engine_colon++; /* engine_colon now has key name */ @@ -1420,13 +1430,22 @@ static void close_SSL(PGconn *conn) { + bool destroy_needed = false; + if (conn->ssl) { DISABLE_SIGPIPE((void) 0); + + /* + * We can't destroy everything SSL-related here due to the possible + * later calls to OpenSSL routines which may need our thread + * callbacks, so set a flag here and check at the end. + */ + destroy_needed = true; + SSL_shutdown(conn->ssl); SSL_free(conn->ssl); conn->ssl = NULL; - pqsecure_destroy(); /* We have to assume we got EPIPE */ REMEMBER_EPIPE(true); RESTORE_SIGPIPE(); @@ -1446,6 +1465,17 @@ conn->engine = NULL; } #endif + + /* + * This will remove our SSL locking hooks, if this is the last SSL + * connection, which means we must wait to call it until after all + * SSL calls have been made, otherwise we can end up with a race + * condition and possible deadlocks. + * + * See comments above destroy_ssl_system(). + */ + if (destroy_needed) + pqsecure_destroy(); } /* diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/libpq-dist.rc postgresql-8.4-8.4.20/src/interfaces/libpq/libpq-dist.rc --- postgresql-8.4-8.4.17/src/interfaces/libpq/libpq-dist.rc 2013-04-01 18:44:27.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/libpq-dist.rc 2014-02-17 20:07:34.000000000 +0000 @@ -1,8 +1,8 @@ #include VS_VERSION_INFO VERSIONINFO - FILEVERSION 8,4,17,13091 - PRODUCTVERSION 8,4,17,13091 + FILEVERSION 8,4,20,14048 + PRODUCTVERSION 8,4,20,14048 FILEFLAGSMASK 0x3fL FILEFLAGS 0 FILEOS VOS__WINDOWS32 @@ -15,13 +15,13 @@ BEGIN VALUE "CompanyName", "\0" VALUE "FileDescription", "PostgreSQL Access Library\0" - VALUE "FileVersion", "8.4.17\0" + VALUE "FileVersion", "8.4.20\0" VALUE "InternalName", "libpq\0" VALUE "LegalCopyright", "Copyright (C) 2012\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "libpq.dll\0" VALUE "ProductName", "PostgreSQL\0" - VALUE "ProductVersion", "8.4.17\0" + VALUE "ProductVersion", "8.4.20\0" END END BLOCK "VarFileInfo" diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/libpq.rc.in postgresql-8.4-8.4.20/src/interfaces/libpq/libpq.rc.in --- postgresql-8.4-8.4.17/src/interfaces/libpq/libpq.rc.in 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/libpq.rc.in 2014-02-17 19:44:07.000000000 +0000 @@ -1,8 +1,8 @@ #include VS_VERSION_INFO VERSIONINFO - FILEVERSION 8,4,17,0 - PRODUCTVERSION 8,4,17,0 + FILEVERSION 8,4,20,0 + PRODUCTVERSION 8,4,20,0 FILEFLAGSMASK 0x3fL FILEFLAGS 0 FILEOS VOS__WINDOWS32 @@ -15,13 +15,13 @@ BEGIN VALUE "CompanyName", "\0" VALUE "FileDescription", "PostgreSQL Access Library\0" - VALUE "FileVersion", "8.4.17\0" + VALUE "FileVersion", "8.4.20\0" VALUE "InternalName", "libpq\0" VALUE "LegalCopyright", "Copyright (C) 2012\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "libpq.dll\0" VALUE "ProductName", "PostgreSQL\0" - VALUE "ProductVersion", "8.4.17\0" + VALUE "ProductVersion", "8.4.20\0" END END BLOCK "VarFileInfo" diff -Nru postgresql-8.4-8.4.17/src/interfaces/libpq/Makefile postgresql-8.4-8.4.20/src/interfaces/libpq/Makefile --- postgresql-8.4-8.4.17/src/interfaces/libpq/Makefile 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/interfaces/libpq/Makefile 2014-02-17 19:44:07.000000000 +0000 @@ -111,9 +111,15 @@ $(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)' $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)' $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample' +ifneq (,$(findstring $(PORTNAME), win32 cygwin)) + $(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)' +endif installdirs: installdirs-lib $(mkinstalldirs) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' +ifneq (,$(findstring $(PORTNAME), win32 cygwin)) + $(mkinstalldirs) '$(DESTDIR)$(bindir)' +endif uninstall: uninstall-lib rm -f '$(DESTDIR)$(includedir)/libpq-fe.h' @@ -121,6 +127,9 @@ rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h' rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h' rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample' +ifneq (,$(findstring $(PORTNAME), win32 cygwin)) + rm -f '$(DESTDIR)$(bindir)/$(shlib)' +endif clean distclean: clean-lib rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h libpq.rc diff -Nru postgresql-8.4-8.4.17/src/pl/plperl/plperl.c postgresql-8.4-8.4.20/src/pl/plperl/plperl.c --- postgresql-8.4-8.4.17/src/pl/plperl/plperl.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/pl/plperl/plperl.c 2014-02-17 19:44:07.000000000 +0000 @@ -1094,6 +1094,9 @@ bool istrigger = false; int i; + if (!CheckFunctionValidatorAccess(fcinfo->flinfo->fn_oid, funcoid)) + PG_RETURN_VOID(); + /* Get the new function's pg_proc entry */ tuple = SearchSysCache(PROCOID, ObjectIdGetDatum(funcoid), diff -Nru postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_gram.c postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_gram.c --- postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_gram.c 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_gram.c 2014-02-17 20:07:40.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.1" +#define YYBISON_VERSION "2.5" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -75,7 +73,7 @@ /* Copy the first part of user declarations. */ -/* Line 189 of yacc.c */ +/* Line 268 of yacc.c */ #line 1 "gram.y" /*------------------------------------------------------------------------- @@ -152,8 +150,8 @@ -/* Line 189 of yacc.c */ -#line 157 "pl_gram.c" +/* Line 268 of yacc.c */ +#line 155 "pl_gram.c" /* Enabling traces. */ #ifndef YYDEBUG @@ -249,7 +247,7 @@ typedef union YYSTYPE { -/* Line 214 of yacc.c */ +/* Line 293 of yacc.c */ #line 79 "gram.y" int32 ival; @@ -299,8 +297,8 @@ -/* Line 214 of yacc.c */ -#line 304 "pl_gram.c" +/* Line 293 of yacc.c */ +#line 302 "pl_gram.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -311,8 +309,8 @@ /* Copy the second part of user declarations. */ -/* Line 264 of yacc.c */ -#line 316 "pl_gram.c" +/* Line 343 of yacc.c */ +#line 314 "pl_gram.c" #ifdef short # undef short @@ -362,7 +360,7 @@ #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) @@ -415,11 +413,11 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -442,24 +440,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -488,23 +486,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -524,6 +506,26 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 7 /* YYLAST -- Last index in YYTABLE. */ @@ -770,8 +772,8 @@ 1, 1, 1, 1, 0 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { @@ -866,8 +868,7 @@ /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ + number is the opposite. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -144 static const yytype_int16 yytable[] = { @@ -919,6 +920,12 @@ 57, 0, 0, 0, 8 }; +#define yypact_value_is_default(yystate) \ + ((yystate) == (-178)) + +#define yytable_value_is_error(yytable_value) \ + YYID (0) + static const yytype_int16 yycheck[] = { 25, 38, 39, 136, 41, 12, 43, 184, 45, 113, @@ -1013,9 +1020,18 @@ /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ #define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -1025,7 +1041,6 @@ { \ yychar = (Token); \ yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ @@ -1067,19 +1082,10 @@ #endif -/* YY_LOCATION_PRINT -- Print the location on the stream. - This macro was not mandated originally: define only if we know - we won't break user code: when these are the locations we know. */ +/* This macro is provided for backward compatibility. */ #ifndef YY_LOCATION_PRINT -# if YYLTYPE_IS_TRIVIAL -# define YY_LOCATION_PRINT(File, Loc) \ - fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) -# else -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -# endif +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) #endif @@ -1271,7 +1277,6 @@ # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -1374,115 +1379,142 @@ } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) { - int yyn = yypact[yystate]; + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else + switch (yycount) { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } - - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - - if (yysize_overflow) - return YYSIZE_MAXIMUM; +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | @@ -1515,6 +1547,7 @@ } } + /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus @@ -1541,10 +1574,9 @@ int yynerrs; - -/*-------------------------. -| yyparse or yypush_parse. | -`-------------------------*/ +/*----------. +| yyparse. | +`----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ @@ -1568,8 +1600,6 @@ #endif #endif { - - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1724,7 +1754,7 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ @@ -1755,8 +1785,8 @@ yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } @@ -1811,25 +1841,25 @@ { case 2: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 248 "gram.y" { yylval.program = (PLpgSQL_stmt_block *) (yyvsp[(2) - (3)].stmt); - ;} + } break; case 7: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 262 "gram.y" { plpgsql_DumpExecTree = true; - ;} + } break; case 10: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 272 "gram.y" { PLpgSQL_stmt_block *new; @@ -1848,36 +1878,36 @@ plpgsql_ns_pop(); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 11: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 294 "gram.y" { plpgsql_ns_setlocal(false); (yyval.declhdr).label = (yyvsp[(1) - (1)].str); (yyval.declhdr).n_initvars = 0; (yyval.declhdr).initvarnos = NULL; - ;} + } break; case 12: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 301 "gram.y" { plpgsql_ns_setlocal(false); (yyval.declhdr).label = (yyvsp[(1) - (2)].str); (yyval.declhdr).n_initvars = 0; (yyval.declhdr).initvarnos = NULL; - ;} + } break; case 13: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 308 "gram.y" { plpgsql_ns_setlocal(false); @@ -1887,59 +1917,59 @@ (yyval.declhdr).label = (yyvsp[(1) - (3)].str); /* Remember variables declared in decl_stmts */ (yyval.declhdr).n_initvars = plpgsql_add_initdatums(&((yyval.declhdr).initvarnos)); - ;} + } break; case 14: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 320 "gram.y" { /* Forget any variables created before block */ plpgsql_add_initdatums(NULL); /* Make variable names be local to block */ plpgsql_ns_setlocal(true); - ;} + } break; case 15: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 329 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} + { (yyval.str) = (yyvsp[(2) - (2)].str); } break; case 16: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 331 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = (yyvsp[(1) - (1)].str); } break; case 17: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 335 "gram.y" - { (yyval.str) = (yyvsp[(3) - (5)].str); ;} + { (yyval.str) = (yyvsp[(3) - (5)].str); } break; case 18: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 337 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 19: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 339 "gram.y" - { (yyval.str) = NULL; ;} + { (yyval.str) = NULL; } break; case 20: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 343 "gram.y" { PLpgSQL_variable *var; @@ -1973,38 +2003,38 @@ (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("default value for row or record variable is not supported"))); } - ;} + } break; case 21: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 377 "gram.y" { plpgsql_ns_additem((yyvsp[(4) - (5)].nsitem)->itemtype, (yyvsp[(4) - (5)].nsitem)->itemno, (yyvsp[(1) - (5)].varname).name); - ;} + } break; case 22: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 382 "gram.y" { plpgsql_ns_rename((yyvsp[(2) - (5)].str), (yyvsp[(4) - (5)].str)); - ;} + } break; case 23: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 386 "gram.y" - { plpgsql_ns_push((yyvsp[(1) - (3)].varname).name); ;} + { plpgsql_ns_push((yyvsp[(1) - (3)].varname).name); } break; case 24: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 388 "gram.y" { PLpgSQL_var *new; @@ -2051,39 +2081,39 @@ else new->cursor_explicit_argrow = (yyvsp[(5) - (7)].row)->dno; new->cursor_options = CURSOR_OPT_FAST_PLAN | (yyvsp[(2) - (7)].ival); - ;} + } break; case 25: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 437 "gram.y" { (yyval.ival) = 0; - ;} + } break; case 26: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 441 "gram.y" { (yyval.ival) = CURSOR_OPT_NO_SCROLL; - ;} + } break; case 27: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 445 "gram.y" { (yyval.ival) = CURSOR_OPT_SCROLL; - ;} + } break; case 28: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 451 "gram.y" { PLpgSQL_expr *query; @@ -2093,21 +2123,21 @@ plpgsql_ns_setlocal(true); (yyval.expr) = query; - ;} + } break; case 29: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 463 "gram.y" { (yyval.row) = NULL; - ;} + } break; case 30: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 467 "gram.y" { PLpgSQL_row *new; @@ -2134,40 +2164,40 @@ plpgsql_adddatum((PLpgSQL_datum *) new); (yyval.row) = new; - ;} + } break; case 31: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 496 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].variable)); - ;} + } break; case 32: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 500 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].variable)); - ;} + } break; case 33: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 506 "gram.y" { (yyval.variable) = plpgsql_build_variable((yyvsp[(1) - (2)].varname).name, (yyvsp[(1) - (2)].varname).lineno, (yyvsp[(2) - (2)].dtype), true); - ;} + } break; case 36: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 516 "gram.y" { char *name; @@ -2194,12 +2224,12 @@ pfree(name); (yyval.nsitem) = nsi; - ;} + } break; case 37: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 545 "gram.y" { char *name; @@ -2207,12 +2237,12 @@ plpgsql_convert_ident(yytext, &name, 1); (yyval.varname).name = name; (yyval.varname).lineno = plpgsql_scanner_lineno(); - ;} + } break; case 38: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 553 "gram.y" { /* @@ -2222,30 +2252,30 @@ * block. */ yyerror("duplicate declaration"); - ;} + } break; case 39: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 563 "gram.y" { yyerror("duplicate declaration"); - ;} + } break; case 40: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 567 "gram.y" { yyerror("duplicate declaration"); - ;} + } break; case 41: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 574 "gram.y" { char *name; @@ -2253,26 +2283,26 @@ plpgsql_convert_ident(yytext, &name, 1); /* the result must be palloc'd, see plpgsql_ns_rename */ (yyval.str) = name; - ;} + } break; case 42: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 584 "gram.y" - { (yyval.boolean) = false; ;} + { (yyval.boolean) = false; } break; case 43: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 586 "gram.y" - { (yyval.boolean) = true; ;} + { (yyval.boolean) = true; } break; case 44: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 590 "gram.y" { /* @@ -2281,215 +2311,215 @@ */ (yyval.dtype) = read_datatype(yychar); yyclearin; - ;} + } break; case 45: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 601 "gram.y" - { (yyval.boolean) = false; ;} + { (yyval.boolean) = false; } break; case 46: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 603 "gram.y" - { (yyval.boolean) = true; ;} + { (yyval.boolean) = true; } break; case 47: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 607 "gram.y" - { (yyval.expr) = NULL; ;} + { (yyval.expr) = NULL; } break; case 48: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 609 "gram.y" { plpgsql_ns_setlocal(false); (yyval.expr) = plpgsql_read_expression(';', ";"); plpgsql_ns_setlocal(true); - ;} + } break; case 51: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 621 "gram.y" - { (yyval.list) = NIL; ;} + { (yyval.list) = NIL; } break; case 52: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 623 "gram.y" - { (yyval.list) = (yyvsp[(1) - (1)].list); ;} + { (yyval.list) = (yyvsp[(1) - (1)].list); } break; case 53: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 627 "gram.y" { if ((yyvsp[(2) - (2)].stmt) == NULL) (yyval.list) = (yyvsp[(1) - (2)].list); else (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].stmt)); - ;} + } break; case 54: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 634 "gram.y" { if ((yyvsp[(1) - (1)].stmt) == NULL) (yyval.list) = NIL; else (yyval.list) = list_make1((yyvsp[(1) - (1)].stmt)); - ;} + } break; case 55: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 643 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (2)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (2)].stmt); } break; case 56: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 645 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 57: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 647 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 58: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 649 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 59: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 651 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 60: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 653 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 61: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 655 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 62: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 657 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 63: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 659 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 64: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 661 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 65: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 663 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 66: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 665 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 67: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 667 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 68: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 669 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 69: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 671 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 70: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 673 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 71: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 675 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 72: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 677 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 73: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 679 "gram.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); } break; case 74: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 683 "gram.y" { PLpgSQL_stmt_perform *new; @@ -2500,12 +2530,12 @@ new->expr = (yyvsp[(3) - (3)].expr); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 75: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 696 "gram.y" { PLpgSQL_stmt_assign *new; @@ -2517,12 +2547,12 @@ new->expr = (yyvsp[(4) - (4)].expr); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 76: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 710 "gram.y" { PLpgSQL_stmt_getdiag *new; @@ -2533,30 +2563,30 @@ new->diag_items = (yyvsp[(4) - (5)].list); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 77: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 723 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].diagitem)); - ;} + } break; case 78: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 727 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].diagitem)); - ;} + } break; case 79: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 733 "gram.y" { PLpgSQL_diag_item *new; @@ -2566,97 +2596,97 @@ new->kind = (yyvsp[(3) - (3)].ival); (yyval.diagitem) = new; - ;} + } break; case 80: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 745 "gram.y" { (yyval.ival) = PLPGSQL_GETDIAG_ROW_COUNT; - ;} + } break; case 81: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 749 "gram.y" { (yyval.ival) = PLPGSQL_GETDIAG_RESULT_OID; - ;} + } break; case 82: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 755 "gram.y" { check_assignable(yylval.scalar); (yyval.ival) = yylval.scalar->dno; - ;} + } break; case 83: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 760 "gram.y" { yyerror("expected an integer variable"); - ;} + } break; case 84: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 764 "gram.y" { yyerror("expected an integer variable"); - ;} + } break; case 85: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 768 "gram.y" { yyerror("expected an integer variable"); - ;} + } break; case 86: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 775 "gram.y" { check_assignable(yylval.scalar); (yyval.ival) = yylval.scalar->dno; - ;} + } break; case 87: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 780 "gram.y" { check_assignable((PLpgSQL_datum *) yylval.row); (yyval.ival) = yylval.row->dno; - ;} + } break; case 88: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 785 "gram.y" { check_assignable((PLpgSQL_datum *) yylval.rec); (yyval.ival) = yylval.rec->dno; - ;} + } break; case 89: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 790 "gram.y" { PLpgSQL_arrayelem *new; @@ -2669,12 +2699,12 @@ plpgsql_adddatum((PLpgSQL_datum *)new); (yyval.ival) = new->dno; - ;} + } break; case 90: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 805 "gram.y" { PLpgSQL_stmt_if *new; @@ -2687,21 +2717,21 @@ new->false_body = (yyvsp[(5) - (8)].list); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 91: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 820 "gram.y" { (yyval.list) = NIL; - ;} + } break; case 92: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 824 "gram.y" { /* @@ -2729,30 +2759,30 @@ /* wrap the if-statement in a "container" list */ (yyval.list) = list_make1(new_if); - ;} + } break; case 93: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 853 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); - ;} + } break; case 94: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 859 "gram.y" { (yyval.stmt) = make_case((yyvsp[(2) - (8)].ival), (yyvsp[(3) - (8)].expr), (yyvsp[(4) - (8)].list), (yyvsp[(5) - (8)].list)); - ;} + } break; case 95: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 865 "gram.y" { PLpgSQL_expr *expr = NULL; @@ -2765,30 +2795,30 @@ } plpgsql_push_back_token(K_WHEN); (yyval.expr) = expr; - ;} + } break; case 96: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 880 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].casewhen)); - ;} + } break; case 97: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 884 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].casewhen)); - ;} + } break; case 98: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 890 "gram.y" { PLpgSQL_case_when *new = palloc(sizeof(PLpgSQL_case_when)); @@ -2797,21 +2827,21 @@ new->expr = (yyvsp[(3) - (4)].expr); new->stmts = (yyvsp[(4) - (4)].list); (yyval.casewhen) = new; - ;} + } break; case 99: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 901 "gram.y" { (yyval.list) = NIL; - ;} + } break; case 100: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 905 "gram.y" { /* @@ -2824,12 +2854,12 @@ (yyval.list) = (yyvsp[(2) - (2)].list); else (yyval.list) = list_make1(NULL); - ;} + } break; case 101: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 920 "gram.y" { PLpgSQL_stmt_loop *new; @@ -2844,12 +2874,12 @@ plpgsql_ns_pop(); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 102: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 937 "gram.y" { PLpgSQL_stmt_while *new; @@ -2865,12 +2895,12 @@ plpgsql_ns_pop(); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 103: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 955 "gram.y" { /* This runs after we've scanned the loop body */ @@ -2900,12 +2930,12 @@ check_labels((yyvsp[(1) - (4)].str), (yyvsp[(4) - (4)].loop_body).end_label); /* close namespace started in opt_block_label */ plpgsql_ns_pop(); - ;} + } break; case 104: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 988 "gram.y" { int tok = yylex(); @@ -3139,12 +3169,12 @@ (yyval.stmt) = (PLpgSQL_stmt *) new; } } - ;} + } break; case 105: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1242 "gram.y" { int tok; @@ -3159,12 +3189,12 @@ plpgsql_push_back_token(tok); if (tok == ',') (yyval.forvariable).row = read_into_scalar_list((yyval.forvariable).name, (yyval.forvariable).scalar); - ;} + } break; case 106: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1257 "gram.y" { int tok; @@ -3185,12 +3215,12 @@ errmsg("\"%s\" is not a scalar variable", (yyval.forvariable).name))); } - ;} + } break; case 107: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1278 "gram.y" { (yyval.forvariable).name = pstrdup(yytext); @@ -3198,12 +3228,12 @@ (yyval.forvariable).scalar = NULL; (yyval.forvariable).rec = yylval.rec; (yyval.forvariable).row = NULL; - ;} + } break; case 108: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1286 "gram.y" { (yyval.forvariable).name = pstrdup(yytext); @@ -3211,12 +3241,12 @@ (yyval.forvariable).scalar = NULL; (yyval.forvariable).row = yylval.row; (yyval.forvariable).rec = NULL; - ;} + } break; case 109: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1296 "gram.y" { PLpgSQL_stmt_exit *new; @@ -3229,30 +3259,30 @@ new->cond = (yyvsp[(4) - (4)].expr); (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 110: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1311 "gram.y" { (yyval.boolean) = true; - ;} + } break; case 111: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1315 "gram.y" { (yyval.boolean) = false; - ;} + } break; case 112: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1321 "gram.y" { int tok; @@ -3279,12 +3309,12 @@ plpgsql_push_back_token(tok); (yyval.stmt) = make_return_stmt((yyvsp[(2) - (2)].ival)); } - ;} + } break; case 113: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1350 "gram.y" { PLpgSQL_stmt_raise *new; @@ -3418,52 +3448,52 @@ } (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 114: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1486 "gram.y" { (yyval.loop_body).stmts = (yyvsp[(1) - (5)].list); (yyval.loop_body).end_label = (yyvsp[(4) - (5)].str); - ;} + } break; case 115: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1493 "gram.y" { (yyval.stmt) = make_execsql_stmt((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].ival)); - ;} + } break; case 116: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1500 "gram.y" - { (yyval.str) = pstrdup(yytext); ;} + { (yyval.str) = pstrdup(yytext); } break; case 117: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1502 "gram.y" - { (yyval.str) = pstrdup(yytext); ;} + { (yyval.str) = pstrdup(yytext); } break; case 118: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1504 "gram.y" - { (yyval.str) = pstrdup(yytext); ;} + { (yyval.str) = pstrdup(yytext); } break; case 119: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1508 "gram.y" { PLpgSQL_stmt_dynexecute *new; @@ -3523,12 +3553,12 @@ } (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 120: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1571 "gram.y" { PLpgSQL_stmt_open *new; @@ -3583,12 +3613,12 @@ } (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 121: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1628 "gram.y" { PLpgSQL_stmt_fetch *fetch = (yyvsp[(3) - (5)].fetch); @@ -3608,12 +3638,12 @@ fetch->is_move = false; (yyval.stmt) = (PLpgSQL_stmt *)fetch; - ;} + } break; case 122: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1650 "gram.y" { PLpgSQL_stmt_fetch *fetch = (yyvsp[(3) - (5)].fetch); @@ -3623,21 +3653,21 @@ fetch->is_move = true; (yyval.stmt) = (PLpgSQL_stmt *)fetch; - ;} + } break; case 123: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1662 "gram.y" { (yyval.fetch) = read_fetch_direction(); - ;} + } break; case 124: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1668 "gram.y" { PLpgSQL_stmt_close *new; @@ -3648,22 +3678,22 @@ new->curvar = (yyvsp[(3) - (4)].var)->dno; (yyval.stmt) = (PLpgSQL_stmt *)new; - ;} + } break; case 125: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1681 "gram.y" { /* We do not bother building a node for NULL */ (yyval.stmt) = NULL; - ;} + } break; case 126: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1688 "gram.y" { if (yylval.scalar->dtype != PLPGSQL_DTYPE_VAR) @@ -3678,46 +3708,46 @@ ((PLpgSQL_var *) yylval.scalar)->refname))); } (yyval.var) = (PLpgSQL_var *) yylval.scalar; - ;} + } break; case 127: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1703 "gram.y" { yyerror("expected a cursor or refcursor variable"); - ;} + } break; case 128: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1707 "gram.y" { yyerror("expected a cursor or refcursor variable"); - ;} + } break; case 129: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1711 "gram.y" { yyerror("expected a cursor or refcursor variable"); - ;} + } break; case 130: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1717 "gram.y" - { (yyval.exception_block) = NULL; ;} + { (yyval.exception_block) = NULL; } break; case 131: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1719 "gram.y" { /* @@ -3741,42 +3771,42 @@ new->sqlerrm_varno = var->dno; (yyval.exception_block) = new; - ;} + } break; case 132: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1743 "gram.y" { PLpgSQL_exception_block *new = (yyvsp[(3) - (4)].exception_block); new->exc_list = (yyvsp[(4) - (4)].list); (yyval.exception_block) = new; - ;} + } break; case 133: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1752 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].exception)); - ;} + } break; case 134: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1756 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].exception)); - ;} + } break; case 135: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1762 "gram.y" { PLpgSQL_exception *new; @@ -3787,12 +3817,12 @@ new->action = (yyvsp[(5) - (5)].list); (yyval.exception) = new; - ;} + } break; case 136: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1775 "gram.y" { PLpgSQL_condition *old; @@ -3801,21 +3831,21 @@ /* skip */ ; old->next = (yyvsp[(3) - (3)].condition); (yyval.condition) = (yyvsp[(1) - (3)].condition); - ;} + } break; case 137: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1784 "gram.y" { (yyval.condition) = (yyvsp[(1) - (1)].condition); - ;} + } break; case 138: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1790 "gram.y" { if (strcmp((yyvsp[(1) - (1)].str), "sqlstate") != 0) @@ -3849,152 +3879,163 @@ (yyval.condition) = new; } - ;} + } break; case 139: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1826 "gram.y" - { (yyval.expr) = plpgsql_read_expression(';', ";"); ;} + { (yyval.expr) = plpgsql_read_expression(';', ";"); } break; case 140: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1830 "gram.y" - { (yyval.expr) = plpgsql_read_expression(']', "]"); ;} + { (yyval.expr) = plpgsql_read_expression(']', "]"); } break; case 141: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1834 "gram.y" - { (yyval.expr) = plpgsql_read_expression(K_THEN, "THEN"); ;} + { (yyval.expr) = plpgsql_read_expression(K_THEN, "THEN"); } break; case 142: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1838 "gram.y" - { (yyval.expr) = plpgsql_read_expression(K_LOOP, "LOOP"); ;} + { (yyval.expr) = plpgsql_read_expression(K_LOOP, "LOOP"); } break; case 143: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1842 "gram.y" { plpgsql_ns_push(NULL); (yyval.str) = NULL; - ;} + } break; case 144: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1847 "gram.y" { plpgsql_ns_push((yyvsp[(3) - (5)].str)); (yyval.str) = (yyvsp[(3) - (5)].str); - ;} + } break; case 145: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1854 "gram.y" { (yyval.str) = NULL; - ;} + } break; case 146: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1858 "gram.y" { (yyval.str) = check_label((yyvsp[(1) - (1)].str)); - ;} + } break; case 147: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1864 "gram.y" - { (yyval.expr) = NULL; ;} + { (yyval.expr) = NULL; } break; case 148: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1866 "gram.y" - { (yyval.expr) = (yyvsp[(2) - (2)].expr); ;} + { (yyval.expr) = (yyvsp[(2) - (2)].expr); } break; case 149: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1873 "gram.y" { (yyval.str) = yytext; - ;} + } break; case 150: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1877 "gram.y" { (yyval.str) = yytext; - ;} + } break; case 151: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1881 "gram.y" { (yyval.str) = yytext; - ;} + } break; case 152: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1885 "gram.y" { (yyval.str) = yytext; - ;} + } break; case 153: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1891 "gram.y" { char *name; plpgsql_convert_ident((yyvsp[(1) - (1)].str), &name, 1); (yyval.str) = name; - ;} + } break; case 154: -/* Line 1455 of yacc.c */ +/* Line 1806 of yacc.c */ #line 1900 "gram.y" { (yyval.ival) = plpgsql_error_lineno = plpgsql_scanner_lineno(); - ;} + } break; -/* Line 1455 of yacc.c */ -#line 3996 "pl_gram.c" +/* Line 1806 of yacc.c */ +#line 4026 "pl_gram.c" default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -4022,6 +4063,10 @@ | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { @@ -4029,37 +4074,36 @@ #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } @@ -4118,7 +4162,7 @@ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) + if (!yypact_value_is_default (yyn)) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) @@ -4177,8 +4221,13 @@ yyreturn: if (yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); @@ -4203,7 +4252,7 @@ -/* Line 1675 of yacc.c */ +/* Line 2067 of yacc.c */ #line 1905 "gram.y" diff -Nru postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_gram.h postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_gram.h --- postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_gram.h 2013-04-01 18:44:33.000000000 +0000 +++ postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_gram.h 2014-02-17 20:07:40.000000000 +0000 @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.5. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -108,7 +106,7 @@ typedef union YYSTYPE { -/* Line 1676 of yacc.c */ +/* Line 2068 of yacc.c */ #line 79 "gram.y" int32 ival; @@ -158,8 +156,8 @@ -/* Line 1676 of yacc.c */ -#line 163 "pl_gram.h" +/* Line 2068 of yacc.c */ +#line 161 "pl_gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ diff -Nru postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_handler.c postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_handler.c --- postgresql-8.4-8.4.17/src/pl/plpgsql/src/pl_handler.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/pl/plpgsql/src/pl_handler.c 2014-02-17 19:44:07.000000000 +0000 @@ -136,6 +136,9 @@ bool istrigger = false; int i; + if (!CheckFunctionValidatorAccess(fcinfo->flinfo->fn_oid, funcoid)) + PG_RETURN_VOID(); + /* Get the new function's pg_proc entry */ tuple = SearchSysCache(PROCOID, ObjectIdGetDatum(funcoid), diff -Nru postgresql-8.4-8.4.17/src/port/chklocale.c postgresql-8.4-8.4.20/src/port/chklocale.c --- postgresql-8.4-8.4.17/src/port/chklocale.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/port/chklocale.c 2014-02-17 19:44:07.000000000 +0000 @@ -162,6 +162,7 @@ {PG_SJIS, "SJIS"}, {PG_SJIS, "PCK"}, {PG_SJIS, "CP932"}, + {PG_SJIS, "SHIFT_JIS"}, {PG_BIG5, "BIG5"}, {PG_BIG5, "BIG5HKSCS"}, diff -Nru postgresql-8.4-8.4.17/src/port/exec.c postgresql-8.4-8.4.20/src/port/exec.c --- postgresql-8.4-8.4.17/src/port/exec.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/port/exec.c 2014-02-17 19:44:07.000000000 +0000 @@ -88,7 +88,7 @@ if (strlen(path) >= strlen(".exe") && pg_strcasecmp(path + strlen(path) - strlen(".exe"), ".exe") != 0) { - strcpy(path_exe, path); + strlcpy(path_exe, path, sizeof(path_exe) - 4); strcat(path_exe, ".exe"); path = path_exe; } @@ -345,7 +345,7 @@ } /* must copy final component out of 'path' temporarily */ - strcpy(link_buf, fname); + strlcpy(link_buf, fname, sizeof(link_buf)); if (!getcwd(path, MAXPGPATH)) { diff -Nru postgresql-8.4-8.4.17/src/port/win32error.c postgresql-8.4-8.4.20/src/port/win32error.c --- postgresql-8.4-8.4.17/src/port/win32error.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/port/win32error.c 2014-02-17 19:44:07.000000000 +0000 @@ -175,14 +175,16 @@ { if (doserrors[i].winerr == e) { - errno = doserrors[i].doserr; + int doserr = doserrors[i].doserr; + #ifndef FRONTEND ereport(DEBUG5, (errmsg_internal("mapped win32 error code %lu to %d", - e, errno))); + e, doserr))); #elif FRONTEND_DEBUG - fprintf(stderr, _("mapped win32 error code %lu to %d"), e, errno); + fprintf(stderr, _("mapped win32 error code %lu to %d"), e, doserr); #endif + errno = doserr; return; } } diff -Nru postgresql-8.4-8.4.17/src/port/win32ver.rc postgresql-8.4-8.4.20/src/port/win32ver.rc --- postgresql-8.4-8.4.17/src/port/win32ver.rc 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/port/win32ver.rc 2014-02-17 19:44:07.000000000 +0000 @@ -2,8 +2,8 @@ #include "pg_config.h" VS_VERSION_INFO VERSIONINFO - FILEVERSION 8,4,17,0 - PRODUCTVERSION 8,4,17,0 + FILEVERSION 8,4,20,0 + PRODUCTVERSION 8,4,20,0 FILEFLAGSMASK 0x17L FILEFLAGS 0x0L FILEOS VOS_NT_WINDOWS32 diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/guc.out postgresql-8.4-8.4.20/src/test/regress/expected/guc.out --- postgresql-8.4-8.4.17/src/test/regress/expected/guc.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/guc.out 2014-02-17 19:44:07.000000000 +0000 @@ -699,3 +699,19 @@ extended | extended (1 row) +-- Normally, CREATE FUNCTION should complain about invalid values in +-- function SET options; but not if check_function_bodies is off, +-- because that creates ordering hazards for pg_dump +create function func_with_bad_set() returns int as $$ select 1 $$ +language sql +set default_text_search_config = no_such_config; +NOTICE: text search configuration "no_such_config" does not exist +ERROR: invalid value for parameter "default_text_search_config": "no_such_config" +set check_function_bodies = off; +create function func_with_bad_set() returns int as $$ select 1 $$ +language sql +set default_text_search_config = no_such_config; +NOTICE: text search configuration "no_such_config" does not exist +select func_with_bad_set(); +ERROR: invalid value for parameter "default_text_search_config": "no_such_config" +reset check_function_bodies; diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/horology.out postgresql-8.4-8.4.20/src/test/regress/expected/horology.out --- postgresql-8.4-8.4.17/src/test/regress/expected/horology.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/horology.out 2014-02-17 19:44:07.000000000 +0000 @@ -2899,3 +2899,33 @@ SELECT to_timestamp('10000000000', 'FMYYYY'); ERROR: value for "YYYY" in source string is out of range DETAIL: Value must be in the range -2147483648 to 2147483647. +-- +-- Check behavior with SQL-style fixed-GMT-offset time zone (cf bug #8572) +-- +SET TIME ZONE 'America/New_York'; +SET TIME ZONE '-1.5'; +SHOW TIME ZONE; + TimeZone +---------------------- + @ 1 hour 30 mins ago +(1 row) + +SELECT '2012-12-12 12:00'::timestamptz; + timestamptz +--------------------------------- + Wed Dec 12 12:00:00 2012 -01:30 +(1 row) + +SELECT '2012-12-12 12:00 America/New_York'::timestamptz; + timestamptz +--------------------------------- + Wed Dec 12 15:30:00 2012 -01:30 +(1 row) + +SELECT to_char('2012-12-12 12:00'::timestamptz, 'YYYY-MM-DD HH:MI:SS TZ'); + to_char +---------------------- + 2012-12-12 12:00:00 +(1 row) + +RESET TIME ZONE; diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/interval.out postgresql-8.4-8.4.20/src/test/regress/expected/interval.out --- postgresql-8.4-8.4.17/src/test/regress/expected/interval.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/interval.out 2014-02-17 19:44:07.000000000 +0000 @@ -306,6 +306,13 @@ @ 4541 years 4 mons 4 days 17 mins 31 secs (1 row) +-- test long interval output +select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; + interval +------------------------------------------------------------------------------------------- + @ 100000000 years 10 mons -1000000000 days -1000000000 hours -10 mins -10.000001 secs ago +(1 row) + -- test justify_hours() and justify_days() SELECT justify_hours(interval '6 months 3 days 52 hours 3 minutes 2 seconds') as "6 mons 5 days 4 hours 3 mins 2 seconds"; 6 mons 5 days 4 hours 3 mins 2 seconds diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/join.out postgresql-8.4-8.4.20/src/test/regress/expected/join.out --- postgresql-8.4-8.4.17/src/test/regress/expected/join.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/join.out 2014-02-17 19:44:07.000000000 +0000 @@ -2595,3 +2595,24 @@ 0 | 0 | 0 (1 row) +-- +-- check handling of join aliases when flattening multiple levels of subquery +-- +select foo1.join_key as foo1_id, foo3.join_key AS foo3_id, bug_field from + (values (0),(1)) foo1(join_key) +left join + (select join_key, bug_field from + (select ss1.join_key, ss1.bug_field from + (select f1 as join_key, 666 as bug_field from int4_tbl i1) ss1 + ) foo2 + left join + (select unique2 as join_key from tenk1 i2) ss2 + using (join_key) + ) foo3 +using (join_key); + foo1_id | foo3_id | bug_field +---------+---------+----------- + 0 | 0 | 666 + 1 | | +(2 rows) + diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/privileges.out postgresql-8.4-8.4.20/src/test/regress/expected/privileges.out --- postgresql-8.4-8.4.17/src/test/regress/expected/privileges.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/privileges.out 2014-02-17 19:44:07.000000000 +0000 @@ -26,7 +26,7 @@ ALTER GROUP regressgroup2 ADD USER regressuser2; -- duplicate NOTICE: role "regressuser2" is already a member of role "regressgroup2" ALTER GROUP regressgroup2 DROP USER regressuser2; -ALTER GROUP regressgroup2 ADD USER regressuser4; +GRANT regressgroup2 TO regressuser4 WITH ADMIN OPTION; -- test owner privileges SET SESSION AUTHORIZATION regressuser1; SELECT session_user, current_user; @@ -815,6 +815,40 @@ t (1 row) +-- Admin options +SET SESSION AUTHORIZATION regressuser4; +CREATE FUNCTION dogrant_ok() RETURNS void LANGUAGE sql SECURITY DEFINER AS + 'GRANT regressgroup2 TO regressuser5'; +GRANT regressgroup2 TO regressuser5; -- ok: had ADMIN OPTION +SET ROLE regressgroup2; +GRANT regressgroup2 TO regressuser5; -- fails: SET ROLE suspended privilege +ERROR: must have admin option on role "regressgroup2" +SET SESSION AUTHORIZATION regressuser1; +GRANT regressgroup2 TO regressuser5; -- fails: no ADMIN OPTION +ERROR: must have admin option on role "regressgroup2" +SELECT dogrant_ok(); -- ok: SECURITY DEFINER conveys ADMIN +NOTICE: role "regressuser5" is already a member of role "regressgroup2" +CONTEXT: SQL function "dogrant_ok" statement 1 + dogrant_ok +------------ + +(1 row) + +SET ROLE regressgroup2; +GRANT regressgroup2 TO regressuser5; -- fails: SET ROLE did not help +ERROR: must have admin option on role "regressgroup2" +SET SESSION AUTHORIZATION regressgroup2; +GRANT regressgroup2 TO regressuser5; -- ok: a role can self-admin +NOTICE: role "regressuser5" is already a member of role "regressgroup2" +CREATE FUNCTION dogrant_fails() RETURNS void LANGUAGE sql SECURITY DEFINER AS + 'GRANT regressgroup2 TO regressuser5'; +SELECT dogrant_fails(); -- fails: no self-admin in SECURITY DEFINER +ERROR: must have admin option on role "regressgroup2" +CONTEXT: SQL function "dogrant_fails" statement 1 +DROP FUNCTION dogrant_fails(); +SET SESSION AUTHORIZATION regressuser4; +DROP FUNCTION dogrant_ok(); +REVOKE regressgroup2 FROM regressuser5; -- test that dependent privileges are revoked (or not) properly \c - set session role regressuser1; diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/rangefuncs.out postgresql-8.4-8.4.20/src/test/regress/expected/rangefuncs.out --- postgresql-8.4-8.4.17/src/test/regress/expected/rangefuncs.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/rangefuncs.out 2014-02-17 19:44:07.000000000 +0000 @@ -567,6 +567,17 @@ (9 rows) DROP FUNCTION foo(int); +-- case that causes change of typmod knowledge during inlining +CREATE OR REPLACE FUNCTION foo() +RETURNS TABLE(a varchar(5)) +AS $$ SELECT 'hello'::varchar(5) $$ LANGUAGE sql STABLE; +SELECT * FROM foo() GROUP BY 1; + a +------- + hello +(1 row) + +DROP FUNCTION foo(); -- -- some tests on SQL functions with RETURNING -- @@ -911,3 +922,17 @@ ERROR: function return row and query-specified return row do not match DETAIL: Returned row contains 3 attributes, but query expects 2. drop function foobar(); +-- check behavior when a function's input sometimes returns a set (bug #8228) +SELECT *, + lower(CASE WHEN id = 2 THEN (regexp_matches(str, E'^0*([1-9]\\d+)$'))[1] + ELSE str + END) +FROM + (VALUES (1,''), (2,'0000000049404'), (3,'FROM 10000000876')) v(id, str); + id | str | lower +----+------------------+------------------ + 1 | | + 2 | 0000000049404 | 49404 + 3 | FROM 10000000876 | from 10000000876 +(3 rows) + diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/rowtypes.out postgresql-8.4-8.4.20/src/test/regress/expected/rowtypes.out --- postgresql-8.4-8.4.17/src/test/regress/expected/rowtypes.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/rowtypes.out 2014-02-17 19:44:07.000000000 +0000 @@ -208,6 +208,25 @@ LINE 1: select ROW('ABC','DEF') ~~ ROW('DEF','ABC') as fail; ^ HINT: Row comparison operators must be associated with btree operator families. +-- Comparisons of ROW() expressions can cope with some type mismatches +select ROW(1,2) = ROW(1,2::int8); + ?column? +---------- + t +(1 row) + +select ROW(1,2) in (ROW(3,4), ROW(1,2)); + ?column? +---------- + t +(1 row) + +select ROW(1,2) in (ROW(3,4), ROW(1,2::int8)); + ?column? +---------- + t +(1 row) + -- Check row comparison with a subselect select unique1, unique2 from tenk1 where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3) @@ -252,6 +271,17 @@ 999 | 9999 (25 rows) +-- Check row comparisons with IN +select * from int8_tbl i8 where i8 in (row(123,456)); -- fail, type mismatch +ERROR: cannot compare dissimilar column types bigint and integer at record column 1 +select * from int8_tbl i8 +where i8 in (row(123,456)::int8_tbl, '(4567890123456789,123)'); + q1 | q2 +------------------+----- + 123 | 456 + 4567890123456789 | 123 +(2 rows) + -- Check some corner cases involving empty rowtypes select ROW(); row diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/strings.out postgresql-8.4-8.4.20/src/test/regress/expected/strings.out --- postgresql-8.4-8.4.17/src/test/regress/expected/strings.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/strings.out 2014-02-17 19:44:07.000000000 +0000 @@ -347,6 +347,64 @@ {barbeque} (1 row) +-- start/end-of-line matches are of zero length +SELECT regexp_matches('foo' || chr(10) || 'bar' || chr(10) || 'bequq' || chr(10) || 'baz', '^', 'mg'); + regexp_matches +---------------- + {""} + {""} + {""} + {""} +(4 rows) + +SELECT regexp_matches('foo' || chr(10) || 'bar' || chr(10) || 'bequq' || chr(10) || 'baz', '$', 'mg'); + regexp_matches +---------------- + {""} + {""} + {""} + {""} +(4 rows) + +SELECT regexp_matches('1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4' || chr(10), '^.?', 'mg'); + regexp_matches +---------------- + {1} + {2} + {3} + {4} + {""} +(5 rows) + +SELECT regexp_matches(chr(10) || '1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4' || chr(10), '.?$', 'mg'); + regexp_matches +---------------- + {""} + {1} + {""} + {2} + {""} + {3} + {""} + {4} + {""} + {""} +(10 rows) + +SELECT regexp_matches(chr(10) || '1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4', '.?$', 'mg'); + regexp_matches +---------------- + {""} + {1} + {""} + {2} + {""} + {3} + {""} + {4} + {""} +(9 rows) + -- give me errors SELECT regexp_matches('foobarbequebaz', $re$(bar)(beque)$re$, 'gz'); ERROR: invalid regexp option: "z" diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/subselect.out postgresql-8.4-8.4.20/src/test/regress/expected/subselect.out --- postgresql-8.4-8.4.17/src/test/regress/expected/subselect.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/subselect.out 2014-02-17 19:44:07.000000000 +0000 @@ -639,3 +639,14 @@ ---------- (0 rows) +-- +-- Check sane behavior with nested IN SubLinks +-- +select * from int4_tbl where + (case when f1 in (select unique1 from tenk1 a) then f1 else null end) in + (select ten from tenk1 b); + f1 +---- + 0 +(1 row) + diff -Nru postgresql-8.4-8.4.17/src/test/regress/expected/union.out postgresql-8.4-8.4.20/src/test/regress/expected/union.out --- postgresql-8.4-8.4.17/src/test/regress/expected/union.out 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/expected/union.out 2014-02-17 19:44:07.000000000 +0000 @@ -455,3 +455,37 @@ ERROR: invalid input syntax for type numeric: "foo" LINE 1: SELECT '3.4'::numeric UNION SELECT 'foo'; ^ +-- Test that we push quals into UNION sub-selects only when it's safe +SELECT * FROM + (SELECT 1 AS t, 2 AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x < 4; + t | x +---+--- + 1 | 2 +(1 row) + +SELECT * FROM + (SELECT 1 AS t, generate_series(1,10) AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x < 4 +ORDER BY x; + t | x +---+--- + 1 | 1 + 1 | 2 + 1 | 3 +(3 rows) + +SELECT * FROM + (SELECT 1 AS t, (random()*3)::int AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x > 3; + t | x +---+--- + 2 | 4 +(1 row) + diff -Nru postgresql-8.4-8.4.17/src/test/regress/pg_regress.c postgresql-8.4-8.4.20/src/test/regress/pg_regress.c --- postgresql-8.4-8.4.17/src/test/regress/pg_regress.c 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/pg_regress.c 2014-02-17 19:44:07.000000000 +0000 @@ -1227,7 +1227,7 @@ */ platform_expectfile = get_expectfile(testname, resultsfile); - strcpy(expectfile, default_expectfile); + strlcpy(expectfile, default_expectfile, sizeof(expectfile)); if (platform_expectfile) { /* @@ -1282,7 +1282,7 @@ { /* This diff was a better match than the last one */ best_line_count = l; - strcpy(best_expect_file, alt_expectfile); + strlcpy(best_expect_file, alt_expectfile, sizeof(best_expect_file)); } free(alt_expectfile); } @@ -1310,7 +1310,7 @@ { /* This diff was a better match than the last one */ best_line_count = l; - strcpy(best_expect_file, default_expectfile); + strlcpy(best_expect_file, default_expectfile, sizeof(best_expect_file)); } } diff -Nru postgresql-8.4-8.4.17/src/test/regress/README postgresql-8.4-8.4.20/src/test/regress/README --- postgresql-8.4-8.4.17/src/test/regress/README 2013-04-01 18:44:47.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/README 2014-02-17 19:44:07.000000000 +0000 @@ -1,336 +1,3 @@ - Regression Tests - - The regression tests are a comprehensive set of tests for the SQL - implementation in PostgreSQL. They test standard SQL operations as well - as the extended capabilities of PostgreSQL. - __________________________________________________________________ - - Running the Tests - - The regression tests can be run against an already installed and - running server, or using a temporary installation within the build - tree. Furthermore, there is a "parallel" and a "sequential" mode for - running the tests. The sequential method runs each test script in turn, - whereas the parallel method starts up multiple server processes to run - groups of tests in parallel. Parallel testing gives confidence that - interprocess communication and locking are working correctly. For - historical reasons, the sequential test is usually run against an - existing installation and the parallel method against a temporary - installation, but there are no technical reasons for this. - - To run the regression tests after building but before installation, - type: -gmake check - - in the top-level directory. (Or you can change to "src/test/regress" - and run the command there.) This will first build several auxiliary - files, such as some sample user-defined trigger functions, and then run - the test driver script. At the end you should see something like: -======================= - All 115 tests passed. -======================= - - or otherwise a note about which tests failed. See the Section called - Test Evaluation below before assuming that a "failure" represents a - serious problem. - - Because this test method runs a temporary server, it will not work when - you are the root user (since the server will not start as root). If you - already did the build as root, you do not have to start all over. - Instead, make the regression test directory writable by some other - user, log in as that user, and restart the tests. For example: -root# chmod -R a+w src/test/regress -root# su - joeuser -joeuser$ cd top-level build directory -joeuser$ gmake check - - (The only possible "security risk" here is that other users might be - able to alter the regression test results behind your back. Use common - sense when managing user permissions.) - - Alternatively, run the tests after installation. - - If you have configured PostgreSQL to install into a location where an - older PostgreSQL installation already exists, and you perform gmake - check before installing the new version, you might find that the tests - fail because the new programs try to use the already-installed shared - libraries. (Typical symptoms are complaints about undefined symbols.) - If you wish to run the tests before overwriting the old installation, - you'll need to build with configure --disable-rpath. It is not - recommended that you use this option for the final installation, - however. - - The parallel regression test starts quite a few processes under your - user ID. Presently, the maximum concurrency is twenty parallel test - scripts, which means forty processes: there's a server process and a - psql process for each test script. So if your system enforces a - per-user limit on the number of processes, make sure this limit is at - least fifty or so, else you might get random-seeming failures in the - parallel test. If you are not in a position to raise the limit, you can - cut down the degree of parallelism by setting the MAX_CONNECTIONS - parameter. For example: -gmake MAX_CONNECTIONS=10 check - - runs no more than ten tests concurrently. - - To run the tests after installation, initialize a data area and start - the server, then type: -gmake installcheck - - or for a parallel test: -gmake installcheck-parallel - - The tests will expect to contact the server at the local host and the - default port number, unless directed otherwise by PGHOST and PGPORT - environment variables. - - The source distribution also contains regression tests for the optional - procedural languages and for some of the "contrib" modules. At present, - these tests can be used only against an already-installed server. To - run the tests for all procedural languages that have been built and - installed, change to the "src/pl" directory of the build tree and type: -gmake installcheck - - You can also do this in any of the subdirectories of "src/pl" to run - tests for just one procedural language. To run the tests for all - "contrib" modules that have them, change to the "contrib" directory of - the build tree and type: -gmake installcheck - - The "contrib" modules must have been built and installed first. You can - also do this in a subdirectory of "contrib" to run the tests for just - one module. - __________________________________________________________________ - - Test Evaluation - - Some properly installed and fully functional PostgreSQL installations - can "fail" some of these regression tests due to platform-specific - artifacts such as varying floating-point representation and message - wording. The tests are currently evaluated using a simple "diff" - comparison against the outputs generated on a reference system, so the - results are sensitive to small system differences. When a test is - reported as "failed", always examine the differences between expected - and actual results; you might find that the differences are not - significant. Nonetheless, we still strive to maintain accurate - reference files across all supported platforms, so it can be expected - that all tests pass. - - The actual outputs of the regression tests are in files in the - "src/test/regress/results" directory. The test script uses "diff" to - compare each output file against the reference outputs stored in the - "src/test/regress/expected" directory. Any differences are saved for - your inspection in "src/test/regress/regression.diffs". (Or you can run - "diff" yourself, if you prefer.) - - If for some reason a particular platform generates a "failure" for a - given test, but inspection of the output convinces you that the result - is valid, you can add a new comparison file to silence the failure - report in future test runs. See the Section called Variant Comparison - Files for details. - __________________________________________________________________ - -Error message differences - - Some of the regression tests involve intentional invalid input values. - Error messages can come from either the PostgreSQL code or from the - host platform system routines. In the latter case, the messages can - vary between platforms, but should reflect similar information. These - differences in messages will result in a "failed" regression test that - can be validated by inspection. - __________________________________________________________________ - -Locale differences - - If you run the tests against a server that was initialized with a - collation-order locale other than C, then there might be differences - due to sort order and follow-up failures. The regression test suite is - set up to handle this problem by providing alternative result files - that together are known to handle a large number of locales. - - To run the tests in a different locale when using the - temporary-installation method, pass the appropriate locale-related - environment variables on the "make" command line, for example: -gmake check LANG=de_DE.utf8 - - (The regression test driver unsets LC_ALL, so it does not work to - choose the locale using that variable.) To use no locale, either unset - all locale-related environment variables (or set them to C) or use the - following special invocation: -gmake check NO_LOCALE=1 - - When running the tests against an existing installation, the locale - setup is determined by the existing installation. To change it, - initialize the database cluster with a different locale by passing the - appropriate options to "initdb". - - In general, it is nevertheless advisable to try to run the regression - tests in the locale setup that is wanted for production use, as this - will exercise the locale- and encoding-related code portions that will - actually be used in production. Depending on the operating system - environment, you might get failures, but then you will at least know - what locale-specific behaviors to expect when running real - applications. - __________________________________________________________________ - -Date and time differences - - Most of the date and time results are dependent on the time zone - environment. The reference files are generated for time zone PST8PDT - (Berkeley, California), and there will be apparent failures if the - tests are not run with that time zone setting. The regression test - driver sets environment variable PGTZ to PST8PDT, which normally - ensures proper results. - __________________________________________________________________ - -Floating-point differences - - Some of the tests involve computing 64-bit floating-point numbers - (double precision) from table columns. Differences in results involving - mathematical functions of double precision columns have been observed. - The float8 and geometry tests are particularly prone to small - differences across platforms, or even with different compiler - optimization options. Human eyeball comparison is needed to determine - the real significance of these differences which are usually 10 places - to the right of the decimal point. - - Some systems display minus zero as -0, while others just show 0. - - Some systems signal errors from pow() and exp() differently from the - mechanism expected by the current PostgreSQL code. - __________________________________________________________________ - -Row ordering differences - - You might see differences in which the same rows are output in a - different order than what appears in the expected file. In most cases - this is not, strictly speaking, a bug. Most of the regression test - scripts are not so pedantic as to use an ORDER BY for every single - SELECT, and so their result row orderings are not well-defined - according to the letter of the SQL specification. In practice, since we - are looking at the same queries being executed on the same data by the - same software, we usually get the same result ordering on all - platforms, and so the lack of ORDER BY isn't a problem. Some queries do - exhibit cross-platform ordering differences, however. When testing - against an already-installed server, ordering differences can also be - caused by non-C locale settings or non-default parameter settings, such - as custom values of work_mem or the planner cost parameters. - - Therefore, if you see an ordering difference, it's not something to - worry about, unless the query does have an ORDER BY that your result is - violating. But please report it anyway, so that we can add an ORDER BY - to that particular query and thereby eliminate the bogus "failure" in - future releases. - - You might wonder why we don't order all the regression test queries - explicitly to get rid of this issue once and for all. The reason is - that that would make the regression tests less useful, not more, since - they'd tend to exercise query plan types that produce ordered results - to the exclusion of those that don't. - __________________________________________________________________ - -Insufficient stack depth - - If the errors test results in a server crash at the select - infinite_recurse() command, it means that the platform's limit on - process stack size is smaller than the max_stack_depth parameter - indicates. This can be fixed by running the server under a higher stack - size limit (4MB is recommended with the default value of - max_stack_depth). If you are unable to do that, an alternative is to - reduce the value of max_stack_depth. - __________________________________________________________________ - -The "random" test - - The random test script is intended to produce random results. In rare - cases, this causes the random regression test to fail. Typing: -diff results/random.out expected/random.out - - should produce only one or a few lines of differences. You need not - worry unless the random test fails repeatedly. - __________________________________________________________________ - - Variant Comparison Files - - Since some of the tests inherently produce environment-dependent - results, we have provided ways to specify alternative "expected" result - files. Each regression test can have several comparison files showing - possible results on different platforms. There are two independent - mechanisms for determining which comparison file is used for each test. - - The first mechanism allows comparison files to be selected for specific - platforms. There is a mapping file, "src/test/regress/resultmap", that - defines which comparison file to use for each platform. To eliminate - bogus test "failures" for a particular platform, you first choose or - make a variant result file, and then add a line to the "resultmap" - file. - - Each line in the mapping file is of the form -testname:output:platformpattern=comparisonfilename - - The test name is just the name of the particular regression test - module. The output value indicates which output file to check. For the - standard regression tests, this is always out. The value corresponds to - the file extension of the output file. The platform pattern is a - pattern in the style of the Unix tool "expr" (that is, a regular - expression with an implicit ^ anchor at the start). It is matched - against the platform name as printed by "config.guess". The comparison - file name is the base name of the substitute result comparison file. - - For example: some systems interpret very small floating-point values as - zero, rather than reporting an underflow error. This causes a few - differences in the "float8" regression test. Therefore, we provide a - variant comparison file, "float8-small-is-zero.out", which includes the - results to be expected on these systems. To silence the bogus "failure" - message on OpenBSD platforms, "resultmap" includes: -float8:out:i.86-.*-openbsd=float8-small-is-zero.out - - which will trigger on any machine for which the output of - "config.guess" matches i.86-.*-openbsd. Other lines in "resultmap" - select the variant comparison file for other platforms where it's - appropriate. - - The second selection mechanism for variant comparison files is much - more automatic: it simply uses the "best match" among several supplied - comparison files. The regression test driver script considers both the - standard comparison file for a test, testname.out, and variant files - named testname_digit.out (where the "digit" is any single digit 0-9). - If any such file is an exact match, the test is considered to pass; - otherwise, the one that generates the shortest diff is used to create - the failure report. (If "resultmap" includes an entry for the - particular test, then the base "testname" is the substitute name given - in "resultmap".) - - For example, for the char test, the comparison file "char.out" contains - results that are expected in the C and POSIX locales, while the file - "char_1.out" contains results sorted as they appear in many other - locales. - - The best-match mechanism was devised to cope with locale-dependent - results, but it can be used in any situation where the test results - cannot be predicted easily from the platform name alone. A limitation - of this mechanism is that the test driver cannot tell which variant is - actually "correct" for the current environment; it will just pick the - variant that seems to work best. Therefore it is safest to use this - mechanism only for variant results that you are willing to consider - equally valid in all contexts. - __________________________________________________________________ - - Test Coverage Examination - - The PostgreSQL source code can be compiled with coverage testing - instrumentation, so that it becomes possible to examine which parts of - the code are covered by the regression tests or any other test suite - that is run with the code. This is currently supported when compiling - with GCC and requires the "gcov" and "lcov" programs. - - A typical workflow would look like this: -./configure --enable-coverage ... OTHER OPTIONS ... -gmake -gmake check # or other test suite -gmake coverage-html - - Then point your HTML browser to "coverage/index.html". - - To reset the execution counts between test runs, run: -gmake coverage-clean +Documentation concerning how to run these regression tests and interpret +the results can be found in the PostgreSQL manual, in the chapter +"Regression Tests". diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/guc.sql postgresql-8.4-8.4.20/src/test/regress/sql/guc.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/guc.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/guc.sql 2014-02-17 19:44:07.000000000 +0000 @@ -251,3 +251,21 @@ select myfunc(0); select current_setting('regex_flavor'); select myfunc(1), current_setting('regex_flavor'); + +-- Normally, CREATE FUNCTION should complain about invalid values in +-- function SET options; but not if check_function_bodies is off, +-- because that creates ordering hazards for pg_dump + +create function func_with_bad_set() returns int as $$ select 1 $$ +language sql +set default_text_search_config = no_such_config; + +set check_function_bodies = off; + +create function func_with_bad_set() returns int as $$ select 1 $$ +language sql +set default_text_search_config = no_such_config; + +select func_with_bad_set(); + +reset check_function_bodies; diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/horology.sql postgresql-8.4-8.4.20/src/test/regress/sql/horology.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/horology.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/horology.sql 2014-02-17 19:44:07.000000000 +0000 @@ -455,3 +455,19 @@ -- Input that doesn't fit in an int: SELECT to_timestamp('10000000000', 'FMYYYY'); + +-- +-- Check behavior with SQL-style fixed-GMT-offset time zone (cf bug #8572) +-- + +SET TIME ZONE 'America/New_York'; +SET TIME ZONE '-1.5'; + +SHOW TIME ZONE; + +SELECT '2012-12-12 12:00'::timestamptz; +SELECT '2012-12-12 12:00 America/New_York'::timestamptz; + +SELECT to_char('2012-12-12 12:00'::timestamptz, 'YYYY-MM-DD HH:MI:SS TZ'); + +RESET TIME ZONE; diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/interval.sql postgresql-8.4-8.4.20/src/test/regress/sql/interval.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/interval.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/interval.sql 2014-02-17 19:44:07.000000000 +0000 @@ -108,6 +108,8 @@ -- test long interval input select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval; +-- test long interval output +select '100000000y 10mon -1000000000d -1000000000h -10min -10.000001s ago'::interval; -- test justify_hours() and justify_days() diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/join.sql postgresql-8.4-8.4.20/src/test/regress/sql/join.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/join.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/join.sql 2014-02-17 19:44:07.000000000 +0000 @@ -651,3 +651,20 @@ select f1, unique2, case when unique2 is null then f1 else 0 end from int4_tbl a left join tenk1 b on f1 = unique2 where (case when unique2 is null then f1 else 0 end) = 0; + +-- +-- check handling of join aliases when flattening multiple levels of subquery +-- + +select foo1.join_key as foo1_id, foo3.join_key AS foo3_id, bug_field from + (values (0),(1)) foo1(join_key) +left join + (select join_key, bug_field from + (select ss1.join_key, ss1.bug_field from + (select f1 as join_key, 666 as bug_field from int4_tbl i1) ss1 + ) foo2 + left join + (select unique2 as join_key from tenk1 i2) ss2 + using (join_key) + ) foo3 +using (join_key); diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/privileges.sql postgresql-8.4-8.4.20/src/test/regress/sql/privileges.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/privileges.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/privileges.sql 2014-02-17 19:44:07.000000000 +0000 @@ -34,7 +34,7 @@ ALTER GROUP regressgroup2 ADD USER regressuser2; -- duplicate ALTER GROUP regressgroup2 DROP USER regressuser2; -ALTER GROUP regressgroup2 ADD USER regressuser4; +GRANT regressgroup2 TO regressuser4 WITH ADMIN OPTION; -- test owner privileges @@ -469,6 +469,33 @@ SELECT has_table_privilege('regressuser1', 'atest4', 'SELECT WITH GRANT OPTION'); -- true +-- Admin options + +SET SESSION AUTHORIZATION regressuser4; +CREATE FUNCTION dogrant_ok() RETURNS void LANGUAGE sql SECURITY DEFINER AS + 'GRANT regressgroup2 TO regressuser5'; +GRANT regressgroup2 TO regressuser5; -- ok: had ADMIN OPTION +SET ROLE regressgroup2; +GRANT regressgroup2 TO regressuser5; -- fails: SET ROLE suspended privilege + +SET SESSION AUTHORIZATION regressuser1; +GRANT regressgroup2 TO regressuser5; -- fails: no ADMIN OPTION +SELECT dogrant_ok(); -- ok: SECURITY DEFINER conveys ADMIN +SET ROLE regressgroup2; +GRANT regressgroup2 TO regressuser5; -- fails: SET ROLE did not help + +SET SESSION AUTHORIZATION regressgroup2; +GRANT regressgroup2 TO regressuser5; -- ok: a role can self-admin +CREATE FUNCTION dogrant_fails() RETURNS void LANGUAGE sql SECURITY DEFINER AS + 'GRANT regressgroup2 TO regressuser5'; +SELECT dogrant_fails(); -- fails: no self-admin in SECURITY DEFINER +DROP FUNCTION dogrant_fails(); + +SET SESSION AUTHORIZATION regressuser4; +DROP FUNCTION dogrant_ok(); +REVOKE regressgroup2 FROM regressuser5; + + -- test that dependent privileges are revoked (or not) properly \c - diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/rangefuncs.sql postgresql-8.4-8.4.20/src/test/regress/sql/rangefuncs.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/rangefuncs.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/rangefuncs.sql 2014-02-17 19:44:07.000000000 +0000 @@ -280,6 +280,13 @@ SELECT * FROM foo(3); DROP FUNCTION foo(int); +-- case that causes change of typmod knowledge during inlining +CREATE OR REPLACE FUNCTION foo() +RETURNS TABLE(a varchar(5)) +AS $$ SELECT 'hello'::varchar(5) $$ LANGUAGE sql STABLE; +SELECT * FROM foo() GROUP BY 1; +DROP FUNCTION foo(); + -- -- some tests on SQL functions with RETURNING -- @@ -442,3 +449,12 @@ select * from foobar(); -- fail drop function foobar(); + +-- check behavior when a function's input sometimes returns a set (bug #8228) + +SELECT *, + lower(CASE WHEN id = 2 THEN (regexp_matches(str, E'^0*([1-9]\\d+)$'))[1] + ELSE str + END) +FROM + (VALUES (1,''), (2,'0000000049404'), (3,'FROM 10000000876')) v(id, str); diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/rowtypes.sql postgresql-8.4-8.4.20/src/test/regress/sql/rowtypes.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/rowtypes.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/rowtypes.sql 2014-02-17 19:44:07.000000000 +0000 @@ -98,6 +98,11 @@ select ROW('ABC','DEF') ~>=~ ROW('DEF','ABC') as false; select ROW('ABC','DEF') ~~ ROW('DEF','ABC') as fail; +-- Comparisons of ROW() expressions can cope with some type mismatches +select ROW(1,2) = ROW(1,2::int8); +select ROW(1,2) in (ROW(3,4), ROW(1,2)); +select ROW(1,2) in (ROW(3,4), ROW(1,2::int8)); + -- Check row comparison with a subselect select unique1, unique2 from tenk1 where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3) @@ -109,6 +114,12 @@ where (thousand, tenthous) >= (997, 5000) order by thousand, tenthous; +-- Check row comparisons with IN +select * from int8_tbl i8 where i8 in (row(123,456)); -- fail, type mismatch + +select * from int8_tbl i8 +where i8 in (row(123,456)::int8_tbl, '(4567890123456789,123)'); + -- Check some corner cases involving empty rowtypes select ROW(); select ROW() IS NULL; diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/strings.sql postgresql-8.4-8.4.20/src/test/regress/sql/strings.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/strings.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/strings.sql 2014-02-17 19:44:07.000000000 +0000 @@ -137,6 +137,13 @@ -- no capture groups SELECT regexp_matches('foobarbequebaz', $re$barbeque$re$); +-- start/end-of-line matches are of zero length +SELECT regexp_matches('foo' || chr(10) || 'bar' || chr(10) || 'bequq' || chr(10) || 'baz', '^', 'mg'); +SELECT regexp_matches('foo' || chr(10) || 'bar' || chr(10) || 'bequq' || chr(10) || 'baz', '$', 'mg'); +SELECT regexp_matches('1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4' || chr(10), '^.?', 'mg'); +SELECT regexp_matches(chr(10) || '1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4' || chr(10), '.?$', 'mg'); +SELECT regexp_matches(chr(10) || '1' || chr(10) || '2' || chr(10) || '3' || chr(10) || '4', '.?$', 'mg'); + -- give me errors SELECT regexp_matches('foobarbequebaz', $re$(bar)(beque)$re$, 'gz'); SELECT regexp_matches('foobarbequebaz', $re$(barbeque$re$); diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/subselect.sql postgresql-8.4-8.4.20/src/test/regress/sql/subselect.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/subselect.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/subselect.sql 2014-02-17 19:44:07.000000000 +0000 @@ -389,3 +389,10 @@ and exists ( select 1 from tenk1 c where b.hundred = c.hundred and not exists ( select 1 from tenk1 d where a.thousand = d.thousand ) ); + +-- +-- Check sane behavior with nested IN SubLinks +-- +select * from int4_tbl where + (case when f1 in (select unique1 from tenk1 a) then f1 else null end) in + (select ten from tenk1 b); diff -Nru postgresql-8.4-8.4.17/src/test/regress/sql/union.sql postgresql-8.4-8.4.20/src/test/regress/sql/union.sql --- postgresql-8.4-8.4.17/src/test/regress/sql/union.sql 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/test/regress/sql/union.sql 2014-02-17 19:44:07.000000000 +0000 @@ -166,3 +166,23 @@ -- This should fail, but it should produce an error cursor SELECT '3.4'::numeric UNION SELECT 'foo'; + +-- Test that we push quals into UNION sub-selects only when it's safe +SELECT * FROM + (SELECT 1 AS t, 2 AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x < 4; + +SELECT * FROM + (SELECT 1 AS t, generate_series(1,10) AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x < 4 +ORDER BY x; + +SELECT * FROM + (SELECT 1 AS t, (random()*3)::int AS x + UNION + SELECT 2 AS t, 4 AS x) ss +WHERE x > 3; diff -Nru postgresql-8.4-8.4.17/src/timezone/data/africa postgresql-8.4-8.4.20/src/timezone/data/africa --- postgresql-8.4-8.4.17/src/timezone/data/africa 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/africa 2014-02-17 19:44:07.000000000 +0000 @@ -451,6 +451,14 @@ # (either two days before them or five days after them, so as to fall on # lastFri instead of lastSun). +# From Even Scharning (2013-10-25): +# The scheduled end of DST in Libya on Friday, October 25, 2013 was +# cancelled yesterday.... +# http://www.libyaherald.com/2013/10/24/correction-no-time-change-tomorrow/ +# +# From Paul Eggert (2013-10-25): +# For now, assume they're reverting to the pre-2012 rules of permanent UTC+2. + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Libya 1951 only - Oct 14 2:00 1:00 S Rule Libya 1952 only - Jan 1 0:00 0 - @@ -467,8 +475,8 @@ Rule Libya 1987 1989 - Oct 1 0:00 0 - Rule Libya 1997 only - Apr 4 0:00 1:00 S Rule Libya 1997 only - Oct 4 0:00 0 - -Rule Libya 2013 max - Mar lastFri 1:00 1:00 S -Rule Libya 2013 max - Oct lastFri 2:00 0 - +Rule Libya 2013 only - Mar lastFri 1:00 1:00 S +Rule Libya 2013 only - Oct lastFri 2:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Tripoli 0:52:44 - LMT 1920 1:00 Libya CE%sT 1959 @@ -479,7 +487,8 @@ 2:00 - EET 1996 Sep 30 1:00 Libya CE%sT 1997 Oct 4 2:00 - EET 2012 Nov 10 2:00 - 1:00 Libya CE%sT + 1:00 Libya CE%sT 2013 Oct 25 2:00 + 2:00 - EET # Madagascar # Zone NAME GMTOFF RULES FORMAT [UNTIL] @@ -684,15 +693,6 @@ # http://www.google.com/search?hl=en&q=Conseil+de+gouvernement+maroc+heure+avance&btnG=Search # -# From Alex Krivenyshev (2008-05-09): -# Is Western Sahara (part which administrated by Morocco) going to follow -# Morocco DST changes? Any information? What about other part of -# Western Sahara - under administration of POLISARIO Front (also named -# SADR Saharawi Arab Democratic Republic)? - -# From Arthur David Olson (2008-05-09): -# XXX--guess that it is only Morocco for now; guess only 2008 for now. - # From Steffen Thorsen (2008-08-27): # Morocco will change the clocks back on the midnight between August 31 # and September 1. They originally planned to observe DST to near the end @@ -852,13 +852,29 @@ # announced that year's Ramadan daylight-saving transitions would be # 2012-07-20 and 2012-08-20; see # . -# + +# From Andrew Paprocki (2013-07-02): +# Morocco announced that the year's Ramadan daylight-savings +# transitions would be 2013-07-07 and 2013-08-10; see: +# http://www.maroc.ma/en/news/morocco-suspends-daylight-saving-time-july-7-aug10 + +# From Steffen Thorsen (2013-09-28): +# Morocco extends DST by one month, on very short notice, just 1 day +# before it was going to end. There is a new decree (2.13.781) for +# this, where DST from now on goes from last Sunday of March at 02:00 +# to last Sunday of October at 03:00, similar to EU rules. Official +# source (French): +# http://www.maroc.gov.ma/fr/actualites/lhoraire-dete-gmt1-maintenu-jusquau-27-octobre-2013 +# Another source (specifying the time for start and end in the decree): +# http://www.lemag.ma/Heure-d-ete-au-Maroc-jusqu-au-27-octobre_a75620.html + +# From Paul Eggert (2013-10-03): # To estimate what the Moroccan government will do in future years, -# transition dates for 2013 through 2021 were determined by running +# transition dates for 2014 through 2038 were determined by running # the following program under GNU Emacs 24.3: # -# (let ((islamic-year 1434)) -# (while (< islamic-year 1444) +# (let ((islamic-year 1435)) +# (while (< islamic-year 1461) # (let ((a # (calendar-gregorian-from-absolute # (calendar-islamic-to-absolute (list 9 1 islamic-year)))) @@ -873,13 +889,18 @@ # (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b))))) # (setq islamic-year (+ 1 islamic-year)))) # -# with the results hand-edited for 2020-2022, when the normal spring-forward -# date falls during the estimated Ramadan. -# -# From 2023 through 2038 Ramadan is not predicted to overlap with -# daylight saving time. Starting in 2039 there will be overlap again, -# but 32-bit time_t values roll around in 2038 so for now do not worry -# about dates after 2038. +# with spring-forward transitions removed for 2023-2025, when the +# normal spring-forward date falls during the estimated Ramadan; with +# all transitions removed for 2026-2035, where the estimated Ramadan +# falls entirely outside daylight-saving time; and with fall-back +# transitions removed for 2036-2037, where the normal fall-back +# date falls during the estimated Ramadan. Normally, the table would +# stop after 2037 because 32-bit time_t values roll around early in 2038, +# but that would imply a prediction of perpetual DST after March 2038 +# due to the year-2037 glitches. So, this table instead stops after +# 2038, the first non-glitchy year after the 32-bit rollover. +# An advantage of stopping after 2038 is that it lets zic guess +# TZ='WET0WEST,M3.5.0,M10.5.0/3' for time stamps far in the future. # RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -906,12 +927,14 @@ Rule Morocco 2010 only - Aug 8 0:00 0 - Rule Morocco 2011 only - Apr 3 0:00 1:00 S Rule Morocco 2011 only - Jul 31 0 0 - -Rule Morocco 2012 2019 - Apr lastSun 2:00 1:00 S -Rule Morocco 2012 max - Sep lastSun 3:00 0 - +Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S +Rule Morocco 2012 only - Sep 30 3:00 0 - Rule Morocco 2012 only - Jul 20 3:00 0 - Rule Morocco 2012 only - Aug 20 2:00 1:00 S -Rule Morocco 2013 only - Jul 9 3:00 0 - -Rule Morocco 2013 only - Aug 8 2:00 1:00 S +Rule Morocco 2013 only - Jul 7 3:00 0 - +Rule Morocco 2013 only - Aug 10 2:00 1:00 S +Rule Morocco 2013 2035 - Oct lastSun 3:00 0 - +Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S Rule Morocco 2014 only - Jun 29 3:00 0 - Rule Morocco 2014 only - Jul 29 2:00 1:00 S Rule Morocco 2015 only - Jun 18 3:00 0 - @@ -924,20 +947,42 @@ Rule Morocco 2018 only - Jun 15 2:00 1:00 S Rule Morocco 2019 only - May 6 3:00 0 - Rule Morocco 2019 only - Jun 5 2:00 1:00 S +Rule Morocco 2020 only - Apr 24 3:00 0 - Rule Morocco 2020 only - May 24 2:00 1:00 S +Rule Morocco 2021 only - Apr 13 3:00 0 - Rule Morocco 2021 only - May 13 2:00 1:00 S +Rule Morocco 2022 only - Apr 3 3:00 0 - Rule Morocco 2022 only - May 3 2:00 1:00 S -Rule Morocco 2023 max - Apr lastSun 2:00 1:00 S +Rule Morocco 2023 only - Apr 22 2:00 1:00 S +Rule Morocco 2024 only - Apr 10 2:00 1:00 S +Rule Morocco 2025 only - Mar 31 2:00 1:00 S +Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S +Rule Morocco 2036 only - Oct 21 3:00 0 - +Rule Morocco 2037 only - Oct 11 3:00 0 - +Rule Morocco 2038 only - Sep 30 3:00 0 - +Rule Morocco 2038 only - Oct 30 2:00 1:00 S +Rule Morocco 2038 max - Oct lastSun 3:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26 0:00 Morocco WE%sT 1984 Mar 16 1:00 - CET 1986 0:00 Morocco WE%sT + # Western Sahara +# +# From Gwillim Law (2013-10-22): +# A correspondent who is usually well informed about time zone matters +# ... says that Western Sahara observes daylight saving time, just as +# Morocco does. +# +# From Paul Eggert (2013-10-23): +# Assume that this has been true since Western Sahara switched to GMT, +# since most of it was then controlled by Morocco. + Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan -1:00 - WAT 1976 Apr 14 - 0:00 - WET + 0:00 Morocco WE%sT # Mozambique # Zone NAME GMTOFF RULES FORMAT [UNTIL] @@ -1094,9 +1139,7 @@ 3:00 - EAT # South Sudan -Zone Africa/Juba 2:06:24 - LMT 1931 - 2:00 Sudan CA%sT 2000 Jan 15 12:00 - 3:00 - EAT +Link Africa/Khartoum Africa/Juba # Swaziland # Zone NAME GMTOFF RULES FORMAT [UNTIL] diff -Nru postgresql-8.4-8.4.17/src/timezone/data/antarctica postgresql-8.4-8.4.20/src/timezone/data/antarctica --- postgresql-8.4-8.4.17/src/timezone/data/antarctica 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/antarctica 2014-02-17 19:44:07.000000000 +0000 @@ -16,9 +16,9 @@ # # Except for the French entries, # I made up all time zone abbreviations mentioned here; corrections welcome! -# FORMAT is `zzz' and GMTOFF is 0 for locations while uninhabited. +# FORMAT is 'zzz' and GMTOFF is 0 for locations while uninhabited. -# These rules are stolen from the `southamerica' file. +# These rules are stolen from the 'southamerica' file. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule ArgAQ 1964 1966 - Mar 1 0:00 0 - Rule ArgAQ 1964 1966 - Oct 15 0:00 1:00 S @@ -53,34 +53,6 @@ Rule ChileAQ 2012 max - Apr Sun>=23 3:00u 0 - Rule ChileAQ 2012 max - Sep Sun>=2 4:00u 1:00 S -# These rules are stolen from the `australasia' file. -Rule AusAQ 1917 only - Jan 1 0:01 1:00 - -Rule AusAQ 1917 only - Mar 25 2:00 0 - -Rule AusAQ 1942 only - Jan 1 2:00 1:00 - -Rule AusAQ 1942 only - Mar 29 2:00 0 - -Rule AusAQ 1942 only - Sep 27 2:00 1:00 - -Rule AusAQ 1943 1944 - Mar lastSun 2:00 0 - -Rule AusAQ 1943 only - Oct 3 2:00 1:00 - -Rule ATAQ 1967 only - Oct Sun>=1 2:00s 1:00 - -Rule ATAQ 1968 only - Mar lastSun 2:00s 0 - -Rule ATAQ 1968 1985 - Oct lastSun 2:00s 1:00 - -Rule ATAQ 1969 1971 - Mar Sun>=8 2:00s 0 - -Rule ATAQ 1972 only - Feb lastSun 2:00s 0 - -Rule ATAQ 1973 1981 - Mar Sun>=1 2:00s 0 - -Rule ATAQ 1982 1983 - Mar lastSun 2:00s 0 - -Rule ATAQ 1984 1986 - Mar Sun>=1 2:00s 0 - -Rule ATAQ 1986 only - Oct Sun>=15 2:00s 1:00 - -Rule ATAQ 1987 1990 - Mar Sun>=15 2:00s 0 - -Rule ATAQ 1987 only - Oct Sun>=22 2:00s 1:00 - -Rule ATAQ 1988 1990 - Oct lastSun 2:00s 1:00 - -Rule ATAQ 1991 1999 - Oct Sun>=1 2:00s 1:00 - -Rule ATAQ 1991 2005 - Mar lastSun 2:00s 0 - -Rule ATAQ 2000 only - Aug lastSun 2:00s 1:00 - -Rule ATAQ 2001 max - Oct Sun>=1 2:00s 1:00 - -Rule ATAQ 2006 only - Apr Sun>=1 2:00s 0 - -Rule ATAQ 2007 only - Mar lastSun 2:00s 0 - -Rule ATAQ 2008 max - Apr Sun>=1 2:00s 0 - - # Argentina - year-round bases # Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05 # Esperanza, San Martin Land, -6323-05659, since 1952-12-17 @@ -122,10 +94,7 @@ # # From Steffen Thorsen (2010-03-10): -# We got these changes from the Australian Antarctic Division: -# - Macquarie Island will stay on UTC+11 for winter and therefore not -# switch back from daylight savings time when other parts of Australia do -# on 4 April. +# We got these changes from the Australian Antarctic Division: ... # # - Casey station reverted to its normal time of UTC+8 on 5 March 2010. # The change to UTC+11 is being considered as a regular summer thing but @@ -136,9 +105,6 @@ # # - Mawson station stays on UTC+5. # -# In addition to the Rule changes for Casey/Davis, it means that Macquarie -# will no longer be like Hobart and will have to have its own Zone created. -# # Background: # # http://www.timeanddate.com/news/time/antartica-time-changes-2010.html @@ -165,12 +131,6 @@ 6:00 - MAWT 2009 Oct 18 2:00 # Mawson Time 5:00 - MAWT -Zone Antarctica/Macquarie 0 - zzz 1911 - 10:00 - EST 1916 Oct 1 2:00 - 10:00 1:00 EST 1917 Feb - 10:00 AusAQ EST 1967 - 10:00 ATAQ EST 2010 Apr 4 3:00 - 11:00 - MIST # Macquarie Island Time # References: # # Casey Weather (1998-02-26) @@ -268,9 +228,10 @@ # Scott Island (never inhabited) # # year-round base -# Scott, Ross Island, since 1957-01, is like Antarctica/McMurdo. +# Scott Base, Ross Island, since 1957-01. +# See Pacific/Auckland. # -# These rules for New Zealand are stolen from the `australasia' file. +# These rules for New Zealand are stolen from the 'australasia' file. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule NZAQ 1974 only - Nov 3 2:00s 1:00 D Rule NZAQ 1975 1988 - Oct lastSun 2:00s 1:00 D @@ -308,11 +269,11 @@ # From Lee Hotz (2001-03-08): # I queried the folks at Columbia who spent the summer at Vostok and this is # what they had to say about time there: -# ``in the US Camp (East Camp) we have been on New Zealand (McMurdo) +# "in the US Camp (East Camp) we have been on New Zealand (McMurdo) # time, which is 12 hours ahead of GMT. The Russian Station Vostok was # 6 hours behind that (although only 2 miles away, i.e. 6 hours ahead # of GMT). This is a time zone I think two hours east of Moscow. The -# natural time zone is in between the two: 8 hours ahead of GMT.'' +# natural time zone is in between the two: 8 hours ahead of GMT." # # From Paul Eggert (2001-05-04): # This seems to be hopelessly confusing, so I asked Lee Hotz about it @@ -377,16 +338,8 @@ -4:00 ChileAQ CL%sT # # -# McMurdo, Ross Island, since 1955-12 -# Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/McMurdo 0 - zzz 1956 - 12:00 NZAQ NZ%sT -# -# Amundsen-Scott, South Pole, continuously occupied since 1956-11-20 -# -# From Paul Eggert (1996-09-03): -# Normally it wouldn't have a separate entry, since it's like the -# larger Antarctica/McMurdo since 1970, but it's too famous to omit. +# McMurdo Station, Ross Island, since 1955-12 +# Amundsen-Scott South Pole Station, continuously occupied since 1956-11-20 # # From Chris Carrier (1996-06-27): # Siple, the first commander of the South Pole station, @@ -408,4 +361,4 @@ # we have to go around and set them back 5 minutes or so. # Maybe if we let them run fast all of the time, we'd get to leave here sooner!! # -Link Antarctica/McMurdo Antarctica/South_Pole +# See 'australasia' for Antarctica/McMurdo. diff -Nru postgresql-8.4-8.4.17/src/timezone/data/asia postgresql-8.4-8.4.20/src/timezone/data/asia --- postgresql-8.4-8.4.17/src/timezone/data/asia 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/asia 2014-02-17 19:44:07.000000000 +0000 @@ -6,7 +6,7 @@ # go ahead and edit the file (and please send any changes to # tz@iana.org for general use in the future). -# From Paul Eggert (2013-02-21): +# From Paul Eggert (2013-08-11): # # A good source for time zone historical data outside the U.S. is # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition), @@ -44,11 +44,11 @@ # 4:00 GST Gulf* # 5:30 IST India # 7:00 ICT Indochina* -# 7:00 WIT west Indonesia -# 8:00 CIT central Indonesia +# 7:00 WIB west Indonesia (Waktu Indonesia Barat) +# 8:00 WITA central Indonesia (Waktu Indonesia Tengah) # 8:00 CST China # 9:00 CJT Central Japanese Time (1896/1937)* -# 9:00 EIT east Indonesia +# 9:00 WIT east Indonesia (Waktu Indonesia Timur) # 9:00 JST JDT Japan # 9:00 KST KDT Korea # 9:30 CST (Australian) Central Standard Time @@ -756,7 +756,7 @@ 8:00 - TLT 1942 Feb 21 23:00 # E Timor Time 9:00 - JST 1945 Sep 23 9:00 - TLT 1976 May 3 - 8:00 - CIT 2000 Sep 17 00:00 + 8:00 - WITA 2000 Sep 17 00:00 9:00 - TLT # India @@ -793,36 +793,53 @@ # (Hollandia). For now, assume all Indonesian locations other than Jayapura # switched on 1945-09-23. # +# From Paul Eggert (2013-08-11): +# Normally the tz database uses English-language abbreviations, but in +# Indonesia it's typical to use Indonesian-language abbreviations even +# when writing in English. For example, see the English-language +# summary published by the Time and Frequency Laboratory of the +# Research Center for Calibration, Instrumentation and Metrology, +# Indonesia, (2006-09-29). +# The abbreviations are: +# +# WIB - UTC+7 - Waktu Indonesia Barat (Indonesia western time) +# WITA - UTC+8 - Waktu Indonesia Tengah (Indonesia central time) +# WIT - UTC+9 - Waktu Indonesia Timur (Indonesia eastern time) +# # Zone NAME GMTOFF RULES FORMAT [UNTIL] +# Java, Sumatra Zone Asia/Jakarta 7:07:12 - LMT 1867 Aug 10 # Shanks & Pottenger say the next transition was at 1924 Jan 1 0:13, # but this must be a typo. - 7:07:12 - JMT 1923 Dec 31 23:47:12 # Jakarta + 7:07:12 - BMT 1923 Dec 31 23:47:12 # Batavia 7:20 - JAVT 1932 Nov # Java Time - 7:30 - WIT 1942 Mar 23 + 7:30 - WIB 1942 Mar 23 9:00 - JST 1945 Sep 23 - 7:30 - WIT 1948 May - 8:00 - WIT 1950 May - 7:30 - WIT 1964 - 7:00 - WIT + 7:30 - WIB 1948 May + 8:00 - WIB 1950 May + 7:30 - WIB 1964 + 7:00 - WIB +# west and central Borneo Zone Asia/Pontianak 7:17:20 - LMT 1908 May 7:17:20 - PMT 1932 Nov # Pontianak MT - 7:30 - WIT 1942 Jan 29 + 7:30 - WIB 1942 Jan 29 9:00 - JST 1945 Sep 23 - 7:30 - WIT 1948 May - 8:00 - WIT 1950 May - 7:30 - WIT 1964 - 8:00 - CIT 1988 Jan 1 - 7:00 - WIT + 7:30 - WIB 1948 May + 8:00 - WIB 1950 May + 7:30 - WIB 1964 + 8:00 - WITA 1988 Jan 1 + 7:00 - WIB +# Sulawesi, Lesser Sundas, east and south Borneo Zone Asia/Makassar 7:57:36 - LMT 1920 7:57:36 - MMT 1932 Nov # Macassar MT - 8:00 - CIT 1942 Feb 9 + 8:00 - WITA 1942 Feb 9 9:00 - JST 1945 Sep 23 - 8:00 - CIT + 8:00 - WITA +# Maluku Islands, West Papua, Papua Zone Asia/Jayapura 9:22:48 - LMT 1932 Nov - 9:00 - EIT 1944 Sep 1 + 9:00 - WIT 1944 Sep 1 9:30 - CST 1964 - 9:00 - EIT + 9:00 - WIT # Iran @@ -1212,39 +1229,21 @@ Rule Zion 2012 only - Mar Fri>=26 2:00 1:00 D Rule Zion 2012 only - Sep 23 2:00 0 S -# From Ephraim Silverberg (2012-10-18): -# Yesterday, the Interior Ministry Committee, after more than a year -# past, approved sending the proposed June 2011 changes to the Time -# Decree Law back to the Knesset for second and third (final) votes -# before the upcoming elections on Jan. 22, 2013. Hence, although the -# changes are not yet law, they are expected to be so before February 2013. -# -# As of 2013, DST starts at 02:00 on the Friday before the last Sunday in March. -# DST ends at 02:00 on the first Sunday after October 1, unless it occurs on the -# second day of the Jewish Rosh Hashana holiday, in which case DST ends a day -# later (i.e. at 02:00 the first Monday after October 2). -# [Rosh Hashana holidays are factored in until 2100.] - -# From Ephraim Silverberg (2012-11-05): -# The Knesset passed today (in second and final readings) the amendment to the -# Time Decree Law making the changes ... law. +# From Ephraim Silverberg (2013-06-27): +# On June 23, 2013, the Israeli government approved changes to the +# Time Decree Law. The next day, the changes passed the First Reading +# in the Knesset. The law is expected to pass the Second and Third +# (final) Readings by the beginning of September 2013. +# +# As of 2013, DST starts at 02:00 on the Friday before the last Sunday +# in March. DST ends at 02:00 on the last Sunday of October. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Zion 2013 max - Mar Fri>=23 2:00 1:00 D -Rule Zion 2013 2026 - Oct Sun>=2 2:00 0 S -Rule Zion 2027 only - Oct Mon>=3 2:00 0 S -Rule Zion 2028 max - Oct Sun>=2 2:00 0 S -# The following rules are commented out for now, as they break older -# versions of zic that support only signed 32-bit timestamps, i.e., -# through 2038-01-19 03:14:07 UTC. -#Rule Zion 2028 2053 - Oct Sun>=2 2:00 0 S -#Rule Zion 2054 only - Oct Mon>=3 2:00 0 S -#Rule Zion 2055 2080 - Oct Sun>=2 2:00 0 S -#Rule Zion 2081 only - Oct Mon>=3 2:00 0 S -#Rule Zion 2082 max - Oct Sun>=2 2:00 0 S +Rule Zion 2013 max - Oct lastSun 2:00 0 S # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Asia/Jerusalem 2:20:56 - LMT 1880 +Zone Asia/Jerusalem 2:20:54 - LMT 1880 2:20:40 - JMT 1918 # Jerusalem Mean Time? 2:00 Zion I%sT @@ -1381,10 +1380,22 @@ # switch back to standard time this winter, so the will stay on DST # until about the same time next year (at least). # http://www.petra.gov.jo/Public_News/Nws_NewsDetails.aspx?NewsID=88950 -# -# From Paul Eggert (2012-10-25): -# For now, assume this is just a one-year measure. If it becomes -# permanent, we should move Jordan from EET to AST effective tomorrow. + +# From Steffen Thorsen (2013-12-11): +# Jordan Times and other sources say that Jordan is going back to +# UTC+2 on 2013-12-19 at midnight: +# http://jordantimes.com/govt-decides-to-switch-back-to-wintertime +# Official, in Arabic: +# http://www.petra.gov.jo/public_news/Nws_NewsDetails.aspx?Menu_ID=&Site_Id=2&lang=1&NewsID=133230&CatID=14 +# ... Our background/permalink about it +# http://www.timeanddate.com/news/time/jordan-reverses-dst-decision.html +# ... +# http://www.petra.gov.jo/Public_News/Nws_NewsDetails.aspx?lang=2&site_id=1&NewsID=133313&Type=P +# ... says midnight for the coming one and 1:00 for the ones in the future +# (and they will use DST again next year, using the normal schedule). + +# From Paul Eggert (2013-12-11): +# As Steffen suggested, consider the past 21-month experiment to be DST. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Jordan 1973 only - Jun 6 0:00 1:00 S @@ -1410,12 +1421,14 @@ Rule Jordan 1999 only - Jul 1 0:00s 1:00 S Rule Jordan 1999 2002 - Sep lastFri 0:00s 0 - Rule Jordan 2000 2001 - Mar lastThu 0:00s 1:00 S -Rule Jordan 2002 max - Mar lastThu 24:00 1:00 S +Rule Jordan 2002 2012 - Mar lastThu 24:00 1:00 S Rule Jordan 2003 only - Oct 24 0:00s 0 - Rule Jordan 2004 only - Oct 15 0:00s 0 - Rule Jordan 2005 only - Sep lastFri 0:00s 0 - Rule Jordan 2006 2011 - Oct lastFri 0:00s 0 - -Rule Jordan 2013 max - Oct lastFri 0:00s 0 - +Rule Jordan 2013 only - Dec 20 0:00 0 - +Rule Jordan 2014 max - Mar lastThu 24:00 1:00 S +Rule Jordan 2014 max - Oct lastFri 0:00s 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Asia/Amman 2:23:44 - LMT 1931 2:00 Jordan EE%sT @@ -2291,11 +2304,29 @@ # http://www.timeanddate.com/news/time/gaza-west-bank-dst-2012.html # -# From Arthur David Olson (2012-03-27): -# The timeanddate article for 2012 says that "the end date has not yet been -# announced" and that "Last year, both...paused daylight saving time during... -# Ramadan. It is not yet known [for] 2012." -# For now, assume both switch back on the last Friday in September. XXX +# From Steffen Thorsen (2013-03-26): +# The following news sources tells that Palestine will "start daylight saving +# time from midnight on Friday, March 29, 2013" (translated). +# [These are in Arabic and are for Gaza and for Ramallah, respectively.] +# http://www.samanews.com/index.php?act=Show&id=154120 +# http://safa.ps/details/news/99844/%D8%B1%D8%A7%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-29-%D8%A7%D9%84%D8%AC%D8%A7%D8%B1%D9%8A.html + +# From Steffen Thorsen (2013-09-24): +# The Gaza and West Bank are ending DST Thursday at midnight +# (2013-09-27 00:00:00) (one hour earlier than last year...). +# This source in English, says "that winter time will go into effect +# at midnight on Thursday in the West Bank and Gaza Strip": +# http://english.wafa.ps/index.php?action=detail&id=23246 +# official source...: +# http://www.palestinecabinet.gov.ps/ar/Views/ViewDetails.aspx?pid=1252 + +# From Paul Eggert (2013-09-24): +# For future dates, guess the last Thursday in March at 24:00 through +# the first Friday on or after September 21 at 00:00. This is consistent with +# the predictions in today's editions of the following URLs, +# which are for Gaza and Hebron respectively: +# http://www.timeanddate.com/worldclock/timezone.html?n=702 +# http://www.timeanddate.com/worldclock/timezone.html?n=2364 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule EgyptAsia 1957 only - May 10 0:00 1:00 S @@ -2309,19 +2340,21 @@ Rule Palestine 1999 2003 - Oct Fri>=15 0:00 0 - Rule Palestine 2004 only - Oct 1 1:00 0 - Rule Palestine 2005 only - Oct 4 2:00 0 - -Rule Palestine 2006 2008 - Apr 1 0:00 1:00 S +Rule Palestine 2006 2007 - Apr 1 0:00 1:00 S Rule Palestine 2006 only - Sep 22 0:00 0 - Rule Palestine 2007 only - Sep Thu>=8 2:00 0 - -Rule Palestine 2008 only - Aug lastFri 0:00 0 - -Rule Palestine 2009 only - Mar lastFri 0:00 1:00 S -Rule Palestine 2009 only - Sep Fri>=1 2:00 0 - -Rule Palestine 2010 only - Mar lastSat 0:01 1:00 S +Rule Palestine 2008 2009 - Mar lastFri 0:00 1:00 S +Rule Palestine 2008 only - Sep 1 0:00 0 - +Rule Palestine 2009 only - Sep Fri>=1 1:00 0 - +Rule Palestine 2010 only - Mar 26 0:00 1:00 S Rule Palestine 2010 only - Aug 11 0:00 0 - - -# From Arthur David Olson (2011-09-20): -# 2011 transitions per http://www.timeanddate.com as of 2011-09-20. -# From Paul Eggert (2012-10-12): -# 2012 transitions per http://www.timeanddate.com as of 2012-10-12. +Rule Palestine 2011 only - Apr 1 0:01 1:00 S +Rule Palestine 2011 only - Aug 1 0:00 0 - +Rule Palestine 2011 only - Aug 30 0:00 1:00 S +Rule Palestine 2011 only - Sep 30 0:00 0 - +Rule Palestine 2012 max - Mar lastThu 24:00 1:00 S +Rule Palestine 2012 only - Sep 21 1:00 0 - +Rule Palestine 2013 max - Sep Fri>=21 0:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Asia/Gaza 2:17:52 - LMT 1900 Oct @@ -2329,26 +2362,20 @@ 2:00 EgyptAsia EE%sT 1967 Jun 5 2:00 Zion I%sT 1996 2:00 Jordan EE%sT 1999 - 2:00 Palestine EE%sT 2011 Apr 2 12:01 - 2:00 1:00 EEST 2011 Aug 1 - 2:00 - EET 2012 Mar 30 - 2:00 1:00 EEST 2012 Sep 21 1:00 - 2:00 - EET + 2:00 Palestine EE%sT 2008 Aug 29 0:00 + 2:00 - EET 2008 Sep + 2:00 Palestine EE%sT 2010 + 2:00 - EET 2010 Mar 27 0:01 + 2:00 Palestine EE%sT 2011 Aug 1 + 2:00 - EET 2012 + 2:00 Palestine EE%sT Zone Asia/Hebron 2:20:23 - LMT 1900 Oct 2:00 Zion EET 1948 May 15 2:00 EgyptAsia EE%sT 1967 Jun 5 2:00 Zion I%sT 1996 2:00 Jordan EE%sT 1999 - 2:00 Palestine EE%sT 2008 Aug - 2:00 1:00 EEST 2008 Sep - 2:00 Palestine EE%sT 2011 Apr 1 12:01 - 2:00 1:00 EEST 2011 Aug 1 - 2:00 - EET 2011 Aug 30 - 2:00 1:00 EEST 2011 Sep 30 3:00 - 2:00 - EET 2012 Mar 30 - 2:00 1:00 EEST 2012 Sep 21 1:00 - 2:00 - EET + 2:00 Palestine EE%sT # Paracel Is # no information @@ -2543,8 +2570,8 @@ Rule Syria 2007 only - Mar lastFri 0:00 1:00 S # From Jesper Norgard (2007-10-27): # The sister center ICARDA of my work CIMMYT is confirming that Syria DST will -# not take place 1.st November at 0:00 o'clock but 1.st November at 24:00 or -# rather Midnight between Thursday and Friday. This does make more sence than +# not take place 1st November at 0:00 o'clock but 1st November at 24:00 or +# rather Midnight between Thursday and Friday. This does make more sense than # having it between Wednesday and Thursday (two workdays in Syria) since the # weekend in Syria is not Saturday and Sunday, but Friday and Saturday. So now # it is implemented at midnight of the last workday before weekend... diff -Nru postgresql-8.4-8.4.17/src/timezone/data/australasia postgresql-8.4-8.4.20/src/timezone/data/australasia --- postgresql-8.4-8.4.17/src/timezone/data/australasia 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/australasia 2014-02-17 19:44:07.000000000 +0000 @@ -218,9 +218,32 @@ # no times are set # # Macquarie -# permanent occupation (scientific station) since 1948; -# sealing and penguin oil station operated 1888/1917 -# like Australia/Hobart +# Permanent occupation (scientific station) 1911-1915 and since 25 March 1948; +# sealing and penguin oil station operated Nov 1899 to Apr 1919. See the +# Tasmania Parks & Wildlife Service history of sealing at Macquarie Island +# +# . +# Guess that it was like Australia/Hobart while inhabited before 2010. +# +# From Steffen Thorsen (2010-03-10): +# We got these changes from the Australian Antarctic Division: +# - Macquarie Island will stay on UTC+11 for winter and therefore not +# switch back from daylight savings time when other parts of Australia do +# on 4 April. +# +# From Arthur David Olson (2013-05-23): +# The 1919 transition is overspecified below so pre-2013 zics +# will produce a binary file with an EST-type as the first 32-bit type; +# this is required for correct handling of times before 1916 by +# pre-2013 versions of localtime. +Zone Antarctica/Macquarie 0 - zzz 1899 Nov + 10:00 - EST 1916 Oct 1 2:00 + 10:00 1:00 EST 1917 Feb + 10:00 Aus EST 1919 Apr 1 0:00s + 0 - zzz 1948 Mar 25 + 10:00 Aus EST 1967 + 10:00 AT EST 2010 Apr 4 3:00 + 11:00 - MIST # Macquarie I Standard Time # Christmas # Zone NAME GMTOFF RULES FORMAT [UNTIL] @@ -329,16 +352,25 @@ # today confirmed that Fiji will start daylight savings at 2 am on Sunday 21st # October 2012 and end at 3 am on Sunday 20th January 2013. # http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=6702&catid=71&Itemid=155 -# -# From Paul Eggert (2012-08-31): -# For now, guess a pattern of the penultimate Sundays in October and January. + +# From the Fijian Government Media Center (2013-08-30) via David Wheeler: +# Fiji will start daylight savings on Sunday 27th October, 2013 and end at 3am +# on Sunday 19th January, 2014.... move clocks forward by one hour from 2am +# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVING-STARTS-ON-SUNDAY,-27th-OCTOBER-201.aspx +# +# From Paul Eggert (2013-09-09): +# For now, guess that Fiji springs forward the Sunday before the fourth +# Monday in October. This matches both recent practice and +# timeanddate.com's current spring-forward prediction. +# For the January 2014 transition we guessed right while timeanddate.com +# guessed wrong, so leave the fall-back prediction alone. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S Rule Fiji 1999 2000 - Feb lastSun 3:00 0 - Rule Fiji 2009 only - Nov 29 2:00 1:00 S Rule Fiji 2010 only - Mar lastSun 3:00 0 - -Rule Fiji 2010 max - Oct Sun>=18 2:00 1:00 S +Rule Fiji 2010 max - Oct Sun>=21 2:00 1:00 S Rule Fiji 2011 only - Mar Sun>=1 3:00 0 - Rule Fiji 2012 max - Jan Sun>=18 3:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] @@ -464,6 +496,7 @@ Zone Pacific/Chatham 12:13:48 - LMT 1957 Jan 1 12:45 Chatham CHA%sT +Link Pacific/Auckland Antarctica/McMurdo # Auckland Is # uninhabited; Maori and Moriori, colonial settlers, pastoralists, sealers, @@ -713,7 +746,7 @@ # 1886-1891; Baker was similar but exact dates are not known. # Inhabited by civilians 1935-1942; U.S. military bases 1943-1944; # uninhabited thereafter. -# Howland observed Hawaii Standard Time (UTC-10:30) in 1937; +# Howland observed Hawaii Standard Time (UT-10:30) in 1937; # see page 206 of Elgen M. Long and Marie K. Long, # Amelia Earhart: the Mystery Solved, Simon & Schuster (2000). # So most likely Howland and Baker observed Hawaii Time from 1935 @@ -726,8 +759,17 @@ # no information; was probably like Pacific/Kiritimati # Johnston -# Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Pacific/Johnston -10:00 - HST +# +# From Paul Eggert (2013-09-03): +# In his memoirs of June 6th to October 4, 1945 +# (2005), Herbert C. Bach writes, +# "We started our letdown to Kwajalein Atoll and landed there at 5:00 AM +# Johnston time, 1:30 AM Kwajalein time." This was in June 1945, and +# confirms that Johnston kept the same time as Honolulu in summer 1945. +# We have no better information, so for now, assume this has been true +# indefinitely into the past. +# +# See 'northamerica' for Pacific/Johnston. # Kingman # uninhabited @@ -1458,12 +1500,12 @@ # From Paul Eggert (2000-01-08): # IATA SSIM (1999-09) says DST ends 0100 local time. Go with McDow. -# From the BBC World Service (1998-10-31 11:32 UTC): +# From the BBC World Service in +# http://news.bbc.co.uk/2/hi/asia-pacific/205226.stm (1998-10-31 16:03 UTC): # The Fijiian government says the main reasons for the time change is to -# improve productivity and reduce road accidents. But correspondents say it -# also hopes the move will boost Fiji's ability to compete with other pacific -# islands in the effort to attract tourists to witness the dawning of the new -# millenium. +# improve productivity and reduce road accidents.... [T]he move is also +# intended to boost Fiji's ability to attract tourists to witness the dawning +# of the new millennium. # http://www.fiji.gov.fj/press/2000_09/2000_09_13-05.shtml (2000-09-13) # reports that Fiji has discontinued DST. @@ -1608,7 +1650,7 @@ # Shanks & Pottenger say the transition was on 1968-10-01; go with Mundell. # From Eric Ulevik (1999-05-03): -# Tonga's director of tourism, who is also secretary of the National Millenium +# Tonga's director of tourism, who is also secretary of the National Millennium # Committee, has a plan to get Tonga back in front. # He has proposed a one-off move to tropical daylight saving for Tonga from # October to March, which has won approval in principle from the Tongan diff -Nru postgresql-8.4-8.4.17/src/timezone/data/backward postgresql-8.4-8.4.20/src/timezone/data/backward --- postgresql-8.4-8.4.17/src/timezone/data/backward 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/backward 2014-02-17 19:44:07.000000000 +0000 @@ -22,15 +22,17 @@ Link America/Argentina/Mendoza America/Mendoza Link America/Rio_Branco America/Porto_Acre Link America/Argentina/Cordoba America/Rosario -Link America/St_Thomas America/Virgin +Link America/Denver America/Shiprock +Link America/Port_of_Spain America/Virgin +Link Pacific/Auckland Antarctica/South_Pole Link Asia/Ashgabat Asia/Ashkhabad +Link Asia/Kolkata Asia/Calcutta Link Asia/Chongqing Asia/Chungking Link Asia/Dhaka Asia/Dacca Link Asia/Kathmandu Asia/Katmandu -Link Asia/Kolkata Asia/Calcutta Link Asia/Macau Asia/Macao -Link Asia/Jerusalem Asia/Tel_Aviv Link Asia/Ho_Chi_Minh Asia/Saigon +Link Asia/Jerusalem Asia/Tel_Aviv Link Asia/Thimphu Asia/Thimbu Link Asia/Makassar Asia/Ujung_Pandang Link Asia/Ulaanbaatar Asia/Ulan_Bator @@ -88,10 +90,10 @@ Link Pacific/Chatham NZ-CHAT Link America/Denver Navajo Link Asia/Shanghai PRC +Link Pacific/Pohnpei Pacific/Ponape Link Pacific/Pago_Pago Pacific/Samoa -Link Pacific/Chuuk Pacific/Yap Link Pacific/Chuuk Pacific/Truk -Link Pacific/Pohnpei Pacific/Ponape +Link Pacific/Chuuk Pacific/Yap Link Europe/Warsaw Poland Link Europe/Lisbon Portugal Link Asia/Taipei ROC diff -Nru postgresql-8.4-8.4.17/src/timezone/data/etcetera postgresql-8.4-8.4.20/src/timezone/data/etcetera --- postgresql-8.4-8.4.17/src/timezone/data/etcetera 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/etcetera 2014-02-17 19:44:07.000000000 +0000 @@ -31,9 +31,9 @@ # even though this is the opposite of what many people expect. # POSIX has positive signs west of Greenwich, but many people expect # positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses -# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC +# the abbreviation "GMT+4" and corresponds to 4 hours behind UT # (i.e. west of Greenwich) even though many people would expect it to -# mean 4 hours ahead of UTC (i.e. east of Greenwich). +# mean 4 hours ahead of UT (i.e. east of Greenwich). # # In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for # TZ='+4'; if you want time zone abbreviations conforming to diff -Nru postgresql-8.4-8.4.17/src/timezone/data/europe postgresql-8.4-8.4.20/src/timezone/data/europe --- postgresql-8.4-8.4.17/src/timezone/data/europe 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/europe 2014-02-17 19:44:07.000000000 +0000 @@ -42,7 +42,7 @@ # (1998-09-21, in Portuguese) # -# I invented the abbreviations marked `*' in the following table; +# I invented the abbreviations marked '*' in the following table; # the rest are from earlier versions of this file, or from other sources. # Corrections are welcome! # std dst 2dst @@ -96,7 +96,7 @@ # and a sketch map showing some of the sightlines involved. One paragraph # of the text said: # -# `An old stone obelisk marking a forgotten terrestrial meridian stands +# 'An old stone obelisk marking a forgotten terrestrial meridian stands # beside the river at Kew. In the 18th century, before time and longitude # was standardised by the Royal Observatory in Greenwich, scholars observed # this stone and the movement of stars from Kew Observatory nearby. They @@ -140,7 +140,7 @@ # From Paul Eggert (2003-09-27): # Summer Time was first seriously proposed by William Willett (1857-1915), # a London builder and member of the Royal Astronomical Society -# who circulated a pamphlet ``The Waste of Daylight'' (1907) +# who circulated a pamphlet "The Waste of Daylight" (1907) # that proposed advancing clocks 20 minutes on each of four Sundays in April, # and retarding them by the same amount on four Sundays in September. # A bill was drafted in 1909 and introduced in Parliament several times, @@ -165,10 +165,10 @@ # # From Paul Eggert (1996-09-03): -# The OED Supplement says that the English originally said ``Daylight Saving'' +# The OED Supplement says that the English originally said "Daylight Saving" # when they were debating the adoption of DST in 1908; but by 1916 this # term appears only in quotes taken from DST's opponents, whereas the -# proponents (who eventually won the argument) are quoted as using ``Summer''. +# proponents (who eventually won the argument) are quoted as using "Summer". # From Arthur David Olson (1989-01-19): # @@ -208,9 +208,9 @@ # which could not be said to run counter to any official description. # From Paul Eggert (2000-10-02): -# Howse writes (p 157) `DBST' too, but `BDST' seems to have been common +# Howse writes (p 157) 'DBST' too, but 'BDST' seems to have been common # and follows the more usual convention of putting the location name first, -# so we use `BDST'. +# so we use 'BDST'. # Peter Ilieve (1998-04-19) described at length # the history of summer time legislation in the United Kingdom. @@ -431,6 +431,8 @@ Rule GB-Eire 1990 1995 - Oct Sun>=22 1:00u 0 GMT # Summer Time Order 1997 (S.I. 1997/2982) # See EU for rules starting in 1996. +# +# Use Europe/London for Jersey, Guernsey, and the Isle of Man. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/London -0:01:15 - LMT 1847 Dec 1 0:00s @@ -523,7 +525,7 @@ # It seems that Paris, Monaco, Rule France, Rule Belgium all agree on # 2:00 standard time, e.g. 3:00 local time. However there are no # countries that use C-Eur rules in September 1945, so the only items -# affected are apparently these ficticious zones that translates acronyms +# affected are apparently these fictitious zones that translate acronyms # CET and MET: # # Zone CET 1:00 C-Eur CE%sT @@ -797,7 +799,7 @@ 1:00 EU CE%sT # Bosnia and Herzegovina -# see Serbia +# See Europe/Belgrade. # Bulgaria # @@ -825,10 +827,10 @@ 2:00 EU EE%sT # Croatia -# see Serbia +# See Europe/Belgrade. # Cyprus -# Please see the `asia' file for Asia/Nicosia. +# Please see the 'asia' file for Asia/Nicosia. # Czech Republic # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -845,6 +847,7 @@ 1:00 C-Eur CE%sT 1944 Sep 17 2:00s 1:00 Czech CE%sT 1979 1:00 EU CE%sT +# Use Europe/Prague also for Slovakia. # Denmark, Faroe Islands, and Greenland @@ -1008,12 +1011,12 @@ # From Peter Ilieve (1996-10-28): # [IATA SSIM (1992/1996) claims that the Baltic republics switch at 01:00s, # but a relative confirms that Estonia still switches at 02:00s, writing:] -# ``I do not [know] exactly but there are some little different +# "I do not [know] exactly but there are some little different # (confusing) rules for International Air and Railway Transport Schedules # conversion in Sunday connected with end of summer time in Estonia.... # A discussion is running about the summer time efficiency and effect on # human physiology. It seems that Estonia maybe will not change to -# summer time next spring.'' +# summer time next spring." # From Peter Ilieve (1998-11-04), heavily edited: # @@ -1068,7 +1071,7 @@ # Well, here in Helsinki we're just changing from summer time to regular one, # and it's supposed to change at 4am... -# From Janne Snabb (2010-0715): +# From Janne Snabb (2010-07-15): # # I noticed that the Finland data is not accurate for years 1981 and 1982. # During these two first trial years the DST adjustment was made one hour @@ -1125,7 +1128,7 @@ # -# Shank & Pottenger seem to use `24:00' ambiguously; resolve it with Whitman. +# Shank & Pottenger seem to use '24:00' ambiguously; resolve it with Whitman. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule France 1916 only - Jun 14 23:00s 1:00 S Rule France 1916 1919 - Oct Sun>=1 23:00s 0 - @@ -1415,7 +1418,7 @@ # # Day-light Saving Time in Italy (2006-02-03) # -# (`FP' below), taken from an Italian National Electrotechnical Institute +# ('FP' below), taken from an Italian National Electrotechnical Institute # publication. When the three sources disagree, guess who's right, as follows: # # year FP Shanks&P. (S) Whitman (W) Go with: @@ -1561,10 +1564,22 @@ 2:00 EU EE%sT # Liechtenstein -# Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Europe/Vaduz 0:38:04 - LMT 1894 Jun - 1:00 - CET 1981 - 1:00 EU CE%sT + +# From Paul Eggert (2013-09-09): +# Shanks & Pottenger say Vaduz is like Zurich. + +# From Alois Treindl (2013-09-18): +# http://www.eliechtensteinensia.li/LIJ/1978/1938-1978/1941.pdf +# ... confirms on p. 6 that Liechtenstein followed Switzerland in 1941 and 1942. +# I ... translate only the last two paragraphs: +# ... during second world war, in the years 1941 and 1942, Liechtenstein +# introduced daylight saving time, adapting to Switzerland. From 1943 on +# central European time was in force throughout the year. +# From a report of the duke's government to the high council, +# regarding the introduction of a time law, of 31 May 1977. + +Link Europe/Zurich Europe/Vaduz + # Lithuania @@ -1652,7 +1667,7 @@ 1:00 EU CE%sT # Macedonia -# see Serbia +# See Europe/Belgrade. # Malta # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -1745,7 +1760,7 @@ 1:00 EU CE%sT # Montenegro -# see Serbia +# See Europe/Belgrade. # Netherlands @@ -1860,7 +1875,7 @@ # before 1895, and therefore probably changed the local time somewhere # between 1895 and 1925 (inclusive). -# From Paul Eggert (2001-05-01): +# From Paul Eggert (2013-09-04): # # Actually, Jan Mayen was never occupied by Germany during World War II, # so it must have diverged from Oslo time during the war, as Oslo was @@ -1871,7 +1886,7 @@ # 1941 with a small Norwegian garrison and continued operations despite # frequent air ttacks from Germans. In 1943 the Americans established a # radiolocating station on the island, called "Atlantic City". Possibly -# the UTC offset changed during the war, but I think it unlikely that +# the UT offset changed during the war, but I think it unlikely that # Jan Mayen used German daylight-saving rules. # # Svalbard is more complicated, as it was raided in August 1941 by an @@ -1884,9 +1899,8 @@ # the German armed forces at the Svalbard weather station code-named # Haudegen did not surrender to the Allies until September 1945. # -# All these events predate our cutoff date of 1970. Unless we can -# come up with more definitive info about the timekeeping during the -# war years it's probably best just do...the following for now: +# All these events predate our cutoff date of 1970, so use Europe/Oslo +# for these regions. Link Europe/Oslo Arctic/Longyearbyen # Poland @@ -2144,7 +2158,7 @@ # so we (Novosibirsk) simply did not switch. # # From Andrey A. Chernov (1996-10-04): -# `MSK' and `MSD' were born and used initially on Moscow computers with +# 'MSK' and 'MSD' were born and used initially on Moscow computers with # UNIX-like OSes by several developer groups (e.g. Demos group, Kiae group).... # The next step was the UUCP network, the Relcom predecessor # (used mainly for mail), and MSK/MSD was actively used there. @@ -2443,6 +2457,9 @@ 11:00 Russia ANA%sT 2011 Mar 27 2:00s 12:00 - ANAT +# San Marino +# See Europe/Rome. + # Serbia # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Belgrade 1:22:00 - LMT 1884 @@ -2465,7 +2482,7 @@ Link Europe/Prague Europe/Bratislava # Slovenia -# see Serbia +# See Europe/Belgrade. # Spain # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -2599,7 +2616,7 @@ # and their performance improved enormously. Communities began to keep # mean time in preference to apparent time -- Geneva from 1780 .... # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S -# From Whitman (who writes ``Midnight?''): +# From Whitman (who writes "Midnight?"): # Rule Swiss 1940 only - Nov 2 0:00 1:00 S # Rule Swiss 1940 only - Dec 31 0:00 0 - # From Shanks & Pottenger: @@ -2644,23 +2661,53 @@ # The 1940 rules must be deleted. # # One further detail for Switzerland, which is probably out of scope for -# most users of tzdata: -# The zone file -# Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12 -# 0:29:44 - BMT 1894 Jun #Bern Mean Time -# 1:00 Swiss CE%sT 1981 -# 1:00 EU CE%sT +# most users of tzdata: The [Europe/Zurich zone] ... # describes all of Switzerland correctly, with the exception of # the Cantone Geneve (Geneva, Genf). Between 1848 and 1894 Geneve did not # follow Bern Mean Time but kept its own local mean time. # To represent this, an extra zone would be needed. +# +# From Alois Treindl (2013-09-11): +# The Federal regulations say +# http://www.admin.ch/opc/de/classified-compilation/20071096/index.html +# ... the meridian for Bern mean time ... is 7 degrees 26'22.50". +# Expressed in time, it is 0h29m45.5s. + +# From Pierre-Yves Berger (2013-09-11): +# the "Circulaire du conseil federal" (December 11 1893) +# ... +# clearly states that the [1894-06-01] change should be done at midnight +# but if no one is present after 11 at night, could be postponed until one +# hour before the beginning of service. + +# From Paul Eggert (2013-09-11): +# Round BMT to the nearest even second, 0:29:46. +# +# We can find no reliable source for Shanks's assertion that all of Switzerland +# except Geneva switched to Bern Mean Time at 00:00 on 1848-09-12. This book: +# +# Jakob Messerli. Gleichmassig, punktlich, schnell: Zeiteinteilung und +# Zeitgebrauch in der Schweiz im 19. Jahrhundert. Chronos, Zurich 1995, +# ISBN 3-905311-68-2, OCLC 717570797. +# +# suggests that the transition was more gradual, and that the Swiss did not +# agree about civil time during the transition. The timekeeping it gives the +# most detail for is postal and telegraph time: here, federal legislation (the +# "Bundesgesetz uber die Erstellung von elektrischen Telegraphen") passed on +# 1851-11-23, and an official implementation notice was published 1853-07-16 +# (Bundesblatt 1853, Bd. II, S. 859). On p 72 Messerli writes that in +# practice since July 1853 Bernese time was used in "all postal and telegraph +# offices in Switzerland from Geneva to St. Gallen and Basel to Chiasso" +# (Google translation). For now, model this transition as occurring on +# 1853-07-16, though it probably occurred at some other date in Zurich, and +# legal civil time probably changed at still some other transition date. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Swiss 1941 1942 - May Mon>=1 1:00 1:00 S Rule Swiss 1941 1942 - Oct Mon>=1 2:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12 - 0:29:44 - BMT 1894 Jun # Bern Mean Time +Zone Europe/Zurich 0:34:08 - LMT 1853 Jul 16 # See above comment. + 0:29:46 - BMT 1894 Jun # Bern Mean Time 1:00 Swiss CE%sT 1981 1:00 EU CE%sT @@ -2779,9 +2826,9 @@ # Ukraine # -# From Igor Karpov, who works for the Ukranian Ministry of Justice, +# From Igor Karpov, who works for the Ukrainian Ministry of Justice, # via Garrett Wollman (2003-01-27): -# BTW, I've found the official document on this matter. It's goverment +# BTW, I've found the official document on this matter. It's government # regulations number 509, May 13, 1996. In my poor translation it says: # "Time in Ukraine is set to second timezone (Kiev time). Each last Sunday # of March at 3am the time is changing to 4am and each last Sunday of @@ -2815,7 +2862,7 @@ # time this year after all. # # From Udo Schwedt (2011-10-18): -# As far as I understand, the recent change to the Ukranian time zone +# As far as I understand, the recent change to the Ukrainian time zone # (Europe/Kiev) to introduce permanent daylight saving time (similar # to Russia) was reverted today: # @@ -2884,7 +2931,7 @@ # From Paul Eggert (2006-03-22): # The _Economist_ (1994-05-28, p 45) reports that central Crimea switched # from Kiev to Moscow time sometime after the January 1994 elections. -# Shanks (1999) says ``date of change uncertain'', but implies that it happened +# Shanks (1999) says "date of change uncertain", but implies that it happened # sometime between the 1994 DST switches. Shanks & Pottenger simply say # 1994-09-25 03:00, but that can't be right. For now, guess it # changed in May. @@ -2898,6 +2945,9 @@ 3:00 - MSK 1997 Mar lastSun 1:00u 2:00 EU EE%sT +# Vatican City +# See Europe/Rome. + ############################################################################### # One source shows that Bulgaria, Cyprus, Finland, and Greece observe DST from diff -Nru postgresql-8.4-8.4.17/src/timezone/data/iso3166.tab postgresql-8.4-8.4.20/src/timezone/data/iso3166.tab --- postgresql-8.4-8.4.17/src/timezone/data/iso3166.tab 2013-04-01 18:27:59.000000000 +0000 +++ postgresql-8.4-8.4.20/src/timezone/data/iso3166.tab 2014-02-17 19:44:07.000000000 +0000 @@ -1,17 +1,15 @@ -#
+# ISO 3166 alpha-2 country codes
+#
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
-# ISO 3166 alpha-2 country codes
 #
-# From Paul Eggert (2006-09-27):
+# From Paul Eggert (2013-05-27):
 #
 # This file contains a table with the following columns:
 # 1.  ISO 3166-1 alpha-2 country code, current as of
-#     ISO 3166-1 Newsletter VI-1 (2007-09-21).  See:
-#     
-#     ISO 3166 Maintenance agency (ISO 3166/MA)
-#     .
-# 2.  The usual English name for the country,
+#     ISO 3166-1 Newsletter VI-15 (2013-05-10).  See: Updates on ISO 3166
+#   http://www.iso.org/iso/home/standards/country_codes/updates_on_iso_3166.htm
+# 2.  The usual English name for the coded region,
 #     chosen so that alphabetic sorting of subsets produces helpful lists.
 #     This is not the same as the English name in the ISO 3166 tables.
 #
@@ -20,11 +18,12 @@
 #
 # Lines beginning with `#' are comments.
 #
-# From Arthur David Olson (2011-08-17):
-# Resynchronized today with the ISO 3166 site (adding SS for South Sudan).
+# This table is intended as an aid for users, to help them select time
+# zone data appropriate for their practical needs.  It is not intended
+# to take or endorse any position on legal or territorial claims.
 #
 #country-
-#code	country name
+#code	name of country, territory, area, or subdivision
 AD	Andorra
 AE	United Arab Emirates
 AF	Afghanistan
@@ -54,7 +53,7 @@
 BM	Bermuda
 BN	Brunei
 BO	Bolivia
-BQ	Bonaire Sint Eustatius & Saba
+BQ	Caribbean Netherlands
 BR	Brazil
 BS	Bahamas
 BT	Bhutan
@@ -235,7 +234,7 @@
 SS	South Sudan
 ST	Sao Tome & Principe
 SV	El Salvador
-SX	Sint Maarten
+SX	St Maarten (Dutch part)
 SY	Syria
 SZ	Swaziland
 TC	Turks & Caicos Is
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/leapseconds postgresql-8.4-8.4.20/src/timezone/data/leapseconds
--- postgresql-8.4-8.4.17/src/timezone/data/leapseconds	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/leapseconds	2014-02-17 19:44:07.000000000 +0000
@@ -1,14 +1,20 @@
-# 
-# This file is in the public domain, so clarified as of
-# 2009-05-17 by Arthur David Olson.
-
 # Allowance for leapseconds added to each timezone file.
 
+# This file is in the public domain.
+
+# This file is generated automatically from the data in the public-domain
+# leap-seconds.list file available from most NIST time servers.
+# If the URL  does not work,
+# you should be able to pick up leap-seconds.list from a secondary NIST server.
+# For more about leap-seconds.list, please see
+# The NTP Timescale and Leap Seconds
+# .
+
 # The International Earth Rotation Service periodically uses leap seconds
 # to keep UTC to within 0.9 s of UT1
 # (which measures the true angular orientation of the earth in space); see
 # Terry J Quinn, The BIPM and the accurate measure of time,
-# Proc IEEE 79, 7 (July 1991), 894-905.
+# Proc IEEE 79, 7 (July 1991), 894-905 .
 # There were no leap seconds before 1972, because the official mechanism
 # accounting for the discrepancy between atomic time and the earth's rotation
 # did not exist until the early 1970s.
@@ -19,8 +25,8 @@
 # or
 #	Leap	YEAR	MON	DAY	23:59:59	-	R/S
 
-# If the leapsecond is Rolling (R) the given time is local time
-# If the leapsecond is Stationary (S) the given time is UTC
+# If the leapsecond is Rolling (R) the given time is local time.
+# If the leapsecond is Stationary (S) the given time is UTC.
 
 # Leap	YEAR	MONTH	DAY	HH:MM:SS	CORR	R/S
 Leap	1972	Jun	30	23:59:60	+	S
@@ -48,53 +54,3 @@
 Leap	2005	Dec	31	23:59:60	+	S
 Leap	2008	Dec	31	23:59:60	+	S
 Leap	2012	Jun	30	23:59:60	+	S
-
-# INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
-#
-# SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
-#
-#
-# SERVICE DE LA ROTATION TERRESTRE
-# OBSERVATOIRE DE PARIS
-# 61, Av. de l'Observatoire 75014 PARIS (France)
-# Tel.      : 33 (0) 1 40 51 22 26
-# FAX       : 33 (0) 1 40 51 22 91
-# e-mail    : (E-Mail Removed)
-# http://hpiers.obspm.fr/eop-pc
-#
-# Paris, 5 January 2012
-#
-#
-# Bulletin C 43
-#
-# To authorities responsible
-# for the measurement and
-# distribution of time
-#
-#
-# UTC TIME STEP
-# on the 1st of July 2012
-#
-#
-# A positive leap second will be introduced at the end of June 2012.
-# The sequence of dates of the UTC second markers will be:
-#
-#                          2012 June 30,     23h 59m 59s
-#                          2012 June 30,     23h 59m 60s
-#                          2012 July  1,      0h  0m  0s
-#
-# The difference between UTC and the International Atomic Time TAI is:
-#
-# from 2009 January 1, 0h UTC, to 2012 July 1  0h UTC  : UTC-TAI = - 34s
-# from 2012 July 1,    0h UTC, until further notice    : UTC-TAI = - 35s
-#
-# Leap seconds can be introduced in UTC at the end of the months of December
-# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every
-# six months, either to announce a time step in UTC or to confirm that there
-# will be no time step at the next possible date.
-#
-#
-# Daniel GAMBIS
-# Head
-# Earth Orientation Center of IERS
-# Observatoire de Paris, France
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/northamerica postgresql-8.4-8.4.20/src/timezone/data/northamerica
--- postgresql-8.4-8.4.17/src/timezone/data/northamerica	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/northamerica	2014-02-17 19:44:07.000000000 +0000
@@ -20,7 +20,7 @@
 # Howse writes (pp 121-125) that time zones were invented by
 # Professor Charles Ferdinand Dowd (1825-1904),
 # Principal of Temple Grove Ladies' Seminary (Saratoga Springs, NY).
-# His pamphlet ``A System of National Time for Railroads'' (1870)
+# His pamphlet "A System of National Time for Railroads" (1870)
 # was the result of his proposals at the Convention of Railroad Trunk Lines
 # in New York City (1869-10).  His 1870 proposal was based on Washington, DC,
 # but in 1872-05 he moved the proposed origin to Greenwich.
@@ -40,8 +40,8 @@
 
 # From Paul Eggert (2001-03-06):
 # Daylight Saving Time was first suggested as a joke by Benjamin Franklin
-# in his whimsical essay ``An Economical Project for Diminishing the Cost
-# of Light'' published in the Journal de Paris (1784-04-26).
+# in his whimsical essay "An Economical Project for Diminishing the Cost
+# of Light" published in the Journal de Paris (1784-04-26).
 # Not everyone is happy with the results:
 #
 #	I don't really care how time is reckoned so long as there is some
@@ -167,8 +167,8 @@
 #    of the Aleutian islands.   No DST.
 
 # From Paul Eggert (1995-12-19):
-# The tables below use `NST', not `NT', for Nome Standard Time.
-# I invented `CAWT' for Central Alaska War Time.
+# The tables below use 'NST', not 'NT', for Nome Standard Time.
+# I invented 'CAWT' for Central Alaska War Time.
 
 # From U. S. Naval Observatory (1989-01-19):
 # USA  EASTERN       5 H  BEHIND UTC    NEW YORK, WASHINGTON
@@ -237,9 +237,9 @@
 # H.R. 6, Energy Policy Act of 2005, SEC. 110. DAYLIGHT SAVINGS.
 #   (a) Amendment- Section 3(a) of the Uniform Time Act of 1966 (15
 #   U.S.C. 260a(a)) is amended--
-#     (1) by striking `first Sunday of April' and inserting `second
+#     (1) by striking 'first Sunday of April' and inserting 'second
 #     Sunday of March'; and
-#     (2) by striking `last Sunday of October' and inserting `first
+#     (2) by striking 'last Sunday of October' and inserting 'first
 #     Sunday of November'.
 #   (b) Effective Date- Subsection (a) shall take effect 1 year after the
 #   date of enactment of this Act or March 1, 2007, whichever is later.
@@ -600,6 +600,8 @@
 			-10:30	-	HST	1947 Jun  8 2:00 #Schmitt&Cox+2
 			-10:00	-	HST
 
+Link Pacific/Honolulu Pacific/Johnston
+
 # Now we turn to US areas that have diverged from the consensus since 1970.
 
 # Arizona mostly uses MST.
@@ -636,8 +638,9 @@
 # Navajo Nation participates in the Daylight Saving Time policy, due to its
 # large size and location in three states."  (The "only" means that other
 # tribal nations don't use DST.)
-
-Link America/Denver America/Shiprock
+#
+# From Paul Eggert (2013-08-26):
+# See America/Denver for a zone appropriate for the Navajo Nation.
 
 # Southern Idaho (Ada, Adams, Bannock, Bear Lake, Bingham, Blaine,
 # Boise, Bonneville, Butte, Camas, Canyon, Caribou, Cassia, Clark,
@@ -677,13 +680,13 @@
 #   and Switzerland counties have their own time zone histories as noted below.
 #
 # Shanks partitioned Indiana into 345 regions, each with its own time history,
-# and wrote ``Even newspaper reports present contradictory information.''
+# and wrote "Even newspaper reports present contradictory information."
 # Those Hoosiers!  Such a flighty and changeable people!
 # Fortunately, most of the complexity occurred before our cutoff date of 1970.
 #
 # Other than Indianapolis, the Indiana place names are so nondescript
-# that they would be ambiguous if we left them at the `America' level.
-# So we reluctantly put them all in a subdirectory `America/Indiana'.
+# that they would be ambiguous if we left them at the 'America' level.
+# So we reluctantly put them all in a subdirectory 'America/Indiana'.
 
 # From Paul Eggert (2005-08-16):
 # http://www.mccsc.edu/time.html says that Indiana will use DST starting 2006.
@@ -947,8 +950,8 @@
 # This story is too entertaining to be false, so go with Howse over Shanks.
 #
 # From Paul Eggert (2001-03-06):
-# Garland (1927) writes ``Cleveland and Detroit advanced their clocks
-# one hour in 1914.''  This change is not in Shanks.  We have no more
+# Garland (1927) writes "Cleveland and Detroit advanced their clocks
+# one hour in 1914."  This change is not in Shanks.  We have no more
 # info, so omit this for now.
 #
 # Most of Michigan observed DST from 1973 on, but was a bit late in 1975.
@@ -988,7 +991,7 @@
 # occupied 1857/1900 by the Navassa Phosphate Co
 # US lighthouse 1917/1996-09
 # currently uninhabited
-# see Mark Fineman, ``An Isle Rich in Guano and Discord'',
+# see Mark Fineman, "An Isle Rich in Guano and Discord",
 # _Los Angeles Times_ (1998-11-10), A1, A10; it cites
 # Jimmy Skaggs, _The Great Guano Rush_ (1994).
 
@@ -1022,7 +1025,7 @@
 #	Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
 #	.
 #
-# See the `europe' file for Greenland.
+# See the 'europe' file for Greenland.
 
 # Canada
 
@@ -1223,7 +1226,7 @@
 
 # most of east Labrador
 
-# The name `Happy Valley-Goose Bay' is too long; use `Goose Bay'.
+# The name 'Happy Valley-Goose Bay' is too long; use 'Goose Bay'.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Goose_Bay	-4:01:40 -	LMT	1884 # Happy Valley-Goose Bay
 			-3:30:52 -	NST	1918
@@ -1340,25 +1343,27 @@
 
 # Quebec
 
-# From Paul Eggert (2006-07-09):
-# Shanks & Pottenger write that since 1970 most of Quebec has been
-# like Montreal.
+# From Paul Eggert (2013-08-30):
+# Since 1970 most of Quebec has been like Toronto.
+# However, because earlier versions of the tz database mistakenly relied on data
+# from Shanks & Pottenger saying that Quebec differed from Ontario after 1970,
+# a separate entry was created for most of Quebec.  We're loath to lose
+# its pre-1970 info, even though the tz database is normally limited to
+# zones that differ after 1970, so keep this otherwise out-of-scope entry.
 
-# From Paul Eggert (2006-06-27):
 # Matthews and Vincent (1998) also write that Quebec east of the -63
 # meridian is supposed to observe AST, but residents as far east as
 # Natashquan use EST/EDT, and residents east of Natashquan use AST.
-# In "Official time in Quebec" the Quebec department of justice writes in
-# http://www.justice.gouv.qc.ca/english/publications/generale/temps-regl-1-a.htm
-# that "The residents of the Municipality of the
-# Cote-Nord-du-Golfe-Saint-Laurent and the municipalities of Saint-Augustin,
-# Bonne-Esperance and Blanc-Sablon apply the Official Time Act as it is
-# written and use Atlantic standard time all year round. The same applies to
-# the residents of the Native facilities along the lower North Shore."
-# 
+# The Quebec department of justice writes in
+# "The situation in Minganie and Basse-Cote-Nord"
+# http://www.justice.gouv.qc.ca/english/publications/generale/temps-minganie-a.htm
+# that the coastal strip from just east of Natashquan to Blanc-Sablon
+# observes Atlantic standard time all year round.
+# http://www.assnat.qc.ca/Media/Process.aspx?MediaId=ANQ.Vigie.Bll.DocumentGenerique_8845en
 # says this common practice was codified into law as of 2007.
 # For lack of better info, guess this practice began around 1970, contra to
 # Shanks & Pottenger who have this region observing AST/ADT.
+# for post-1970 data America/Puerto_Rico.
 
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Mont	1917	only	-	Mar	25	2:00	1:00	D
@@ -1402,7 +1407,6 @@
 			-5:00	Mont	E%sT	1974
 			-5:00	Canada	E%sT
 
-
 # Ontario
 
 # From Paul Eggert (2006-07-09):
@@ -1621,7 +1625,7 @@
 			-6:00	-	CST	1910
 			-5:00	-	EST	1942
 			-5:00	Canada	E%sT	1970
-			-5:00	Mont	E%sT	1973
+			-5:00	Toronto	E%sT	1973
 			-5:00	-	EST	1974
 			-5:00	Canada	E%sT
 Zone America/Nipigon	-5:53:04 -	LMT	1895
@@ -2208,7 +2212,7 @@
 # From Paul Eggert (1996-06-12):
 # For an English translation of the decree, see
 # 
-# ``Diario Oficial: Time Zone Changeover'' (1996-01-04).
+# "Diario Oficial: Time Zone Changeover" (1996-01-04).
 # 
 
 # From Rives McDow (1998-10-08):
@@ -2545,9 +2549,7 @@
 ###############################################################################
 
 # Anguilla
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/Anguilla	-4:12:16 -	LMT	1912 Mar 2
-			-4:00	-	AST
+# See 'southamerica'.
 
 # Antigua and Barbuda
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
@@ -2616,13 +2618,13 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone Atlantic/Bermuda	-4:19:18 -	LMT	1930 Jan  1 2:00    # Hamilton
 			-4:00	-	AST	1974 Apr 28 2:00
-			-4:00	Bahamas	A%sT	1976
+			-4:00	Canada	A%sT	1976
 			-4:00	US	A%sT
 
 # Cayman Is
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	America/Cayman	-5:25:32 -	LMT	1890		# Georgetown
-			-5:07:12 -	KMT	1912 Feb    # Kingston Mean Time
+			-5:07:11 -	KMT	1912 Feb    # Kingston Mean Time
 			-5:00	-	EST
 
 # Costa Rica
@@ -2637,7 +2639,7 @@
 # go with Shanks & Pottenger.
 Rule	CR	1991	only	-	Jul	 1	0:00	0	S
 Rule	CR	1992	only	-	Mar	15	0:00	0	S
-# There are too many San Joses elsewhere, so we'll use `Costa Rica'.
+# There are too many San Joses elsewhere, so we'll use 'Costa Rica'.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Costa_Rica	-5:36:13 -	LMT	1890		# San Jose
 			-5:36:13 -	SJMT	1921 Jan 15 # San Jose Mean Time
@@ -2663,6 +2665,11 @@
 # to DST--and one more hour on 1999-04-04--when the announcers will have
 # returned to Baltimore, which switches on that date.)
 
+# From Steffen Thorsen (2013-11-11):
+# DST start in Cuba in 2004 ... does not follow the same rules as the
+# years before.  The correct date should be Sunday 2004-03-28 00:00 ...
+# https://web.archive.org/web/20040402060750/http://www.granma.cu/espanol/2004/marzo/sab27/reloj.html
+
 # From Evert van der Veer via Steffen Thorsen (2004-10-28):
 # Cuba is not going back to standard time this year.
 # From Paul Eggert (2006-03-22):
@@ -2852,7 +2859,8 @@
 Rule	Cuba	1997	only	-	Oct	12	0:00s	0	S
 Rule	Cuba	1998	1999	-	Mar	lastSun	0:00s	1:00	D
 Rule	Cuba	1998	2003	-	Oct	lastSun	0:00s	0	S
-Rule	Cuba	2000	2004	-	Apr	Sun>=1	0:00s	1:00	D
+Rule	Cuba	2000	2003	-	Apr	Sun>=1	0:00s	1:00	D
+Rule	Cuba	2004	only	-	Mar	lastSun	0:00s	1:00	D
 Rule	Cuba	2006	2010	-	Oct	lastSun	0:00s	0	S
 Rule	Cuba	2007	only	-	Mar	Sun>=8	0:00s	1:00	D
 Rule	Cuba	2008	only	-	Mar	Sun>=15	0:00s	1:00	D
@@ -2869,9 +2877,7 @@
 			-5:00	Cuba	C%sT
 
 # Dominica
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/Dominica	-4:05:36 -	LMT	1911 Jul 1 0:01		# Roseau
-			-4:00	-	AST
+# See 'southamerica'.
 
 # Dominican Republic
 
@@ -2920,18 +2926,10 @@
 			-6:00	Salv	C%sT
 
 # Grenada
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	America/Grenada	-4:07:00 -	LMT	1911 Jul	# St George's
-			-4:00	-	AST
-
 # Guadeloupe
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/Guadeloupe	-4:06:08 -	LMT	1911 Jun 8	# Pointe a Pitre
-			-4:00	-	AST
 # St Barthelemy
-Link America/Guadeloupe	America/St_Barthelemy
 # St Martin (French part)
-Link America/Guadeloupe	America/Marigot
+# See 'southamerica'.
 
 # Guatemala
 #
@@ -3074,17 +3072,12 @@
 # Great Swan I ceded by US to Honduras in 1972
 
 # Jamaica
-
-# From Bob Devine (1988-01-28):
-# Follows US rules.
-
-# From U. S. Naval Observatory (1989-01-19):
-# JAMAICA             5 H  BEHIND UTC
-
-# From Shanks & Pottenger:
+# Shanks & Pottenger give -5:07:12, but Milne records -5:07:10.41 from an
+# unspecified official document, and says "This time is used throughout the
+# island".  Go with Milne.  Round to the nearest second as required by zic.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	America/Jamaica	-5:07:12 -	LMT	1890		# Kingston
-			-5:07:12 -	KMT	1912 Feb    # Kingston Mean Time
+Zone	America/Jamaica	-5:07:11 -	LMT	1890		# Kingston
+			-5:07:11 -	KMT	1912 Feb    # Kingston Mean Time
 			-5:00	-	EST	1974 Apr 28 2:00
 			-5:00	US	E%sT	1984
 			-5:00	-	EST
@@ -3098,12 +3091,7 @@
 			-4:00	-	AST
 
 # Montserrat
-# From Paul Eggert (2006-03-22):
-# In 1995 volcanic eruptions forced evacuation of Plymouth, the capital.
-# world.gazetteer.com says Cork Hill is the most populous location now.
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/Montserrat	-4:08:52 -	LMT	1911 Jul 1 0:01   # Cork Hill
-			-4:00	-	AST
+# See 'southamerica'.
 
 # Nicaragua
 #
@@ -3177,7 +3165,7 @@
 			-5:00	-	EST
 
 # Puerto Rico
-# There are too many San Juans elsewhere, so we'll use `Puerto_Rico'.
+# There are too many San Juans elsewhere, so we'll use 'Puerto_Rico'.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Puerto_Rico -4:24:25 -	LMT	1899 Mar 28 12:00    # San Juan
 			-4:00	-	AST	1942 May  3
@@ -3185,18 +3173,11 @@
 			-4:00	-	AST
 
 # St Kitts-Nevis
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/St_Kitts	-4:10:52 -	LMT	1912 Mar 2	# Basseterre
-			-4:00	-	AST
-
 # St Lucia
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/St_Lucia	-4:04:00 -	LMT	1890		# Castries
-			-4:04:00 -	CMT	1912	    # Castries Mean Time
-			-4:00	-	AST
+# See 'southamerica'.
 
 # St Pierre and Miquelon
-# There are too many St Pierres elsewhere, so we'll use `Miquelon'.
+# There are too many St Pierres elsewhere, so we'll use 'Miquelon'.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Miquelon	-3:44:40 -	LMT	1911 May 15	# St Pierre
 			-4:00	-	AST	1980 May
@@ -3204,10 +3185,7 @@
 			-3:00	Canada	PM%sT
 
 # St Vincent and the Grenadines
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/St_Vincent	-4:04:56 -	LMT	1890		# Kingstown
-			-4:04:56 -	KMT	1912	   # Kingstown Mean Time
-			-4:00	-	AST
+# See 'southamerica'.
 
 # Turks and Caicos
 #
@@ -3237,15 +3215,9 @@
 Rule	TC	2007	max	-	Nov	Sun>=1	2:00	0	S
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Grand_Turk	-4:44:32 -	LMT	1890
-			-5:07:12 -	KMT	1912 Feb    # Kingston Mean Time
+			-5:07:11 -	KMT	1912 Feb    # Kingston Mean Time
 			-5:00	TC	E%sT
 
 # British Virgin Is
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/Tortola	-4:18:28 -	LMT	1911 Jul    # Road Town
-			-4:00	-	AST
-
 # Virgin Is
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone America/St_Thomas	-4:19:44 -	LMT	1911 Jul    # Charlotte Amalie
-			-4:00	-	AST
+# See 'southamerica'.
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/solar87 postgresql-8.4-8.4.20/src/timezone/data/solar87
--- postgresql-8.4-8.4.17/src/timezone/data/solar87	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/solar87	1970-01-01 00:00:00.000000000 +0000
@@ -1,390 +0,0 @@
-# 
-# This file is in the public domain, so clarified as of
-# 2009-05-17 by Arthur David Olson.
-
-# So much for footnotes about Saudi Arabia.
-# Apparent noon times below are for Riyadh; your mileage will vary.
-# Times were computed using formulas in the U.S. Naval Observatory's
-# Almanac for Computers 1987; the formulas "will give EqT to an accuracy of
-# [plus or minus two] seconds during the current year."
-#
-# Rounding to the nearest five seconds results in fewer than
-# 256 different "time types"--a limit that's faced because time types are
-# stored on disk as unsigned chars.
-
-# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	sol87	1987	only	-	Jan	1	12:03:20s -0:03:20 -
-Rule	sol87	1987	only	-	Jan	2	12:03:50s -0:03:50 -
-Rule	sol87	1987	only	-	Jan	3	12:04:15s -0:04:15 -
-Rule	sol87	1987	only	-	Jan	4	12:04:45s -0:04:45 -
-Rule	sol87	1987	only	-	Jan	5	12:05:10s -0:05:10 -
-Rule	sol87	1987	only	-	Jan	6	12:05:40s -0:05:40 -
-Rule	sol87	1987	only	-	Jan	7	12:06:05s -0:06:05 -
-Rule	sol87	1987	only	-	Jan	8	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Jan	9	12:06:55s -0:06:55 -
-Rule	sol87	1987	only	-	Jan	10	12:07:20s -0:07:20 -
-Rule	sol87	1987	only	-	Jan	11	12:07:45s -0:07:45 -
-Rule	sol87	1987	only	-	Jan	12	12:08:10s -0:08:10 -
-Rule	sol87	1987	only	-	Jan	13	12:08:30s -0:08:30 -
-Rule	sol87	1987	only	-	Jan	14	12:08:55s -0:08:55 -
-Rule	sol87	1987	only	-	Jan	15	12:09:15s -0:09:15 -
-Rule	sol87	1987	only	-	Jan	16	12:09:35s -0:09:35 -
-Rule	sol87	1987	only	-	Jan	17	12:09:55s -0:09:55 -
-Rule	sol87	1987	only	-	Jan	18	12:10:15s -0:10:15 -
-Rule	sol87	1987	only	-	Jan	19	12:10:35s -0:10:35 -
-Rule	sol87	1987	only	-	Jan	20	12:10:55s -0:10:55 -
-Rule	sol87	1987	only	-	Jan	21	12:11:10s -0:11:10 -
-Rule	sol87	1987	only	-	Jan	22	12:11:30s -0:11:30 -
-Rule	sol87	1987	only	-	Jan	23	12:11:45s -0:11:45 -
-Rule	sol87	1987	only	-	Jan	24	12:12:00s -0:12:00 -
-Rule	sol87	1987	only	-	Jan	25	12:12:15s -0:12:15 -
-Rule	sol87	1987	only	-	Jan	26	12:12:30s -0:12:30 -
-Rule	sol87	1987	only	-	Jan	27	12:12:40s -0:12:40 -
-Rule	sol87	1987	only	-	Jan	28	12:12:55s -0:12:55 -
-Rule	sol87	1987	only	-	Jan	29	12:13:05s -0:13:05 -
-Rule	sol87	1987	only	-	Jan	30	12:13:15s -0:13:15 -
-Rule	sol87	1987	only	-	Jan	31	12:13:25s -0:13:25 -
-Rule	sol87	1987	only	-	Feb	1	12:13:35s -0:13:35 -
-Rule	sol87	1987	only	-	Feb	2	12:13:40s -0:13:40 -
-Rule	sol87	1987	only	-	Feb	3	12:13:50s -0:13:50 -
-Rule	sol87	1987	only	-	Feb	4	12:13:55s -0:13:55 -
-Rule	sol87	1987	only	-	Feb	5	12:14:00s -0:14:00 -
-Rule	sol87	1987	only	-	Feb	6	12:14:05s -0:14:05 -
-Rule	sol87	1987	only	-	Feb	7	12:14:10s -0:14:10 -
-Rule	sol87	1987	only	-	Feb	8	12:14:10s -0:14:10 -
-Rule	sol87	1987	only	-	Feb	9	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	10	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	11	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	12	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	13	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	14	12:14:15s -0:14:15 -
-Rule	sol87	1987	only	-	Feb	15	12:14:10s -0:14:10 -
-Rule	sol87	1987	only	-	Feb	16	12:14:10s -0:14:10 -
-Rule	sol87	1987	only	-	Feb	17	12:14:05s -0:14:05 -
-Rule	sol87	1987	only	-	Feb	18	12:14:00s -0:14:00 -
-Rule	sol87	1987	only	-	Feb	19	12:13:55s -0:13:55 -
-Rule	sol87	1987	only	-	Feb	20	12:13:50s -0:13:50 -
-Rule	sol87	1987	only	-	Feb	21	12:13:45s -0:13:45 -
-Rule	sol87	1987	only	-	Feb	22	12:13:35s -0:13:35 -
-Rule	sol87	1987	only	-	Feb	23	12:13:30s -0:13:30 -
-Rule	sol87	1987	only	-	Feb	24	12:13:20s -0:13:20 -
-Rule	sol87	1987	only	-	Feb	25	12:13:10s -0:13:10 -
-Rule	sol87	1987	only	-	Feb	26	12:13:00s -0:13:00 -
-Rule	sol87	1987	only	-	Feb	27	12:12:50s -0:12:50 -
-Rule	sol87	1987	only	-	Feb	28	12:12:40s -0:12:40 -
-Rule	sol87	1987	only	-	Mar	1	12:12:30s -0:12:30 -
-Rule	sol87	1987	only	-	Mar	2	12:12:20s -0:12:20 -
-Rule	sol87	1987	only	-	Mar	3	12:12:05s -0:12:05 -
-Rule	sol87	1987	only	-	Mar	4	12:11:55s -0:11:55 -
-Rule	sol87	1987	only	-	Mar	5	12:11:40s -0:11:40 -
-Rule	sol87	1987	only	-	Mar	6	12:11:25s -0:11:25 -
-Rule	sol87	1987	only	-	Mar	7	12:11:15s -0:11:15 -
-Rule	sol87	1987	only	-	Mar	8	12:11:00s -0:11:00 -
-Rule	sol87	1987	only	-	Mar	9	12:10:45s -0:10:45 -
-Rule	sol87	1987	only	-	Mar	10	12:10:30s -0:10:30 -
-Rule	sol87	1987	only	-	Mar	11	12:10:15s -0:10:15 -
-Rule	sol87	1987	only	-	Mar	12	12:09:55s -0:09:55 -
-Rule	sol87	1987	only	-	Mar	13	12:09:40s -0:09:40 -
-Rule	sol87	1987	only	-	Mar	14	12:09:25s -0:09:25 -
-Rule	sol87	1987	only	-	Mar	15	12:09:10s -0:09:10 -
-Rule	sol87	1987	only	-	Mar	16	12:08:50s -0:08:50 -
-Rule	sol87	1987	only	-	Mar	17	12:08:35s -0:08:35 -
-Rule	sol87	1987	only	-	Mar	18	12:08:15s -0:08:15 -
-Rule	sol87	1987	only	-	Mar	19	12:08:00s -0:08:00 -
-Rule	sol87	1987	only	-	Mar	20	12:07:40s -0:07:40 -
-Rule	sol87	1987	only	-	Mar	21	12:07:25s -0:07:25 -
-Rule	sol87	1987	only	-	Mar	22	12:07:05s -0:07:05 -
-Rule	sol87	1987	only	-	Mar	23	12:06:50s -0:06:50 -
-Rule	sol87	1987	only	-	Mar	24	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Mar	25	12:06:10s -0:06:10 -
-Rule	sol87	1987	only	-	Mar	26	12:05:55s -0:05:55 -
-Rule	sol87	1987	only	-	Mar	27	12:05:35s -0:05:35 -
-Rule	sol87	1987	only	-	Mar	28	12:05:15s -0:05:15 -
-Rule	sol87	1987	only	-	Mar	29	12:05:00s -0:05:00 -
-Rule	sol87	1987	only	-	Mar	30	12:04:40s -0:04:40 -
-Rule	sol87	1987	only	-	Mar	31	12:04:25s -0:04:25 -
-Rule	sol87	1987	only	-	Apr	1	12:04:05s -0:04:05 -
-Rule	sol87	1987	only	-	Apr	2	12:03:45s -0:03:45 -
-Rule	sol87	1987	only	-	Apr	3	12:03:30s -0:03:30 -
-Rule	sol87	1987	only	-	Apr	4	12:03:10s -0:03:10 -
-Rule	sol87	1987	only	-	Apr	5	12:02:55s -0:02:55 -
-Rule	sol87	1987	only	-	Apr	6	12:02:35s -0:02:35 -
-Rule	sol87	1987	only	-	Apr	7	12:02:20s -0:02:20 -
-Rule	sol87	1987	only	-	Apr	8	12:02:05s -0:02:05 -
-Rule	sol87	1987	only	-	Apr	9	12:01:45s -0:01:45 -
-Rule	sol87	1987	only	-	Apr	10	12:01:30s -0:01:30 -
-Rule	sol87	1987	only	-	Apr	11	12:01:15s -0:01:15 -
-Rule	sol87	1987	only	-	Apr	12	12:00:55s -0:00:55 -
-Rule	sol87	1987	only	-	Apr	13	12:00:40s -0:00:40 -
-Rule	sol87	1987	only	-	Apr	14	12:00:25s -0:00:25 -
-Rule	sol87	1987	only	-	Apr	15	12:00:10s -0:00:10 -
-Rule	sol87	1987	only	-	Apr	16	11:59:55s 0:00:05 -
-Rule	sol87	1987	only	-	Apr	17	11:59:45s 0:00:15 -
-Rule	sol87	1987	only	-	Apr	18	11:59:30s 0:00:30 -
-Rule	sol87	1987	only	-	Apr	19	11:59:15s 0:00:45 -
-Rule	sol87	1987	only	-	Apr	20	11:59:05s 0:00:55 -
-Rule	sol87	1987	only	-	Apr	21	11:58:50s 0:01:10 -
-Rule	sol87	1987	only	-	Apr	22	11:58:40s 0:01:20 -
-Rule	sol87	1987	only	-	Apr	23	11:58:25s 0:01:35 -
-Rule	sol87	1987	only	-	Apr	24	11:58:15s 0:01:45 -
-Rule	sol87	1987	only	-	Apr	25	11:58:05s 0:01:55 -
-Rule	sol87	1987	only	-	Apr	26	11:57:55s 0:02:05 -
-Rule	sol87	1987	only	-	Apr	27	11:57:45s 0:02:15 -
-Rule	sol87	1987	only	-	Apr	28	11:57:35s 0:02:25 -
-Rule	sol87	1987	only	-	Apr	29	11:57:25s 0:02:35 -
-Rule	sol87	1987	only	-	Apr	30	11:57:15s 0:02:45 -
-Rule	sol87	1987	only	-	May	1	11:57:10s 0:02:50 -
-Rule	sol87	1987	only	-	May	2	11:57:00s 0:03:00 -
-Rule	sol87	1987	only	-	May	3	11:56:55s 0:03:05 -
-Rule	sol87	1987	only	-	May	4	11:56:50s 0:03:10 -
-Rule	sol87	1987	only	-	May	5	11:56:45s 0:03:15 -
-Rule	sol87	1987	only	-	May	6	11:56:40s 0:03:20 -
-Rule	sol87	1987	only	-	May	7	11:56:35s 0:03:25 -
-Rule	sol87	1987	only	-	May	8	11:56:30s 0:03:30 -
-Rule	sol87	1987	only	-	May	9	11:56:25s 0:03:35 -
-Rule	sol87	1987	only	-	May	10	11:56:25s 0:03:35 -
-Rule	sol87	1987	only	-	May	11	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	12	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	13	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	14	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	15	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	16	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	17	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	18	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	May	19	11:56:25s 0:03:35 -
-Rule	sol87	1987	only	-	May	20	11:56:25s 0:03:35 -
-Rule	sol87	1987	only	-	May	21	11:56:30s 0:03:30 -
-Rule	sol87	1987	only	-	May	22	11:56:35s 0:03:25 -
-Rule	sol87	1987	only	-	May	23	11:56:40s 0:03:20 -
-Rule	sol87	1987	only	-	May	24	11:56:45s 0:03:15 -
-Rule	sol87	1987	only	-	May	25	11:56:50s 0:03:10 -
-Rule	sol87	1987	only	-	May	26	11:56:55s 0:03:05 -
-Rule	sol87	1987	only	-	May	27	11:57:00s 0:03:00 -
-Rule	sol87	1987	only	-	May	28	11:57:10s 0:02:50 -
-Rule	sol87	1987	only	-	May	29	11:57:15s 0:02:45 -
-Rule	sol87	1987	only	-	May	30	11:57:25s 0:02:35 -
-Rule	sol87	1987	only	-	May	31	11:57:30s 0:02:30 -
-Rule	sol87	1987	only	-	Jun	1	11:57:40s 0:02:20 -
-Rule	sol87	1987	only	-	Jun	2	11:57:50s 0:02:10 -
-Rule	sol87	1987	only	-	Jun	3	11:58:00s 0:02:00 -
-Rule	sol87	1987	only	-	Jun	4	11:58:10s 0:01:50 -
-Rule	sol87	1987	only	-	Jun	5	11:58:20s 0:01:40 -
-Rule	sol87	1987	only	-	Jun	6	11:58:30s 0:01:30 -
-Rule	sol87	1987	only	-	Jun	7	11:58:40s 0:01:20 -
-Rule	sol87	1987	only	-	Jun	8	11:58:50s 0:01:10 -
-Rule	sol87	1987	only	-	Jun	9	11:59:05s 0:00:55 -
-Rule	sol87	1987	only	-	Jun	10	11:59:15s 0:00:45 -
-Rule	sol87	1987	only	-	Jun	11	11:59:30s 0:00:30 -
-Rule	sol87	1987	only	-	Jun	12	11:59:40s 0:00:20 -
-Rule	sol87	1987	only	-	Jun	13	11:59:50s 0:00:10 -
-Rule	sol87	1987	only	-	Jun	14	12:00:05s -0:00:05 -
-Rule	sol87	1987	only	-	Jun	15	12:00:15s -0:00:15 -
-Rule	sol87	1987	only	-	Jun	16	12:00:30s -0:00:30 -
-Rule	sol87	1987	only	-	Jun	17	12:00:45s -0:00:45 -
-Rule	sol87	1987	only	-	Jun	18	12:00:55s -0:00:55 -
-Rule	sol87	1987	only	-	Jun	19	12:01:10s -0:01:10 -
-Rule	sol87	1987	only	-	Jun	20	12:01:20s -0:01:20 -
-Rule	sol87	1987	only	-	Jun	21	12:01:35s -0:01:35 -
-Rule	sol87	1987	only	-	Jun	22	12:01:50s -0:01:50 -
-Rule	sol87	1987	only	-	Jun	23	12:02:00s -0:02:00 -
-Rule	sol87	1987	only	-	Jun	24	12:02:15s -0:02:15 -
-Rule	sol87	1987	only	-	Jun	25	12:02:25s -0:02:25 -
-Rule	sol87	1987	only	-	Jun	26	12:02:40s -0:02:40 -
-Rule	sol87	1987	only	-	Jun	27	12:02:50s -0:02:50 -
-Rule	sol87	1987	only	-	Jun	28	12:03:05s -0:03:05 -
-Rule	sol87	1987	only	-	Jun	29	12:03:15s -0:03:15 -
-Rule	sol87	1987	only	-	Jun	30	12:03:30s -0:03:30 -
-Rule	sol87	1987	only	-	Jul	1	12:03:40s -0:03:40 -
-Rule	sol87	1987	only	-	Jul	2	12:03:50s -0:03:50 -
-Rule	sol87	1987	only	-	Jul	3	12:04:05s -0:04:05 -
-Rule	sol87	1987	only	-	Jul	4	12:04:15s -0:04:15 -
-Rule	sol87	1987	only	-	Jul	5	12:04:25s -0:04:25 -
-Rule	sol87	1987	only	-	Jul	6	12:04:35s -0:04:35 -
-Rule	sol87	1987	only	-	Jul	7	12:04:45s -0:04:45 -
-Rule	sol87	1987	only	-	Jul	8	12:04:55s -0:04:55 -
-Rule	sol87	1987	only	-	Jul	9	12:05:05s -0:05:05 -
-Rule	sol87	1987	only	-	Jul	10	12:05:15s -0:05:15 -
-Rule	sol87	1987	only	-	Jul	11	12:05:20s -0:05:20 -
-Rule	sol87	1987	only	-	Jul	12	12:05:30s -0:05:30 -
-Rule	sol87	1987	only	-	Jul	13	12:05:40s -0:05:40 -
-Rule	sol87	1987	only	-	Jul	14	12:05:45s -0:05:45 -
-Rule	sol87	1987	only	-	Jul	15	12:05:50s -0:05:50 -
-Rule	sol87	1987	only	-	Jul	16	12:06:00s -0:06:00 -
-Rule	sol87	1987	only	-	Jul	17	12:06:05s -0:06:05 -
-Rule	sol87	1987	only	-	Jul	18	12:06:10s -0:06:10 -
-Rule	sol87	1987	only	-	Jul	19	12:06:15s -0:06:15 -
-Rule	sol87	1987	only	-	Jul	20	12:06:15s -0:06:15 -
-Rule	sol87	1987	only	-	Jul	21	12:06:20s -0:06:20 -
-Rule	sol87	1987	only	-	Jul	22	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Jul	23	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Jul	24	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Jul	25	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Jul	26	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Jul	27	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Jul	28	12:06:30s -0:06:30 -
-Rule	sol87	1987	only	-	Jul	29	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Jul	30	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Jul	31	12:06:25s -0:06:25 -
-Rule	sol87	1987	only	-	Aug	1	12:06:20s -0:06:20 -
-Rule	sol87	1987	only	-	Aug	2	12:06:15s -0:06:15 -
-Rule	sol87	1987	only	-	Aug	3	12:06:10s -0:06:10 -
-Rule	sol87	1987	only	-	Aug	4	12:06:05s -0:06:05 -
-Rule	sol87	1987	only	-	Aug	5	12:06:00s -0:06:00 -
-Rule	sol87	1987	only	-	Aug	6	12:05:55s -0:05:55 -
-Rule	sol87	1987	only	-	Aug	7	12:05:50s -0:05:50 -
-Rule	sol87	1987	only	-	Aug	8	12:05:40s -0:05:40 -
-Rule	sol87	1987	only	-	Aug	9	12:05:35s -0:05:35 -
-Rule	sol87	1987	only	-	Aug	10	12:05:25s -0:05:25 -
-Rule	sol87	1987	only	-	Aug	11	12:05:15s -0:05:15 -
-Rule	sol87	1987	only	-	Aug	12	12:05:05s -0:05:05 -
-Rule	sol87	1987	only	-	Aug	13	12:04:55s -0:04:55 -
-Rule	sol87	1987	only	-	Aug	14	12:04:45s -0:04:45 -
-Rule	sol87	1987	only	-	Aug	15	12:04:35s -0:04:35 -
-Rule	sol87	1987	only	-	Aug	16	12:04:25s -0:04:25 -
-Rule	sol87	1987	only	-	Aug	17	12:04:10s -0:04:10 -
-Rule	sol87	1987	only	-	Aug	18	12:04:00s -0:04:00 -
-Rule	sol87	1987	only	-	Aug	19	12:03:45s -0:03:45 -
-Rule	sol87	1987	only	-	Aug	20	12:03:30s -0:03:30 -
-Rule	sol87	1987	only	-	Aug	21	12:03:15s -0:03:15 -
-Rule	sol87	1987	only	-	Aug	22	12:03:00s -0:03:00 -
-Rule	sol87	1987	only	-	Aug	23	12:02:45s -0:02:45 -
-Rule	sol87	1987	only	-	Aug	24	12:02:30s -0:02:30 -
-Rule	sol87	1987	only	-	Aug	25	12:02:15s -0:02:15 -
-Rule	sol87	1987	only	-	Aug	26	12:02:00s -0:02:00 -
-Rule	sol87	1987	only	-	Aug	27	12:01:40s -0:01:40 -
-Rule	sol87	1987	only	-	Aug	28	12:01:25s -0:01:25 -
-Rule	sol87	1987	only	-	Aug	29	12:01:05s -0:01:05 -
-Rule	sol87	1987	only	-	Aug	30	12:00:50s -0:00:50 -
-Rule	sol87	1987	only	-	Aug	31	12:00:30s -0:00:30 -
-Rule	sol87	1987	only	-	Sep	1	12:00:10s -0:00:10 -
-Rule	sol87	1987	only	-	Sep	2	11:59:50s 0:00:10 -
-Rule	sol87	1987	only	-	Sep	3	11:59:35s 0:00:25 -
-Rule	sol87	1987	only	-	Sep	4	11:59:15s 0:00:45 -
-Rule	sol87	1987	only	-	Sep	5	11:58:55s 0:01:05 -
-Rule	sol87	1987	only	-	Sep	6	11:58:35s 0:01:25 -
-Rule	sol87	1987	only	-	Sep	7	11:58:15s 0:01:45 -
-Rule	sol87	1987	only	-	Sep	8	11:57:55s 0:02:05 -
-Rule	sol87	1987	only	-	Sep	9	11:57:30s 0:02:30 -
-Rule	sol87	1987	only	-	Sep	10	11:57:10s 0:02:50 -
-Rule	sol87	1987	only	-	Sep	11	11:56:50s 0:03:10 -
-Rule	sol87	1987	only	-	Sep	12	11:56:30s 0:03:30 -
-Rule	sol87	1987	only	-	Sep	13	11:56:10s 0:03:50 -
-Rule	sol87	1987	only	-	Sep	14	11:55:45s 0:04:15 -
-Rule	sol87	1987	only	-	Sep	15	11:55:25s 0:04:35 -
-Rule	sol87	1987	only	-	Sep	16	11:55:05s 0:04:55 -
-Rule	sol87	1987	only	-	Sep	17	11:54:45s 0:05:15 -
-Rule	sol87	1987	only	-	Sep	18	11:54:20s 0:05:40 -
-Rule	sol87	1987	only	-	Sep	19	11:54:00s 0:06:00 -
-Rule	sol87	1987	only	-	Sep	20	11:53:40s 0:06:20 -
-Rule	sol87	1987	only	-	Sep	21	11:53:15s 0:06:45 -
-Rule	sol87	1987	only	-	Sep	22	11:52:55s 0:07:05 -
-Rule	sol87	1987	only	-	Sep	23	11:52:35s 0:07:25 -
-Rule	sol87	1987	only	-	Sep	24	11:52:15s 0:07:45 -
-Rule	sol87	1987	only	-	Sep	25	11:51:55s 0:08:05 -
-Rule	sol87	1987	only	-	Sep	26	11:51:35s 0:08:25 -
-Rule	sol87	1987	only	-	Sep	27	11:51:10s 0:08:50 -
-Rule	sol87	1987	only	-	Sep	28	11:50:50s 0:09:10 -
-Rule	sol87	1987	only	-	Sep	29	11:50:30s 0:09:30 -
-Rule	sol87	1987	only	-	Sep	30	11:50:10s 0:09:50 -
-Rule	sol87	1987	only	-	Oct	1	11:49:50s 0:10:10 -
-Rule	sol87	1987	only	-	Oct	2	11:49:35s 0:10:25 -
-Rule	sol87	1987	only	-	Oct	3	11:49:15s 0:10:45 -
-Rule	sol87	1987	only	-	Oct	4	11:48:55s 0:11:05 -
-Rule	sol87	1987	only	-	Oct	5	11:48:35s 0:11:25 -
-Rule	sol87	1987	only	-	Oct	6	11:48:20s 0:11:40 -
-Rule	sol87	1987	only	-	Oct	7	11:48:00s 0:12:00 -
-Rule	sol87	1987	only	-	Oct	8	11:47:45s 0:12:15 -
-Rule	sol87	1987	only	-	Oct	9	11:47:25s 0:12:35 -
-Rule	sol87	1987	only	-	Oct	10	11:47:10s 0:12:50 -
-Rule	sol87	1987	only	-	Oct	11	11:46:55s 0:13:05 -
-Rule	sol87	1987	only	-	Oct	12	11:46:40s 0:13:20 -
-Rule	sol87	1987	only	-	Oct	13	11:46:25s 0:13:35 -
-Rule	sol87	1987	only	-	Oct	14	11:46:10s 0:13:50 -
-Rule	sol87	1987	only	-	Oct	15	11:45:55s 0:14:05 -
-Rule	sol87	1987	only	-	Oct	16	11:45:45s 0:14:15 -
-Rule	sol87	1987	only	-	Oct	17	11:45:30s 0:14:30 -
-Rule	sol87	1987	only	-	Oct	18	11:45:20s 0:14:40 -
-Rule	sol87	1987	only	-	Oct	19	11:45:05s 0:14:55 -
-Rule	sol87	1987	only	-	Oct	20	11:44:55s 0:15:05 -
-Rule	sol87	1987	only	-	Oct	21	11:44:45s 0:15:15 -
-Rule	sol87	1987	only	-	Oct	22	11:44:35s 0:15:25 -
-Rule	sol87	1987	only	-	Oct	23	11:44:25s 0:15:35 -
-Rule	sol87	1987	only	-	Oct	24	11:44:20s 0:15:40 -
-Rule	sol87	1987	only	-	Oct	25	11:44:10s 0:15:50 -
-Rule	sol87	1987	only	-	Oct	26	11:44:05s 0:15:55 -
-Rule	sol87	1987	only	-	Oct	27	11:43:55s 0:16:05 -
-Rule	sol87	1987	only	-	Oct	28	11:43:50s 0:16:10 -
-Rule	sol87	1987	only	-	Oct	29	11:43:45s 0:16:15 -
-Rule	sol87	1987	only	-	Oct	30	11:43:45s 0:16:15 -
-Rule	sol87	1987	only	-	Oct	31	11:43:40s 0:16:20 -
-Rule	sol87	1987	only	-	Nov	1	11:43:40s 0:16:20 -
-Rule	sol87	1987	only	-	Nov	2	11:43:35s 0:16:25 -
-Rule	sol87	1987	only	-	Nov	3	11:43:35s 0:16:25 -
-Rule	sol87	1987	only	-	Nov	4	11:43:35s 0:16:25 -
-Rule	sol87	1987	only	-	Nov	5	11:43:35s 0:16:25 -
-Rule	sol87	1987	only	-	Nov	6	11:43:40s 0:16:20 -
-Rule	sol87	1987	only	-	Nov	7	11:43:40s 0:16:20 -
-Rule	sol87	1987	only	-	Nov	8	11:43:45s 0:16:15 -
-Rule	sol87	1987	only	-	Nov	9	11:43:50s 0:16:10 -
-Rule	sol87	1987	only	-	Nov	10	11:43:55s 0:16:05 -
-Rule	sol87	1987	only	-	Nov	11	11:44:00s 0:16:00 -
-Rule	sol87	1987	only	-	Nov	12	11:44:05s 0:15:55 -
-Rule	sol87	1987	only	-	Nov	13	11:44:15s 0:15:45 -
-Rule	sol87	1987	only	-	Nov	14	11:44:20s 0:15:40 -
-Rule	sol87	1987	only	-	Nov	15	11:44:30s 0:15:30 -
-Rule	sol87	1987	only	-	Nov	16	11:44:40s 0:15:20 -
-Rule	sol87	1987	only	-	Nov	17	11:44:50s 0:15:10 -
-Rule	sol87	1987	only	-	Nov	18	11:45:05s 0:14:55 -
-Rule	sol87	1987	only	-	Nov	19	11:45:15s 0:14:45 -
-Rule	sol87	1987	only	-	Nov	20	11:45:30s 0:14:30 -
-Rule	sol87	1987	only	-	Nov	21	11:45:45s 0:14:15 -
-Rule	sol87	1987	only	-	Nov	22	11:46:00s 0:14:00 -
-Rule	sol87	1987	only	-	Nov	23	11:46:15s 0:13:45 -
-Rule	sol87	1987	only	-	Nov	24	11:46:30s 0:13:30 -
-Rule	sol87	1987	only	-	Nov	25	11:46:50s 0:13:10 -
-Rule	sol87	1987	only	-	Nov	26	11:47:10s 0:12:50 -
-Rule	sol87	1987	only	-	Nov	27	11:47:25s 0:12:35 -
-Rule	sol87	1987	only	-	Nov	28	11:47:45s 0:12:15 -
-Rule	sol87	1987	only	-	Nov	29	11:48:05s 0:11:55 -
-Rule	sol87	1987	only	-	Nov	30	11:48:30s 0:11:30 -
-Rule	sol87	1987	only	-	Dec	1	11:48:50s 0:11:10 -
-Rule	sol87	1987	only	-	Dec	2	11:49:10s 0:10:50 -
-Rule	sol87	1987	only	-	Dec	3	11:49:35s 0:10:25 -
-Rule	sol87	1987	only	-	Dec	4	11:50:00s 0:10:00 -
-Rule	sol87	1987	only	-	Dec	5	11:50:25s 0:09:35 -
-Rule	sol87	1987	only	-	Dec	6	11:50:50s 0:09:10 -
-Rule	sol87	1987	only	-	Dec	7	11:51:15s 0:08:45 -
-Rule	sol87	1987	only	-	Dec	8	11:51:40s 0:08:20 -
-Rule	sol87	1987	only	-	Dec	9	11:52:05s 0:07:55 -
-Rule	sol87	1987	only	-	Dec	10	11:52:30s 0:07:30 -
-Rule	sol87	1987	only	-	Dec	11	11:53:00s 0:07:00 -
-Rule	sol87	1987	only	-	Dec	12	11:53:25s 0:06:35 -
-Rule	sol87	1987	only	-	Dec	13	11:53:55s 0:06:05 -
-Rule	sol87	1987	only	-	Dec	14	11:54:25s 0:05:35 -
-Rule	sol87	1987	only	-	Dec	15	11:54:50s 0:05:10 -
-Rule	sol87	1987	only	-	Dec	16	11:55:20s 0:04:40 -
-Rule	sol87	1987	only	-	Dec	17	11:55:50s 0:04:10 -
-Rule	sol87	1987	only	-	Dec	18	11:56:20s 0:03:40 -
-Rule	sol87	1987	only	-	Dec	19	11:56:50s 0:03:10 -
-Rule	sol87	1987	only	-	Dec	20	11:57:20s 0:02:40 -
-Rule	sol87	1987	only	-	Dec	21	11:57:50s 0:02:10 -
-Rule	sol87	1987	only	-	Dec	22	11:58:20s 0:01:40 -
-Rule	sol87	1987	only	-	Dec	23	11:58:50s 0:01:10 -
-Rule	sol87	1987	only	-	Dec	24	11:59:20s 0:00:40 -
-Rule	sol87	1987	only	-	Dec	25	11:59:50s 0:00:10 -
-Rule	sol87	1987	only	-	Dec	26	12:00:20s -0:00:20 -
-Rule	sol87	1987	only	-	Dec	27	12:00:45s -0:00:45 -
-Rule	sol87	1987	only	-	Dec	28	12:01:15s -0:01:15 -
-Rule	sol87	1987	only	-	Dec	29	12:01:45s -0:01:45 -
-Rule	sol87	1987	only	-	Dec	30	12:02:15s -0:02:15 -
-Rule	sol87	1987	only	-	Dec	31	12:02:45s -0:02:45 -
-
-# Riyadh is at about 46 degrees 46 minutes East:  3 hrs, 7 mins, 4 secs
-# Before and after 1987, we'll operate on local mean solar time.
-
-# Zone	NAME		GMTOFF	RULES/SAVE	FORMAT	[UNTIL]
-Zone	Asia/Riyadh87	3:07:04	-		zzz	1987
-			3:07:04	sol87		zzz	1988
-			3:07:04	-		zzz
-# For backward compatibility...
-Link	Asia/Riyadh87	Mideast/Riyadh87
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/solar88 postgresql-8.4-8.4.20/src/timezone/data/solar88
--- postgresql-8.4-8.4.17/src/timezone/data/solar88	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/solar88	1970-01-01 00:00:00.000000000 +0000
@@ -1,390 +0,0 @@
-# 
-# This file is in the public domain, so clarified as of
-# 2009-05-17 by Arthur David Olson.
-
-# Apparent noon times below are for Riyadh; they're a bit off for other places.
-# Times were computed using formulas in the U.S. Naval Observatory's
-# Almanac for Computers 1988; the formulas "will give EqT to an accuracy of
-# [plus or minus two] seconds during the current year."
-#
-# Rounding to the nearest five seconds results in fewer than
-# 256 different "time types"--a limit that's faced because time types are
-# stored on disk as unsigned chars.
-
-# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	sol88	1988	only	-	Jan	1	12:03:15s -0:03:15 -
-Rule	sol88	1988	only	-	Jan	2	12:03:40s -0:03:40 -
-Rule	sol88	1988	only	-	Jan	3	12:04:10s -0:04:10 -
-Rule	sol88	1988	only	-	Jan	4	12:04:40s -0:04:40 -
-Rule	sol88	1988	only	-	Jan	5	12:05:05s -0:05:05 -
-Rule	sol88	1988	only	-	Jan	6	12:05:30s -0:05:30 -
-Rule	sol88	1988	only	-	Jan	7	12:06:00s -0:06:00 -
-Rule	sol88	1988	only	-	Jan	8	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jan	9	12:06:50s -0:06:50 -
-Rule	sol88	1988	only	-	Jan	10	12:07:15s -0:07:15 -
-Rule	sol88	1988	only	-	Jan	11	12:07:40s -0:07:40 -
-Rule	sol88	1988	only	-	Jan	12	12:08:05s -0:08:05 -
-Rule	sol88	1988	only	-	Jan	13	12:08:25s -0:08:25 -
-Rule	sol88	1988	only	-	Jan	14	12:08:50s -0:08:50 -
-Rule	sol88	1988	only	-	Jan	15	12:09:10s -0:09:10 -
-Rule	sol88	1988	only	-	Jan	16	12:09:30s -0:09:30 -
-Rule	sol88	1988	only	-	Jan	17	12:09:50s -0:09:50 -
-Rule	sol88	1988	only	-	Jan	18	12:10:10s -0:10:10 -
-Rule	sol88	1988	only	-	Jan	19	12:10:30s -0:10:30 -
-Rule	sol88	1988	only	-	Jan	20	12:10:50s -0:10:50 -
-Rule	sol88	1988	only	-	Jan	21	12:11:05s -0:11:05 -
-Rule	sol88	1988	only	-	Jan	22	12:11:25s -0:11:25 -
-Rule	sol88	1988	only	-	Jan	23	12:11:40s -0:11:40 -
-Rule	sol88	1988	only	-	Jan	24	12:11:55s -0:11:55 -
-Rule	sol88	1988	only	-	Jan	25	12:12:10s -0:12:10 -
-Rule	sol88	1988	only	-	Jan	26	12:12:25s -0:12:25 -
-Rule	sol88	1988	only	-	Jan	27	12:12:40s -0:12:40 -
-Rule	sol88	1988	only	-	Jan	28	12:12:50s -0:12:50 -
-Rule	sol88	1988	only	-	Jan	29	12:13:00s -0:13:00 -
-Rule	sol88	1988	only	-	Jan	30	12:13:10s -0:13:10 -
-Rule	sol88	1988	only	-	Jan	31	12:13:20s -0:13:20 -
-Rule	sol88	1988	only	-	Feb	1	12:13:30s -0:13:30 -
-Rule	sol88	1988	only	-	Feb	2	12:13:40s -0:13:40 -
-Rule	sol88	1988	only	-	Feb	3	12:13:45s -0:13:45 -
-Rule	sol88	1988	only	-	Feb	4	12:13:55s -0:13:55 -
-Rule	sol88	1988	only	-	Feb	5	12:14:00s -0:14:00 -
-Rule	sol88	1988	only	-	Feb	6	12:14:05s -0:14:05 -
-Rule	sol88	1988	only	-	Feb	7	12:14:10s -0:14:10 -
-Rule	sol88	1988	only	-	Feb	8	12:14:10s -0:14:10 -
-Rule	sol88	1988	only	-	Feb	9	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	10	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	11	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	12	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	13	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	14	12:14:15s -0:14:15 -
-Rule	sol88	1988	only	-	Feb	15	12:14:10s -0:14:10 -
-Rule	sol88	1988	only	-	Feb	16	12:14:10s -0:14:10 -
-Rule	sol88	1988	only	-	Feb	17	12:14:05s -0:14:05 -
-Rule	sol88	1988	only	-	Feb	18	12:14:00s -0:14:00 -
-Rule	sol88	1988	only	-	Feb	19	12:13:55s -0:13:55 -
-Rule	sol88	1988	only	-	Feb	20	12:13:50s -0:13:50 -
-Rule	sol88	1988	only	-	Feb	21	12:13:45s -0:13:45 -
-Rule	sol88	1988	only	-	Feb	22	12:13:40s -0:13:40 -
-Rule	sol88	1988	only	-	Feb	23	12:13:30s -0:13:30 -
-Rule	sol88	1988	only	-	Feb	24	12:13:20s -0:13:20 -
-Rule	sol88	1988	only	-	Feb	25	12:13:15s -0:13:15 -
-Rule	sol88	1988	only	-	Feb	26	12:13:05s -0:13:05 -
-Rule	sol88	1988	only	-	Feb	27	12:12:55s -0:12:55 -
-Rule	sol88	1988	only	-	Feb	28	12:12:45s -0:12:45 -
-Rule	sol88	1988	only	-	Feb	29	12:12:30s -0:12:30 -
-Rule	sol88	1988	only	-	Mar	1	12:12:20s -0:12:20 -
-Rule	sol88	1988	only	-	Mar	2	12:12:10s -0:12:10 -
-Rule	sol88	1988	only	-	Mar	3	12:11:55s -0:11:55 -
-Rule	sol88	1988	only	-	Mar	4	12:11:45s -0:11:45 -
-Rule	sol88	1988	only	-	Mar	5	12:11:30s -0:11:30 -
-Rule	sol88	1988	only	-	Mar	6	12:11:15s -0:11:15 -
-Rule	sol88	1988	only	-	Mar	7	12:11:00s -0:11:00 -
-Rule	sol88	1988	only	-	Mar	8	12:10:45s -0:10:45 -
-Rule	sol88	1988	only	-	Mar	9	12:10:30s -0:10:30 -
-Rule	sol88	1988	only	-	Mar	10	12:10:15s -0:10:15 -
-Rule	sol88	1988	only	-	Mar	11	12:10:00s -0:10:00 -
-Rule	sol88	1988	only	-	Mar	12	12:09:45s -0:09:45 -
-Rule	sol88	1988	only	-	Mar	13	12:09:30s -0:09:30 -
-Rule	sol88	1988	only	-	Mar	14	12:09:10s -0:09:10 -
-Rule	sol88	1988	only	-	Mar	15	12:08:55s -0:08:55 -
-Rule	sol88	1988	only	-	Mar	16	12:08:40s -0:08:40 -
-Rule	sol88	1988	only	-	Mar	17	12:08:20s -0:08:20 -
-Rule	sol88	1988	only	-	Mar	18	12:08:05s -0:08:05 -
-Rule	sol88	1988	only	-	Mar	19	12:07:45s -0:07:45 -
-Rule	sol88	1988	only	-	Mar	20	12:07:30s -0:07:30 -
-Rule	sol88	1988	only	-	Mar	21	12:07:10s -0:07:10 -
-Rule	sol88	1988	only	-	Mar	22	12:06:50s -0:06:50 -
-Rule	sol88	1988	only	-	Mar	23	12:06:35s -0:06:35 -
-Rule	sol88	1988	only	-	Mar	24	12:06:15s -0:06:15 -
-Rule	sol88	1988	only	-	Mar	25	12:06:00s -0:06:00 -
-Rule	sol88	1988	only	-	Mar	26	12:05:40s -0:05:40 -
-Rule	sol88	1988	only	-	Mar	27	12:05:20s -0:05:20 -
-Rule	sol88	1988	only	-	Mar	28	12:05:05s -0:05:05 -
-Rule	sol88	1988	only	-	Mar	29	12:04:45s -0:04:45 -
-Rule	sol88	1988	only	-	Mar	30	12:04:25s -0:04:25 -
-Rule	sol88	1988	only	-	Mar	31	12:04:10s -0:04:10 -
-Rule	sol88	1988	only	-	Apr	1	12:03:50s -0:03:50 -
-Rule	sol88	1988	only	-	Apr	2	12:03:35s -0:03:35 -
-Rule	sol88	1988	only	-	Apr	3	12:03:15s -0:03:15 -
-Rule	sol88	1988	only	-	Apr	4	12:03:00s -0:03:00 -
-Rule	sol88	1988	only	-	Apr	5	12:02:40s -0:02:40 -
-Rule	sol88	1988	only	-	Apr	6	12:02:25s -0:02:25 -
-Rule	sol88	1988	only	-	Apr	7	12:02:05s -0:02:05 -
-Rule	sol88	1988	only	-	Apr	8	12:01:50s -0:01:50 -
-Rule	sol88	1988	only	-	Apr	9	12:01:35s -0:01:35 -
-Rule	sol88	1988	only	-	Apr	10	12:01:15s -0:01:15 -
-Rule	sol88	1988	only	-	Apr	11	12:01:00s -0:01:00 -
-Rule	sol88	1988	only	-	Apr	12	12:00:45s -0:00:45 -
-Rule	sol88	1988	only	-	Apr	13	12:00:30s -0:00:30 -
-Rule	sol88	1988	only	-	Apr	14	12:00:15s -0:00:15 -
-Rule	sol88	1988	only	-	Apr	15	12:00:00s 0:00:00 -
-Rule	sol88	1988	only	-	Apr	16	11:59:45s 0:00:15 -
-Rule	sol88	1988	only	-	Apr	17	11:59:30s 0:00:30 -
-Rule	sol88	1988	only	-	Apr	18	11:59:20s 0:00:40 -
-Rule	sol88	1988	only	-	Apr	19	11:59:05s 0:00:55 -
-Rule	sol88	1988	only	-	Apr	20	11:58:55s 0:01:05 -
-Rule	sol88	1988	only	-	Apr	21	11:58:40s 0:01:20 -
-Rule	sol88	1988	only	-	Apr	22	11:58:30s 0:01:30 -
-Rule	sol88	1988	only	-	Apr	23	11:58:15s 0:01:45 -
-Rule	sol88	1988	only	-	Apr	24	11:58:05s 0:01:55 -
-Rule	sol88	1988	only	-	Apr	25	11:57:55s 0:02:05 -
-Rule	sol88	1988	only	-	Apr	26	11:57:45s 0:02:15 -
-Rule	sol88	1988	only	-	Apr	27	11:57:35s 0:02:25 -
-Rule	sol88	1988	only	-	Apr	28	11:57:30s 0:02:30 -
-Rule	sol88	1988	only	-	Apr	29	11:57:20s 0:02:40 -
-Rule	sol88	1988	only	-	Apr	30	11:57:10s 0:02:50 -
-Rule	sol88	1988	only	-	May	1	11:57:05s 0:02:55 -
-Rule	sol88	1988	only	-	May	2	11:56:55s 0:03:05 -
-Rule	sol88	1988	only	-	May	3	11:56:50s 0:03:10 -
-Rule	sol88	1988	only	-	May	4	11:56:45s 0:03:15 -
-Rule	sol88	1988	only	-	May	5	11:56:40s 0:03:20 -
-Rule	sol88	1988	only	-	May	6	11:56:35s 0:03:25 -
-Rule	sol88	1988	only	-	May	7	11:56:30s 0:03:30 -
-Rule	sol88	1988	only	-	May	8	11:56:25s 0:03:35 -
-Rule	sol88	1988	only	-	May	9	11:56:25s 0:03:35 -
-Rule	sol88	1988	only	-	May	10	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	11	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	12	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	13	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	14	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	15	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	16	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	17	11:56:20s 0:03:40 -
-Rule	sol88	1988	only	-	May	18	11:56:25s 0:03:35 -
-Rule	sol88	1988	only	-	May	19	11:56:25s 0:03:35 -
-Rule	sol88	1988	only	-	May	20	11:56:30s 0:03:30 -
-Rule	sol88	1988	only	-	May	21	11:56:35s 0:03:25 -
-Rule	sol88	1988	only	-	May	22	11:56:40s 0:03:20 -
-Rule	sol88	1988	only	-	May	23	11:56:45s 0:03:15 -
-Rule	sol88	1988	only	-	May	24	11:56:50s 0:03:10 -
-Rule	sol88	1988	only	-	May	25	11:56:55s 0:03:05 -
-Rule	sol88	1988	only	-	May	26	11:57:00s 0:03:00 -
-Rule	sol88	1988	only	-	May	27	11:57:05s 0:02:55 -
-Rule	sol88	1988	only	-	May	28	11:57:15s 0:02:45 -
-Rule	sol88	1988	only	-	May	29	11:57:20s 0:02:40 -
-Rule	sol88	1988	only	-	May	30	11:57:30s 0:02:30 -
-Rule	sol88	1988	only	-	May	31	11:57:40s 0:02:20 -
-Rule	sol88	1988	only	-	Jun	1	11:57:50s 0:02:10 -
-Rule	sol88	1988	only	-	Jun	2	11:57:55s 0:02:05 -
-Rule	sol88	1988	only	-	Jun	3	11:58:05s 0:01:55 -
-Rule	sol88	1988	only	-	Jun	4	11:58:15s 0:01:45 -
-Rule	sol88	1988	only	-	Jun	5	11:58:30s 0:01:30 -
-Rule	sol88	1988	only	-	Jun	6	11:58:40s 0:01:20 -
-Rule	sol88	1988	only	-	Jun	7	11:58:50s 0:01:10 -
-Rule	sol88	1988	only	-	Jun	8	11:59:00s 0:01:00 -
-Rule	sol88	1988	only	-	Jun	9	11:59:15s 0:00:45 -
-Rule	sol88	1988	only	-	Jun	10	11:59:25s 0:00:35 -
-Rule	sol88	1988	only	-	Jun	11	11:59:35s 0:00:25 -
-Rule	sol88	1988	only	-	Jun	12	11:59:50s 0:00:10 -
-Rule	sol88	1988	only	-	Jun	13	12:00:00s 0:00:00 -
-Rule	sol88	1988	only	-	Jun	14	12:00:15s -0:00:15 -
-Rule	sol88	1988	only	-	Jun	15	12:00:25s -0:00:25 -
-Rule	sol88	1988	only	-	Jun	16	12:00:40s -0:00:40 -
-Rule	sol88	1988	only	-	Jun	17	12:00:55s -0:00:55 -
-Rule	sol88	1988	only	-	Jun	18	12:01:05s -0:01:05 -
-Rule	sol88	1988	only	-	Jun	19	12:01:20s -0:01:20 -
-Rule	sol88	1988	only	-	Jun	20	12:01:30s -0:01:30 -
-Rule	sol88	1988	only	-	Jun	21	12:01:45s -0:01:45 -
-Rule	sol88	1988	only	-	Jun	22	12:02:00s -0:02:00 -
-Rule	sol88	1988	only	-	Jun	23	12:02:10s -0:02:10 -
-Rule	sol88	1988	only	-	Jun	24	12:02:25s -0:02:25 -
-Rule	sol88	1988	only	-	Jun	25	12:02:35s -0:02:35 -
-Rule	sol88	1988	only	-	Jun	26	12:02:50s -0:02:50 -
-Rule	sol88	1988	only	-	Jun	27	12:03:00s -0:03:00 -
-Rule	sol88	1988	only	-	Jun	28	12:03:15s -0:03:15 -
-Rule	sol88	1988	only	-	Jun	29	12:03:25s -0:03:25 -
-Rule	sol88	1988	only	-	Jun	30	12:03:40s -0:03:40 -
-Rule	sol88	1988	only	-	Jul	1	12:03:50s -0:03:50 -
-Rule	sol88	1988	only	-	Jul	2	12:04:00s -0:04:00 -
-Rule	sol88	1988	only	-	Jul	3	12:04:10s -0:04:10 -
-Rule	sol88	1988	only	-	Jul	4	12:04:25s -0:04:25 -
-Rule	sol88	1988	only	-	Jul	5	12:04:35s -0:04:35 -
-Rule	sol88	1988	only	-	Jul	6	12:04:45s -0:04:45 -
-Rule	sol88	1988	only	-	Jul	7	12:04:55s -0:04:55 -
-Rule	sol88	1988	only	-	Jul	8	12:05:05s -0:05:05 -
-Rule	sol88	1988	only	-	Jul	9	12:05:10s -0:05:10 -
-Rule	sol88	1988	only	-	Jul	10	12:05:20s -0:05:20 -
-Rule	sol88	1988	only	-	Jul	11	12:05:30s -0:05:30 -
-Rule	sol88	1988	only	-	Jul	12	12:05:35s -0:05:35 -
-Rule	sol88	1988	only	-	Jul	13	12:05:45s -0:05:45 -
-Rule	sol88	1988	only	-	Jul	14	12:05:50s -0:05:50 -
-Rule	sol88	1988	only	-	Jul	15	12:05:55s -0:05:55 -
-Rule	sol88	1988	only	-	Jul	16	12:06:00s -0:06:00 -
-Rule	sol88	1988	only	-	Jul	17	12:06:05s -0:06:05 -
-Rule	sol88	1988	only	-	Jul	18	12:06:10s -0:06:10 -
-Rule	sol88	1988	only	-	Jul	19	12:06:15s -0:06:15 -
-Rule	sol88	1988	only	-	Jul	20	12:06:20s -0:06:20 -
-Rule	sol88	1988	only	-	Jul	21	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jul	22	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jul	23	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jul	24	12:06:30s -0:06:30 -
-Rule	sol88	1988	only	-	Jul	25	12:06:30s -0:06:30 -
-Rule	sol88	1988	only	-	Jul	26	12:06:30s -0:06:30 -
-Rule	sol88	1988	only	-	Jul	27	12:06:30s -0:06:30 -
-Rule	sol88	1988	only	-	Jul	28	12:06:30s -0:06:30 -
-Rule	sol88	1988	only	-	Jul	29	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jul	30	12:06:25s -0:06:25 -
-Rule	sol88	1988	only	-	Jul	31	12:06:20s -0:06:20 -
-Rule	sol88	1988	only	-	Aug	1	12:06:15s -0:06:15 -
-Rule	sol88	1988	only	-	Aug	2	12:06:15s -0:06:15 -
-Rule	sol88	1988	only	-	Aug	3	12:06:10s -0:06:10 -
-Rule	sol88	1988	only	-	Aug	4	12:06:05s -0:06:05 -
-Rule	sol88	1988	only	-	Aug	5	12:05:55s -0:05:55 -
-Rule	sol88	1988	only	-	Aug	6	12:05:50s -0:05:50 -
-Rule	sol88	1988	only	-	Aug	7	12:05:45s -0:05:45 -
-Rule	sol88	1988	only	-	Aug	8	12:05:35s -0:05:35 -
-Rule	sol88	1988	only	-	Aug	9	12:05:25s -0:05:25 -
-Rule	sol88	1988	only	-	Aug	10	12:05:20s -0:05:20 -
-Rule	sol88	1988	only	-	Aug	11	12:05:10s -0:05:10 -
-Rule	sol88	1988	only	-	Aug	12	12:05:00s -0:05:00 -
-Rule	sol88	1988	only	-	Aug	13	12:04:50s -0:04:50 -
-Rule	sol88	1988	only	-	Aug	14	12:04:35s -0:04:35 -
-Rule	sol88	1988	only	-	Aug	15	12:04:25s -0:04:25 -
-Rule	sol88	1988	only	-	Aug	16	12:04:15s -0:04:15 -
-Rule	sol88	1988	only	-	Aug	17	12:04:00s -0:04:00 -
-Rule	sol88	1988	only	-	Aug	18	12:03:50s -0:03:50 -
-Rule	sol88	1988	only	-	Aug	19	12:03:35s -0:03:35 -
-Rule	sol88	1988	only	-	Aug	20	12:03:20s -0:03:20 -
-Rule	sol88	1988	only	-	Aug	21	12:03:05s -0:03:05 -
-Rule	sol88	1988	only	-	Aug	22	12:02:50s -0:02:50 -
-Rule	sol88	1988	only	-	Aug	23	12:02:35s -0:02:35 -
-Rule	sol88	1988	only	-	Aug	24	12:02:20s -0:02:20 -
-Rule	sol88	1988	only	-	Aug	25	12:02:00s -0:02:00 -
-Rule	sol88	1988	only	-	Aug	26	12:01:45s -0:01:45 -
-Rule	sol88	1988	only	-	Aug	27	12:01:30s -0:01:30 -
-Rule	sol88	1988	only	-	Aug	28	12:01:10s -0:01:10 -
-Rule	sol88	1988	only	-	Aug	29	12:00:50s -0:00:50 -
-Rule	sol88	1988	only	-	Aug	30	12:00:35s -0:00:35 -
-Rule	sol88	1988	only	-	Aug	31	12:00:15s -0:00:15 -
-Rule	sol88	1988	only	-	Sep	1	11:59:55s 0:00:05 -
-Rule	sol88	1988	only	-	Sep	2	11:59:35s 0:00:25 -
-Rule	sol88	1988	only	-	Sep	3	11:59:20s 0:00:40 -
-Rule	sol88	1988	only	-	Sep	4	11:59:00s 0:01:00 -
-Rule	sol88	1988	only	-	Sep	5	11:58:40s 0:01:20 -
-Rule	sol88	1988	only	-	Sep	6	11:58:20s 0:01:40 -
-Rule	sol88	1988	only	-	Sep	7	11:58:00s 0:02:00 -
-Rule	sol88	1988	only	-	Sep	8	11:57:35s 0:02:25 -
-Rule	sol88	1988	only	-	Sep	9	11:57:15s 0:02:45 -
-Rule	sol88	1988	only	-	Sep	10	11:56:55s 0:03:05 -
-Rule	sol88	1988	only	-	Sep	11	11:56:35s 0:03:25 -
-Rule	sol88	1988	only	-	Sep	12	11:56:15s 0:03:45 -
-Rule	sol88	1988	only	-	Sep	13	11:55:50s 0:04:10 -
-Rule	sol88	1988	only	-	Sep	14	11:55:30s 0:04:30 -
-Rule	sol88	1988	only	-	Sep	15	11:55:10s 0:04:50 -
-Rule	sol88	1988	only	-	Sep	16	11:54:50s 0:05:10 -
-Rule	sol88	1988	only	-	Sep	17	11:54:25s 0:05:35 -
-Rule	sol88	1988	only	-	Sep	18	11:54:05s 0:05:55 -
-Rule	sol88	1988	only	-	Sep	19	11:53:45s 0:06:15 -
-Rule	sol88	1988	only	-	Sep	20	11:53:25s 0:06:35 -
-Rule	sol88	1988	only	-	Sep	21	11:53:00s 0:07:00 -
-Rule	sol88	1988	only	-	Sep	22	11:52:40s 0:07:20 -
-Rule	sol88	1988	only	-	Sep	23	11:52:20s 0:07:40 -
-Rule	sol88	1988	only	-	Sep	24	11:52:00s 0:08:00 -
-Rule	sol88	1988	only	-	Sep	25	11:51:40s 0:08:20 -
-Rule	sol88	1988	only	-	Sep	26	11:51:15s 0:08:45 -
-Rule	sol88	1988	only	-	Sep	27	11:50:55s 0:09:05 -
-Rule	sol88	1988	only	-	Sep	28	11:50:35s 0:09:25 -
-Rule	sol88	1988	only	-	Sep	29	11:50:15s 0:09:45 -
-Rule	sol88	1988	only	-	Sep	30	11:49:55s 0:10:05 -
-Rule	sol88	1988	only	-	Oct	1	11:49:35s 0:10:25 -
-Rule	sol88	1988	only	-	Oct	2	11:49:20s 0:10:40 -
-Rule	sol88	1988	only	-	Oct	3	11:49:00s 0:11:00 -
-Rule	sol88	1988	only	-	Oct	4	11:48:40s 0:11:20 -
-Rule	sol88	1988	only	-	Oct	5	11:48:25s 0:11:35 -
-Rule	sol88	1988	only	-	Oct	6	11:48:05s 0:11:55 -
-Rule	sol88	1988	only	-	Oct	7	11:47:50s 0:12:10 -
-Rule	sol88	1988	only	-	Oct	8	11:47:30s 0:12:30 -
-Rule	sol88	1988	only	-	Oct	9	11:47:15s 0:12:45 -
-Rule	sol88	1988	only	-	Oct	10	11:47:00s 0:13:00 -
-Rule	sol88	1988	only	-	Oct	11	11:46:45s 0:13:15 -
-Rule	sol88	1988	only	-	Oct	12	11:46:30s 0:13:30 -
-Rule	sol88	1988	only	-	Oct	13	11:46:15s 0:13:45 -
-Rule	sol88	1988	only	-	Oct	14	11:46:00s 0:14:00 -
-Rule	sol88	1988	only	-	Oct	15	11:45:45s 0:14:15 -
-Rule	sol88	1988	only	-	Oct	16	11:45:35s 0:14:25 -
-Rule	sol88	1988	only	-	Oct	17	11:45:20s 0:14:40 -
-Rule	sol88	1988	only	-	Oct	18	11:45:10s 0:14:50 -
-Rule	sol88	1988	only	-	Oct	19	11:45:00s 0:15:00 -
-Rule	sol88	1988	only	-	Oct	20	11:44:45s 0:15:15 -
-Rule	sol88	1988	only	-	Oct	21	11:44:40s 0:15:20 -
-Rule	sol88	1988	only	-	Oct	22	11:44:30s 0:15:30 -
-Rule	sol88	1988	only	-	Oct	23	11:44:20s 0:15:40 -
-Rule	sol88	1988	only	-	Oct	24	11:44:10s 0:15:50 -
-Rule	sol88	1988	only	-	Oct	25	11:44:05s 0:15:55 -
-Rule	sol88	1988	only	-	Oct	26	11:44:00s 0:16:00 -
-Rule	sol88	1988	only	-	Oct	27	11:43:55s 0:16:05 -
-Rule	sol88	1988	only	-	Oct	28	11:43:50s 0:16:10 -
-Rule	sol88	1988	only	-	Oct	29	11:43:45s 0:16:15 -
-Rule	sol88	1988	only	-	Oct	30	11:43:40s 0:16:20 -
-Rule	sol88	1988	only	-	Oct	31	11:43:40s 0:16:20 -
-Rule	sol88	1988	only	-	Nov	1	11:43:35s 0:16:25 -
-Rule	sol88	1988	only	-	Nov	2	11:43:35s 0:16:25 -
-Rule	sol88	1988	only	-	Nov	3	11:43:35s 0:16:25 -
-Rule	sol88	1988	only	-	Nov	4	11:43:35s 0:16:25 -
-Rule	sol88	1988	only	-	Nov	5	11:43:40s 0:16:20 -
-Rule	sol88	1988	only	-	Nov	6	11:43:40s 0:16:20 -
-Rule	sol88	1988	only	-	Nov	7	11:43:45s 0:16:15 -
-Rule	sol88	1988	only	-	Nov	8	11:43:45s 0:16:15 -
-Rule	sol88	1988	only	-	Nov	9	11:43:50s 0:16:10 -
-Rule	sol88	1988	only	-	Nov	10	11:44:00s 0:16:00 -
-Rule	sol88	1988	only	-	Nov	11	11:44:05s 0:15:55 -
-Rule	sol88	1988	only	-	Nov	12	11:44:10s 0:15:50 -
-Rule	sol88	1988	only	-	Nov	13	11:44:20s 0:15:40 -
-Rule	sol88	1988	only	-	Nov	14	11:44:30s 0:15:30 -
-Rule	sol88	1988	only	-	Nov	15	11:44:40s 0:15:20 -
-Rule	sol88	1988	only	-	Nov	16	11:44:50s 0:15:10 -
-Rule	sol88	1988	only	-	Nov	17	11:45:00s 0:15:00 -
-Rule	sol88	1988	only	-	Nov	18	11:45:15s 0:14:45 -
-Rule	sol88	1988	only	-	Nov	19	11:45:25s 0:14:35 -
-Rule	sol88	1988	only	-	Nov	20	11:45:40s 0:14:20 -
-Rule	sol88	1988	only	-	Nov	21	11:45:55s 0:14:05 -
-Rule	sol88	1988	only	-	Nov	22	11:46:10s 0:13:50 -
-Rule	sol88	1988	only	-	Nov	23	11:46:30s 0:13:30 -
-Rule	sol88	1988	only	-	Nov	24	11:46:45s 0:13:15 -
-Rule	sol88	1988	only	-	Nov	25	11:47:05s 0:12:55 -
-Rule	sol88	1988	only	-	Nov	26	11:47:20s 0:12:40 -
-Rule	sol88	1988	only	-	Nov	27	11:47:40s 0:12:20 -
-Rule	sol88	1988	only	-	Nov	28	11:48:00s 0:12:00 -
-Rule	sol88	1988	only	-	Nov	29	11:48:25s 0:11:35 -
-Rule	sol88	1988	only	-	Nov	30	11:48:45s 0:11:15 -
-Rule	sol88	1988	only	-	Dec	1	11:49:05s 0:10:55 -
-Rule	sol88	1988	only	-	Dec	2	11:49:30s 0:10:30 -
-Rule	sol88	1988	only	-	Dec	3	11:49:55s 0:10:05 -
-Rule	sol88	1988	only	-	Dec	4	11:50:15s 0:09:45 -
-Rule	sol88	1988	only	-	Dec	5	11:50:40s 0:09:20 -
-Rule	sol88	1988	only	-	Dec	6	11:51:05s 0:08:55 -
-Rule	sol88	1988	only	-	Dec	7	11:51:35s 0:08:25 -
-Rule	sol88	1988	only	-	Dec	8	11:52:00s 0:08:00 -
-Rule	sol88	1988	only	-	Dec	9	11:52:25s 0:07:35 -
-Rule	sol88	1988	only	-	Dec	10	11:52:55s 0:07:05 -
-Rule	sol88	1988	only	-	Dec	11	11:53:20s 0:06:40 -
-Rule	sol88	1988	only	-	Dec	12	11:53:50s 0:06:10 -
-Rule	sol88	1988	only	-	Dec	13	11:54:15s 0:05:45 -
-Rule	sol88	1988	only	-	Dec	14	11:54:45s 0:05:15 -
-Rule	sol88	1988	only	-	Dec	15	11:55:15s 0:04:45 -
-Rule	sol88	1988	only	-	Dec	16	11:55:45s 0:04:15 -
-Rule	sol88	1988	only	-	Dec	17	11:56:15s 0:03:45 -
-Rule	sol88	1988	only	-	Dec	18	11:56:40s 0:03:20 -
-Rule	sol88	1988	only	-	Dec	19	11:57:10s 0:02:50 -
-Rule	sol88	1988	only	-	Dec	20	11:57:40s 0:02:20 -
-Rule	sol88	1988	only	-	Dec	21	11:58:10s 0:01:50 -
-Rule	sol88	1988	only	-	Dec	22	11:58:40s 0:01:20 -
-Rule	sol88	1988	only	-	Dec	23	11:59:10s 0:00:50 -
-Rule	sol88	1988	only	-	Dec	24	11:59:40s 0:00:20 -
-Rule	sol88	1988	only	-	Dec	25	12:00:10s -0:00:10 -
-Rule	sol88	1988	only	-	Dec	26	12:00:40s -0:00:40 -
-Rule	sol88	1988	only	-	Dec	27	12:01:10s -0:01:10 -
-Rule	sol88	1988	only	-	Dec	28	12:01:40s -0:01:40 -
-Rule	sol88	1988	only	-	Dec	29	12:02:10s -0:02:10 -
-Rule	sol88	1988	only	-	Dec	30	12:02:35s -0:02:35 -
-Rule	sol88	1988	only	-	Dec	31	12:03:05s -0:03:05 -
-
-# Riyadh is at about 46 degrees 46 minutes East:  3 hrs, 7 mins, 4 secs
-# Before and after 1988, we'll operate on local mean solar time.
-
-# Zone	NAME		GMTOFF	RULES/SAVE	FORMAT	[UNTIL]
-Zone	Asia/Riyadh88	3:07:04	-		zzz	1988
-			3:07:04	sol88		zzz	1989
-			3:07:04	-		zzz
-# For backward compatibility...
-Link	Asia/Riyadh88	Mideast/Riyadh88
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/solar89 postgresql-8.4-8.4.20/src/timezone/data/solar89
--- postgresql-8.4-8.4.17/src/timezone/data/solar89	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/solar89	1970-01-01 00:00:00.000000000 +0000
@@ -1,395 +0,0 @@
-# 
-# This file is in the public domain, so clarified as of
-# 2009-05-17 by Arthur David Olson.
-
-# Apparent noon times below are for Riyadh; they're a bit off for other places.
-# Times were computed using a formula provided by the U. S. Naval Observatory:
-#	eqt = -105.8 * sin(l) + 596.2 * sin(2 * l) + 4.4 * sin(3 * l)
-#		-12.7 * sin(4 * l) - 429.0 * cos(l) - 2.1 * cos (2 * l)
-#		+ 19.3 * cos(3 * l);
-# where l is the "mean longitude of the Sun" given by
-#	l = 279.642 degrees + 0.985647 * d
-# and d is the interval in days from January 0, 0 hours Universal Time
-# (equaling the day of the year plus the fraction of a day from zero hours).
-# The accuracy of the formula is plus or minus three seconds.
-#
-# Rounding to the nearest five seconds results in fewer than
-# 256 different "time types"--a limit that's faced because time types are
-# stored on disk as unsigned chars.
-
-# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	sol89	1989	only	-	Jan	1	12:03:35s -0:03:35 -
-Rule	sol89	1989	only	-	Jan	2	12:04:05s -0:04:05 -
-Rule	sol89	1989	only	-	Jan	3	12:04:30s -0:04:30 -
-Rule	sol89	1989	only	-	Jan	4	12:05:00s -0:05:00 -
-Rule	sol89	1989	only	-	Jan	5	12:05:25s -0:05:25 -
-Rule	sol89	1989	only	-	Jan	6	12:05:50s -0:05:50 -
-Rule	sol89	1989	only	-	Jan	7	12:06:15s -0:06:15 -
-Rule	sol89	1989	only	-	Jan	8	12:06:45s -0:06:45 -
-Rule	sol89	1989	only	-	Jan	9	12:07:10s -0:07:10 -
-Rule	sol89	1989	only	-	Jan	10	12:07:35s -0:07:35 -
-Rule	sol89	1989	only	-	Jan	11	12:07:55s -0:07:55 -
-Rule	sol89	1989	only	-	Jan	12	12:08:20s -0:08:20 -
-Rule	sol89	1989	only	-	Jan	13	12:08:45s -0:08:45 -
-Rule	sol89	1989	only	-	Jan	14	12:09:05s -0:09:05 -
-Rule	sol89	1989	only	-	Jan	15	12:09:25s -0:09:25 -
-Rule	sol89	1989	only	-	Jan	16	12:09:45s -0:09:45 -
-Rule	sol89	1989	only	-	Jan	17	12:10:05s -0:10:05 -
-Rule	sol89	1989	only	-	Jan	18	12:10:25s -0:10:25 -
-Rule	sol89	1989	only	-	Jan	19	12:10:45s -0:10:45 -
-Rule	sol89	1989	only	-	Jan	20	12:11:05s -0:11:05 -
-Rule	sol89	1989	only	-	Jan	21	12:11:20s -0:11:20 -
-Rule	sol89	1989	only	-	Jan	22	12:11:35s -0:11:35 -
-Rule	sol89	1989	only	-	Jan	23	12:11:55s -0:11:55 -
-Rule	sol89	1989	only	-	Jan	24	12:12:10s -0:12:10 -
-Rule	sol89	1989	only	-	Jan	25	12:12:20s -0:12:20 -
-Rule	sol89	1989	only	-	Jan	26	12:12:35s -0:12:35 -
-Rule	sol89	1989	only	-	Jan	27	12:12:50s -0:12:50 -
-Rule	sol89	1989	only	-	Jan	28	12:13:00s -0:13:00 -
-Rule	sol89	1989	only	-	Jan	29	12:13:10s -0:13:10 -
-Rule	sol89	1989	only	-	Jan	30	12:13:20s -0:13:20 -
-Rule	sol89	1989	only	-	Jan	31	12:13:30s -0:13:30 -
-Rule	sol89	1989	only	-	Feb	1	12:13:40s -0:13:40 -
-Rule	sol89	1989	only	-	Feb	2	12:13:45s -0:13:45 -
-Rule	sol89	1989	only	-	Feb	3	12:13:55s -0:13:55 -
-Rule	sol89	1989	only	-	Feb	4	12:14:00s -0:14:00 -
-Rule	sol89	1989	only	-	Feb	5	12:14:05s -0:14:05 -
-Rule	sol89	1989	only	-	Feb	6	12:14:10s -0:14:10 -
-Rule	sol89	1989	only	-	Feb	7	12:14:10s -0:14:10 -
-Rule	sol89	1989	only	-	Feb	8	12:14:15s -0:14:15 -
-Rule	sol89	1989	only	-	Feb	9	12:14:15s -0:14:15 -
-Rule	sol89	1989	only	-	Feb	10	12:14:20s -0:14:20 -
-Rule	sol89	1989	only	-	Feb	11	12:14:20s -0:14:20 -
-Rule	sol89	1989	only	-	Feb	12	12:14:20s -0:14:20 -
-Rule	sol89	1989	only	-	Feb	13	12:14:15s -0:14:15 -
-Rule	sol89	1989	only	-	Feb	14	12:14:15s -0:14:15 -
-Rule	sol89	1989	only	-	Feb	15	12:14:10s -0:14:10 -
-Rule	sol89	1989	only	-	Feb	16	12:14:10s -0:14:10 -
-Rule	sol89	1989	only	-	Feb	17	12:14:05s -0:14:05 -
-Rule	sol89	1989	only	-	Feb	18	12:14:00s -0:14:00 -
-Rule	sol89	1989	only	-	Feb	19	12:13:55s -0:13:55 -
-Rule	sol89	1989	only	-	Feb	20	12:13:50s -0:13:50 -
-Rule	sol89	1989	only	-	Feb	21	12:13:40s -0:13:40 -
-Rule	sol89	1989	only	-	Feb	22	12:13:35s -0:13:35 -
-Rule	sol89	1989	only	-	Feb	23	12:13:25s -0:13:25 -
-Rule	sol89	1989	only	-	Feb	24	12:13:15s -0:13:15 -
-Rule	sol89	1989	only	-	Feb	25	12:13:05s -0:13:05 -
-Rule	sol89	1989	only	-	Feb	26	12:12:55s -0:12:55 -
-Rule	sol89	1989	only	-	Feb	27	12:12:45s -0:12:45 -
-Rule	sol89	1989	only	-	Feb	28	12:12:35s -0:12:35 -
-Rule	sol89	1989	only	-	Mar	1	12:12:25s -0:12:25 -
-Rule	sol89	1989	only	-	Mar	2	12:12:10s -0:12:10 -
-Rule	sol89	1989	only	-	Mar	3	12:12:00s -0:12:00 -
-Rule	sol89	1989	only	-	Mar	4	12:11:45s -0:11:45 -
-Rule	sol89	1989	only	-	Mar	5	12:11:35s -0:11:35 -
-Rule	sol89	1989	only	-	Mar	6	12:11:20s -0:11:20 -
-Rule	sol89	1989	only	-	Mar	7	12:11:05s -0:11:05 -
-Rule	sol89	1989	only	-	Mar	8	12:10:50s -0:10:50 -
-Rule	sol89	1989	only	-	Mar	9	12:10:35s -0:10:35 -
-Rule	sol89	1989	only	-	Mar	10	12:10:20s -0:10:20 -
-Rule	sol89	1989	only	-	Mar	11	12:10:05s -0:10:05 -
-Rule	sol89	1989	only	-	Mar	12	12:09:50s -0:09:50 -
-Rule	sol89	1989	only	-	Mar	13	12:09:30s -0:09:30 -
-Rule	sol89	1989	only	-	Mar	14	12:09:15s -0:09:15 -
-Rule	sol89	1989	only	-	Mar	15	12:09:00s -0:09:00 -
-Rule	sol89	1989	only	-	Mar	16	12:08:40s -0:08:40 -
-Rule	sol89	1989	only	-	Mar	17	12:08:25s -0:08:25 -
-Rule	sol89	1989	only	-	Mar	18	12:08:05s -0:08:05 -
-Rule	sol89	1989	only	-	Mar	19	12:07:50s -0:07:50 -
-Rule	sol89	1989	only	-	Mar	20	12:07:30s -0:07:30 -
-Rule	sol89	1989	only	-	Mar	21	12:07:15s -0:07:15 -
-Rule	sol89	1989	only	-	Mar	22	12:06:55s -0:06:55 -
-Rule	sol89	1989	only	-	Mar	23	12:06:35s -0:06:35 -
-Rule	sol89	1989	only	-	Mar	24	12:06:20s -0:06:20 -
-Rule	sol89	1989	only	-	Mar	25	12:06:00s -0:06:00 -
-Rule	sol89	1989	only	-	Mar	26	12:05:40s -0:05:40 -
-Rule	sol89	1989	only	-	Mar	27	12:05:25s -0:05:25 -
-Rule	sol89	1989	only	-	Mar	28	12:05:05s -0:05:05 -
-Rule	sol89	1989	only	-	Mar	29	12:04:50s -0:04:50 -
-Rule	sol89	1989	only	-	Mar	30	12:04:30s -0:04:30 -
-Rule	sol89	1989	only	-	Mar	31	12:04:10s -0:04:10 -
-Rule	sol89	1989	only	-	Apr	1	12:03:55s -0:03:55 -
-Rule	sol89	1989	only	-	Apr	2	12:03:35s -0:03:35 -
-Rule	sol89	1989	only	-	Apr	3	12:03:20s -0:03:20 -
-Rule	sol89	1989	only	-	Apr	4	12:03:00s -0:03:00 -
-Rule	sol89	1989	only	-	Apr	5	12:02:45s -0:02:45 -
-Rule	sol89	1989	only	-	Apr	6	12:02:25s -0:02:25 -
-Rule	sol89	1989	only	-	Apr	7	12:02:10s -0:02:10 -
-Rule	sol89	1989	only	-	Apr	8	12:01:50s -0:01:50 -
-Rule	sol89	1989	only	-	Apr	9	12:01:35s -0:01:35 -
-Rule	sol89	1989	only	-	Apr	10	12:01:20s -0:01:20 -
-Rule	sol89	1989	only	-	Apr	11	12:01:05s -0:01:05 -
-Rule	sol89	1989	only	-	Apr	12	12:00:50s -0:00:50 -
-Rule	sol89	1989	only	-	Apr	13	12:00:35s -0:00:35 -
-Rule	sol89	1989	only	-	Apr	14	12:00:20s -0:00:20 -
-Rule	sol89	1989	only	-	Apr	15	12:00:05s -0:00:05 -
-Rule	sol89	1989	only	-	Apr	16	11:59:50s 0:00:10 -
-Rule	sol89	1989	only	-	Apr	17	11:59:35s 0:00:25 -
-Rule	sol89	1989	only	-	Apr	18	11:59:20s 0:00:40 -
-Rule	sol89	1989	only	-	Apr	19	11:59:10s 0:00:50 -
-Rule	sol89	1989	only	-	Apr	20	11:58:55s 0:01:05 -
-Rule	sol89	1989	only	-	Apr	21	11:58:45s 0:01:15 -
-Rule	sol89	1989	only	-	Apr	22	11:58:30s 0:01:30 -
-Rule	sol89	1989	only	-	Apr	23	11:58:20s 0:01:40 -
-Rule	sol89	1989	only	-	Apr	24	11:58:10s 0:01:50 -
-Rule	sol89	1989	only	-	Apr	25	11:58:00s 0:02:00 -
-Rule	sol89	1989	only	-	Apr	26	11:57:50s 0:02:10 -
-Rule	sol89	1989	only	-	Apr	27	11:57:40s 0:02:20 -
-Rule	sol89	1989	only	-	Apr	28	11:57:30s 0:02:30 -
-Rule	sol89	1989	only	-	Apr	29	11:57:20s 0:02:40 -
-Rule	sol89	1989	only	-	Apr	30	11:57:15s 0:02:45 -
-Rule	sol89	1989	only	-	May	1	11:57:05s 0:02:55 -
-Rule	sol89	1989	only	-	May	2	11:57:00s 0:03:00 -
-Rule	sol89	1989	only	-	May	3	11:56:50s 0:03:10 -
-Rule	sol89	1989	only	-	May	4	11:56:45s 0:03:15 -
-Rule	sol89	1989	only	-	May	5	11:56:40s 0:03:20 -
-Rule	sol89	1989	only	-	May	6	11:56:35s 0:03:25 -
-Rule	sol89	1989	only	-	May	7	11:56:30s 0:03:30 -
-Rule	sol89	1989	only	-	May	8	11:56:30s 0:03:30 -
-Rule	sol89	1989	only	-	May	9	11:56:25s 0:03:35 -
-Rule	sol89	1989	only	-	May	10	11:56:25s 0:03:35 -
-Rule	sol89	1989	only	-	May	11	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	12	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	13	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	14	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	15	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	16	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	17	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	May	18	11:56:25s 0:03:35 -
-Rule	sol89	1989	only	-	May	19	11:56:25s 0:03:35 -
-Rule	sol89	1989	only	-	May	20	11:56:30s 0:03:30 -
-Rule	sol89	1989	only	-	May	21	11:56:35s 0:03:25 -
-Rule	sol89	1989	only	-	May	22	11:56:35s 0:03:25 -
-Rule	sol89	1989	only	-	May	23	11:56:40s 0:03:20 -
-Rule	sol89	1989	only	-	May	24	11:56:45s 0:03:15 -
-Rule	sol89	1989	only	-	May	25	11:56:55s 0:03:05 -
-Rule	sol89	1989	only	-	May	26	11:57:00s 0:03:00 -
-Rule	sol89	1989	only	-	May	27	11:57:05s 0:02:55 -
-Rule	sol89	1989	only	-	May	28	11:57:15s 0:02:45 -
-Rule	sol89	1989	only	-	May	29	11:57:20s 0:02:40 -
-Rule	sol89	1989	only	-	May	30	11:57:30s 0:02:30 -
-Rule	sol89	1989	only	-	May	31	11:57:35s 0:02:25 -
-Rule	sol89	1989	only	-	Jun	1	11:57:45s 0:02:15 -
-Rule	sol89	1989	only	-	Jun	2	11:57:55s 0:02:05 -
-Rule	sol89	1989	only	-	Jun	3	11:58:05s 0:01:55 -
-Rule	sol89	1989	only	-	Jun	4	11:58:15s 0:01:45 -
-Rule	sol89	1989	only	-	Jun	5	11:58:25s 0:01:35 -
-Rule	sol89	1989	only	-	Jun	6	11:58:35s 0:01:25 -
-Rule	sol89	1989	only	-	Jun	7	11:58:45s 0:01:15 -
-Rule	sol89	1989	only	-	Jun	8	11:59:00s 0:01:00 -
-Rule	sol89	1989	only	-	Jun	9	11:59:10s 0:00:50 -
-Rule	sol89	1989	only	-	Jun	10	11:59:20s 0:00:40 -
-Rule	sol89	1989	only	-	Jun	11	11:59:35s 0:00:25 -
-Rule	sol89	1989	only	-	Jun	12	11:59:45s 0:00:15 -
-Rule	sol89	1989	only	-	Jun	13	12:00:00s 0:00:00 -
-Rule	sol89	1989	only	-	Jun	14	12:00:10s -0:00:10 -
-Rule	sol89	1989	only	-	Jun	15	12:00:25s -0:00:25 -
-Rule	sol89	1989	only	-	Jun	16	12:00:35s -0:00:35 -
-Rule	sol89	1989	only	-	Jun	17	12:00:50s -0:00:50 -
-Rule	sol89	1989	only	-	Jun	18	12:01:05s -0:01:05 -
-Rule	sol89	1989	only	-	Jun	19	12:01:15s -0:01:15 -
-Rule	sol89	1989	only	-	Jun	20	12:01:30s -0:01:30 -
-Rule	sol89	1989	only	-	Jun	21	12:01:40s -0:01:40 -
-Rule	sol89	1989	only	-	Jun	22	12:01:55s -0:01:55 -
-Rule	sol89	1989	only	-	Jun	23	12:02:10s -0:02:10 -
-Rule	sol89	1989	only	-	Jun	24	12:02:20s -0:02:20 -
-Rule	sol89	1989	only	-	Jun	25	12:02:35s -0:02:35 -
-Rule	sol89	1989	only	-	Jun	26	12:02:45s -0:02:45 -
-Rule	sol89	1989	only	-	Jun	27	12:03:00s -0:03:00 -
-Rule	sol89	1989	only	-	Jun	28	12:03:10s -0:03:10 -
-Rule	sol89	1989	only	-	Jun	29	12:03:25s -0:03:25 -
-Rule	sol89	1989	only	-	Jun	30	12:03:35s -0:03:35 -
-Rule	sol89	1989	only	-	Jul	1	12:03:45s -0:03:45 -
-Rule	sol89	1989	only	-	Jul	2	12:04:00s -0:04:00 -
-Rule	sol89	1989	only	-	Jul	3	12:04:10s -0:04:10 -
-Rule	sol89	1989	only	-	Jul	4	12:04:20s -0:04:20 -
-Rule	sol89	1989	only	-	Jul	5	12:04:30s -0:04:30 -
-Rule	sol89	1989	only	-	Jul	6	12:04:40s -0:04:40 -
-Rule	sol89	1989	only	-	Jul	7	12:04:50s -0:04:50 -
-Rule	sol89	1989	only	-	Jul	8	12:05:00s -0:05:00 -
-Rule	sol89	1989	only	-	Jul	9	12:05:10s -0:05:10 -
-Rule	sol89	1989	only	-	Jul	10	12:05:20s -0:05:20 -
-Rule	sol89	1989	only	-	Jul	11	12:05:25s -0:05:25 -
-Rule	sol89	1989	only	-	Jul	12	12:05:35s -0:05:35 -
-Rule	sol89	1989	only	-	Jul	13	12:05:40s -0:05:40 -
-Rule	sol89	1989	only	-	Jul	14	12:05:50s -0:05:50 -
-Rule	sol89	1989	only	-	Jul	15	12:05:55s -0:05:55 -
-Rule	sol89	1989	only	-	Jul	16	12:06:00s -0:06:00 -
-Rule	sol89	1989	only	-	Jul	17	12:06:05s -0:06:05 -
-Rule	sol89	1989	only	-	Jul	18	12:06:10s -0:06:10 -
-Rule	sol89	1989	only	-	Jul	19	12:06:15s -0:06:15 -
-Rule	sol89	1989	only	-	Jul	20	12:06:20s -0:06:20 -
-Rule	sol89	1989	only	-	Jul	21	12:06:20s -0:06:20 -
-Rule	sol89	1989	only	-	Jul	22	12:06:25s -0:06:25 -
-Rule	sol89	1989	only	-	Jul	23	12:06:25s -0:06:25 -
-Rule	sol89	1989	only	-	Jul	24	12:06:30s -0:06:30 -
-Rule	sol89	1989	only	-	Jul	25	12:06:30s -0:06:30 -
-Rule	sol89	1989	only	-	Jul	26	12:06:30s -0:06:30 -
-Rule	sol89	1989	only	-	Jul	27	12:06:30s -0:06:30 -
-Rule	sol89	1989	only	-	Jul	28	12:06:30s -0:06:30 -
-Rule	sol89	1989	only	-	Jul	29	12:06:25s -0:06:25 -
-Rule	sol89	1989	only	-	Jul	30	12:06:25s -0:06:25 -
-Rule	sol89	1989	only	-	Jul	31	12:06:20s -0:06:20 -
-Rule	sol89	1989	only	-	Aug	1	12:06:20s -0:06:20 -
-Rule	sol89	1989	only	-	Aug	2	12:06:15s -0:06:15 -
-Rule	sol89	1989	only	-	Aug	3	12:06:10s -0:06:10 -
-Rule	sol89	1989	only	-	Aug	4	12:06:05s -0:06:05 -
-Rule	sol89	1989	only	-	Aug	5	12:06:00s -0:06:00 -
-Rule	sol89	1989	only	-	Aug	6	12:05:50s -0:05:50 -
-Rule	sol89	1989	only	-	Aug	7	12:05:45s -0:05:45 -
-Rule	sol89	1989	only	-	Aug	8	12:05:35s -0:05:35 -
-Rule	sol89	1989	only	-	Aug	9	12:05:30s -0:05:30 -
-Rule	sol89	1989	only	-	Aug	10	12:05:20s -0:05:20 -
-Rule	sol89	1989	only	-	Aug	11	12:05:10s -0:05:10 -
-Rule	sol89	1989	only	-	Aug	12	12:05:00s -0:05:00 -
-Rule	sol89	1989	only	-	Aug	13	12:04:50s -0:04:50 -
-Rule	sol89	1989	only	-	Aug	14	12:04:40s -0:04:40 -
-Rule	sol89	1989	only	-	Aug	15	12:04:30s -0:04:30 -
-Rule	sol89	1989	only	-	Aug	16	12:04:15s -0:04:15 -
-Rule	sol89	1989	only	-	Aug	17	12:04:05s -0:04:05 -
-Rule	sol89	1989	only	-	Aug	18	12:03:50s -0:03:50 -
-Rule	sol89	1989	only	-	Aug	19	12:03:35s -0:03:35 -
-Rule	sol89	1989	only	-	Aug	20	12:03:25s -0:03:25 -
-Rule	sol89	1989	only	-	Aug	21	12:03:10s -0:03:10 -
-Rule	sol89	1989	only	-	Aug	22	12:02:55s -0:02:55 -
-Rule	sol89	1989	only	-	Aug	23	12:02:40s -0:02:40 -
-Rule	sol89	1989	only	-	Aug	24	12:02:20s -0:02:20 -
-Rule	sol89	1989	only	-	Aug	25	12:02:05s -0:02:05 -
-Rule	sol89	1989	only	-	Aug	26	12:01:50s -0:01:50 -
-Rule	sol89	1989	only	-	Aug	27	12:01:30s -0:01:30 -
-Rule	sol89	1989	only	-	Aug	28	12:01:15s -0:01:15 -
-Rule	sol89	1989	only	-	Aug	29	12:00:55s -0:00:55 -
-Rule	sol89	1989	only	-	Aug	30	12:00:40s -0:00:40 -
-Rule	sol89	1989	only	-	Aug	31	12:00:20s -0:00:20 -
-Rule	sol89	1989	only	-	Sep	1	12:00:00s 0:00:00 -
-Rule	sol89	1989	only	-	Sep	2	11:59:45s 0:00:15 -
-Rule	sol89	1989	only	-	Sep	3	11:59:25s 0:00:35 -
-Rule	sol89	1989	only	-	Sep	4	11:59:05s 0:00:55 -
-Rule	sol89	1989	only	-	Sep	5	11:58:45s 0:01:15 -
-Rule	sol89	1989	only	-	Sep	6	11:58:25s 0:01:35 -
-Rule	sol89	1989	only	-	Sep	7	11:58:05s 0:01:55 -
-Rule	sol89	1989	only	-	Sep	8	11:57:45s 0:02:15 -
-Rule	sol89	1989	only	-	Sep	9	11:57:20s 0:02:40 -
-Rule	sol89	1989	only	-	Sep	10	11:57:00s 0:03:00 -
-Rule	sol89	1989	only	-	Sep	11	11:56:40s 0:03:20 -
-Rule	sol89	1989	only	-	Sep	12	11:56:20s 0:03:40 -
-Rule	sol89	1989	only	-	Sep	13	11:56:00s 0:04:00 -
-Rule	sol89	1989	only	-	Sep	14	11:55:35s 0:04:25 -
-Rule	sol89	1989	only	-	Sep	15	11:55:15s 0:04:45 -
-Rule	sol89	1989	only	-	Sep	16	11:54:55s 0:05:05 -
-Rule	sol89	1989	only	-	Sep	17	11:54:35s 0:05:25 -
-Rule	sol89	1989	only	-	Sep	18	11:54:10s 0:05:50 -
-Rule	sol89	1989	only	-	Sep	19	11:53:50s 0:06:10 -
-Rule	sol89	1989	only	-	Sep	20	11:53:30s 0:06:30 -
-Rule	sol89	1989	only	-	Sep	21	11:53:10s 0:06:50 -
-Rule	sol89	1989	only	-	Sep	22	11:52:45s 0:07:15 -
-Rule	sol89	1989	only	-	Sep	23	11:52:25s 0:07:35 -
-Rule	sol89	1989	only	-	Sep	24	11:52:05s 0:07:55 -
-Rule	sol89	1989	only	-	Sep	25	11:51:45s 0:08:15 -
-Rule	sol89	1989	only	-	Sep	26	11:51:25s 0:08:35 -
-Rule	sol89	1989	only	-	Sep	27	11:51:05s 0:08:55 -
-Rule	sol89	1989	only	-	Sep	28	11:50:40s 0:09:20 -
-Rule	sol89	1989	only	-	Sep	29	11:50:20s 0:09:40 -
-Rule	sol89	1989	only	-	Sep	30	11:50:00s 0:10:00 -
-Rule	sol89	1989	only	-	Oct	1	11:49:45s 0:10:15 -
-Rule	sol89	1989	only	-	Oct	2	11:49:25s 0:10:35 -
-Rule	sol89	1989	only	-	Oct	3	11:49:05s 0:10:55 -
-Rule	sol89	1989	only	-	Oct	4	11:48:45s 0:11:15 -
-Rule	sol89	1989	only	-	Oct	5	11:48:30s 0:11:30 -
-Rule	sol89	1989	only	-	Oct	6	11:48:10s 0:11:50 -
-Rule	sol89	1989	only	-	Oct	7	11:47:50s 0:12:10 -
-Rule	sol89	1989	only	-	Oct	8	11:47:35s 0:12:25 -
-Rule	sol89	1989	only	-	Oct	9	11:47:20s 0:12:40 -
-Rule	sol89	1989	only	-	Oct	10	11:47:00s 0:13:00 -
-Rule	sol89	1989	only	-	Oct	11	11:46:45s 0:13:15 -
-Rule	sol89	1989	only	-	Oct	12	11:46:30s 0:13:30 -
-Rule	sol89	1989	only	-	Oct	13	11:46:15s 0:13:45 -
-Rule	sol89	1989	only	-	Oct	14	11:46:00s 0:14:00 -
-Rule	sol89	1989	only	-	Oct	15	11:45:50s 0:14:10 -
-Rule	sol89	1989	only	-	Oct	16	11:45:35s 0:14:25 -
-Rule	sol89	1989	only	-	Oct	17	11:45:20s 0:14:40 -
-Rule	sol89	1989	only	-	Oct	18	11:45:10s 0:14:50 -
-Rule	sol89	1989	only	-	Oct	19	11:45:00s 0:15:00 -
-Rule	sol89	1989	only	-	Oct	20	11:44:50s 0:15:10 -
-Rule	sol89	1989	only	-	Oct	21	11:44:40s 0:15:20 -
-Rule	sol89	1989	only	-	Oct	22	11:44:30s 0:15:30 -
-Rule	sol89	1989	only	-	Oct	23	11:44:20s 0:15:40 -
-Rule	sol89	1989	only	-	Oct	24	11:44:10s 0:15:50 -
-Rule	sol89	1989	only	-	Oct	25	11:44:05s 0:15:55 -
-Rule	sol89	1989	only	-	Oct	26	11:44:00s 0:16:00 -
-Rule	sol89	1989	only	-	Oct	27	11:43:50s 0:16:10 -
-Rule	sol89	1989	only	-	Oct	28	11:43:45s 0:16:15 -
-Rule	sol89	1989	only	-	Oct	29	11:43:40s 0:16:20 -
-Rule	sol89	1989	only	-	Oct	30	11:43:40s 0:16:20 -
-Rule	sol89	1989	only	-	Oct	31	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	1	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	2	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	3	11:43:30s 0:16:30 -
-Rule	sol89	1989	only	-	Nov	4	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	5	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	6	11:43:35s 0:16:25 -
-Rule	sol89	1989	only	-	Nov	7	11:43:40s 0:16:20 -
-Rule	sol89	1989	only	-	Nov	8	11:43:45s 0:16:15 -
-Rule	sol89	1989	only	-	Nov	9	11:43:50s 0:16:10 -
-Rule	sol89	1989	only	-	Nov	10	11:43:55s 0:16:05 -
-Rule	sol89	1989	only	-	Nov	11	11:44:00s 0:16:00 -
-Rule	sol89	1989	only	-	Nov	12	11:44:05s 0:15:55 -
-Rule	sol89	1989	only	-	Nov	13	11:44:15s 0:15:45 -
-Rule	sol89	1989	only	-	Nov	14	11:44:25s 0:15:35 -
-Rule	sol89	1989	only	-	Nov	15	11:44:35s 0:15:25 -
-Rule	sol89	1989	only	-	Nov	16	11:44:45s 0:15:15 -
-Rule	sol89	1989	only	-	Nov	17	11:44:55s 0:15:05 -
-Rule	sol89	1989	only	-	Nov	18	11:45:10s 0:14:50 -
-Rule	sol89	1989	only	-	Nov	19	11:45:20s 0:14:40 -
-Rule	sol89	1989	only	-	Nov	20	11:45:35s 0:14:25 -
-Rule	sol89	1989	only	-	Nov	21	11:45:50s 0:14:10 -
-Rule	sol89	1989	only	-	Nov	22	11:46:05s 0:13:55 -
-Rule	sol89	1989	only	-	Nov	23	11:46:25s 0:13:35 -
-Rule	sol89	1989	only	-	Nov	24	11:46:40s 0:13:20 -
-Rule	sol89	1989	only	-	Nov	25	11:47:00s 0:13:00 -
-Rule	sol89	1989	only	-	Nov	26	11:47:20s 0:12:40 -
-Rule	sol89	1989	only	-	Nov	27	11:47:35s 0:12:25 -
-Rule	sol89	1989	only	-	Nov	28	11:47:55s 0:12:05 -
-Rule	sol89	1989	only	-	Nov	29	11:48:20s 0:11:40 -
-Rule	sol89	1989	only	-	Nov	30	11:48:40s 0:11:20 -
-Rule	sol89	1989	only	-	Dec	1	11:49:00s 0:11:00 -
-Rule	sol89	1989	only	-	Dec	2	11:49:25s 0:10:35 -
-Rule	sol89	1989	only	-	Dec	3	11:49:50s 0:10:10 -
-Rule	sol89	1989	only	-	Dec	4	11:50:15s 0:09:45 -
-Rule	sol89	1989	only	-	Dec	5	11:50:35s 0:09:25 -
-Rule	sol89	1989	only	-	Dec	6	11:51:00s 0:09:00 -
-Rule	sol89	1989	only	-	Dec	7	11:51:30s 0:08:30 -
-Rule	sol89	1989	only	-	Dec	8	11:51:55s 0:08:05 -
-Rule	sol89	1989	only	-	Dec	9	11:52:20s 0:07:40 -
-Rule	sol89	1989	only	-	Dec	10	11:52:50s 0:07:10 -
-Rule	sol89	1989	only	-	Dec	11	11:53:15s 0:06:45 -
-Rule	sol89	1989	only	-	Dec	12	11:53:45s 0:06:15 -
-Rule	sol89	1989	only	-	Dec	13	11:54:10s 0:05:50 -
-Rule	sol89	1989	only	-	Dec	14	11:54:40s 0:05:20 -
-Rule	sol89	1989	only	-	Dec	15	11:55:10s 0:04:50 -
-Rule	sol89	1989	only	-	Dec	16	11:55:40s 0:04:20 -
-Rule	sol89	1989	only	-	Dec	17	11:56:05s 0:03:55 -
-Rule	sol89	1989	only	-	Dec	18	11:56:35s 0:03:25 -
-Rule	sol89	1989	only	-	Dec	19	11:57:05s 0:02:55 -
-Rule	sol89	1989	only	-	Dec	20	11:57:35s 0:02:25 -
-Rule	sol89	1989	only	-	Dec	21	11:58:05s 0:01:55 -
-Rule	sol89	1989	only	-	Dec	22	11:58:35s 0:01:25 -
-Rule	sol89	1989	only	-	Dec	23	11:59:05s 0:00:55 -
-Rule	sol89	1989	only	-	Dec	24	11:59:35s 0:00:25 -
-Rule	sol89	1989	only	-	Dec	25	12:00:05s -0:00:05 -
-Rule	sol89	1989	only	-	Dec	26	12:00:35s -0:00:35 -
-Rule	sol89	1989	only	-	Dec	27	12:01:05s -0:01:05 -
-Rule	sol89	1989	only	-	Dec	28	12:01:35s -0:01:35 -
-Rule	sol89	1989	only	-	Dec	29	12:02:00s -0:02:00 -
-Rule	sol89	1989	only	-	Dec	30	12:02:30s -0:02:30 -
-Rule	sol89	1989	only	-	Dec	31	12:03:00s -0:03:00 -
-
-# Riyadh is at about 46 degrees 46 minutes East:  3 hrs, 7 mins, 4 secs
-# Before and after 1989, we'll operate on local mean solar time.
-
-# Zone	NAME		GMTOFF	RULES/SAVE	FORMAT	[UNTIL]
-Zone	Asia/Riyadh89	3:07:04	-		zzz	1989
-			3:07:04	sol89		zzz	1990
-			3:07:04	-		zzz
-# For backward compatibility...
-Link	Asia/Riyadh89	Mideast/Riyadh89
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/southamerica postgresql-8.4-8.4.20/src/timezone/data/southamerica
--- postgresql-8.4-8.4.17/src/timezone/data/southamerica	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/southamerica	2014-02-17 19:44:07.000000000 +0000
@@ -451,6 +451,17 @@
 # rules...San Luis is still using "Western ARgentina Time" and it got
 # stuck on Summer daylight savings time even though the summer is over.
 
+# From Paul Eggert (2013-09-05):
+# Perhaps San Luis operates on the legal fiction that it is at UTC-4
+# with perpetual summer time, but ordinary usage typically seems to
+# just say it's at UTC-3; see, for example,
+# .
+# We've documented similar situations as being plain changes to
+# standard time, so let's do that here too.  This does not change UTC
+# offsets, only tm_isdst and the time zone abbreviations.  One minor
+# plus is that this silences a zic complaint that there's no POSIX TZ
+# setting for time stamps past 2038.
+
 # From Paul Eggert (2013-02-21):
 # Milne says Cordoba time was -4:16:48.2.  Round to the nearest second.
 
@@ -588,7 +599,7 @@
 # San Luis (SL)
 
 Rule	SanLuis	2008	2009	-	Mar	Sun>=8	0:00	0	-
-Rule	SanLuis	2007	2009	-	Oct	Sun>=8	0:00	1:00	S
+Rule	SanLuis	2007	2008	-	Oct	Sun>=8	0:00	1:00	S
 
 Zone America/Argentina/San_Luis -4:25:24 - LMT	1894 Oct 31
 			-4:16:48 -	CMT	1920 May
@@ -604,7 +615,8 @@
 			-3:00	-	ART	2004 May 31
 			-4:00	-	WART	2004 Jul 25
 			-3:00	Arg	AR%sT	2008 Jan 21
-			-4:00	SanLuis	WAR%sT
+			-4:00	SanLuis	WAR%sT	2009 Oct 11
+			-3:00	-	ART
 #
 # Santa Cruz (SC)
 Zone America/Argentina/Rio_Gallegos -4:36:52 - LMT 1894 Oct 31
@@ -631,10 +643,7 @@
 			-3:00	-	ART
 
 # Aruba
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	America/Aruba	-4:40:24 -	LMT	1912 Feb 12	# Oranjestad
-			-4:30	-	ANT	1965 # Netherlands Antilles Time
-			-4:00	-	AST
+Link America/Curacao America/Aruba
 
 # Bolivia
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
@@ -836,6 +845,21 @@
 # Tocantins state will have DST.
 # http://noticias.terra.com.br/brasil/noticias/0,,OI6232536-EI306.html
 
+# From Steffen Thorsen (2013-09-20):
+# Tocantins in Brazil is very likely not to observe DST from October....
+# http://conexaoto.com.br/2013/09/18/ministerio-confirma-que-tocantins-esta-fora-do-horario-de-verao-em-2013-mas-falta-publicacao-de-decreto
+# We will keep this article updated when this is confirmed:
+# http://www.timeanddate.com/news/time/brazil-starts-dst-2013.html
+
+# From Steffen Thorsen (2013-10-17):
+# http://www.timeanddate.com/news/time/acre-amazonas-change-time-zone.html
+# Senator Jorge Viana announced that Acre will change time zone on November 10.
+# He did not specify the time of the change, nor if western parts of Amazonas
+# will change as well.
+#
+# From Paul Eggert (2013-10-17):
+# For now, assume western Amazonas will change as well.
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 # Decree 20,466 (1931-10-01)
 # Decree 21,896 (1932-01-10)
@@ -971,7 +995,7 @@
 # adopted by the same states as before.
 Rule	Brazil	2007	only	-	Oct	Sun>=8	 0:00	1:00	S
 # From Frederico A. C. Neves (2008-09-10):
-# Acording to this decree
+# According to this decree
 # 
 # http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm
 # 
@@ -1055,7 +1079,8 @@
 			-3:00	-	BRT	1995 Sep 14
 			-3:00	Brazil	BR%sT	2003 Sep 24
 			-3:00	-	BRT	2012 Oct 21
-			-3:00	Brazil	BR%sT
+			-3:00	Brazil	BR%sT	2013 Sep
+			-3:00	-	BRT
 #
 # Alagoas (AL), Sergipe (SE)
 Zone America/Maceio	-2:22:52 -	LMT	1914
@@ -1123,13 +1148,15 @@
 			-5:00	-	ACT	1993 Sep 28
 			-5:00	Brazil	AC%sT	1994 Sep 22
 			-5:00	-	ACT	2008 Jun 24 00:00
-			-4:00	-	AMT
+			-4:00	-	AMT	2013 Nov 10
+			-5:00	-	ACT
 #
 # Acre (AC)
 Zone America/Rio_Branco	-4:31:12 -	LMT	1914
 			-5:00	Brazil	AC%sT	1988 Sep 12
 			-5:00	-	ACT	2008 Jun 24 00:00
-			-4:00	-	AMT
+			-4:00	-	AMT	2013 Nov 10
+			-5:00	-	ACT
 
 # Chile
 
@@ -1203,7 +1230,7 @@
 # http://www.emol.com/noticias/nacional/detalle/detallenoticias.asp?idnoticia=467651
 # 
 #
-# This is not yet reflected in the offical "cambio de hora" site, but
+# This is not yet reflected in the official "cambio de hora" site, but
 # probably will be soon:
 # 
 # http://www.horaoficial.cl/cambio.htm
@@ -1350,12 +1377,12 @@
 			-4:00	-	AST
 
 # From Arthur David Olson (2011-06-15):
-# At least for now, use links for places with new iso3166 codes.
+# use links for places with new iso3166 codes.
 # The name "Lower Prince's Quarter" is both longer than fourteen charaters
 # and contains an apostrophe; use "Lower_Princes" below.
 
-Link	America/Curacao	America/Lower_Princes # Sint Maarten
-Link	America/Curacao	America/Kralendijk # Bonaire, Sint Estatius and Saba
+Link	America/Curacao	America/Lower_Princes	# Sint Maarten
+Link	America/Curacao	America/Kralendijk	# Caribbean Netherlands
 
 # Ecuador
 #
@@ -1496,10 +1523,16 @@
 			-4:00	-	GYT
 
 # Paraguay
+#
 # From Paul Eggert (2006-03-22):
 # Shanks & Pottenger say that spring transitions are from 01:00 -> 02:00,
 # and autumn transitions are from 00:00 -> 23:00.  Go with pre-1999
 # editions of Shanks, and with the IATA, who say transitions occur at 00:00.
+#
+# From Waldemar Villamayor-Venialbo (2013-09-20):
+# No time of the day is established for the adjustment, so people normally
+# adjust their clocks at 0 hour of the given dates.
+#
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Para	1975	1988	-	Oct	 1	0:00	1:00	S
 Rule	Para	1975	1978	-	Mar	 1	0:00	0	-
@@ -1566,16 +1599,16 @@
 # forward 60 minutes, in all the territory of the Paraguayan Republic.
 # ...
 Rule	Para	2010	max	-	Oct	Sun>=1	0:00	1:00	S
-Rule	Para	2010	max	-	Apr	Sun>=8	0:00	0	-
+Rule	Para	2010	2012	-	Apr	Sun>=8	0:00	0	-
 #
 # From Steffen Thorsen (2013-03-07):
 # Paraguay will end DST on 2013-03-24 00:00....
-# They do not tell if this will be a permanent change or just this year....
 # http://www.ande.gov.py/interna.php?id=1075
 #
-# From Paul Eggert (2013-03-07):
-# For now, assume it's just this year.
-Rule	Para	2013	only	-	Mar	24	0:00	0	-
+# From Carlos Raul Perasso (2013-03-15):
+# The change in Paraguay is now final.  Decree number 10780
+# http://www.presidencia.gov.py/uploads/pdf/presidencia-3b86ff4b691c79d4f5927ca964922ec74772ce857c02ca054a52a37b49afc7fb.pdf
+Rule	Para	2013	max	-	Mar	Sun>=22	0:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone America/Asuncion	-3:50:40 -	LMT	1890
@@ -1633,6 +1666,19 @@
 Zone America/Port_of_Spain -4:06:04 -	LMT	1912 Mar 2
 			-4:00	-	AST
 
+Link America/Port_of_Spain America/Anguilla
+Link America/Port_of_Spain America/Dominica
+Link America/Port_of_Spain America/Grenada
+Link America/Port_of_Spain America/Guadeloupe
+Link America/Port_of_Spain America/Marigot
+Link America/Port_of_Spain America/Montserrat
+Link America/Port_of_Spain America/St_Barthelemy
+Link America/Port_of_Spain America/St_Kitts
+Link America/Port_of_Spain America/St_Lucia
+Link America/Port_of_Spain America/St_Thomas
+Link America/Port_of_Spain America/St_Vincent
+Link America/Port_of_Spain America/Tortola
+
 # Uruguay
 # From Paul Eggert (1993-11-18):
 # Uruguay wins the prize for the strangest peacetime manipulation of the rules.
@@ -1650,7 +1696,7 @@
 # Whitman gives 1937 Oct 3; go with Shanks & Pottenger.
 Rule	Uruguay	1937	1940	-	Oct	lastSun	 0:00	0:30	HS
 # Whitman gives 1941 Oct 24 - 1942 Mar 27, 1942 Dec 14 - 1943 Apr 13,
-# and 1943 Apr 13 ``to present time''; go with Shanks & Pottenger.
+# and 1943 Apr 13 "to present time"; go with Shanks & Pottenger.
 Rule	Uruguay	1941	only	-	Aug	 1	 0:00	0:30	HS
 Rule	Uruguay	1942	only	-	Jan	 1	 0:00	0	-
 Rule	Uruguay	1942	only	-	Dec	14	 0:00	1:00	S
diff -Nru postgresql-8.4-8.4.17/src/timezone/data/zone.tab postgresql-8.4-8.4.20/src/timezone/data/zone.tab
--- postgresql-8.4-8.4.17/src/timezone/data/zone.tab	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/data/zone.tab	2014-02-17 19:44:07.000000000 +0000
@@ -1,26 +1,36 @@
-# 
+# TZ zone descriptions
+#
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
 #
-# TZ zone descriptions
+# From Paul Eggert (2013-08-14):
 #
-# From Paul Eggert (1996-08-05):
+# This file contains a table where each row stands for an area that is
+# the intersection of a region identified by a country code and of a
+# zone where civil clocks have agreed since 1970.  The columns of the
+# table are as follows:
 #
-# This file contains a table with the following columns:
-# 1.  ISO 3166 2-character country code.  See the file `iso3166.tab'.
-# 2.  Latitude and longitude of the zone's principal location
+# 1.  ISO 3166 2-character country code.  See the file 'iso3166.tab'.
+# 2.  Latitude and longitude of the area's principal location
 #     in ISO 6709 sign-degrees-minutes-seconds format,
 #     either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS,
 #     first latitude (+ is north), then longitude (+ is east).
 # 3.  Zone name used in value of TZ environment variable.
+#     Please see the 'Theory' file for how zone names are chosen.
+#     If multiple zones overlap a country, each has a row in the
+#     table, with column 1 being duplicated.
 # 4.  Comments; present if and only if the country has multiple rows.
 #
 # Columns are separated by a single tab.
 # The table is sorted first by country, then an order within the country that
 # (1) makes some geographical sense, and
-# (2) puts the most populous zones first, where that does not contradict (1).
+# (2) puts the most populous areas first, where that does not contradict (1).
+#
+# Lines beginning with '#' are comments.
 #
-# Lines beginning with `#' are comments.
+# This table is intended as an aid for users, to help them select time
+# zone data appropriate for their practical needs.  It is not intended
+# to take or endorse any position on legal or territorial claims.
 #
 #country-
 #code	coordinates	TZ			comments
@@ -32,8 +42,7 @@
 AL	+4120+01950	Europe/Tirane
 AM	+4011+04430	Asia/Yerevan
 AO	-0848+01314	Africa/Luanda
-AQ	-7750+16636	Antarctica/McMurdo	McMurdo Station, Ross Island
-AQ	-9000+00000	Antarctica/South_Pole	Amundsen-Scott Station, South Pole
+AQ	-7750+16636	Antarctica/McMurdo	McMurdo, South Pole, Scott (New Zealand time)
 AQ	-6734-06808	Antarctica/Rothera	Rothera Station, Adelaide Island
 AQ	-6448-06406	Antarctica/Palmer	Palmer Station, Anvers Island
 AQ	-6736+06253	Antarctica/Mawson	Mawson Station, Holme Bay
@@ -42,7 +51,6 @@
 AQ	-7824+10654	Antarctica/Vostok	Vostok Station, Lake Vostok
 AQ	-6640+14001	Antarctica/DumontDUrville	Dumont-d'Urville Station, Terre Adelie
 AQ	-690022+0393524	Antarctica/Syowa	Syowa Station, E Ongul I
-AQ	-5430+15857	Antarctica/Macquarie	Macquarie Island Station, Macquarie Island
 AR	-3436-05827	America/Argentina/Buenos_Aires	Buenos Aires (BA, CF)
 AR	-3124-06411	America/Argentina/Cordoba	most locations (CB, CC, CN, ER, FM, MN, SE, SF)
 AR	-2447-06525	America/Argentina/Salta	(SA, LP, NQ, RN)
@@ -58,6 +66,7 @@
 AS	-1416-17042	Pacific/Pago_Pago
 AT	+4813+01620	Europe/Vienna
 AU	-3133+15905	Australia/Lord_Howe	Lord Howe Island
+AU	-5430+15857	Antarctica/Macquarie	Macquarie Island
 AU	-4253+14719	Australia/Hobart	Tasmania - most locations
 AU	-3956+14352	Australia/Currie	Tasmania - King Island
 AU	-3749+14458	Australia/Melbourne	Victoria
@@ -113,8 +122,7 @@
 CA	+4606-06447	America/Moncton	Atlantic Time - New Brunswick
 CA	+5320-06025	America/Goose_Bay	Atlantic Time - Labrador - most locations
 CA	+5125-05707	America/Blanc-Sablon	Atlantic Standard Time - Quebec - Lower North Shore
-CA	+4531-07334	America/Montreal	Eastern Time - Quebec - most locations
-CA	+4339-07923	America/Toronto	Eastern Time - Ontario - most locations
+CA	+4339-07923	America/Toronto	Eastern Time - Ontario & Quebec - most locations
 CA	+4901-08816	America/Nipigon	Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973
 CA	+4823-08915	America/Thunder_Bay	Eastern Time - Thunder Bay, Ontario
 CA	+6344-06828	America/Iqaluit	Eastern Time - east Nunavut - most locations
@@ -216,7 +224,7 @@
 ID	-0507+11924	Asia/Makassar	east & south Borneo, Sulawesi (Celebes), Bali, Nusa Tengarra, west Timor
 ID	-0232+14042	Asia/Jayapura	west New Guinea (Irian Jaya) & Malukus (Moluccas)
 IE	+5320-00615	Europe/Dublin
-IL	+3146+03514	Asia/Jerusalem
+IL	+314650+0351326	Asia/Jerusalem
 IM	+5409-00428	Europe/Isle_of_Man
 IN	+2232+08822	Asia/Kolkata
 IO	-0720+07225	Indian/Chagos
@@ -225,7 +233,7 @@
 IS	+6409-02151	Atlantic/Reykjavik
 IT	+4154+01229	Europe/Rome
 JE	+4912-00207	Europe/Jersey
-JM	+1800-07648	America/Jamaica
+JM	+175805-0764736	America/Jamaica
 JO	+3157+03556	Asia/Amman
 JP	+353916+1394441	Asia/Tokyo
 KE	-0117+03649	Africa/Nairobi
@@ -414,8 +422,7 @@
 US	+471551-1014640	America/North_Dakota/Beulah	Central Time - North Dakota - Mercer County
 US	+394421-1045903	America/Denver	Mountain Time
 US	+433649-1161209	America/Boise	Mountain Time - south Idaho & east Oregon
-US	+364708-1084111	America/Shiprock	Mountain Time - Navajo
-US	+332654-1120424	America/Phoenix	Mountain Standard Time - Arizona
+US	+332654-1120424	America/Phoenix	Mountain Standard Time - Arizona (except Navajo)
 US	+340308-1181434	America/Los_Angeles	Pacific Time
 US	+611305-1495401	America/Anchorage	Alaska Time
 US	+581807-1342511	America/Juneau	Alaska Time - Alaska panhandle
diff -Nru postgresql-8.4-8.4.17/src/timezone/known_abbrevs.txt postgresql-8.4-8.4.20/src/timezone/known_abbrevs.txt
--- postgresql-8.4-8.4.17/src/timezone/known_abbrevs.txt	1970-01-01 00:00:00.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/known_abbrevs.txt	2014-02-17 19:44:07.000000000 +0000
@@ -0,0 +1,204 @@
+ADDT	-7200	D
+ADT	-10800	D
+ADT	14400	D
+AFT	16200
+AKST	-32400
+ALMST	25200	D
+AMT	-14400
+AMT	14400
+ANAT	39600
+APT	-10800	D
+AQTT	14400
+AQTT	18000
+ART	-10800
+AST	-14400
+AST	10800
+AWT	-10800	D
+AZOT	-3600
+AZST	18000	D
+BDST	25200	D
+BEAT	9000
+BEAUT	9900
+BNT	28800
+BOT	-14400
+BRT	-10800
+BTT	21600
+CAST	10800	D
+CAT	7200
+CCT	23400
+CDT	-14400	D
+CDT	-18000	D
+CDT	32400	D
+CEST	7200	D
+CET	3600
+CHAST	45900
+CHOT	28800
+CHUT	36000
+CKHST	-34200	D
+CLT	-14400
+COT	-18000
+CPT	-18000	D
+CST	-21600
+CST	28800
+CST	34200
+CVT	-3600
+CWST	31500
+CWT	-18000	D
+CXT	25200
+ChST	36000
+DAVT	25200
+DDUT	36000
+EASST	-18000	D
+EAT	10800
+ECT	-18000
+EDT	-14400	D
+EEST	10800	D
+EET	7200
+EGST	0	D
+EPT	-14400	D
+EST	-18000
+EST	36000
+FET	10800
+FJT	43200
+FKST	-10800
+FNT	-7200
+GALT	-21600
+GAMT	-32400
+GET	14400
+GFT	-10800
+GILT	43200
+GMT	0
+GMT+1	-3600
+GMT+10	-36000
+GMT+11	-39600
+GMT+12	-43200
+GMT+2	-7200
+GMT+3	-10800
+GMT+4	-14400
+GMT+5	-18000
+GMT+6	-21600
+GMT+7	-25200
+GMT+8	-28800
+GMT+9	-32400
+GMT-1	3600
+GMT-10	36000
+GMT-11	39600
+GMT-12	43200
+GMT-13	46800
+GMT-14	50400
+GMT-2	7200
+GMT-3	10800
+GMT-4	14400
+GMT-5	18000
+GMT-6	21600
+GMT-7	25200
+GMT-8	28800
+GMT-9	32400
+GST	-7200
+GST	14400
+GYT	-14400
+HAST	-36000
+HOVT	25200
+HST	-36000
+ICT	25200
+ICT	28800
+IDDT	14400	D
+IOT	21600
+IRDT	16200	D
+IRKT	32400
+IST	23400	D
+JST	32400
+KDT	36000	D
+KGT	21600
+KOST	43200
+KRAT	28800
+KST	28800
+LHST	39600	D
+LINT	50400
+LKT	21600
+MAGT	43200
+MART	-34200
+MAWT	18000
+MDT	-21600	D
+MET	3600
+MHT	43200
+MIST	39600
+MMT	23400
+MPT	-21600	D
+MSK	14400
+MST	-25200
+MUT	14400
+MVT	18000
+MWT	-21600	D
+MYT	28800
+MeST	-28800
+NCT	39600
+NDDT	-5400	D
+NFT	41400
+NOVST	25200	D
+NOVT	25200
+NPT	20700
+NRT	43200
+NUT	-39600
+NZST	43200
+OMST	25200
+ORAT	18000
+PDT	-25200	D
+PET	-18000
+PETT	39600
+PGT	36000
+PHOT	46800
+PKT	18000
+PMDT	-7200	D
+PONT	39600
+PPT	-25200	D
+PST	-28800
+PWT	32400
+PYST	-10800	D
+QYZT	21600
+RET	14400
+ROTT	-10800
+SAKT	36000
+SAMT	10800
+SAST	10800	D
+SAST	7200
+SBT	39600
+SCT	14400
+SGT	28800
+SRT	-10800
+SST	-39600
+SYOT	10800
+TAHT	-36000
+TFT	18000
+TJT	18000
+TKT	46800
+TMT	18000
+TOST	50400	D
+TVT	43200
+UCT	0
+ULAT	28800
+UTC	0
+UYHST	-9000	D
+UZT	18000
+VET	-14400
+VLAT	39600
+VOLT	10800
+VOST	21600
+VUT	39600
+WAKT	43200
+WARST	-10800	D
+WART	-14400
+WAST	7200	D
+WAT	-3600
+WAT	0
+WAT	3600
+WEST	3600	D
+WET	0
+WFT	43200
+WGST	-7200	D
+WIB	25200
+WITA	28800
+WST	28800
+WST	46800
+YAKT	36000
+YEKT	21600
diff -Nru postgresql-8.4-8.4.17/src/timezone/Makefile postgresql-8.4-8.4.20/src/timezone/Makefile
--- postgresql-8.4-8.4.17/src/timezone/Makefile	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/Makefile	2014-02-17 19:44:07.000000000 +0000
@@ -20,7 +20,7 @@
 
 # timezone data files
 TZDATA = africa antarctica asia australasia europe northamerica southamerica \
-	pacificnew etcetera factory backward systemv solar87 solar88 solar89
+	pacificnew etcetera factory backward systemv
 TZDATAFILES = $(TZDATA:%=$(srcdir)/data/%)
 
 # which zone should determine the DST rules (not the specific UTC offset!)
diff -Nru postgresql-8.4-8.4.17/src/timezone/pgtz.c postgresql-8.4-8.4.20/src/timezone/pgtz.c
--- postgresql-8.4-8.4.17/src/timezone/pgtz.c	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/pgtz.c	2014-02-17 19:44:07.000000000 +0000
@@ -94,7 +94,7 @@
 	 * Loop to split the given name into directory levels; for each level,
 	 * search using scan_directory_ci().
 	 */
-	strcpy(fullname, pg_TZDIR());
+	strlcpy(fullname, pg_TZDIR(), sizeof(fullname));
 	orignamelen = fullnamelen = strlen(fullname);
 	fname = name;
 	for (;;)
@@ -428,7 +428,7 @@
 	}
 
 	/* Search for the best-matching timezone file */
-	strcpy(tmptzdir, pg_TZDIR());
+	strlcpy(tmptzdir, pg_TZDIR(), sizeof(tmptzdir));
 	bestscore = -1;
 	resultbuf[0] = '\0';
 	scan_available_timezones(tmptzdir, tmptzdir + strlen(tmptzdir) + 1,
@@ -1308,6 +1308,46 @@
 	return &tzp->tz;
 }
 
+/*
+ * Load a fixed-GMT-offset timezone.
+ * This is used for SQL-spec SET TIME ZONE INTERVAL 'foo' cases.
+ * It's otherwise equivalent to pg_tzset().
+ *
+ * The GMT offset is specified in seconds, positive values meaning west of
+ * Greenwich (ie, POSIX not ISO sign convention).  However, we use ISO
+ * sign convention in the displayable abbreviation for the zone.
+ */
+pg_tz *
+pg_tzset_offset(long gmtoffset)
+{
+	long		absoffset = (gmtoffset < 0) ? -gmtoffset : gmtoffset;
+	char		offsetstr[64];
+	char		tzname[128];
+
+	snprintf(offsetstr, sizeof(offsetstr),
+			 "%02ld", absoffset / SECSPERHOUR);
+	absoffset %= SECSPERHOUR;
+	if (absoffset != 0)
+	{
+		snprintf(offsetstr + strlen(offsetstr),
+				 sizeof(offsetstr) - strlen(offsetstr),
+				 ":%02ld", absoffset / SECSPERMIN);
+		absoffset %= SECSPERMIN;
+		if (absoffset != 0)
+			snprintf(offsetstr + strlen(offsetstr),
+					 sizeof(offsetstr) - strlen(offsetstr),
+					 ":%02ld", absoffset);
+	}
+	if (gmtoffset > 0)
+		snprintf(tzname, sizeof(tzname), "<-%s>+%s",
+				 offsetstr, offsetstr);
+	else
+		snprintf(tzname, sizeof(tzname), "<+%s>-%s",
+				 offsetstr, offsetstr);
+
+	return pg_tzset(tzname);
+}
+
 
 /*
  * Check whether timezone is acceptable.
diff -Nru postgresql-8.4-8.4.17/src/timezone/tznames/Asia.txt postgresql-8.4-8.4.20/src/timezone/tznames/Asia.txt
--- postgresql-8.4-8.4.17/src/timezone/tznames/Asia.txt	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/timezone/tznames/Asia.txt	2014-02-17 19:44:07.000000000 +0000
@@ -67,8 +67,7 @@
                  #     (Asia/Choibalsan)
 CHOT    28800    # Choibalsan Time (caution: this used to mean 32400)
                  #     (Asia/Choibalsan)
-CIT     28800    # Central Indonesia Time
-                 #     (Asia/Makassar)
+CIT     28800    # Central Indonesia Time (obsolete, WITA is now preferred)
 EEST    10800 D  # East-Egypt Summer Time
                  # Eastern Europe Summer Time
                  #     (Africa/Cairo)
@@ -116,8 +115,7 @@
                  #     (Europe/Uzhgorod)
                  #     (Europe/Vilnius)
                  #     (Europe/Zaporozhye)
-EIT     32400    # East Indonesia Time
-                 #     (Asia/Jayapura)
+EIT     32400    # East Indonesia Time (obsolete, WIT is now preferred)
 GEST    14400 D  # Georgia Summer Time (obsolete)
                  #     (Asia/Tbilisi)
 GET     14400    # Georgia Time (caution: this used to mean 10800)
@@ -233,10 +231,13 @@
                  #     (Asia/Vladivostok)
 VLAT    39600    # Vladivostok Time (caution: this used to mean 36000)
                  #     (Asia/Vladivostok)
-WIT     25200    # Waktu Indonesia Timur
-                 # West Indonesia Time
+WIB     25200    # Waktu Indonesia Barat
                  #     (Asia/Jakarta)
                  #     (Asia/Pontianak)
+WIT     32400    # Waktu Indonesia Timur (caution: this used to mean 25200)
+                 #     (Asia/Jayapura)
+WITA    28800    # Waktu Indonesia Tengah
+                 #     (Asia/Makassar)
 YAKST   36000 D  # Yakutsk Summer Time (obsolete)
                  #     (Asia/Yakutsk)
 YAKT    36000    # Yakutsk Time (caution: this used to mean 32400)
diff -Nru postgresql-8.4-8.4.17/src/tools/RELEASE_CHANGES postgresql-8.4-8.4.20/src/tools/RELEASE_CHANGES
--- postgresql-8.4-8.4.17/src/tools/RELEASE_CHANGES	2013-04-01 18:27:59.000000000 +0000
+++ postgresql-8.4-8.4.20/src/tools/RELEASE_CHANGES	2014-02-17 19:44:07.000000000 +0000
@@ -10,7 +10,6 @@
 	o update doc/src/sgml/release.sgml
 	o run spellchecker on result
 	o add SGML markup
-	o check if 'gmake HISTORY.html' works for s
 
 * Update timezone data to match latest zic database (see src/timezone/README)