aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add current typedef symbols to pgindent.Bruce Momjian2001-10-25
|
* Add do { ... } while (0) to more bad macros.Bruce Momjian2001-10-25
|
* Add missing "do { ... } while(0)" in ODBC macros and add find_baddefsBruce Momjian2001-10-25
| | | | script.
* Include locale.h before undefining gettext() to avoid compilation errorsPeter Eisentraut2001-10-24
| | | | | | on Solaris. per report from Lee Kindness, 2001-10-23
* All three *.po patches applied.Bruce Momjian2001-10-24
| | | | forth@pagic.net
* Here is a patch for DatabaseMetaData to show precision properly. It isBruce Momjian2001-10-24
| | | | from Mark Lillywhite. I am adding to the patch queue.
* Allow concurrent index creation for the same table.Hiroshi Inoue2001-10-24
|
* fix for a bug in DatabaseMetaData.getIndexInfo(). This fixes a bug reported ↵Barry Lind2001-10-24
| | | | by tom_falconer@lineone.net. On Sept 7th, he sent a test case to the list demonstrating the bug. His test case now works successfully with this patch
* Forbid the switch combination --clean --create, which is pointlessTom Lane2001-10-23
| | | | | | (why bother dropping individual objects in a just-created database?) as well as dangerous (as the code stands, the drops will be issued in the wrong database, namely the one you were originally connected to).
* Document range restriction on bit values used in INTERVAL typmod.Tom Lane2001-10-23
|
* Add support for INTERVAL's new typmod values to format_type.Tom Lane2001-10-23
|
* Fix foreign keys on system columns.Tom Lane2001-10-23
|
* Make SPI's column-accessing functions work for system columns as well asTom Lane2001-10-23
| | | | user columns. Needed for foreign keys on OID, but useful in general.
* Now I had them reversed. Wow that syntax is error-prone.Bruce Momjian2001-10-23
|
* Syntax fix. Can't use #ifdef in gram.y.Bruce Momjian2001-10-23
|
* Back out LIMIT #,# removal and mark it as to-be-removed in 7.3.Bruce Momjian2001-10-23
|
* Add error checking to PageRepairFragmentation to ensure that it canTom Lane2001-10-23
| | | | | | never overwrite adjacent pages with copied data, even if page header and/or item pointers are already corrupt. Change inspired by trouble report from Alvaro Herrera.
* Cause transformIndexConstraints() to do the right thing with requestsTom Lane2001-10-22
| | | | for indexes on system columns. Per complaint from Peter.
* Consolidate tables of known system attributes into one table.Tom Lane2001-10-22
|
* Update for latest fixes.Tom Lane2001-10-22
|
* Further cleanup of ps_status setup code. On platforms where theTom Lane2001-10-22
| | | | | | | | environment strings need to be moved around, do so when called from initial startup (main.c), not in init_ps_status. This eliminates the former risk of invalidating saved environment-string pointers, since no code has yet had a chance to grab any such pointers when main.c is running.
* Add defenses against invalid operator names passed in CREATE OPERATORTom Lane2001-10-22
| | | | | arguments (where the parser doesn't check them already). Minor code cleanups too.
* Rebuild cached function definition after CREATE OR REPLACE FUNCTION.Tom Lane2001-10-22
| | | | Fix typlen-vs-typmod errors inherited from pltcl.
* Generate correct syntax for DROP OPERATOR with unary operators.Tom Lane2001-10-22
|
* synced preproc.y with gram.yMichael Meskes2001-10-22
|
* Fix FindExec() for case where executable is found via a relative pathTom Lane2001-10-21
| | | | in .:/home/postgres/testversion/bin:/opt/perl5.6.1/bin:/home/postgres/bin:/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/CC/bin:/opt/langtools/bin:/opt/graphics/phigs/bin:/opt/java/bin:/bin:/opt/imake/bin:/opt/hparray/bin:/opt/aCC/bin:/opt/lrom/bin:/usr/local/nmh/bin:. (I suppose the only common case for this is '.').
* Fix getopt-vs-init_ps_display problem by copying original argv[] info,Tom Lane2001-10-21
| | | | | | per suggestion from Peter. Simplify several APIs by transmitting the original argv location directly from main.c to ps_status.c, instead of passing it down through several levels of subroutines.
* Revert change to autodetect '__getopt_initialized' variable ... turnsTom Lane2001-10-20
| | | | | out glibc doesn't actually export this variable, so we need a different solution.
* Change LIMIT #,# error message to be more generic.Bruce Momjian2001-10-20
|
* Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion.Bruce Momjian2001-10-20
|
* Fix transposed arguments for typmod for one INTERVAL production.Thomas G. Lockhart2001-10-20
| | | | | | | | | | | | | | Mask both typmod subfields for INTERVAL to avoid setting the high bit, per dire warning from Tom Lane. Clear tmask for DTK_ISO_TIME case to avoid time zone troubles. Symptom reported by Tom Lane. Clean up checking for valid time zone info in output routine. This should now work for both SQL99 and Unix-style time zones. Put in explicit check for INTERVAL() typmod rounding to avoid accumulating cruft in the lower bits. Not sure that this helps, but we'll need to do something. The symptom is visible with a query like select interval(2) '10000 days 01:02:03.040506'; Regression tests are patched to repair the Tom Lane symptom, and all pass.
* Fix plperl to discard cached function definition after CREATE ORTom Lane2001-10-19
| | | | REPLACE FUNCTION. Clean up typlen/typmod errors inherited from pltcl.
* Proper fix for glibc getopt() botch. Surprising we did not see thisTom Lane2001-10-19
| | | | before.
* Fix a lot of confusion between typlen and typmod. Didn't hurt too muchTom Lane2001-10-19
| | | | back when only varlena types paid any attention to typmod ...
* Set optreset on platforms that have it before launching postmasterTom Lane2001-10-19
| | | | | | subprocesses; perhaps this will fix portability problem just noted by Lockhart. Also, move test for bad permissions of DataDir to a more logical place.
* Ensure that all startup paths (postmaster, standalone postgres, orTom Lane2001-10-19
| | | | | | | bootstrap) check for a valid PG_VERSION file before looking at anything else in the data directory. This fixes confusing error report when trying to start current sources in a pre-7.1 data directory. Per trouble report from Rich Shepard 10/18/01.
* Rename macro arg to avoid useless compiler warning when building plperl.Tom Lane2001-10-19
|
* > This stops the interface from leaking the row tuples (and thus theBruce Momjian2001-10-19
| | | | | | > results of every fetch). Stephen Robert Norris
* removed "not fully implemented" warning for nullifMichael Meskes2001-10-19
|
* Change SC_fetch() to not retrieve data in case theHiroshi Inoue2001-10-19
| | | | | SQL_RETRIEVE_DATA option is SQL_RD_OFF. This would avoid a crash when scrolling Grid controls.
* Fix pltcl to update cached function def afterTom Lane2001-10-19
| | | | CREATE OR REPLACE FUNCTION.
* Move init_ps_display from postgres.c to postmaster.c, putting itTom Lane2001-10-19
| | | | | | | | | | | just after receipt of the startup packet. Now, postmaster children that are waiting for client authentication response will show as 'postgres: user database host authentication'. Also, do an init_ps_display for startup/shutdown/checkpoint subprocesses, so that they are readily identifiable as well. Fix an obscure race condition that could lead to Assert failure in the postmaster --- attempting to start a checkpoint process before any connections have been received led to calling PostmasterRandom before setting random_seed.
* Spell 'between' correctly, clean up spacing in error messages.Tom Lane2001-10-18
|
* Fix memory leakage when sending notice messages to client.Tom Lane2001-10-18
|
* Fix authentication so that it doesn't record an extra 'PasswordTom Lane2001-10-18
| | | | | | | | | | authentication failed' and a 'send() failed: Broken pipe' message on every connection from psql in password auth mode. Problem is that psql doesn't ask user for a password until it sees a password challenge failure, and libpq just closes the connection unceremoniously if it's challenged for a password when it hasn't got one to send. Accordingly, EOF from the client after asking for a password is normal behavior and should not result in postmaster log entries.
* Add STATUS_EOF value needed for auth.c. Remove a bunch of unusedTom Lane2001-10-18
| | | | STATUS_xxx macros to reduce clutter.
* Fix several problems with simple_prompt() --- the nastiest being thatTom Lane2001-10-18
| | | | | | the entered password would get echoed on some platforms, eg HPUX. We have enough copies of this code that I'm thinking it ought to be moved into libpq, but that's a task for another day.
* Document all the ecpg error codes.Bruce Momjian2001-10-18
|
* Update for new expected results.Tom Lane2001-10-18
|
* Didn't compile on non-HAVE_TM_ZONE machines.Tom Lane2001-10-18
|