| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
it seems.
|
| |
|
|
| |
Move files to deadcode.
|
| |
|
|
|
|
| |
Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef
NOT_USED" for current. I have tested these patches in that the
postgres binaries are identical.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Removed CURRENT keyword for rule queries and changed rules regression
accordingly. CURRENT has beed announced to disappear in v6.5.
Jan
|
| |
|
|
|
|
|
|
|
| |
qualification expression trees in the execution state. Prevents from
memory exhaustion on INSERT, UPDATE or COPY to tables that have CHECK
constraints. Speedup against the variant using freeObject() is more than
factor 2.
Jan
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Fixed growing of backend if BEFORE DELETE trigger returns heap tuple
different from trigtuple.
Jan
|
| |
|
|
|
| |
Fix for BEFORE ROW UPDATE triggers: result tuple may be different
(due to concurrent update) from one initially produced by top level plan.
|
| | |
|
| |
|
|
| |
buffering lost by not going through stdio anymore for client I/O.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a field was labelled as a primary key, the system automatically
created a unique index on the field. This patch extends it so
that the index has the indisprimary field set. You can pull a list
of primary keys with the followiing select.
SELECT pg_class.relname, pg_attribute.attname
FROM pg_class, pg_attribute, pg_index
WHERE pg_class.oid = pg_attribute.attrelid AND
pg_class.oid = pg_index.indrelid AND
pg_index.indkey[0] = pg_attribute.attnum AND
pg_index.indisunique = 't';
There is nothing in this patch that modifies the template database to
set the indisprimary attribute for system tables. Should they be
changed or should we only be concerned with user tables?
D'Arcy
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Here is a first patch to cleanup the backend side of libpq.
This patch removes all external dependencies on the "Pfin" and "Pfout" that
are declared in pqcomm.h. These variables are also changed to "static" to
make sure.
Almost all the change is in the handler of the "copy" command - most other
areas of the backend already used the correct functions.
This change will make the way for cleanup of the internal stuff there - now
that all the functions accessing the file descriptors are confined to a
single directory.
|
| |
|
|
|
|
| |
More cleanups to appendStringInfo() usage in node/outfuncs.c.
Jan
|
| |
|
|
|
| |
LOCK TABLE IN ... MODE
...implemented
|
| |
|
|
| |
New code for locking buffer' context.
|
| |
|
|
|
|
|
|
|
|
| |
where you state a format and arguments. the old behavior required
each appendStringInfo to have to have a sprintf() before it if any
formatting was required.
Also shortened several instances where there were multiple appendStringInfo()
calls in a row, doing nothing more then adding one more word to the String,
instead of doing them all in one call.
|
| | |
|
| |
|
|
|
|
| |
Switch sprintf() to snprintf()
Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of
code
|
| | |
|
| |
|
|
| |
EXPLAIN all indices used.
|
| |
|
|
|
|
| |
a backend core dump, because it was concatenating a potentially long
string onto another string that didn't necessarily have enough room.
Shame, shame.
|
| |
|
|
|
| |
(HP's cc doesn't like if you forward-declare a routine static,
and then don't make it static in the actual definition...)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixes a bug in the rule system that caused a crashing
backend when a join-view with calculated column is used
in subselect.
Modifies EXPLAIN to explain rewritten queries instead of
the plain SeqScan on a view. Rules can produce very deep
MORE
Jan.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here are two new patches for the Win32 support.
1) The patch based on the one from Hiroshi Inoue [Inoue@tpf.co.jp], to
load
Winsock.dll from libpq.dll.
2) A patch for psql.c to remove the call to WSAStartup(), since it is
not
required when it's done in libpq.dll.
I'm still looking for the possibility of having a crypt() function in
libpq.dll too, the same way getopt was included. Any chance of getting
this
before 6.4, or should we wait for the next one?
//Magnus
|
| | |
|
| | |
|
| |
|
|
|
| |
and possibly other problems. Minor changes in xact.c and postgres.c's
main loop to support new handling of async NOTIFY.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
just two macros.
|
| |
|
|
|
|
| |
I will be cleaning this up more before the Oct 1 deadline.
David Hartwig. AND/OR fix.
|
| | |
|
| | |
|