Marc G. Fournier
c2c618fada
anothre one reduced to its component parts
30 years ago
Marc G. Fournier
d9ebe7711f
clean out include files of including other includes files except those
...
absolutely required
30 years ago
Marc G. Fournier
d7dd05db55
Another cleaned up
30 years ago
Marc G. Fournier
5dedad99a1
One at a time...another one is complete...
30 years ago
Marc G. Fournier
69b42eb1a3
another one with #include file clean'd up
30 years ago
Marc G. Fournier
9834913cd0
All #include's removed from *.h files, so cleaning up the .c #includes...
...
First file of, what...1000's?
30 years ago
Marc G. Fournier
9caf84bc00
#include "postgres.h" is a standard include for all .c files, auto-including
...
config.h, c.h *and* elog.h...added elog.h
30 years ago
Marc G. Fournier
1c5fa955cd
Add prototype for heap_getattr() to quiet compiler
30 years ago
Vadim B. Mikheev
c8fc4c9607
Reap deleted/unused tuples on page-base
30 years ago
Vadim B. Mikheev
bc50067426
1. Reap deleted/unused tuples on page-base
...
2. Reap unused tuples too
3. Reap empty pages
4. Check if a page is initialized, initialize it if not
and reap it
5. Binary search in list of reapped pages/tids to check
is the heap' tid pointed by a index' tuple on this list
(it's mu-u-uch faster)
30 years ago
Vadim B. Mikheev
327d900b51
Move #define PageIsNew (true if page is not initialize) to bufpage.h
30 years ago
Vadim B. Mikheev
57de92c648
Move definition of PageIsNew from hio.c to here
30 years ago
Marc G. Fournier
46606ab077
Document some more #ifdef's
30 years ago
Marc G. Fournier
94e825145d
Document more #ifdef's into config.h
...
Get rid of ESCAPE_PATCH ifdef, as its on by default, and there is no
apparent reason for turning it off...it fixes a bug
30 years ago
Marc G. Fournier
1c00e68fad
Moved definition of MAXPATHLEN to config.h
30 years ago
Marc G. Fournier
927e5887a0
Added a #define NEED_SIG_JMP to config.h
...
Removed #ifdef's for OPENLINK_PATCH. We enable it by default, and nobody
*has* to enable the functionality, but no reason to retain the "old code"
30 years ago
Marc G. Fournier
6c3dff4245
Document #ifdef's from backend/access subdirs so that we know what
...
features(?) are available
30 years ago
Marc G. Fournier
2ecb7e5e2c
Moved '#define *DEBUG' defines to config.h, and document where first
...
found.
Document any '#ifdef' segments found in config.h
30 years ago
Marc G. Fournier
6e420677dd
Moved '#define *DEBUG' defines to config.h, and document where first
...
found.
Document any '#ifdef' segments found in config.h
Remove gistold.c, since it was older copy of gist.c
30 years ago
Marc G. Fournier
6c8465f69b
#define cleanup: moved #define IPORTAL_DEBUG to config.h
30 years ago
Marc G. Fournier
2d8ffead24
Moved all the CFLAG -D's from the makefiles to config.h towards better
...
centralized configurations/porting...
30 years ago
Marc G. Fournier
1b6322a9c0
Moved more -D's out of the port specific Makefiles straight into the
...
config.h file
30 years ago
Marc G. Fournier
d16bc9ce37
Centralize more of the defines from backend/port under config.h
...
Further ports should *really* avoid backend/port and make use of
config.h
30 years ago
Marc G. Fournier
a839456c41
Move "port specific" #ifdefs out of here and into config.h
...
- created a HAVE_TZSET define for this purpose
30 years ago
Marc G. Fournier
c39857925b
Add a HAVE_TZSET define to clean up defines in backend/utils/adt/nabstime.c
30 years ago
Bryan Henderson
6cbaa93b82
Change treatment of sigaction structure again to include even more platforms.
...
Thanks D'Arcy.
30 years ago
Bryan Henderson
ec610a7696
Remove 4th element of sigaction structure so it works on more platforms.
30 years ago
Bruce Momjian
682ccb81a0
New FAQ's.
30 years ago
Bruce Momjian
83cb729887
More closing of relations left open by parser.
30 years ago
Bruce Momjian
1a865b8338
Change display of char(5) to (bp)char 5 so psql \d can
...
distinguish between char and char(1).
30 years ago
Bruce Momjian
81f2f81960
Removed const warning.
30 years ago
Bruce Momjian
54612f5141
D'Arcy change.
30 years ago
Bruce Momjian
baf9a6e24c
Added include needed for recent addition.
...
I hope everyone has sys/socket.h.
30 years ago
Bruce Momjian
e6cacf9211
Added include needed for recent addition.
30 years ago
Bruce Momjian
d31909be6c
Fix structure member name from previous patch.
30 years ago
Bruce Momjian
44bf483446
Removed duplicate MAXNAMELEN define I accidentally added.
30 years ago
Bruce Momjian
86be8677a9
Added consistent include file handling for MAXHOSTNAMELEN.
...
If I have introduced any syntax errors with this, I will patch them in
the morning, and Marc will have a good laugh.
30 years ago
Bruce Momjian
abb1b3e770
I checked the alter table code, and started suspecting the relation
...
cache. I found if I manually added a line to flush the whole relation
cache, the assert error disappeared. Looking through the code, I found
that the relation cache is flushed at the end of each query if the
reference count is zero for the relation. However, printf's showed that
the rd_relcnt(reference count) for the accessed query was not returning
to zero after each query.
It turns out the parser was doing a heap_ropen in parser/analyze.c to
get information about the table's columns, but was not doing a
heap_close.
This was causing the query after the ALTER TABLE ADD to see the old
table structure, and the executor's assert was reporting the problem.
30 years ago
Bryan Henderson
bef3c89a1c
Fix prototypes so postmaster.c will compile.
30 years ago
Bryan Henderson
369848857e
New host-based authentication -- set up pg_hba.conf instead of pg_hba
30 years ago
Bryan Henderson
785234d6ca
New host-based authentication -- send error message when authentication fails
30 years ago
Bryan Henderson
4b5c977782
New host-based authentication with ident
30 years ago
Bryan Henderson
57026d6009
New host-based authentication -- install pg_hba.conf instead of pg_hba
30 years ago
Bryan Henderson
09bb369d23
Separate general purpose functions from portal functions so they may be
...
used in test drivers.
30 years ago
Bryan Henderson
6d70d550e6
Prepare for new host-based authentication
30 years ago
Marc G. Fournier
81cda65f74
Add a MIPS/NetBSD port...
30 years ago
Marc G. Fournier
b7559f94cd
This change should have no practical effect but it is the more
...
correct way to do this. Theoretically you could have a NULL
pointer that isn't represented internally as all 0 bits. This
guarantees that it convert correctly.
Submitted by: darcy@druid.com (D'Arcy J.M. Cain)
30 years ago
Marc G. Fournier
2663dfd94e
I have written some patches to the postgres lock manager which allow the
...
use of long term cooperative locks managed by the user applications.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Marc G. Fournier
97906ac697
Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb
...
works again...
30 years ago
Bryan Henderson
329b38eebb
Add PGUSER environment variable for client to specify Postgres username.
30 years ago