⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 release.sgml

📁 关系型数据库 Postgresql 6.5.2
💻 SGML
📖 第 1 页 / 共 5 页
字号:
This will need to be done to every existing database, including template1.</para></sect2><sect2><title>Detailed Change List</title><para><programlisting>Changes in this release-----------------------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)</programlisting></para></sect2></sect1><sect1><title>Release 6.2</title><!--<docinfo><authorgroup><author><firstname>Bruce</firstname><surname>Momjian</surname></author></authorgroup><date>Thu Oct 02 12:53:46 EDT 1997</date></docinfo>--><para>A dump/restore is required for those wishing to migrate data fromprevious releases of <productname>Postgres</productname>.</para><sect2><title>Migration from v6.1 to v6.2</title><para>This migration requires a complete dump of the 6.1 database and arestore of the database in 6.2.</para><para>Note that the pg_dump and pg_dumpall utility from 6.2 should be usedto dump the 6.1 database.</para></sect2><sect2><title>Migration from v1.x to v6.2</title><para>Those migrating from earlier 1.* releases should first upgrade to 1.09because the COPY output format was improved from the 1.02 release.</para></sect2><sect2><title>Detailed Change List</title><para><programlisting>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 tuples changed/inserted by a commnd	visible to the command itself (so we had multiple update of 	updated tuples, 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/pginterfaceFix OR (where x &lt;&gt; 1 or x isnull didn't return tuples 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 utilityReturn number of tuples 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 "<^"(Thomas)Add routines for text trimming on both ends, substring, and string position(Thomas)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 startup after profiling analysis(Bruce)Inline frequently called functions for performance(Bruce)Reduce open() calls(Bruce)psql:  Add PAGER for \h and \?,\C fixFix 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-------------------HPUX 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 UnixPortability fix for pg_dumpall(Bruce)Rename pg_attribute.attnvals to attdisbursion(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)</programlisting></para></sect2></sect1><sect1><title>Release 6.1.1</title><!--<docinfo><authorgroup><author><firstname>Bruce</firstname><surname>Momjian</surname></author></authorgroup><date>Mon Jul 22 18:04:49 EDT 1997</date></docinfo>--><sect2><title>Migration from v6.1 to v6.1.1</title><para>This is a minor bug-fix release. A dump/reload is not required from v6.1,but is required from any release prior to v6.1.Refer to the release notes for v6.1 for more details.</para></sect2><sect2><title>Detailed Change List</title><para><programlisting>Changes in this release-----------------------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 databasesfix 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)</programlisting></para></sect2></sect1><sect1><title>Release 6.1</title><!--<docinfo><authorgroup><author><firstname>Bruce</firstname><surname>Momjian</surname></author></authorgroup><date>Sun Jun  8 14:41:13 EDT 1997</date></docinfo>--><para>  The regression tests have been adapted and extensively modified for the  v6.1 release of <productname>Postgres</productname>.</para><para>  Three new data types (datetime, timespan, and circle) have been added to  the native set of <productname>Postgres</productname> types. Points, boxes, paths, and polygons  have had their output formats made consistant across the data types.  The polygon output in misc.out has only been spot-checked for correctness  relative to the original regression output.</para><para>  <productname>Postgres</productname> v6.1 introduces a new, alternateoptimizer which uses <firstterm>genetic</firstterm>  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  <command>set geqo to 'off'</command> and <command>reset geqo</command>.</para><para>  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 <filename>./expected/*.out</filename> files reflect this  new interpretation, which may not be correct!</para><para>  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.</para><para>  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).</para><sect2><title>Migration to v6.1</title><para>This migration requires a complete dump of the 6.0 database and arestore of the database in 6.1.</para><para>Those migrating from earlier 1.* releases should first upgrade to 1.09because the COPY output format was improved from the 1.02 release.</para></sect2><sect2><title>Detailed Change List</title><para><programlisting>Bug Fixes---------packet length checking in library routineslock manager priority patchcheck for under/over flow of float8(Bruce)multi-table 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 indices (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 tuples re-incarnation 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 multi-table 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)multi-column btree indexes(Vadim)new SET var TO value command(Martin)update trans

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -