summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-10-05Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet theTom Lane
SQL92 semantics, including support for ALL option. All three can be used in subqueries and views. DISTINCT and ORDER BY work now in views, too. This rewrite fixes many problems with cross-datatype UNIONs and INSERT/SELECT where the SELECT yields different datatypes than the INSERT needs. I did that by making UNION subqueries and SELECT in INSERT be treated like subselects-in-FROM, thereby allowing an extra level of targetlist where the datatype conversions can be inserted safely. INITDB NEEDED!
2000-10-04Added patch by Cristof for catching yet another NOTICE.Michael Meskes
2000-10-04removed binary fileMichael Meskes
CV: ----------------------------------------------------------------------
2000-10-04Btree WAL logging.Vadim B. Mikheev
2000-10-03Better coding of readline testsPeter Eisentraut
2000-10-03Fix to make output format identical on echo -n and echo \c platforms. ThisPeter Eisentraut
had caused the test counts to be wrong on the latter group.
2000-10-03Treat empty connection parameters as is, in particular to enable overridingPeter Eisentraut
environment variables with "nothing". Empty host parameter indicates Unix socket.
2000-10-03Cleanup of fe-connect ifdef platform problem added with beos.Bruce Momjian
2000-10-03New diff that now covers the entire tree. Applying this gets postgresqlBruce Momjian
working on the VERY latest version of BeOS. I'm sure there will be alot of comments, but then if there weren't I'd be disappointed! Thanks for your continuing efforts to get this into your tree. Haven't bothered with the new files as they haven't changed. BTW Peter, the compiler is "broken" about the bool define and so on. I'm filing a bug report to try and get it addressed. Hopefully then we can tidy up the code a bit. I await the replies with interest :) David Reid
2000-10-02Mop up from caddr_t -> Datum conversion to make things extra type safePeter Eisentraut
2000-10-02Banish caddr_t (mostly), use Datum where appropriate.Peter Eisentraut
2000-10-02Here is the first batch of files and diffs for the BeOS port. I've run intoBruce Momjian
problems with some bits of it, but when all the patches are in it'll build and we can fix it from there :) I've got a version that builds and runs and that is the basis for these patches. The first file has the new additional files that are required, template/beos backend/port/dynloader/beos.c backend/port/dynloader/beos.h include/port/beos.h makefiles/Makefile.beos The second is a tarball of diffs against a few files. I've added sys/ipc.h to configure and config.h via configure.in and config.h.in and then started adding the check as this file isn't needed on BeOS and having loads of #ifdef BEOS isn't as obvious as #ifdef HAVE_SYS_IPC_H and isn't as autconf'ish :) Files touched are include/c.h configure.in include/config.h.in include/storage/ipc.h include/utils/int8.h Let me know how these go. I'll await a response before submitting any more. Any problems just get in touch. David Reid
2000-10-02In the meaning of bug-fix, the patch is not needed. Because youBruce Momjian
have already modified "next_insert()" in 7.0-ecpglib. However in the meaning of speed-up, the patch will be needed. -- Regards, SAKAIDA Masaaki -- Osaka, Japan
2000-10-02Communicate PGPORT and PGHOST via environment, not command linePeter Eisentraut
2000-10-02Honor $(SHELL) when invoking pg_regress.Tom Lane
2000-10-02Fix silly typo that prevented resultmap from being honored byTom Lane
pg_regress.
2000-10-02Make default ACL be consistent --- ie, starting point for ChangeAclTom Lane
is the same as the access permissions granted when a relation's relacl field is NULL, ie, owner=all rights, world=no rights.
2000-10-02Add missing python files.Bruce Momjian
2000-10-02Update for PyGreSQL 3.0, from D'Arcy J.M. CainBruce Momjian
2000-10-01Fix quoting bugPeter Eisentraut
2000-10-01Fix test orderPeter Eisentraut
2000-09-30Fix nasty TRUNCATE bug reported by Darrin Ladd. RelationTruncateIndexesTom Lane
would close and then re-open rel being truncated. Depending on the luck of the draw, the re-opened relcache entry might or might not be at the same physical location as before. Unfortunately, if it wasn't then heap_truncate would crash and burn, because it still had a pointer at the old location. Fix is to open and then close rel in RelationTruncateIndexes, so that rel's refcount never goes to zero until heap_truncate is done.
2000-09-29Please apply the following patch to fix problems with the AIX portBruce Momjian
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
2000-09-29Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.Tom Lane
(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!
2000-09-29New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut
add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
2000-09-29Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matterPeter Eisentraut
either way (although the former is preferred by the Cygwin folks themselves), but using only one seems nicer.
2000-09-29Enable initdb to create several levels of directories for PGDATA, ifPeter Eisentraut
`mkdir -p' works.
2000-09-29Linking with -lc or -lm crashes on Cygwin; filter out those libraries fromPeter Eisentraut
the LIBS variable.
2000-09-29Cygwin uses _sys_nerr for sys_nerrPeter Eisentraut
2000-09-29BufferAlloc() doesn't allocate write error buffers.Hiroshi Inoue
Remove compiler waring(my fault).
2000-09-29avoid database-wide restart on write errorHiroshi Inoue
2000-09-28Cygwin doesn't have DST before 1970 eitherPeter Eisentraut
2000-09-27Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.Peter Eisentraut
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.
2000-09-27Reset current user id to session user id during transaction abortPeter Eisentraut
2000-09-26- Synced preproc.y with gram.y.Michael Meskes
- Synced keyword.c. - Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT FOUND problem on update/insert/delete.
2000-09-26Fix compile error in ecpg when enable-multibyte is on. This is due toTatsuo Ishii
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.
2000-09-25When the RI triggers lock the PK table, temporarily switch the current userPeter Eisentraut
id to the owner of the PK table, to avoid permission problems.
2000-09-25Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut
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.
2000-09-25Correct error in grammar for subselect-in-FROM: SQL spec does not allowTom Lane
omission of alias_clause for a subselect.
2000-09-25Use variable aliases, if supplied, rather than real column names inTom Lane
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.
2000-09-25System neglected to complain about ungrouped variables passed toTom Lane
sublinks when outer query contained aggregates but no GROUP clause.
2000-09-25Karel missed an ichar->chr ...Tom Lane
2000-09-25Change // to /*.Bruce Momjian
2000-09-25 the patch include:Bruce Momjian
- 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
2000-09-25disable plperl again.Bruce Momjian
2000-09-25Acquire read lock on a buffer while writing it out, to preventTom Lane
concurrent modifications to the page by other backends.
2000-09-24Tweak resultmap so that geometry regress test selects the right comparisonTom Lane
file on LinuxPPC, which is identified by config.guess as powerpc-unknown-linux-gnu (not ...-gnulibc1).
2000-09-23Clean up some ugly coding (hardwired constants) in index_formtuple.Tom Lane
2000-09-22Don't free() the result of getpwuid().Peter Eisentraut
Discovered by Jason Tishler <Jason.Tishler@dothill.com>.
2000-09-22SetPGVariable() crashed on SET DateStyle TO DEFAULT and related cases.Tom Lane