| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
have an INSERT...SELECT as the first or only action. Per bug report
from Sergio Pili.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug was that any insert or update would fail if the returned oid was
larger than a signed int. Since OIDs are unsigned int's it was
a bug that the code used a java signed int to deal with the values. The bug
would result in the error message: "Unable to fathom update count".
While fixing the bug, it became apparent that other code made a similar
assumption about OIDs being signed ints. Therefore some methods that returned
or took OIDs are arguements also needed to be changed.
Since we are so close to the 7.2 release I have added new methods that
return longs and deprecated the old methods returning ints. Therefore all
old code should still work without requiring a code change to cast from long to int. Also note that the methods below are PostgreSQL specific extensions to
the JDBC api are are not part of the spec from Sun, thus it is unlikely that
they are used much or at all.
The deprecated methods are:
ResultSet.getInsertedOID()
Statement.getInsertedOID()
Serialize.store()
Connection.putObject()
and are replaced by:
ResultSet.getLastOID()
Statement.getLastOID()
Serialize.storeObject()
Connection.storeObject()
All the deprecated methods returned int, while their replacements return long
This patch also fixes two comments in MD5Digest that the author Jeremy Wohl
submitted.
--Barry
|
| |
|
|
|
|
|
|
| |
http://laser.zhengmai.com.cn/download/backend_zh_CN.po.diff.gz
Weiping He
|
|
|
|
| |
pgsql-patches.
|
| |
|
|
|
|
|
| |
The default diff switches prevented regression tests from complaining,
but that doesn't make it correct.
|
|
|
|
|
|
|
| |
where rightmost index page splits while we are waiting to obtain exclusive
lock on it. Not clear this would actually hurt (probably the callback
would always fail), but better safe than sorry.
Also, improve comments describing concurrency considerations in this code.
|
|
|
|
| |
Multibyte mode.
|
| |
|
| |
|
|
|
|
| |
Per report from Bernd Tegge.
|
| |
|
|
|
|
|
| |
Linux box's time zone database.
Do not allow 'current' as a date/time input value.
|
|
|
|
| |
Problem reported by Manuel Sugawara (masm@fciencias.unam.mx).
|
|
|
|
| |
'Postgres' only, but now accepts both.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
send patches to pgsql-patches list.
the zh_CN NLS patch is about 80K,
but sended twice and still can emerge on list.
so I've put it at:
http://laser.zhengmai.com.cn/download/zh_CN.po.diff.tar.gz
If possible, please download it and apply it.
(for current CVS).
regards laser
|
| |
|
| |
|
| |
|
|
|
|
| |
earlier, make error checks more uniform.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
display (with a typemod) and function arg/result type display (without
a typemod).
|
| |
|
|
|
|
| |
with other data types, per disucssion. Encoding issue still open.
|
| |
|
|
|
|
|
|
| |
o they sometimes returns a result garbage string appended.
o they do not work if client encoding is different from server
encoding
|
| |
|
| |
|
|
|
|
| |
the interactive docs.
|
|
|
|
|
| |
enforce a limit on who can connect to databases other than their own.
From a recent discussion in pg-admin.
|
| |
|
|
|
|
| |
encodings.
|
|
|
|
|
|
|
|
|
|
| |
search lists was broken in such a way that only the most recent
instance of a given hash code would ever be searched, thus possibly
missing longer matches further back. Fixing this gave 5 to 10%
compression improvement on some text test cases. Additional small
tweaks to improve speed of inner loops a little bit. There is no
compatibility issue created by this change, since the compressed data
format and decompression algorithm don't change.
|
|
|
|
|
|
|
|
| |
This seems the right thing for most usages, but I notice two places
where it is the wrong thing. One is that the default permissions on
TOAST rels should be no-access, not world-readable; the other is that
PrepareForTupleInvalidation doesn't really need to spend time looking
at tuples of TOAST relations.
|
| |
|
| |
|
|
|
|
| |
Kevin Jacobs and Brad McLean.
|
| |
|
|
|
|
| |
and comment in src/backend/parser/Makefile for the technical details.
|
|
|
|
| |
discussions in pghackers.
|
| |
|
| |
|
|
|
|
|
|
| |
mutually exclusive keyword lists spanning all known keywords ---
including AS. Moved COALESCE and a few other ColLabels into the
can-be-ColId list.
|