summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/trace.c
Commit message (Collapse)AuthorAgeFilesLines
* Massimo's SET FSYNC and SHOW PG_OPTIONS changes, without SET QUERY_LIMIT.Bruce Momjian1999-09-271-0/+11
|
* Eliminate elog()'s hardwired limit on length of an error message.Tom Lane1999-09-111-15/+20
| | | | | | | | | This change seems necessary in conjunction with long queries, and it cleans up some bogosity in connection with long EXPLAIN texts anyway. Note that current libpq will accept any length error message (at least until it runs out of memory); prior versions have a limit of 8K, but will cleanly discard excess error text, so there shouldn't be any big compatibility problems with old clients.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-3/+0
|
* Final cleanupBruce Momjian1999-07-161-1/+2
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-1/+0
|
* Reversed out Massimo patch.Bruce Momjian1999-06-121-7/+4
|
* I don't like last minute patches before the final freeze, but I believe thatBruce Momjian1999-06-121-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this one could be useful for people experiencing out-of-memory crashes while executing queries which retrieve or use a very large number of tuples. The problem happens when storage is allocated for functions results used in a large query, for example: select upper(name) from big_table; select big_table.array[1] from big_table; select count(upper(name)) from big_table; This patch is a dirty hack that fixes the out-of-memory problem for the most common cases, like the above ones. It is not the final solution for the problem but it can work for some people, so I'm posting it. The patch should be safe because all changes are under #ifdef. Furthermore the feature can be enabled or disabled at runtime by the `free_tuple_memory' options in the pg_options file. The option is disabled by default and must be explicitly enabled at runtime to have any effect. To enable the patch add the follwing line to Makefile.custom: CUSTOM_COPT += -DFREE_TUPLE_MEMORY To enable the option at runtime add the following line to pg_option: free_tuple_memory=1 Massimo
* trace.patch (compilation error)Marc G. Fournier1999-06-051-7/+7
| | | | | | | | the gettimeofday doesn't compile under Linux with glibc2 because the DST_NONE constant is no more defined. It seems that this code (written by me) has always be wrong but for some reason working. From: Massimo Dal Zotto <dz@cs.unitn.it>
* Make functions static or NOT_USED as appropriate.Bruce Momjian1999-05-261-1/+5
|
* pgindent run over code.Bruce Momjian1999-05-251-8/+10
|
* Modify backend switch parsing to prevent 'insecure' switchesTom Lane1999-05-221-2/+6
| | | | | from being accepted when they are passed from client connection request. Get rid of a couple that no longer do anything (like -P).
* Changed debug options:Jan Wieck1999-05-111-0/+3
| | | | | | | | | -d4 now prints compressed trees from nodeToString() -d5 prints pretty trees via nodeDisplay() new pg_options: pretty_plan, pretty_parse, pretty_rewritten Jan
* Fix snprintf with strings, and nextval('"Aa"');Bruce Momjian1999-03-161-1/+1
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-1/+1
|
* Add missing variable, per Massimo.Tom Lane1999-01-171-0/+2
|
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-171-0/+4
|
* Some security, since we now have vsnprintf, I remade an old patchBruce Momjian1999-01-011-4/+4
| | | | | | | with some extra ugly sprintfs fixed. More work in this area is needed still. Göran Thyni
* Reverse out addition of snprintf.Bruce Momjian1998-10-281-8/+4
|
* Fix for tprintf overruns from Göran Thyni.Bruce Momjian1998-10-271-4/+8
|
* The problem is that read_pg_options needs DataDir to read its file butBruce Momjian1998-10-161-0/+5
| | | | | | | | | | DataDir is set after read_pg_options if postgres is called interactively. If postgres is forked by postgres DataDir is read from the PGDATA enviromnent variable set by the postmaster and this explains while the bug disappears. I have written this patch but I don't like it. Any better idea? Massimo Dal Zotto
* Substantial rewrite of async.c to avoid problems with non-reentrant stdioTom Lane1998-10-061-4/+0
| | | | | and possibly other problems. Minor changes in xact.c and postgres.c's main loop to support new handling of async NOTIFY.
* > Yikes, that is certainly not standard C. I have never seen thatBruce Momjian1998-09-031-0/+28
| | | | | | | | | | before. > Looks like a GNU-ism. I nice one, but still a GNU-ism. Sorry, I didn't know it is a GNU extension. I have written this patch which should fix the problem. Let me know if you still have problems. Massimo Dal Zotto
* Fix for indexing problems.Bruce Momjian1998-09-021-2/+0
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-81/+97
|
* cvs add'd two files for the tprintf() patch...Marc G. Fournier1998-08-251-0/+350