summaryrefslogtreecommitdiff
path: root/src/backend/utils/error
Commit message (Collapse)AuthorAgeFilesLines
* Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane1999-10-251-3/+3
| | | | | | | eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
* XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.Vadim B. Mikheev1999-10-061-20/+27
| | | | | First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
* Eliminate elog()'s hardwired limit on length of an error message.Tom Lane1999-09-111-78/+214
| | | | | | | | | 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-174-12/+4
|
* Final cleanupBruce Momjian1999-07-162-5/+5
|
* Update #include cleanupsBruce Momjian1999-07-163-6/+6
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-2/+1
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-3/+1
|
* Rename to vararg_format().Bruce Momjian1999-06-191-3/+3
|
* Change form() to varargform() to prevent portability problems.Bruce Momjian1999-06-191-3/+3
|
* pgindent run over code.Bruce Momjian1999-05-254-19/+26
|
* Change error messages to oids come out as %u and not %d. Change has noBruce Momjian1999-05-101-3/+2
| | | | real affect now.
* Still had a few MULTIBYTE problems when client encoding wasTom Lane1999-04-251-3/+3
| | | | different from database's ...
* Revise backend libpq interfaces so that messages to the frontendTom Lane1999-04-251-5/+14
| | | | | | can be generated in a buffer and then sent to the frontend in a single libpq call. This solves problems with NOTICE and ERROR messages generated in the middle of a data message or COPY OUT operation.
* Change elog(ERROR) to get back to main loop via a plain sigsetjmp,Tom Lane1999-04-201-15/+4
| | | | | | instead of doing a kill(self, SIGQUIT) and expecting the signal handler to do it. Also, clean up inconsistent definitions of the sigjmp buffer in the several files that already referenced it.
* Fix kill() call in elog() so that it gets its own pid by calling getpid().Tatsuo Ishii1999-04-161-2/+6
| | | | | | | MyProcPid global variable is set to 0 when postgres starts as a command (not as a backend daemon). This leads issuing SIGQUIT to the process group, not the process itself. As a result, parent sh gets core dumped in the Wisconsin benchmark test.
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-136-21/+21
|
* Add explicit buffering in backend libpq, to compensate forTom Lane1999-01-231-2/+9
| | | | buffering lost by not going through stdio anymore for client I/O.
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-171-2/+2
| | | | to ensure that config.h is included as well.
* From: Magnus Hagander <mha@sollentuna.net>Marc G. Fournier1999-01-111-8/+3
| | | | | | | | | | | | 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.
* Some security, since we now have vsnprintf, I remade an old patchBruce Momjian1999-01-012-8/+4
| | | | | | | with some extra ugly sprintfs fixed. More work in this area is needed still. Göran Thyni
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-013-35/+36
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-014-12/+10
|
* Two spaces after a colon.Bruce Momjian1998-08-311-6/+6
|
* From: Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier1998-08-252-24/+65
| | | | | | | | | | | | > tprintf.patch > > tprintf.patch > > adds functions and macros which implement a conditional trace package > with the ability to change flags and numeric options of running > backends at runtime. > Options/flags can be specified in the command line and/or read from > the file pg_options in the data directory.
* Rename signal to SIGHUP.Bruce Momjian1998-07-071-2/+2
|
* Fix for hang after postmaster restart. Add new proc_exit andBruce Momjian1998-06-272-6/+6
| | | | shmem_exit to replace exitpg().
* Add SLEEP_ON_ABORTBruce Momjian1998-06-181-2/+5
|
* port name cleanupBruce Momjian1998-06-181-1/+2
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-3/+1
|
* Remove fork()/exec() and only do fork(). Small cleanups.Bruce Momjian1998-05-291-5/+1
|
* Allow cancel from client of backend query. Change some int variablesBruce Momjian1998-05-191-2/+2
| | | | to bool's.
* Hi,Bruce Momjian1998-04-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-263-11/+14
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-112-5/+5
|
* getpid/pid cleanupBruce Momjian1998-01-251-3/+3
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-071-7/+4
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-3/+6
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-5/+5
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-5/+5
|
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-201-5/+1
| | | | some of the ports...
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-191-4/+6
| | | | | | | | | Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
* From: Bryan Henderson <bryanh@giraffe.netgate.net>Marc G. Fournier1997-11-091-1/+7
| | | | | The attached patch makes elog() write the message to stderr if there is no frontend to talk to.
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-083-11/+11
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-085-72/+72
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-076-375/+422
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-3/+12
| | | | NOT_USED.
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-123-16/+16
|
* Various compile errors concerning overflow due to shifts, unsigned, and bad ↵Bruce Momjian1997-07-241-2/+1
| | | | prototypes, from Solaris, from Diab Jerius
* added const declaration E.MerglEdmund Mergl1997-05-171-2/+2
|