Bruce Momjian
20982a71df
Add TODO.detail for count(*):
...
> to allow fast COUNT(*) queries with no WHERE clause(?) [count]
2003-10-10 01:52:15 +00:00
Bruce Momjian
99a53d89c8
Allow pg_id to compile on Win32.
...
Andrew Dunstan
2003-10-10 01:34:51 +00:00
Bruce Momjian
de8b3b4913
Add:
...
> o Allow PL/pgSQL to handle %TYPE arrays, e.g. tab.col%TYPE[]
2003-10-09 23:41:22 +00:00
Bruce Momjian
c568b8fbe7
Remove -pipe from compiles.
2003-10-09 22:55:46 +00:00
Bruce Momjian
d8581fbb6b
Add:
...
> * Have VACUUM FULL use REINDEX rather than index vacuum
2003-10-09 19:36:27 +00:00
Bruce Momjian
3fce18084b
About section 8.5.1.5. ("Special Values"):
...
I suggest adding LOCALTIMESTAMP and LOCALTIME to the first paragraph.
Maybe it should be phrased as:
The following SQL-compatible functions can be used to obtain
current datetime-related values: CURRENT_DATE, CURRENT_TIME,
CURRENT_TIMESTAMP, LOCALTIME and LOCALTIMESTAMP.
(See Section 9.8.4.)
Troels Arvin
2003-10-09 19:13:48 +00:00
Peter Eisentraut
172b125578
Make sure that -- comments extend to the end of the line. This fixes the
...
misscanning of this construct:
SELECT ''hello world''
-- SELECT ''goodbye world''
::text;
2003-10-09 19:13:23 +00:00
Peter Eisentraut
034b065a66
Some updates
2003-10-09 19:11:03 +00:00
Bruce Momjian
c7c7861d5e
Add mention of logrotate for syslog, from Robert Treat
2003-10-09 19:05:09 +00:00
Bruce Momjian
dfafeb6a89
Update Solaris FAQ to mention -fast.
2003-10-09 17:11:13 +00:00
Bruce Momjian
b1d955ea7b
Remove -pipe on Linux, per reports from Peter.
2003-10-09 16:52:45 +00:00
Bruce Momjian
85bd172c45
Add -pipe compile for Linux.
2003-10-09 14:47:59 +00:00
Bruce Momjian
7185455c08
Make template CFLAGS handling consistent.
2003-10-09 14:40:37 +00:00
Bruce Momjian
1dad866bb4
Someone report me small bug in contrib/pg_dumplo today. It's problem
...
with a little dirty snprintf() usage which I used some years ago:
snprintf(path, BUFSIZ, "%s/lo_dump.index", path);
Karel Zak
2003-10-09 13:38:05 +00:00
Bruce Momjian
6687152582
Re-add -pipe compile flags for bsd's.
2003-10-09 04:34:02 +00:00
Bruce Momjian
b510c44202
Update:
...
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
> (Christopher)
2003-10-09 04:29:40 +00:00
Bruce Momjian
0e22cb1232
This centralizes the optimization defaults into configure.in, rather
...
than having CFLAGS= in the template files.
It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
2003-10-09 03:20:34 +00:00
Bruce Momjian
c1a0d72da6
Add:
...
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ] (Christopher)
2003-10-09 03:17:24 +00:00
Bruce Momjian
dcad7949f8
Change "query:" to "statement:".
...
Have log_duration print when log_min_duration_statement prints.
2003-10-09 02:40:18 +00:00
Bruce Momjian
6acca5765e
Add quotes to CFLAG define.
2003-10-09 02:37:09 +00:00
Jan Wieck
f8d90fcc0a
Protected access to variable m_preparedCount via synchronized
...
function to prevent multiple threads using automatic cursors on
the same connection from stomping over each others cursor.
Jan
2003-10-09 01:17:07 +00:00
Bruce Momjian
67afe3d861
Add:
...
<
346a346
> * Remove CREATE CONSTRAINT TRIGGER
2003-10-08 22:29:58 +00:00
Bruce Momjian
5fc9d0e3f6
Add 2-phase info, add Win32 URL:
...
< o Sample implementation in contrib/rserv
29c28,29
< * Create native Win32 port [win32]
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
>
367c367,368
< * Two-phase commit to implement distributed transactions
> * Add two-phase commit to all distributed transactions with
> offline/readonly server status or administrator notification for failure
2003-10-08 21:44:06 +00:00
Peter Eisentraut
46c27c6997
New translations
2003-10-08 20:35:39 +00:00
Bruce Momjian
d5ea0d5ecb
Add:
...
> * Use background process to write dirty shared buffers to disk
2003-10-08 19:33:53 +00:00
Peter Eisentraut
c99a41be95
New translations
2003-10-08 18:38:49 +00:00
Bruce Momjian
2ff4091862
Add quotes around -O setting for consistency.
2003-10-08 18:23:08 +00:00
Bruce Momjian
7ceadb8fab
Change some awkward wording in the pg_autovacuum README file. I really
...
only read this because of Niel :-)
Robert Treat
2003-10-08 18:18:04 +00:00
Michael Meskes
163f0b2d48
Removed my debug printf() call from numeric.c
2003-10-08 08:28:57 +00:00
Bruce Momjian
bdae05f5d1
Use calloc() to allocate empty structures.
...
Fix pg_restore tar log output bug where Special flag wasn't being
initialized; bug seen on XP.
2003-10-08 03:52:32 +00:00
Bruce Momjian
b8382c2688
Have log_min_duration_statement = 0 always print duration/statement.
...
Change log line to be "duration: ms query:"
Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
Michael Meskes
cfd992ecba
Fixed floating point exception in long=>numeric conversion.
2003-10-07 18:36:46 +00:00
Bruce Momjian
d665217278
Fix include used by entab.
2003-10-07 17:40:09 +00:00
Peter Eisentraut
06e6aa236c
Add missing include file.
2003-10-07 08:07:56 +00:00
Michael Meskes
3cda980298
Fixed error handling in Informix compat str to date conversion.
2003-10-07 05:46:56 +00:00
Peter Eisentraut
34e9ab027b
New Italian translation
2003-10-06 21:50:45 +00:00
Tom Lane
b05ff39d7c
Fix binary_oper_exact() so that the heuristic 'an unknown literal on
...
one side of a binary operator is probably supposed to be the same type
as the other operand' will be applied for domain types. This worked
in 7.3 but was broken in 7.4 due to code rearrangements. Mea culpa.
2003-10-06 20:09:47 +00:00
Peter Eisentraut
f98cbb76a0
Translation updates
2003-10-06 17:37:39 +00:00
Tom Lane
fec58f6c3f
During ALTER TABLE ADD FOREIGN KEY, try to check the existing rows using
...
a single LEFT JOIN query instead of firing the check trigger for each
row individually. Stephan Szabo, with some kibitzing from Tom Lane and
Jan Wieck.
2003-10-06 16:38:28 +00:00
Peter Eisentraut
a0ab31dcc6
New Slovene translations
2003-10-06 16:31:16 +00:00
Michael Meskes
aeb1f6478e
- Fixed constant listing in execute using clause.
...
- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
2003-10-06 06:44:55 +00:00
Peter Eisentraut
5e3aaf5402
Translation updates
2003-10-06 06:20:11 +00:00
Tom Lane
0eceaaf9b7
Modify COPY FROM to match the null-value string against the column value
...
before it is de-backslashed, not after. This allows the null string \N
to be reliably distinguished from the data value \N (which must be
represented as \\N). Per bug report from Manfred Koizar ... but it's
amazing this hasn't been reported before ...
Also, be consistent about encoding conversion for null string: the form
specified in the command is in the server encoding, but what is sent
to/from client must be in client encoding. This never worked quite
right before either.
2003-10-06 02:38:53 +00:00
Tom Lane
351adb8dfb
Fix order of operations within SendQuery() so that the time spent in
...
data transfer during COPY is included in the \timing display. Also
avoid portability problems if tv_usec is unsigned on some platform.
2003-10-06 01:11:12 +00:00
Tom Lane
a1dcd8f6dd
Add a little more smarts to estimate_hash_bucketsize(): if there's no
...
statistics, but there is a unique index on the column, we can safely
assume it's well-distributed.
2003-10-05 22:44:25 +00:00
Bruce Momjian
22347dc102
Make psql \timing show three digits.
2003-10-05 22:36:00 +00:00
Peter Eisentraut
eceff4cc55
Translation updates
2003-10-05 21:52:37 +00:00
Peter Eisentraut
83a234926c
When revoking privileges from the owner, don't revoke the grant options,
...
to avoid recursively revoking everything from everyone.
2003-10-05 21:49:12 +00:00
Bruce Momjian
8f3b879462
Update MySQL mention.
2003-10-05 14:25:29 +00:00
Michael Meskes
8e6b74e4fd
Fixed bug in day of week processing.
2003-10-05 11:12:00 +00:00