| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Modified Files:
jdbc/org/postgresql/errors_zh_TW.properties
|
|
|
|
| |
< * Fix SELECT ... INTO and CREATE TABLE AS to have appopriate OID column
|
|
|
|
| |
> * -Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
|
|
|
|
|
|
|
|
| |
Patch to makefile to clean up some of the output
Modified Files:
jdbc/Makefile jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/errors_de.properties
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
targetlist of a set-operation tree. I'm not sure that this solution
will really stand the test of time --- perhaps we need to make a special
RTE for such vars to refer to. But this quick hack fixes Brandon Craig
Rhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while not
changing any behavior in the better-tested cases where leftmostRTI is
one anyway.
|
|
|
|
|
|
| |
constraints appearing in outer-join qualification clauses are restricted
as to when and where they can be pushed down. Add regression test
to catch future errors in this area.
|
| |
|
|
|
|
|
|
| |
codes, per discussion from last March. parse.h should now be included
*only* by gram.y, scan.l, keywords.c, parser.c. This prevents surprising
misbehavior after seemingly-trivial grammar adjustments.
|
|
|
|
|
| |
because there are WHERE clauses that will reject the null-extended rows.
Per suggestion from Brandon Craig Rhodes, 19-Nov-02.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also applied patch from Lars Stenberg to make callable statements use the form
select * from func() when running against a 7.3 server instead of select func() to allow for set returning functions to be called.
Modified Files:
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
|
|
|
|
|
|
| |
rid of the assumption that sizeof(Oid)==sizeof(int). This is one small
step towards someday supporting 8-byte OIDs. For the moment, it doesn't
do much except get rid of a lot of unsightly casts.
|
| |
|
|
|
|
|
|
|
|
| |
locParam lists can be converted to bitmapsets to speed updating. Also,
replace 'locParam' with 'allParam', which contains all the paramIDs
relevant to the node (i.e., the union of extParam and locParam); this
saves a step during SetChangedParamList() without costing anything
elsewhere.
|
|
|
|
|
| |
Instead of Lists of integers, we now store variable-length bitmap sets.
This should be faster as well as less error-prone.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of grovelling through pg_class to find them, make use of the
handy dandy dependency mechanism: just delete everything that depends
on our temp schema. Unlike the pg_class scan, the dependency mechanism
is smart enough to delete things in an order that doesn't fall foul of
any dependency restrictions. Fixes problem reported by David Heggie:
a temp table with a serial column may cause a backend FATAL exit at
shutdown time, if it chances to try to delete the temp sequence first.
|
|
|
|
| |
referenced from a subquery. Per example from Stefanos Harhalakis.
|
|
|
|
|
|
|
|
| |
expression accepted by the regex operators, per discussion yesterday.
Along the way, reduce deadlock_timeout from PGC_POSTMASTER to PGC_SIGHUP
category. It is probably best to insist that all backends share the same
setting, but that doesn't mean it has to be frozen at startup.
|
|
|
|
| |
per report from Ian Harding.
|
|
|
|
|
| |
construction 'SETOF type[]' which for some reason was previously
overlooked (you'd have to name the array type directly to make it work).
|
|
|
|
|
|
|
| |
(extracted from Tcl 8.4.1 release, as Henry still hasn't got round to
making it a separate library). This solves a performance problem for
multibyte, as well as upgrading our regexp support to match recent Tcl
and nearly match recent Perl.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
and the other fixes a NPE in Statement.toString() under some circumstances.
The second patch was originally submitted by Oliver Jowett and updated by Kris
|
|
|
|
|
| |
so that rows can be fetched incrementally. This is enabled by using
setFetchSize()
|
|
|
|
|
| |
and convert pull_agg_clause() into count_agg_clause(), which is a more
efficient way of doing what it's really being used for.
|
|
|
|
|
| |
speeds up some useful real-world cases like
SELECT x, COUNT(*) FROM t GROUP BY x HAVING COUNT(*) > 100.
|
|
|
|
| |
Curious that gcc doesn't complain about unreferenced static variables.
|
|
|
|
|
|
| |
startup, not in the parser; this allows ALTER DOMAIN to work correctly
with domain constraint operations stored in rules. Rod Taylor;
code review by Tom Lane.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
nodes where it's not really necessary. In many cases where the scan node
is not the topmost plan node (eg, joins, aggregation), it's possible to
just return the table tuple directly instead of generating an intermediate
projection tuple. In preliminary testing, this reduced the CPU time
needed for 'SELECT COUNT(*) FROM foo' by about 10%.
|
| |
|
|
|
|
| |
Standard says FETCH LAST is after last row, and we don't do that.
|
|
|
|
| |
Tom Lane.
|
| |
|
|
|
|
|
| |
either end of subplan results. This prevents misbehavior of cursors
on SELECT DISTINCT ... queries. Per bug report 1-Feb-02.
|
|
|
|
|
|
| |
restriction was debatable to begin with, but it has now become obvious
that it breaks forward-porting of user-defined types; contrib/lo being
the most salient example.
|
|
|
|
|
|
| |
columns of type lo (see contrib/lo). Rather than hacking the function
definitions on-the-fly, just modify the queries issued by FixupBlobRefs
so that they work even if CREATE CAST hasn't been issued.
|
|
|
|
| |
files. Fix it.
|
|
|
|
| |
user names. Per recent reports.
|
|
|
|
| |
interp pointer. Per report from Gerhard Hintermayer.
|
|
|
|
|
|
| |
connection shutdown. This is a grotty workaround for a Tcl bug, but
said bug has been there long enough that I'm not holding my breath
for a real fix. Per discussions and testing from ljb and g.hintermayer.
|
|
|
|
| |
From Andrew Bosma.
|