Python fix fetchone() (Gerhard Haring)
ECPG fixes (Michael, Christof Petig)
PL/PgSQL trailing semicolon optional (Tom)
+Fix path_inter, path_distance, path_length, dist_ppath to handle closed
+ paths (Curtis Barrett, Tom)
Enhancements
------------
DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom)
Prevent output of default index op class in pg_dump (Tom)
Allow trailing semicolons in psql backslash commands (Greg Sabino Mullane)
+Prompt for psql password from /dev/tty if possible
Types
-----
Allow optional () after current_user, session_user, user, etc. (Peter E)
Add compatibility functions to odbc.sql (Peter E)
Force new password prompt when changing user and database in psql (Tatsuo, Tom)
-
+New /contrib/tsearch full text indexing (Oleg, Teodor Sigaev)
+Allow better selectivity with Nan and infinities in NUMERIC (Tom)
+Accept an INTERVAL argument for SET TIME ZONE (Thomas)
+Implement INTERVAL() YEA
Performance
-----------
Optimizer improvements (Tom)
ECPG
EXECUTE ... INTO ... implemented
multiple row descriptor support (e.g. CARDINALITY)
+ Fix for GRANT parameters (Lee Kindness)
Source Code
-----------
# pull in #endif comments
sed 's;^#endif[ ][ ]*/\*;#endif /*;' |
# add space after comments that start on tab stops
- sed 's:\([;,)/]\)/\*.*\*/\)$:\1 \2:' |
+ sed 's:\([^ ]\)/\*.*\*/\)$:\1 \2:' |
# work around #else indenting next line if #ifdef defines variables at top
# work around misindenting of function with no variables defined
awk '
print line1;
line1 = line2;
line2 = line3;
- line3 = "";
}
END {
if (skips <= 1)
print line1;
if (skips <= 2)
print line2;
- }' |
+ }' |
# remove blank line between opening brace and block comment
awk '
{
print line1;
line1 = line2;
line2 = line3;
- line3 = "";
}
END {
if (skips <= 1)
print line1;
if (skips <= 2)
print line2;
- }' |
+ }' |
# remove blank line before #endif
awk ' BEGIN {line1 = ""; line2 = ""; skips = 0}
{
if (skips == 0 && NR >= 2)
print line1;
line1 = line2;
- line2 = "";
}
END {
if (skips <= 1)
print line1;
- }' |
+ }' |
+# add blank line before #endif if it is the last line in the file
+ awk ' BEGIN {line1 = ""; line2 = ""}
+ {
+ line2 = $0;
+ if (NR >= 2)
+ print line1;
+ line1 = line2;
+ }
+ END {
+ if (line2 ~ "^#endif")
+ printf "\n";
+ print line1;
+ }' |
# Move prototype names to the same line as return type. Useful for ctags.
# Indent should do this, but it does not. It formats prototypes just
# like real functions.