summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-12-08Add documentation about the inability of plpsql to use parameter namesBruce Momjian
that are the same as column names used in the function.
2005-12-08Disble some Win32-specific code in win32-client-only builds:Bruce Momjian
I have the problem, when building by MS-VC6. An error occurs in the 8.1.0 present source codes. nmake -f win32.mak ..\..\port\getaddrinfo.c(244) : error C2065: 'WSA_NOT_ENOUGH_MEMORY' ..\..\port\getaddrinfo.c(342) : error C2065: 'WSATYPE_NOT_FOUND' This is used by winsock2.h. However, Construction of a windows base is winsock.h. Then, Since MinGW has special environment, this is right. but, it is not found in VC6. Furthermore, in getaddrinfo.c, IPV6-API is used by LoadLibraryA("ws2_32"); Referring to of dll the external memory generates this violation by VC6 specification. I considered whether the whole should have been converted into winsock2. However, Now, DLL of MinGW creation operates wonderfully as it is. That's right, it has pliability by replacement of simple DLL. Then, I propose the system using winsock(non IPV6) in construction of VC6. Hiroshi Saito
2005-12-08Fix thinko in comment.Tom Lane
2005-12-08Improve tag recognizingTeodor Sigaev
2005-12-07Push the responsibility for handling ignore_killed_tuples down intoTom Lane
_bt_checkkeys(), instead of checking it in the top-level nbtree.c routines as formerly. This saves a little bit of loop overhead, but more importantly it lets us skip performing the index key comparisons for dead tuples.
2005-12-07A couple of tiny performance hacks in _bt_step(). Remove PageIsEmptyTom Lane
checks, which were once needed because PageGetMaxOffsetNumber would fail on empty pages, but are now just redundant. Also, don't set up local variables that aren't needed in the fast path --- most of the time, we only need to advance offnum and not step across a page boundary. Motivated by noticing _bt_step at the top of OProfile profile for a pgbench run.
2005-12-07Update:Bruce Momjian
< at initdb time or optionally later. > at initdb time or optionally later. Consider O_SYNC when > O_DIRECT exists.
2005-12-07Fix incorrect SPI example, per Yoshihisa Nakano.Tom Lane
2005-12-07Fix a couple of lingering references to POSTQUEL query syntax, per Simon.Tom Lane
2005-12-07Spell "explicitly" correctly, per Simon.Tom Lane
2005-12-07Improve lazy vacuum wording.Bruce Momjian
2005-12-07Fix small memory leakTeodor Sigaev
2005-12-07Improve word parser.Teodor Sigaev
- allow ~ in filenames - -8.2.1 now is '-' and '8.2.1' instead of '-8.2' '.' '3' - '.text' now is not a file
2005-12-07Clarify vacuum lazy can shrink a file under certain circumstances.Bruce Momjian
2005-12-06Get rid of slru.c's hardwired insistence on a fixed number of slots perTom Lane
SLRU area. The number of slots is still a compile-time constant (someday we might want to change that), but at least it's a different constant for each SLRU area. Increase number of subtrans buffers to 32 based on experimentation with a heavily subtrans-bashing test case, and increase number of multixact member buffers to 16, since it's obviously silly for it not to be at least twice the number of multixact offset buffers.
2005-12-06Update iconv wording, per Peter.Bruce Momjian
2005-12-06Add:Bruce Momjian
> * Add GUC variable to run a command on database panic or > smart/fast/immediate shutdown
2005-12-06Highlight diff idea for iconv.Bruce Momjian
2005-12-06iconv uses UTF-8, not UTF8.Bruce Momjian
2005-12-06Document method of removing invalid UTF8 escape sequences from dumpBruce Momjian
file. Backpatch to 8.1.X. Paul Lindner
2005-12-06Documentation cleanup mention:Bruce Momjian
non-ascii convert to & escapes
2005-12-06Since my name has a non-ascii-letter in it, it's often spelled wrong. InBruce Momjian
the latest release notes there is a latin1 character that shouldn't be there so I made a patch to fix that. This patch also fixes some old entries that uses o instead of &ouml; (which is also wrong but not as bad as including a latin1 character in the sgml file). Dennis Bj?rklund
2005-12-06Add documentation on the use of *printf() macros and libintl.Bruce Momjian
Backpatch to 8.1.X.
2005-12-06Fix stupid bug with sizeofTeodor Sigaev
2005-12-06Arrange for read-only accesses to SLRU page buffers to take only a sharedTom Lane
lock, not exclusive, if the desired page is already in memory. This can be demonstrated to be a significant win on the pg_subtrans cache when there is a large window of open transactions. It should be useful for pg_clog as well. I didn't try to make GetMultiXactIdMembers() use the code, as that would have taken some restructuring, and what with the local cache for multixact contents it probably wouldn't really make a difference. Per my recent proposal.
2005-12-06In a nestloop inner indexscan, it's OK to use pushed-down baserestrictinfoTom Lane
clauses even if it's an outer join. This is a corner case since such clauses could only arise from weird OUTER JOIN ON conditions, but worth fixing. Per example from Ron at cheapcomplexdevices.com.
2005-12-06ecpg/pgtypeslib seems to need snprintf.c pulled in, too.Tom Lane
2005-12-06Put undef's before extern declarations that need 'em, per Andrew Dunstan.Tom Lane
2005-12-06Add comment on why pg *printf functions are used unconditionally onBruce Momjian
Win32. Backpatch to 8.1.X.
2005-12-06Make Win32 build use our port/snprintf.c routines, instead of dependingTom Lane
on libintl which may or may not provide what we need. Make a few marginal cleanups to ensure this works. Andrew Dunstan and Tom Lane.
2005-12-05Document return-value conventions used by this implementation, perTom Lane
suggestion from Bruce.
2005-12-05Improve word parser.Teodor Sigaev
- improve file and path recognition - fix misspeling - improve tag recognition
2005-12-05Add regression test to see if the min/max values of int8 convert correctly.Tom Lane
2005-12-05Fix a rather sizable number of problems in our homegrown snprintf, such asTom Lane
incorrect implementation of argument reordering, arbitrary limit of output size for sprintf and fprintf, willingness to access more bytes than "%.Ns" specification allows, wrong formatting of LONGLONG_MIN, various field-padding bugs and omissions. I believe it now accurately implements a subset of the Single Unix Spec requirements (remaining unimplemented features are documented, too). Bruce Momjian and Tom Lane.
2005-12-04Update:Bruce Momjian
< Win32 API, and we have to make sure MinGW handles it. > Win32 API, and we have to make sure MinGW handles it. Another > option is to wait for the MinGW project to fix it, or use the > code from the LibGW32C project as a guide.
2005-12-04Add:Bruce Momjian
> o Add long file support for binary pg_dump output > > While Win32 supports 64-bit files, the MinGW API does not, > meaning we have to build an fseeko replacement on top of the > Win32 API, and we have to make sure MinGW handles it.
2005-12-04Add:Bruce Momjian
> * Add SPI_gettypmod() to return the typemod for a TupleDesc
2005-12-04Add for autovacuum:Bruce Momjian
> o Consider logging activity either to the logs or a system view
2005-12-04Add configure flag to allow libedit to be preferred over GNU readline:Bruce Momjian
--with-libedit-preferred prefer BSD Libedit over GNU Readline
2005-12-03Treat procedural languages as owned by the bootstrap superuser, ratherTom Lane
than owned by nobody. This results in cleaner display of language ACLs, since the backend's aclchk.c uses the same convention. AFAICS there is no practical difference but it's nice to avoid emitting SET SESSION AUTHORIZATION; also this will make it easier to transition pg_dump to some future version in which we may include an explicit ownership column in pg_language. Per gripe from David Begley.
2005-12-03Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX.Tom Lane
Per example from Dirk Pirschel.
2005-12-03Allow to_char(interval) and to_char(time) to use AM/PM specifications.Bruce Momjian
Map them to a single day, so '30 hours' is 'AM'. Have to_char(interval) and to_char(time) use "HH", "HH12" as 12-hour intervals, rather than bypass and print the full interval hours. This is neeeded because to_char(time) is mapped to interval in this function. Intervals should use "HH24", and document suggestion. Allow "D" format specifiers for interval/time.
2005-12-03Item removed:Bruce Momjian
< * Add function to return the thread safety status of libpq and ecpg
2005-12-03Tweak indexscan machinery to avoid taking an AccessShareLock on an indexTom Lane
if we already have a stronger lock due to the index's table being the update target table of the query. Same optimization I applied earlier at the table level. There doesn't seem to be much interest in the more radical idea of not locking indexes at all, so do what we can ...
2005-12-02Fix obsolete description of -h option, per Andreas Schmidt.Tom Lane
2005-12-02Fix obsolete comment.Tom Lane
2005-12-02Adjust scan plan nodes to avoid getting an extra AccessShareLock on aTom Lane
relation if it's already been locked by execMain.c as either a result relation or a FOR UPDATE/SHARE relation. This avoids an extra trip to the shared lock manager state. Per my suggestion yesterday.
2005-12-02Remove idea of increasing NUMERIC length:Bruce Momjian
< * Change NUMERIC to enforce the maximum precision, and increase it > * Change NUMERIC to enforce the maximum precision
2005-12-02Added special handling of CONNECTION variable that is used by ECPG instead ↵Michael Meskes
of given to the backend.
2005-12-02Add calcluation of bitmap storage capacity.Bruce Momjian
< be cleared when a heap tuple is expired. Another idea is to maintain < a bitmap of heap pages where all rows are visible to all backends, < and allow index lookups to reference that bitmap to avoid heap < lookups, perhaps the same bitmap we might add someday to determine < which heap pages need vacuuming. > be cleared when a heap tuple is expired. > > Another idea is to maintain a bitmap of heap pages where all rows > are visible to all backends, and allow index lookups to reference > that bitmap to avoid heap lookups, perhaps the same bitmap we might > add someday to determine which heap pages need vacuuming. Frequently > accessed bitmaps would have to be stored in shared memory. One 8k > page of bitmaps could track 512MB of heap pages.