Tatsuo Ishii
d59f12daee
Guard against 0 length string encoding conversion case.
2002-11-26 02:37:13 +00:00
Bruce Momjian
f5d7da3041
Remove check for pg_group file as part of initdb -W password assignment
...
--- not needed.
2002-11-25 21:42:11 +00:00
Tom Lane
55994bab8e
Fix a dozen or so places that were passing unpredictable data strings
...
as elog format strings. Hai-Chen Tu pointed out the problem in
contrib/dbmirror, but it wasn't the only such error.
2002-11-22 16:25:55 +00:00
Tom Lane
1e68232b35
Quote database name properly when invoking pg_dump. Per report from
...
Christopher Kings-Lynne.
2002-11-22 03:09:59 +00:00
Tom Lane
5fe20771d5
TAS code originally written for s390 (32-bit) does not work for s390x
...
(64-bit). Fix it. Per report from Permaine Cheung.
2002-11-22 01:13:28 +00:00
Tom Lane
4dc8a0e4e1
Fix breakage in new-in-7.3 timetz_zone() function: was giving random
...
results due to doing arithmetic on uninitialized values. Add some
documentation about the AT TIME ZONE construct. Update some other
date/time documentation that seemed out of date for 7.3.
2002-11-21 23:31:37 +00:00
Tom Lane
eda8dd8b2d
Code review for superuser_reserved_connections patch. Don't try to do
...
database access outside a transaction; revert bogus performance improvement
in SIBackendInit(); improve comments; add documentation (this part courtesy
Neil Conway).
2002-11-21 06:36:27 +00:00
Tom Lane
6d227ae782
NetBSD versions 1.6 and (we hope) later can use the standard geometry
...
comparison file, instead of geometry-positive-zeros. Per report from
Patrick Welche.
2002-11-21 04:40:41 +00:00
Tom Lane
9b3bcdd41f
This locale-specific variant file seems not to have been updated
...
when a test was added to select_having.sql back in June.
2002-11-21 00:45:18 +00:00
Barry Lind
ce35ce91f9
Fix a stupid cut and paste error from the commit last night.
...
Modified Files:
Tag: REL7_3_STABLE
AbstractJdbc2Statement.java
2002-11-20 20:42:24 +00:00
Barry Lind
e994389d7b
Backport bug with executeBatch. This bug was a regression from 7.2 and has
...
been reported by Marko Strukelj and Keith Wannamaker
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/test/jdbc2/BatchExecuteTest.java
2002-11-20 07:54:27 +00:00
Tom Lane
77c94aca72
Put back error test for DECLARE CURSOR outside a transaction block ...
...
but do it correctly now.
2002-11-18 01:17:50 +00:00
Tom Lane
779eb54142
Push qual clauses containing subplans to the back of the qual list
...
at each plan node. Per gripe from Ross Reedstrom.
2002-11-15 02:37:08 +00:00
Barry Lind
1a34e0e23b
Backpatch from head: fixes for a threading bug, a problem with setNull involving
...
server prepared statements and an improved error message
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2002-11-14 05:54:39 +00:00
Peter Eisentraut
f2ec243389
Update German translations.
2002-11-13 21:30:39 +00:00
Tom Lane
b455344112
Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300.
2002-11-13 17:24:11 +00:00
Tom Lane
c11e948244
Use cat instead of echo or awk, to avoid portability problems with backslashes.
2002-11-13 16:40:29 +00:00
Tom Lane
b5947f433e
Update AIX resultmap for horology tests, per Andreas.
2002-11-12 20:02:38 +00:00
Tatsuo Ishii
07a51acac6
Fix broken GB18030 <--> UTF-8 conversion map
2002-11-12 11:30:50 +00:00
Tom Lane
400013ceec
Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed
...
anymore given the mktime() workaround now done in DetermineLocalTimeZone.
This has now been confirmed by Robert Bruccoleri for Irix, and I'm going
to extrapolate to AIX as well.
2002-11-12 00:39:36 +00:00
Barry Lind
76c89b3ec1
Merge fix from head for proper join to pg_description
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
2002-11-11 07:30:08 +00:00
Tom Lane
4e7721fdfe
Add cast to suppress compile warning on Alphas.
2002-11-11 03:33:44 +00:00
Tom Lane
87069846cb
Back-patch changes to address Perl _GNU_SOURCE problem.
2002-11-08 05:23:09 +00:00
Tom Lane
f2b5ed92e2
Remove inappropriate inclusions of OpenSSL internal header e_os.h,
...
as well as unnecessary (and incorrect on Windows) assignments to
errno/SOCK_ERRNO.
2002-11-07 18:47:08 +00:00
Tom Lane
7c1364bd19
Remove no-longer-needed inclusions to improve backward compatibility
...
with older bison versions.
2002-11-07 06:06:39 +00:00
Peter Eisentraut
2e28ef3663
Translation updates
2002-11-05 23:37:47 +00:00
Tom Lane
a44b69ef4c
Back-patch recent file removals into REL7_3_STABLE branch.
2002-11-04 21:27:47 +00:00
CVS to git conversion script
503b41f6e5
This commit was manufactured by cvs2git to create branch 'REL7_3_STABLE'.
...
Sprout from master 2002-11-04 17:14:29 UTC Tom Lane <tgl@sss.pgh.pa.us> 'Remove extraneous semicolons after routine bodies. These don't bother'
Cherrypick from master 2002-09-04 07:23:04 UTC Bruce Momjian <bruce@momjian.us> 'Brand 7.3. Ready for beta!':
contrib/xml/README
contrib/retep/CHANGELOG
contrib/retep/Implementation
contrib/retep/Makefile
contrib/retep/README
contrib/retep/build.xml
contrib/retep/data/cds.dtd
contrib/retep/data/cds.xml
contrib/retep/uk/org/retep/tools.properties
contrib/retep/uk/org/retep/dtu/DCollection.java
contrib/retep/uk/org/retep/dtu/DConstants.java
contrib/xml/pgxml_dom.source
contrib/retep/uk/org/retep/dtu/DElement.java
contrib/retep/uk/org/retep/dtu/DEnvironment.java
contrib/retep/uk/org/retep/dtu/DModule.java
contrib/retep/uk/org/retep/dtu/DModuleXML.java
contrib/retep/uk/org/retep/dtu/DNode.java
contrib/retep/uk/org/retep/dtu/DProcessor.java
contrib/retep/uk/org/retep/dtu/DTransform.java
contrib/retep/uk/org/retep/tools/Tool.java
contrib/retep/uk/org/retep/util/ExceptionDialog.java
contrib/retep/uk/org/retep/util/Globals.java
contrib/retep/uk/org/retep/util/Logger.java
contrib/retep/uk/org/retep/util/Main.java
contrib/retep/uk/org/retep/util/StandaloneApp.java
contrib/retep/uk/org/retep/util/hba/Editor.java
contrib/retep/uk/org/retep/util/misc/IPAddress.java
contrib/retep/uk/org/retep/util/misc/PropertiesIO.java
contrib/retep/uk/org/retep/util/misc/WStringTokenizer.java
contrib/retep/uk/org/retep/util/models/HBATableModel.java
contrib/retep/uk/org/retep/util/models/PropertiesTableModel.java
contrib/retep/uk/org/retep/util/proped/PropertyEditor.java
contrib/retep/uk/org/retep/xml/core/XMLFactory.java
contrib/retep/uk/org/retep/xml/core/XMLFactoryException.java
contrib/retep/uk/org/retep/xml/jdbc/XMLDatabase.java
contrib/retep/uk/org/retep/xml/jdbc/XMLResultSet.java
contrib/retep/uk/org/retep/xml/parser/TagListener.java
contrib/retep/uk/org/retep/xml/test/XMLExport.java
doc/src/sgml/libpgeasy.sgml
doc/src/sgml/odbc.sgml
contrib/xml/pgxml.source
doc/src/sgml/recovery.sgml
src/test/regress/expected/geometry-bsdi-precision.out
contrib/retep/uk/org/retep/xml/parser/TagHandler.java
doc/src/sgml/version.sgml
doc/src/sgml/y2k.sgml
contrib/retep/retep.jpx
src/interfaces/jdbc/utils/CheckVersion.java
src/interfaces/jdbc/utils/changelog.pl
contrib/retep/uk/org/retep/util/hba/Main.java
contrib/retep/uk/org/retep/util/hba/Record.java
contrib/retep/uk/org/retep/util/proped/Main.java
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/Implementation
src/interfaces/jdbc/utils/buildDriver
src/interfaces/jdbc/jdbc.jpx
2002-11-04 17:14:30 +00:00
Tom Lane
04eb419809
Fix inclusion order, per Andreas.
2002-11-04 14:27:21 +00:00
Tom Lane
7f660090e5
Remove unnecessary inclusion, per Andreas.
2002-11-04 14:25:42 +00:00
Tom Lane
c14b72577c
Remove no-longer-needed inclusion of bootstrap_tokens.h, per patch
...
from Andreas.
2002-11-04 14:22:32 +00:00
Barry Lind
fdf6b4ff93
Applied two patches from Kris Jurka.
...
- First fixes a problem with a recent patch allowing setNull on updateable
resultsets
- Second removed toLower() calls on database object names. Leave it to
the caller to correctly pass lower, upper or mixed case. The driver
already has methods that the caller can use to determine that postgres
stores identifiers in lowercase. (unless the identifier was quoted when
created).
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2002-11-04 06:42:33 +00:00
Tom Lane
2a01b05936
Code review for recent patch to allow ALTER TABLE ADD COLUMN when
...
a child table already has a matching column. Acquire appropriate
lock on child table; do the right thing with any CHECK constraints
attached to the new parent column.
2002-11-02 22:02:08 +00:00
Tom Lane
e02d1abee6
During swap_relfilenodes, swap relation size statistic fields along with
...
the relfilenode and toast fields. This ensures that the newly-computed
statistics will be available on completion of CLUSTER.
2002-11-02 21:20:40 +00:00
Tom Lane
5123139210
Remove encoding lookups from grammar stage, push them back to places
...
where it's safe to do database access. Along the way, fix core dump
for 'DEFAULT' parameters to CREATE DATABASE. initdb forced due to
change in pg_proc entry.
2002-11-02 18:41:22 +00:00
Tom Lane
f6e0130b5b
Clean up a few fprintf(stderr)'s that should be elog's.
2002-11-02 15:54:13 +00:00
Tom Lane
6a7273e14c
Fix permissions-checking bugs and namespace-search-path bugs in
...
CONVERSION code. Still need to figure out what to do about inappropriate
coding in parsing.
2002-11-02 02:33:03 +00:00
Bruce Momjian
62636a3d4b
Re-add Win32 missing files, I think.
2002-11-02 02:00:35 +00:00
Bruce Momjian
a89660a1e6
Re-add Win32 files.
2002-11-02 01:58:27 +00:00
Tom Lane
cab9437a43
Arrange to compile flex output files as inclusions into other files
...
(usually bison output files), not as standalone files. This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file. Needed for largefile
support on some platforms.
2002-11-01 22:52:34 +00:00
Tom Lane
884cd4b6be
Reduce a couple of debugging messages from LOG to DEBUG1 category.
2002-11-01 19:33:09 +00:00
Tom Lane
8d43947886
Reduce messages associated with shell-type function arguments/results
...
from WARNING to NOTICE, since they are expected messages in common cases.
2002-11-01 19:19:58 +00:00
Tom Lane
03a2371317
Update to match expected results on OS X 10.2.
2002-11-01 18:15:34 +00:00
Tom Lane
0d97eb6ac8
After elog(PANIC), exit with abort() not proc_exit(). This allows a
...
core file to be produced for debugging, and avoids trying to run the
normal proc-exit cleanup hooks, which are likely to cause additional
problems if the system is hosed.
2002-11-01 17:55:23 +00:00
Tom Lane
8631924e51
Correct ordering of geometry/freebsd entries, add one for freebsd5.
2002-11-01 16:32:32 +00:00
Tom Lane
a4007c0d5f
Update for test changes.
2002-11-01 15:20:09 +00:00
Tom Lane
16cc5372e4
Avoid malloc(0) when printing a table of no columns. On some platforms
...
this returns NULL, which confuses the code.
2002-11-01 15:12:19 +00:00
Tom Lane
643dfb783d
Fix some bogus comments.
2002-11-01 00:40:23 +00:00
Tom Lane
966a4ca9b3
Add missing #include <errno.h>, per gripe from Alessio Bragadini.
2002-10-31 22:37:19 +00:00
Tom Lane
1ce069b067
Got tired of explaining why this Assert is not wrong.
2002-10-31 21:59:32 +00:00