summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TODO list.Bruce Momjian2000-09-301-0/+2
|
* autoconfBruce Momjian2000-09-291-2/+2
|
* Please apply the following patch to fix problems with the AIX portBruce Momjian2000-09-297-12/+82
| | | | | | | | | | | | | | and the fmgr redesign. It makes the homebrewn dl*() functions for more recent Versions of AIX obsolete by using the system dl*() functions instead. It also fixes the expected file for the horology regression test. Please regenerate configure from configure.in, I don't have the environment/time. Andreas
* Add `id' attributes to all `chapter' and `sect1' tags, to generate usefulPeter Eisentraut2000-09-2957-310/+312
| | | | names for the HTML files (e.g., not x4856.htm).
* Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.Tom Lane2000-09-2977-2623/+3138
| | | | | | | | | (Don't forget that an alias is required.) Views reimplemented as expanding to subselect-in-FROM. Grouping, aggregates, DISTINCT in views actually work now (he says optimistically). No UNION support in subselects/views yet, but I have some ideas about that. Rule-related permissions checking moved out of rewriter and into executor. INITDB REQUIRED!
* New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut2000-09-2920-546/+1190
| | | | | add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
* Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matterPeter Eisentraut2000-09-296-17/+17
| | | | | either way (although the former is preferred by the Cygwin folks themselves), but using only one seems nicer.
* Enable initdb to create several levels of directories for PGDATA, ifPeter Eisentraut2000-09-291-2/+2
| | | | `mkdir -p' works.
* Linking with -lc or -lm crashes on Cygwin; filter out those libraries fromPeter Eisentraut2000-09-291-0/+4
| | | | the LIBS variable.
* Cygwin uses _sys_nerr for sys_nerrPeter Eisentraut2000-09-292-7/+15
|
* BufferAlloc() doesn't allocate write error buffers.Hiroshi Inoue2000-09-291-2/+12
| | | | Remove compiler waring(my fault).
* avoid database-wide restart on write errorHiroshi Inoue2000-09-291-5/+4
|
* Cygwin doesn't have DST before 1970 eitherPeter Eisentraut2000-09-281-0/+1
|
* Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.Peter Eisentraut2000-09-2716-743/+564
| | | | | | | Update the installation instructions (formerly misnamed "FAQ"), add configure checks for some headers rather than having users copy stubs manually (ugh!). Use Autoconf check for exe extension. This also avoids inheriting the value of $(X) from the environment.
* Change with delimiters to using delimiters in psql manual page.Bruce Momjian2000-09-271-2/+2
|
* Reset current user id to session user id during transaction abortPeter Eisentraut2000-09-271-1/+7
|
* - Synced preproc.y with gram.y.Michael Meskes2000-09-268-156/+155
| | | | | | - Synced keyword.c. - Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT FOUND problem on update/insert/delete.
* Fix compile error in ecpg when enable-multibyte is on. This is due toTatsuo Ishii2000-09-261-3/+3
| | | | | | | illegal call to pg_mbclipen() that is for backend only. However I have not remove the entire part of the problem, rather mark it with #ifdef MULTIBYTE_NOTUSED since we should come back with a long range solution someday.
* document configure --without-tkPeter Eisentraut2000-09-251-7/+8
|
* When the RI triggers lock the PK table, temporarily switch the current userPeter Eisentraut2000-09-251-1/+35
| | | | id to the owner of the PK table, to avoid permission problems.
* Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut2000-09-2512-1521/+581
| | | | | | | add --without-tk option to disable Tk. We don't need the AC_PATH_XTRA test because tkConfig.sh already contains all the information about how to compile and link with X. Also make sure that libpq is up to date for libpgtcl. Remove executable bits from pgaccess.sh, but add it to pgaccess.
* Correct error in grammar for subselect-in-FROM: SQL spec does not allowTom Lane2000-09-251-8/+5
| | | | omission of alias_clause for a subselect.
* Use variable aliases, if supplied, rather than real column names inTom Lane2000-09-256-58/+62
| | | | | | | complaints about ungrouped variables. This is for consistency with behavior elsewhere, notably the fact that the relname is reported as an alias in these same complaints. Also, it'll work with subselect- in-FROM where old code didn't.
* System neglected to complain about ungrouped variables passed toTom Lane2000-09-251-2/+2
| | | | sublinks when outer query contained aggregates but no GROUP clause.
* Karel missed an ichar->chr ...Tom Lane2000-09-251-2/+2
|
* Change // to /*.Bruce Momjian2000-09-251-2/+2
|
* the patch include:Bruce Momjian2000-09-255-28/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename ichar() to chr() (discussed with Tom) - add docs for oracle compatible routines: btrim() ascii() chr() repeat() - fix bug with timezone in to_char() - all to_char() variants return NULL instead textin("") if it's needful. The contrib/odbc is without changes and contains same routines as main tree ... because I not sure how plans are Thomas with this :-) Karel --------------------------------------------------------------------------- This effectively one line patch should fix the fact that foreign key definitions in create table were erroring if a primary key was defined. I was using the columns list to get the columns of the table for comparison, but it got reused as a temporary list inside the primary key stuff. Stephan Szabo
* disable plperl again.Bruce Momjian2000-09-251-4/+4
|
* Acquire read lock on a buffer while writing it out, to preventTom Lane2000-09-251-32/+45
| | | | concurrent modifications to the page by other backends.
* Tweak resultmap so that geometry regress test selects the right comparisonTom Lane2000-09-241-1/+1
| | | | | file on LinuxPPC, which is identified by config.guess as powerpc-unknown-linux-gnu (not ...-gnulibc1).
* Clean up some ugly coding (hardwired constants) in index_formtuple.Tom Lane2000-09-231-12/+14
|
* These are obsolete.Peter Eisentraut2000-09-234-2861/+0
|
* Don't free() the result of getpwuid().Peter Eisentraut2000-09-221-6/+1
| | | | Discovered by Jason Tishler <Jason.Tishler@dothill.com>.
* SetPGVariable() crashed on SET DateStyle TO DEFAULT and related cases.Tom Lane2000-09-221-8/+13
|
* Add check of 'SET DateStyle TO DEFAULT'.Tom Lane2000-09-222-0/+3
|
* Replace brain-dead Autoconf macros AC_ARG_{ENABLE,WITH} with somethingPeter Eisentraut2000-09-216-1467/+1170
| | | | | | | that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat.
* *** empty log message ***Michael Meskes2000-09-215-8/+22
|
* Fix coredump in copyCommentStmt().Tom Lane2000-09-201-2/+3
|
* *** empty log message ***Michael Meskes2000-09-2014-73/+575
|
* Make sure that FlushRelationBuffers() is invoked by all paths throughTom Lane2000-09-191-42/+72
| | | | vacuum.c. This is needed to make the world safe for pg_upgrade.
* Fix GEQO optimizer to work correctly with new outer-join-capableTom Lane2000-09-196-48/+57
| | | | | | | query representation. Note that GEQO_RELS setting is now interpreted as the number of top-level items in the FROM list, not necessarily the number of relations in the query. This seems appropriate since we are only doing join-path searching over the top-level items.
* Implement differentiation between CURRENT_USER and SESSION_USER as per SQL.Peter Eisentraut2000-09-1912-65/+166
| | | | | | There is still no effective difference but it will kick in once setuid functions exist (not included here). Make old getpgusername() alias for current_user.
* *** empty log message ***Michael Meskes2000-09-1916-336/+587
|
* Make rule lister use aliases from FROM clause when a table column hasTom Lane2000-09-181-19/+49
| | | | been given an alias. Otherwise, results are incorrect.
* Move contrib/odbc/odbc.sql together with odbc driver, remove old files;Peter Eisentraut2000-09-1814-1371/+258
| | | | | revise ODBC "installation instructions"; update some other outdated documentation; update contrib documentation
* Only retrieve view definition if relation is a view (case statement)Philip Warner2000-09-181-2/+5
|
* Uses column select expressions to get object object owners and tests for ↵Philip Warner2000-09-182-22/+46
| | | | blank names
* Parse JOIN/ON conditions with the proper visibility of input columns,Tom Lane2000-09-171-30/+115
| | | | | | | | ie, consider only the columns coming from the JOIN clause's sub-clauses. Also detect attempts to reference columns belonging to other tables (which would still be possible using an explicitly-qualified name). I'm not sure this implements the spec's semantics 100% accurately, but at least it gives plausible behavior.
* Add a blurb about what tools are required to build.Peter Eisentraut2000-09-171-66/+94
|
* psql forgot to close connection before re-issuing password prompt.Peter Eisentraut2000-09-172-2/+4
| | | | ([BUGS] psql can crash the backend on login, 2000-09-03)