Barry Lind
509a9cd3f9
More SQLState updates from Kim Ho at Redhat.
...
Also a patch from Kris Jurka to correctly report SQLState support.
Modified Files:
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/fastpath/Fastpath.java
jdbc/org/postgresql/geometric/PGbox.java
jdbc/org/postgresql/geometric/PGcircle.java
jdbc/org/postgresql/geometric/PGline.java
jdbc/org/postgresql/geometric/PGlseg.java
jdbc/org/postgresql/geometric/PGpath.java
jdbc/org/postgresql/geometric/PGpoint.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java
jdbc/org/postgresql/jdbc2/Array.java
jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
jdbc/org/postgresql/util/PGmoney.java
jdbc/org/postgresql/util/PSQLState.java
2003-09-13 04:02:16 +00:00
Tom Lane
f8c365c8db
Marginal hacks to make tables format more nicely.
2003-09-13 00:19:43 +00:00
Tom Lane
a75ee43ce9
Mop-up for error-message updates in documentation.
2003-09-12 23:04:46 +00:00
Tom Lane
6e59122490
Update obsolete examples of error messages; various other minor editing.
2003-09-12 22:17:24 +00:00
Tom Lane
8b43e325eb
Revert to our pre-7.4 behavior of identifying Unix-socket connections in
...
ps status as '[local]', not as 'localhost' as the code has been doing
recently. That's too easily confused with TCP loopback connections,
and there is no good reason to change the behavior anyway.
2003-09-12 20:18:51 +00:00
Tom Lane
b1d3de6b96
Someone (possibly me) foolishly reduced the response for failing
...
to create a TCP/IP socket from FATAL to LOG. This was unwise;
historically we have expected socket conflicts to abort postmaster
startup. Conflicts on port numbers with another postmaster can only
be detected reliably at the TCP socket level.
2003-09-12 19:33:59 +00:00
Bruce Momjian
9fc3b9330e
Mark FreeBSD as non-thread-safe.
2003-09-12 16:49:34 +00:00
Tom Lane
17d15ddf75
Fix incorrect pfree in to_tsquery_name(), per Nigel Andrews.
2003-09-12 16:34:28 +00:00
Bruce Momjian
06e3ec7a54
Implement compiler #error if spinlock code not found, add configure flag
...
to bypass the error, --without-spinlocks.
2003-09-12 16:10:27 +00:00
Bruce Momjian
69a46e9ce1
Enable Opteron/Itanium spinlocks.
2003-09-12 15:49:34 +00:00
Bruce Momjian
9182481bea
Remove WIN32_CONSOLE support, at the request of the author.
2003-09-12 02:40:10 +00:00
Bruce Momjian
aaafbdcfd3
Fix old mention of exec() in AttachSharedMemoryAndSemaphores comment.
2003-09-12 02:13:23 +00:00
Tom Lane
e90b841915
More cleanup of Diagnostics sections.
2003-09-12 00:12:47 +00:00
Tom Lane
fbb39c059e
Small typo.
2003-09-11 23:15:51 +00:00
Tom Lane
8ff2005c67
Message in the other exit from acquire_sample_rows(), as per update
...
from Mark Kirkwood. Also show the sample size.
2003-09-11 23:12:31 +00:00
Tom Lane
47c7f9ef1c
Try to make recently-added analyze log message look something like
...
the others in style.
2003-09-11 22:59:28 +00:00
Bruce Momjian
2a5b6a7c9b
This patch fixes a few missed GUC variables that were still upper case,
...
makes a few more small improvements to runtime.sgml, and makes some SGML
conventions more consistent.
Neil Conway
2003-09-11 21:42:20 +00:00
Bruce Momjian
3d48045ae1
> It quotes table names for vacuum and analyze, and uppercases the
...
> keywords for clarity.
Yeah, this is basically what I meant, sorry I didn't get to it quicker.
However, I tested it out a little and the patch you made doesn't work
because it produces commands like:
VACUUM ANALYZE "public.FooBar"
Which doesn't work, so I made my own patch that creates commands like:
VACUUM ANALYZE "public"."FooBar"
This allows for mixed case schema names as well as tables.
Adam, can you please give this a test as you are the person who caught
the bug in the first place.
Thanks,
Matthew T. O'Connor
2003-09-11 19:01:18 +00:00
Bruce Momjian
188eda0df2
Consistenly lowercase GUC variable names, in docs and error messages.
2003-09-11 18:30:39 +00:00
Bruce Momjian
8e27be4310
This patch makes a few minor improvements to the docs: make the
...
<varname> conventions more consistent, and improve the ANALYZE ref page.
Neil Conway
2003-09-11 17:31:45 +00:00
Bruce Momjian
64a7b58aa0
This patch makes a number of improvements to the runtime config
...
documentation.
Neil Conway
2003-09-11 17:27:38 +00:00
Bruce Momjian
ab19254618
Mention that pg_type_is_visible is used for domains as well.
...
Christopher Kings-Lynne
2003-09-11 17:26:20 +00:00
Bruce Momjian
a5e9e51fb0
on my timetravel.c I find a bug: after the
...
ALTER TABLE mytable drop column last_column_of_table;
the timetravel trigger say on UPDATE/DELETE:
ERROR: parser: parse error at end of input
Here is the patch for this bug
B?jthe Zolt?n
2003-09-11 17:25:14 +00:00
Bruce Momjian
92e100dd33
Here is a patch that removes contrib/array, leaving only the README with
...
some examples of the new syntax and a reference to the documentation.
Joe Conway.
2003-09-11 17:15:27 +00:00
Bruce Momjian
d768cb267b
seemed like a typo in one of the appendix tables
...
Robert Treat
2003-09-11 16:22:42 +00:00
Tom Lane
fdd93470fa
Fix missed message update, per Alvaro Herrera.
2003-09-11 02:40:13 +00:00
Bruce Momjian
d6a9b4e0b5
Update row count for \? output, used by pager.
2003-09-10 21:35:55 +00:00
Tom Lane
9cb4a28f47
Improve error message for cp or rm failur during create/drop database,
...
per recent discussions.
2003-09-10 20:24:09 +00:00
Bruce Momjian
2b56a9646a
Add:
...
> * Issue NOTICE if foreign key data type doesn't match primary key
2003-09-10 20:17:21 +00:00
Bruce Momjian
e303be78e8
Add:
...
> * Have EXPLAIN ANALYZE highlight poor optimizer estimates
2003-09-10 20:14:42 +00:00
Bruce Momjian
73cfa77edd
This patch fixes a trivial typo in the CREATE FUNCTION ref page.
...
Neil Conway
2003-09-10 20:13:45 +00:00
Tom Lane
336ebee2c0
copydir() is supposed to return on failure, not elog(ERROR). Reduce
...
ERROR to WARNING so we keep control.
2003-09-10 20:12:01 +00:00
Bruce Momjian
d16b877612
Add HINT if CREATE FUNCTION specifies a valid language, but the language
...
isn't loaded into the database.
2003-09-10 19:59:23 +00:00
Bruce Momjian
a72fce035d
Add quotes to vacuum/analyze for upper/lowercase table names, per
...
Matthew T. O'Connor.
2003-09-10 19:57:48 +00:00
Michael Meskes
573f4500a3
Some uppercase type definitions were left.
2003-09-10 18:03:08 +00:00
Bruce Momjian
0f310ee703
Here is a patch to make PostgreSQL use a full path in DT_SONAME for
...
UnixWare.
Larry Rosenman
2003-09-10 03:56:33 +00:00
Bruce Momjian
a9953097f4
Clean up printability test in dbase code.
2003-09-10 00:33:51 +00:00
Bruce Momjian
22b305ad4a
Add:
...
> * Have pg_dump -c clear the database using dependency information
2003-09-10 00:03:23 +00:00
Peter Eisentraut
33d4c828fd
Some "feature not supported" errors are better syntax errors, because the
...
feature they complain about isn't a feature or cannot be implemented without
definitional changes.
2003-09-09 23:22:21 +00:00
Bruce Momjian
3610f083c1
Improve wording of increasing page size.
2003-09-09 22:43:06 +00:00
Tom Lane
d4019b7cd3
Remove a bunch of content-free Diagnostics sections, as per previous
...
discussion. (Still have some work to do editing the remainder.)
2003-09-09 18:28:53 +00:00
Bruce Momjian
1815f6179d
Update max tasble size to 32TB.
2003-09-09 18:25:44 +00:00
Tom Lane
d0bfe7f100
Update comments about how locale settings are handled.
2003-09-09 15:19:31 +00:00
Barry Lind
62b53accd4
Clean up some unused import warnings in the example jdbc code
2003-09-09 11:24:04 +00:00
Michael Meskes
2fab616866
Fixed a few bugs that came up on pgsql-interfaces.
2003-09-09 10:54:44 +00:00
Barry Lind
5cdf771d8a
Additional SQLState work for JDBC - thanks to Kim Ho at Redhat for input on this
...
Modified Files:
jdbc/build.xml jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/util/PSQLState.java
2003-09-09 10:49:16 +00:00
Michael Meskes
fcdf0e22fc
- Added Dave patch for Informix handling of numeric/int conversion.
...
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
2003-09-09 10:46:42 +00:00
Tom Lane
fd65be4a78
Fix a couple minor typos.
2003-09-08 23:17:15 +00:00
Peter Eisentraut
6de93c0529
Update preface.
...
Use question marks rather than brackets to delimit optional elements in
Tcl synopses.
Fix stylesheet misfeature leading to excessively long cross-reference text
when linking to a different "part".
Remove <body> attributes -- CSS stylesheets should handle that.
Improve bibliography formatting.
Add fast-forward links for more convenient navigation.
2003-09-08 23:02:28 +00:00
Bruce Momjian
e54965c0f8
Add:
...
o Allow ALTER TABLE to change constraint deferrability and actions
2003-09-08 22:48:21 +00:00