Commit Graph

16545 Commits

Author SHA1 Message Date
Bruce Momjian 2a0f1c08d5 Remove void* in MemSet until we understand the gcc 3.3.1 problem better. 2003-10-14 19:08:00 +00:00
Bruce Momjian fca71f4406 Add compile -O flag only for non-debug mode, per Tom 2003-10-14 00:48:09 +00:00
Tom Lane d18ba3f452 pull_up_subqueries() should copy the subquery before starting to modify
it.  Not sure why I'd thought it would be a good idea to do differently
way back when, but Greg Stark exposed the folly of doing so ...
2003-10-13 23:48:16 +00:00
Bruce Momjian 4a39057e59 Back out makeNode() patch to fix gcc 3.3.1 warning. 2003-10-13 22:47:15 +00:00
Peter Eisentraut 014a0a3da1 Remove registration message, after discussion concluded that it was of
little use.
2003-10-13 21:39:41 +00:00
Peter Eisentraut 27318d8873 Translation update 2003-10-13 21:38:37 +00:00
Tom Lane 87299583a5 Determine max_connections first, then see how large shared_buffers can
be made, to avoid corner cases where max_connections ends up unreasonably
small because shared_buffers is hogging too much shmem space.  Per pghackers
discussion about a week ago.  Also, fix the copy-newlines problem in a
more robust way, by using COPY FROM filename instead of COPY FROM STDIN;
per a suggestion from Peter.
2003-10-13 21:06:44 +00:00
Tom Lane e7261c46aa Adjust setRelhassubclassInRelation() to not perform actual heap_update
when the pg_class.relhassubclass value is already correct.  This should
avoid most cases of the 'tuple concurrently updated' problem that
Robert Creager recently complained about.  Also remove a bunch of dead
code in StoreCatalogInheritance() --- it was still computing the complete
list of direct and indirect inheritance ancestors, though that list has
not been needed since we got rid of the pg_ipl catalog.
2003-10-13 20:02:52 +00:00
Bruce Momjian 4a2c34d4a0 Use makeNode() to allocate structures that have to be cast to Node *,
rather than allocating them on the stack.

Fixes complaint from gcc 3.3.1.
2003-10-12 23:19:21 +00:00
Peter Eisentraut 037468eff2 New translation 2003-10-12 19:16:36 +00:00
Michael Meskes 84b35a7f76 Added missing "commit" in test case. 2003-10-12 15:19:46 +00:00
Bruce Momjian f22ddf70be Add void * cast to MemSet to silence compiler, and add comment that we
already check for alignment.
2003-10-11 19:53:45 +00:00
Bruce Momjian 7fb9893f42 Back out -fstrict-aliasing void* casting. 2003-10-11 18:04:26 +00:00
Peter Eisentraut 47ed43440e Translation updates 2003-10-11 17:11:02 +00:00
Bruce Momjian d51368dbbd This patch will stop gcc from issuing warnings about type-punned objects
when -fstrict-aliasing is turned on, as it is in the latest gcc when you
use -O2

Andrew Dunstan
2003-10-11 16:30:55 +00:00
Bruce Momjian 386e0f9046 Update max existing db size to 32tb. 2003-10-10 21:27:13 +00:00
Bruce Momjian 18e5addb96 Fix core dump on root starting pg_autovacuum.
Change conditionals to be more constent with our code

if (const == var) => if (var == const).
2003-10-10 19:26:25 +00:00
Peter Eisentraut 108f371769 Translation updates 2003-10-10 08:01:44 +00:00
Bruce Momjian 9821455425 Rename __arm__/__arm__ to __arm__/__arm, found by Neil Conway 2003-10-10 03:58:57 +00:00
Bruce Momjian 962987a1c2 Add NULL regression tests.
Manfred Koizar
2003-10-10 03:46:51 +00:00
Bruce Momjian d7c971ab7d Change Win32 rename/unlink timeout to 3 seconds. 2003-10-10 03:27:58 +00:00
Bruce Momjian 870d9641bc Update Russian FAQ.
Viktor Vislobokov
2003-10-10 02:52:12 +00:00
Bruce Momjian d11998f3d1 Add:
> * Prevent libpq's PQfnumber() from lowercasing the column name
572d572
< * Vadim is Vadim B. Mikheev <vadim4o@email.com> of Sector Data
2003-10-10 02:42:09 +00:00
Bruce Momjian 8087446b14 > That's a fairly useless place to put it, though, since someone would
> only think to look at sort_mem if they already had a clue.  It should
> be mentioned under bulk data load (in performance tips chapter)

Attached is a doc patch that does this. The way I've worded it may not
be the best, though.

Neil Conway
2003-10-10 02:08:42 +00:00
Bruce Momjian ea079e27b1 Add count(*) TODO detail. 2003-10-10 01:53:06 +00:00
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