- 17 12月, 2002 2 次提交
-
-
由 Tom Lane 提交于
disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types from being introduced by the range-function syntax. While at it, allow CREATE TABLE to create zero-column tables, per recent pghackers discussion. I am back-patching this into 7.3 since failure to disallow pseudo-types is arguably a security hole.
-
由 Tom Lane 提交于
practice of evaluating MemSet's arguments multiple times, except for the special case of newNode(), where we can assume the argument is a constant sizeof() operator. Also, add GetMemoryChunkContext() to mcxt.c's API, in preparation for fixing recent GEQO breakage.
-
- 16 12月, 2002 2 次提交
-
-
由 Tom Lane 提交于
given any malloc block until something is first allocated in it; but thereafter, MemoryContextReset won't release that first malloc block. This preserves the quick-reset property of the original policy, without forcing 8K to be allocated to every context whether any of it is ever used or not. Also, remove some more no-longer-needed explicit freeing during ExecEndPlan.
-
由 Tom Lane 提交于
a per-query memory context created by CreateExecutorState --- and destroyed by FreeExecutorState. This provides a final solution to the longstanding problem of memory leaked by various ExecEndNode calls.
-
- 15 12月, 2002 4 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
failing to find pg_hba.conf should be a fatal error anyway, so I increased the priority of the elog() from LOG to FATAL and refactored the code a little bit. Neil Conway
-
由 Bruce Momjian 提交于
pqcomm.c, switched the ERROR logs to COMMERROR logs and it all works. I've attached a patch to be-secure.c that fixes all my problems. Nathan Mueller
-
- 14 12月, 2002 8 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Tom Lane 提交于
in the planned representation of a subplan at all any more, only SubPlan. This means subselect.c doesn't scribble on its input anymore, which seems like a good thing; and there are no longer three different possible interpretations of a SubLink. Simplify node naming and improve comments in primnodes.h. No change to stored rules, though.
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
produce which output in the geometry test, even with the problem narrowed down to only whether they print minus zero or not. Instead, use pg_regress' locale-variant mechanism to automatically consider the test to pass if it matches either supplied comparison file. geometry_1.out replaces the former geometry-positive-zeros.out.
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
much time in a broken state for lack of anyone noticing.
-
由 Tom Lane 提交于
execution state trees, and ExecEvalExpr takes an expression state tree not an expression plan tree. The plan tree is now read-only as far as the executor is concerned. Next step is to begin actually exploiting this property.
-
由 Tom Lane 提交于
error. This seems to explain the differing choice of plan that's been causing geometry regress test to fail for the last few days.
-
- 13 12月, 2002 13 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
(contrib/tsearch/makedict/makedict.pl) [ Backpatched to 7.3.] Teodor Sigaev
-
由 Bruce Momjian 提交于
libpq feature. Neil Conway
-
由 Bruce Momjian 提交于
completion. Note that it's based on 7.3 tarball, not CVS HEAD, or 7.3rel branch. Damn, looking at CVS, this will patch into 7.3rel (just tested, it does) probably collide with Rod Taylor's patch adding ALTER TRIGGER stuff. O.K, second patch attached against HEAD - not tested, hand merged. Ross Reedstrom
-
由 Bruce Momjian 提交于
> > In pg.py the attributes of DB are defined as being the same as > the attributes of the corresponding pgobject "db", using the following ... > The problem is that the attributes of db (which are read only) > are not static (they are actually function calls to PostgreSQL), > especially "status" and "error", but those attributes are copied > and this is done only once when initializing the DB object. > > So, in effect, only the attribute "db.error" of a DB instance > will be updated, but not the attribute "error". Same with "status". > Don't copy the (read only) attributes of the pgobject to the > DB object, but only the methods, and all of them, like this: > > --------------- change in pg.py ------------------ > # Create convience methods, in a way that is still overridable. > for e in self.db.__methods__: > setattr(self, e, getattr(self.db, e)) > ---------------------------------------------------- > > Furthermore, make an addition to the documentation of the > DB wrapper class (i.e. in pygresql-pg-db.html): > After the sentence "All pgobject methods are included in this class also." > add the following sentence "The pgobject read-only attributes can be > accessed py adding the prefix 'db.' to them." Christoph Zwerschke
-
由 Bruce Momjian 提交于
returned -1, per SSL_get_error() documentation. Nathan Mueller
-
由 Bruce Momjian 提交于
attached problem with the EXEC SQL COMMIT RELEASE statement. Roland Karch
-
由 Tom Lane 提交于
in a table.
-
由 Bruce Momjian 提交于
* Add schema, cast, and conversion backslash commands to psql I had to create a new publically available function, pg_conversion_is_visible, as it seemed to be missing from the catalogs. This required me to do no small amount of hacking around in namespace.c I have updated the \? help and sgml docs. \dc - list conversions [PATTERN] \dC - list casts \dn list schemas I didn't support patterns with casts as there's nothing obvious to match against. Catalog version incremented --- initdb required. Christopher Kings-Lynne
-
由 Bruce Momjian 提交于
> * -Add schema, cast, and conversion backslash commands to psql (Christopher)
-
由 Tom Lane 提交于
keywords.o.
-
由 Tom Lane 提交于
make VALUE a non-reserved word again, use less invasive method of passing ConstraintTestValue into transformExpr, fix problems with nested constraint testing, do correct thing with NULL result from a constraint expression, remove memory leak. Domain checks still need much more work if we are going to allow ALTER DOMAIN, however.
-
由 Tom Lane 提交于
-
- 12 12月, 2002 8 次提交
-
-
由 Tom Lane 提交于
so that all executable expression nodes inherit from a common supertype Expr. This is somewhat of an exercise in code purity rather than any real functional advance, but getting rid of the extra Oper or Func node formerly used in each operator or function call should provide at least a little space and speed improvement. initdb forced by changes in stored-rules representation.
-
由 Bruce Momjian 提交于
> o Compression?
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
template/sco updated.
-
由 Bruce Momjian 提交于
report from Oliver Elphick. Backpatch to 7.3.
-
由 Dave Cramer 提交于
-
- 11 12月, 2002 3 次提交
-
-
由 Dave Cramer 提交于
-
由 Dave Cramer 提交于
-
由 Bruce Momjian 提交于
-