summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-05-13Cope with configure arguments that contain spaces.Peter Eisentraut
2001-05-12proisstrict must be assumed FALSE when dumping from a 7.0 database,Tom Lane
not TRUE. Otherwise we break pl call handler functions. fmgr_oldstyle will take care of making sure the semantics are the same for C functions. Clean up some slightly grotty coding in 7.0 pg_class reading, also.
2001-05-12Backpatch jdbc1 compile failure fix.Bruce Momjian
2001-05-12 - Don't dump COMMENTs in data-only dumpsPhilip Warner
- Fix view dumping SQL for V7.0 - Fix bug when getting view oid with long view names - Treat SEQUENCE SET TOC entries as data entries rather than schema entries. - Make allowance for data entries that did not have a data dumper routine (eg. SEQUENCE SET)
2001-05-11Stamp for 7.1.2. Ready when you are...Bruce Momjian
2001-05-09Fix remaining RI permission problems (cascaded update/delete, restrict,Peter Eisentraut
set null/default).
2001-05-08Append and SubqueryScan nodes were not passing changed-parameter signals downTom Lane
to their children, leading to misbehavior if they had any children that paid attention to chgParam (most plan node types don't). Append's bug has been there a long time, but nobody had noticed because it used to be difficult to create a query where an Append would be used below the top level of a plan; so there were never any parameters getting passed down. SubqueryScan is new in 7.1 ... and I'd modeled its behavior on Append :-(
2001-05-08Un-break exec_move_row() for case that a NULL tuple and tupdesc areTom Lane
passed, which occurs when no rows are retrieved by a SELECT. Mea maxima culpa ... I should have caught this.
2001-05-06Fix collateral damage from previous (rev 1.49) patch.Peter Eisentraut
2001-05-04Makefile should have automatic dependency for parser.o too, if it'sTom Lane
going to have any at all.
2001-05-04Seems like we should not hold off cancel/die interrupts while we areTom Lane
running deferred triggers. They are really part of the regular transaction, and they could take awhile.
2001-05-03Consolidate several near-identical uses of mktime() into a singleTom Lane
routine DetermineLocalTimeZone(). In that routine, be more wary of broken mktime() implementations than the original code was: don't allow mktime to change the already-set y/m/d/h/m/s information, and don't use tm_gmtoff if mktime failed. Possibly this will resolve some of the complaints we've been hearing from users of Middle Eastern timezones on RedHat.
2001-05-03BTW it does not add encodign it just patches existing one (KOI8) toBruce Momjian
support two - KOI8-R and KOI8-U (latter is superset of the former if not to take to the account pseudographics) Andy Rysin
2001-05-03Permission checking wasn't quite right for insert/update/delete rules,Tom Lane
either :-(.
2001-05-03apply a little patch:Bruce Momjian
Oleg Bartunov
2001-05-03Ensure that btree sort ordering functions and boolean comparison operatorsTom Lane
give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
2001-05-03Permissions were not checked correctly when one view invokes another.Tom Lane
Per bug report from Lieven Van Acker, 5/2/01.
2001-05-03Improve list.Bruce Momjian
2001-05-03Updates for 7.1.1. Not done yet.Bruce Momjian
2001-05-03Correct pg_description entry for type macaddr.Tom Lane
2001-05-03Fixes to make ecpg work on Cygwin, from Jason Tishler ↵Tom Lane
<Jason.Tishler@dothill.com>.
2001-05-02Previous commit mistakenly converted all newlines to DOS style (CR/LF).Tom Lane
Convert back to Unix style --- it seems some versions of nmake insist on this.
2001-05-02Add note explaining why inserts take longer as tables grow. Also suggestD'Arcy J.M. Cain
the way to handle this.
2001-05-02Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code worksD'Arcy J.M. Cain
properly on 64 bit systems. Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
2001-05-01Synced gram.y and preproc.y.Tom Lane
2001-05-01Allow a string argument to the EXTRACT() function.Thomas G. Lockhart
This is an extension to the SQL9x standard, but is consistant with usage of the underlying date_part() function used to implement it. Example: EXTRACT('YEAR',...) No impact on regression tests.
2001-05-011) fix bugs reported by Andrea Aime.Hiroshi Inoue
2) fix a bug reported by Jan Wieck. psqlodbc is 7.01.0005 now.
2001-04-30exec_move_row() should be more forgiving of tuples with a differentTom Lane
number of columns than it was expecting, for reasons that are now documented in the code...
2001-04-30Suppress pull-up of subqueries that are in the nullable side of an outerTom Lane
join. This is needed to avoid improper evaluation of expressions that should be nulled out, as in Victor Wagner's bug report of 4/27/01. Pretty ugly solution, but no time to do anything better for 7.1.1.
2001-04-29Add missing Unicode support for Cyrillic encodings.Tatsuo Ishii
Patches contributed by Victor Wagner.
2001-04-26Remove bogus Assert from AbsoluteTimeIsBefore(). (If you don't thinkTom Lane
it's bogus, try building a btree index on the regress tests' abstime_tbl.)
2001-04-25Tweak nestloop costing to weight restart cost of inner path more heavily.Tom Lane
Without this, it was making some pretty silly decisions about whether an expensive sub-SELECT should be the inner or outer side of a join...
2001-04-25- Fixed CONSTRAINT TRIGGER dump to record tgconstrelid properlyPhilip Warner
- pgsql v7.0 compatbility
2001-04-24Undo pgindent brain damage, so that node type numbers can once again beTom Lane
counted off by lines ...
2001-04-23Behave sanely when database name is omitted from command line.Tom Lane
2001-04-23Send 'cd' output to /dev/null.Peter Eisentraut
2001-04-23compatible_oper needs to do ReleaseSysCache in one path to avoidTom Lane
complaints about 'Cache reference leak'. Per report from Don Baccus.
2001-04-231) Decrease the size of needlessly large buffers. For example, itHiroshi Inoue
resolved the stack over flow errors reported by Johann Zuschlag. 2) Support {oj syntax for 71. servers.
2001-04-23A patch to fix the following bugs.Hiroshi Inoue
1) [ODBC] Psqlodbc and Centura: here it is a patch posted by Matteo Cavalleli 2) [ODBC] pgsqODBC binding parameters II posted by Ludek Finstrle 3) Invalid Page Fault in PSQLODBC.DLL personal mail from Johann Zuschlag Hiroki Kataoka kataoka@interwiz.koganei.tokyo.jp
2001-04-22Don't bomb out on indexes on system attributes other than 'oid'.Tom Lane
(Not sure such an index is actually useful, but just because it's useless doesn't mean pg_dump should coredump.)
2001-04-21Remove useless setuid() call, instead add a check that real and effectiveTom Lane
userids are the same. Per today's pghackers discussion.
2001-04-21Make sure that the postmaster options (from postmaster.opts[.default] orPeter Eisentraut
-o option) are properly dequoted. Also, always pass an explicit -D option to postmaster, don't rely on it being set in postmaster.opts.
2001-04-19Add extern int optreset declaration, per bug report from <info@decc.nl>.Peter Eisentraut
2001-04-19Fix "off by VARHDRSZ" bug in (Cyrillic) recode support.Peter Eisentraut
2001-04-19Kluge solution for Alex Pilosov's report of problems with whole-tupleTom Lane
function arguments in join queries: copy the tuples into TransactionCommandContext so they don't get recycled too soon. This is horrid, but not any worse than 7.0 or before, which also leaked such tuples until end of query. A proper fix will require allowing tuple datums to be physically stored inside larger tuple datums, which opens up a bunch of issues that can't realistically be solved for 7.1.1.
2001-04-19Add a crash gurard to pg_encoding_mblen in case of an invalid encodingTatsuo Ishii
given.
2001-04-18Further tweaking of error messages for cases involving attributes &Tom Lane
functions of join or subselect aliases. It'd be awfully nice if this code knew for sure whether it was dealing with 'x.f' or 'f(x)' syntax; maybe we can fix that in a future cycle.
2001-04-18Repair misbehavior of \! with immediately following argument that containsPeter Eisentraut
spaces (e.g., '\!ls -l'). Also correct a comment.
2001-04-18Make the world safe for passing whole rows of views to functions. ThisTom Lane
already worked fine for whole rows of tables, but not so well for views...
2001-04-18Make rule lister do the right thing with Vars representing whole tuples.Tom Lane