summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-02-02Fix for psql help create table.Bruce Momjian
1999-02-02Fix create_rule is->as.Bruce Momjian
1999-02-02Fixed failed assertion happening in multiple action rulesJan Wieck
when parsestate in makeRangeTable() already contains an opened p_target_relation. Jan
1999-02-02Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian
1999-02-01Fixed growing of backend due to not pfree()'d data on COPY FROMJan Wieck
Fixed growing of backend if BEFORE DELETE trigger returns heap tuple different from trigtuple. Jan
1999-02-01Initialize es_snapshot.Vadim B. Mikheev
1999-02-01Tighten coding in samekeys(). Pretty braindead change,Tom Lane
but it saves almost 10% of the runtime in Charles Hornberger's optimizer example, so what the heck ...
1999-02-01freebsd4.0 needed to be added to configure...Marc G. Fournier
1999-01-31From: Michael Meskes <Michael.Meskes@usa.net>Marc G. Fournier
+ + Wed Jan 27 12:42:22 CET 1999 + + - Fixed bug that caused ecpg to lose 'goto' information. + - Set ecpg version to 2.4.7 + + Fri Jan 29 18:03:52 CET 1999 + + - Fixed bug that caused 'enum' to be rejected in pure C code. + - Fixed bug that caused function names to be translated to lower case. + - Set ecpg version to 2.4.8 +
1999-01-31From: D'Arcy J.M. Cain <darcy@druid.net>Marc G. Fournier
The following patch does two things. - Clarifies what the effect of allowing users to add new users (Thet become super-users.) - Makes the default database for the new user if they are not allowed to and the user agrees to create it.
1999-01-30Fix postmaster to not try to start more than MaxBackendId children,Tom Lane
per patch from Tatsuo Ishii
1999-01-29Small fix for READ COMMITTED isolevel.Vadim B. Mikheev
1999-01-29Hope that execMain.c good merged.Vadim B. Mikheev
Fix for BEFORE ROW UPDATE triggers: result tuple may be different (due to concurrent update) from one initially produced by top level plan.
1999-01-29Trying to fix bad merging...Vadim B. Mikheev
1999-01-29READ COMMITTED isolevel is implemented and is default now.Vadim B. Mikheev
1999-01-28Changed qualification of pg_views and pg_tables to directlyJan Wieck
check if a rewrite rule on SELECT exists/not exists instead of asking pg_get_viewdef() function. Jan
1999-01-28New prebuilt versions of gram.c and scan.c for the mixed caseJan Wieck
identifier support. Jan
1999-01-28Partial support for mixed case in PL/pgSQL.Jan Wieck
Left are identifiers that contain non-alnum/_ chars. So e.g. whitespaces in identifiers are still not supported. Jan
1999-01-27Quick fix for subplan-related crash.Tom Lane
1999-01-27Speedup of PL/pgSQL by calling ExecEvalExpr() directlyJan Wieck
instead of SPI_execp() for simple expressions. Jan
1999-01-27fix for aggregatesBruce Momjian
1999-01-27From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier
Included patches fix a portability problem of unsetenv() used in 6.4.2 multi-byte support. unsetenv() is only avaliable on FreeBSD and Linux so I decided to replace with putenv().
1999-01-27Turns out it's easy to cache the fmgr function lookupTom Lane
result, too ... another little bit of speed for SELECT.
1999-01-27Another SELECT speedup: extract OIDs of column print functionsTom Lane
only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
1999-01-26More agg cleanup.Bruce Momjian
1999-01-26primary key support cleanups from D'Arcy...Marc G. Fournier
1999-01-26pgindent file.Bruce Momjian
1999-01-25From: Peter T Mount <peter@retep.org.uk>Marc G. Fournier
This implements some of the JDBC2 methods, fixes a bug introduced into the JDBC1 portion of the driver, and introduces a new example, showing how to use the CORBA ORB thats in Java2 with JDBC. The Tar file contains the new files, the diff the changes to the others. CHANGELOG is separate as I forgot to make a .orig ;-)
1999-01-25Agg/Aggreg cleanup and datetime.sql patch.Bruce Momjian
1999-01-25SELECT FOR UPDATE is implemented...Vadim B. Mikheev
1999-01-25Tighten coding of fmgr_isbuiltin() ... managed to speed it upTom Lane
by about 10% which seems to be good for half a percent or so of a SELECT.
1999-01-24Tighten coding of inner loops in nocachegetattr ...Tom Lane
seems to have improved speed of routine by 5% or so ...
1999-01-24Use heap_attisnull, rather than heap_getattr, for a smallTom Lane
but useful speedup.
1999-01-24Replace typtoout() and gettypelem() with a single routine,Tom Lane
so that fetching an attribute value needs only one SearchSysCacheTuple call instead of two redundant searches. This speeds up a large SELECT by about ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
1999-01-24Fix a couple little problems with signed vs. unsignedTom Lane
characters ...
1999-01-24Rename Aggreg to Aggref.Bruce Momjian
1999-01-24Improper addition of NaN/Infinity recognition to float8in()Tom Lane
was causing it not to detect out-of-range float values, as evidenced by failure of float8 regression test. I corrected that logic and also modified expected float8 results to account for new error message generated for out-of-range inputs.
1999-01-23Remove unused Choose node.Bruce Momjian
1999-01-23Add explicit buffering in backend libpq, to compensate forTom Lane
buffering lost by not going through stdio anymore for client I/O.
1999-01-23Fix unportable test syntax in regression script.Tom Lane
1999-01-22Fix for intersect FOR UPDATE check.Bruce Momjian
1999-01-22Relcache Size fix.Bruce Momjian
1999-01-22Fix for Size sizeof in cache code.Bruce Momjian
1999-01-22|From: "D'Arcy" "J.M." Cain <darcy@druid.net>Marc G. Fournier
| |The following patch just prevents a warning from being generated because |the data type isn't specified.
1999-01-21It seems that SPI_prepare() doesn't work well in some cases.Bruce Momjian
Pawel Pierscionek [pawel@astercity.net] reported about the following case 1([SQL] drop table in pgsql). Michael Contzen [mcontzen@dohle.com] reported about the following case 2(PL/PGSQL bug using aggregates). You can find it from pgsql-hackers archive. 1. PL/pgSQL can't execute UTILITY commands. SPI_prepare() doesn't copy(save) the utilityStmt member of Query type nodes,because copyObject() is not implemented for nodes of (Create/Destroy etc)Stmt type. 2. Aggregates in PL/pgSQL cause wrong results. ... It's a list including Aggreg type nodes which exist in TargetList(i.e Aggreg type nodes are common to aggs member list and TargetList). AFAIC the common pointer is not copied to the same pointer by copyObject() function. In my patch I reconstruct aggs member node from new(copied) Agg type node. Is it proper to use set_agg_tlist_references() function to reconstruct aggs member node for Agg type nodes ? Thanks. Hiroshi Inoue Inoue@tpf.co.jp
1999-01-21Here is a new version of my patch for allowing pg_dump to DROP schemaBruce Momjian
elements prior to CREATEing new ones. It is under control of the -c command line option (with the default being status quo). The DROP TRIGGER portion still needs implementation. Anyone able to help clarify what exactly the CREATE TRIGGER portion does so I can fix this? Again, I have tried this with tables/indexes/sequences, but do not have other schema elements in my database. As a result, I am not 100% convinced that I got the syntax correct in all cases (but think I did, nonetheless). If anyone can check the other cases, I'd appreciate it. Cheers, Brook [I added manual page and sgml additions for the new -c option.]
1999-01-21The following patch finishes primary key support. Previously, whenBruce Momjian
a field was labelled as a primary key, the system automatically created a unique index on the field. This patch extends it so that the index has the indisprimary field set. You can pull a list of primary keys with the followiing select. SELECT pg_class.relname, pg_attribute.attname FROM pg_class, pg_attribute, pg_index WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisunique = 't'; There is nothing in this patch that modifies the template database to set the indisprimary attribute for system tables. Should they be changed or should we only be concerned with user tables? D'Arcy
1999-01-21From: Michael Meskes <Michael.Meskes@usa.net>Marc G. Fournier
See attached file. Now accepts "exec sql whenever sqlwarning".
1999-01-21Copy RowMark node (it's for (-:)) FOR UPDATE).Vadim B. Mikheev
1999-01-21FOR UPDATE is in parser & rules.Vadim B. Mikheev