Tom Lane
cd44c23eb4
Add support for XML build option to MSVC build scripts.
...
Magnus Hagander
2006-12-29 16:49:02 +00:00
Bruce Momjian
7accb29478
Clean up pgindent handling of comments after 'else' by only moving
...
multi-line comments to the next line.
2006-12-27 23:03:52 +00:00
Tom Lane
a78fcfb512
Restructure operator classes to allow improved handling of cross-data-type
...
cases. Operator classes now exist within "operator families". While most
families are equivalent to a single class, related classes can be grouped
into one family to represent the fact that they are semantically compatible.
Cross-type operators are now naturally adjunct parts of a family, without
having to wedge them into a particular opclass as we had done originally.
This commit restructures the catalogs and cleans up enough of the fallout so
that everything still works at least as well as before, but most of the work
needed to actually improve the planner's behavior will come later. Also,
there are not yet CREATE/DROP/ALTER OPERATOR FAMILY commands; the only way
to create a new family right now is to allow CREATE OPERATOR CLASS to make
one by default. I owe some more documentation work, too. But that can all
be done in smaller pieces once this infrastructure is in place.
2006-12-23 00:43:13 +00:00
Tom Lane
ae8c1bea02
More MSVC build support from Magnus.
2006-11-29 19:49:31 +00:00
Bruce Momjian
0d9e0d9dde
Copy fsync() defines into test_fsync.c, someday place them in an
...
include.
Propery align for O_DIRECT.
Check for write()/fsync() failures.
2006-11-25 01:22:28 +00:00
Peter Eisentraut
8c1ce4559d
Separate release preparation jobs for all releases and for major releases
2006-11-24 17:03:50 +00:00
Bruce Momjian
1120c61b29
Revert out:
...
Update fsync test to match new O_DIRECT behavior.
Greg Smith
2006-11-23 17:20:47 +00:00
Bruce Momjian
3455b0a5d5
Update fsync test to match new O_DIRECT behavior.
...
Greg Smith
2006-11-23 16:41:11 +00:00
Neil Conway
66eda1c7b3
VC build patch from Magnus:
...
Typo in the changes to plperl - uses wrong dir, and had a missing slash.
Also fixes error checking for xsubpp - it was broken in a way that hid
the problem above when run more than once (which is the normal case when
developing).
2006-11-21 17:54:26 +00:00
Tom Lane
aaef29b377
More MSVC build fixes:
...
* New versions of OpenSSL come with proper debug versions, and use
suffixed names on the LIBs for that. Adapts library handling to deal
with that.
* Fixes error where it incorrectly enabled Kerberos based on NLS
configuration instead of Kerberos configuration
* Specifies path of perl in config, instead of using current one.
Required when using a 64-bit perl normally, but want to build pl/perl
against 32-bit one (required)
* Fix so pgevent generates win32ver.rc automatically
Magnus Hagander
2006-11-20 19:18:02 +00:00
Tom Lane
c2c0b14086
Various MSVC build fixes from Magnus; also remove stray Windows
...
newlines.
2006-10-22 17:17:09 +00:00
Bruce Momjian
389fad1e6b
Remove use of '<' and '>' in SGML, use '&' escapes.
...
Update find_gt_lt to allow grep parameters to be passed into it.
2006-10-16 17:28:03 +00:00
Bruce Momjian
5777dca4f8
Fix test_fsync compile on MinGW(win32)
...
Hiroshi Saito
2006-10-13 14:19:29 +00:00
Bruce Momjian
04209052ba
Typo fix.
2006-10-10 00:30:32 +00:00
Bruce Momjian
327d5c3571
Add release checklist item:
...
o copy FAQs from HEAD to top-most branches
2006-10-10 00:30:18 +00:00
Bruce Momjian
5e0bc3b711
Update comments for pgcvslog, -r BASE does not work with cvs log.
2006-10-08 01:39:59 +00:00
Bruce Momjian
abcf7603c0
Exclude pgindent from affecting the ecpg regression directory.
2006-10-04 20:42:19 +00:00
Tom Lane
0d2aed94c2
Add qsort and qsort_arg to MSVC list of src/port files.
2006-10-04 16:51:22 +00:00
Bruce Momjian
451e419e98
Udpate typedefs for pgindent.
2006-10-04 00:02:10 +00:00
Bruce Momjian
ed80f5701b
pgevent fixes:
...
1) Make vcbuild actually build the pgevent dll.
2) Change the pgevent DLL file so it doens't specify ordinal for the
functions. You're not supposed to do that. You're actually supposed to
declare them as PRIVATE as well, but mingw doesn't support that. VC++
will throw a warning and not an error though, so we can live with it.
Magnus Hagander
2006-10-03 22:12:14 +00:00
Bruce Momjian
eff77a759a
Update typedef list for 8.2 pgindent run.
2006-10-03 22:09:42 +00:00
Tom Lane
062421defb
Fix a couple other places that need to know about (some) src/port/ files
...
explicitly.
2006-09-28 14:48:45 +00:00
Tom Lane
83078e9912
Several fixes for MSVC build scripts, from Magnus.
2006-09-15 21:42:02 +00:00
Bruce Momjian
b6eab50ce4
Update pgcvslog comments.
2006-09-07 18:13:56 +00:00
Bruce Momjian
8dc8f44f58
Update Emacs/vim editor info.
2006-09-07 00:10:46 +00:00
Bruce Momjian
c66939c4aa
Add MSVC build tools.
...
Magnus Hagander
2006-09-04 21:30:40 +00:00
Bruce Momjian
9d9a65bfa7
Add WIN32 compile suggestion to pginclude README.
2006-07-19 15:06:06 +00:00
Bruce Momjian
5ca68299be
Add pginclude testing ideas.
2006-07-18 19:19:59 +00:00
Bruce Momjian
2256d299bb
Mention dependency problems caused by pgrminclude on include files.
2006-07-17 19:37:21 +00:00
Tom Lane
2d11d26113
Create a tool to catch #include omissions that might not result in any
...
compiler warning, specifically #ifdef or #if defined tests on symbols
that are defined in a file not included. The results are a bit noisy
and require care to interpret, but it's a lot better than no tool at all.
2006-07-15 03:27:42 +00:00
Bruce Momjian
a4f1da03cc
Have find_static skip main() functions.
2006-07-14 14:59:00 +00:00
Bruce Momjian
06bed485b0
Move CFLAGS for pginclude to the end of the command line.
2006-07-14 01:05:14 +00:00
Bruce Momjian
10157d4e6f
Skip stripping postgres_fe.h include file.
2006-07-13 18:25:09 +00:00
Bruce Momjian
70e2e3d8b1
Improve pginclude tools to process include file usage by other include files.
2006-07-13 16:39:20 +00:00
Bruce Momjian
99ac1e69ba
Fix pgrminclude to work for stripping include files.
2006-07-12 16:28:27 +00:00
Alvaro Herrera
7234777674
Apply entab fix from Marko Kreen for these problems:
...
- halt.c did not include stdlib.h, thus missed exit() prototype
- Makefile ignores BINDIR for install.
- Makefile calls install with user/group args, thus failing for regular user.
While trying it I noticed that the Makefile does not support VPATH builds ...
2006-07-11 21:21:59 +00:00
Bruce Momjian
1be8f80288
Improve pginclude tests.
2006-07-11 20:51:25 +00:00
Bruce Momjian
4084681546
Improve pginclude compile flags.
2006-07-11 20:12:29 +00:00
Bruce Momjian
8230fbf964
Update pginclude documentation.
2006-07-11 19:52:12 +00:00
Bruce Momjian
6d57ed7797
Have pgrminclude process include files too.
2006-07-11 19:45:16 +00:00
Bruce Momjian
22269434a6
Add $CFLAGS support to pgrminclude.
2006-07-11 19:34:34 +00:00
Bruce Momjian
1ddbfa16a8
Move pgrminclude debug code to be more effective.
2006-07-11 19:31:29 +00:00
Bruce Momjian
108fe524a9
Improve shell script wrapping.
2006-07-11 19:30:05 +00:00
Bruce Momjian
01835c495c
Add comments to pgrminclude.
2006-07-11 19:25:41 +00:00
Bruce Momjian
b85a965f5f
Allow each C include file to compile on its own by including any needed
...
header files.
2006-07-11 13:54:25 +00:00
Bruce Momjian
45a4309074
Add libpq include directory to script.
2006-07-11 02:01:24 +00:00
Bruce Momjian
d399f1b75e
Improve compile line for tool.
2006-07-10 18:39:32 +00:00
Bruce Momjian
54485d9fdd
Update usage documention for pginclude
2006-07-10 17:13:34 +00:00
Bruce Momjian
f61f01f1a2
Add $CFLAGS handling to pgcompinclude.
2006-07-10 17:11:43 +00:00
Bruce Momjian
94a61ef757
Fix 'find' args for pgcompinclude tool.
2006-07-10 17:08:38 +00:00
Bruce Momjian
bbd41aac44
Improve tool coding.
2006-07-10 16:45:44 +00:00
Bruce Momjian
e627c9b9a6
Improve script by processing only C files.
2006-07-10 16:07:24 +00:00
Bruce Momjian
751d985805
Update cvs command example to show diff -rBASE.
2006-05-31 10:24:29 +00:00
Bruce Momjian
c6aa53e8d6
Remove mention of pg_upgrade in release checklist.
2006-05-21 20:29:16 +00:00
Bruce Momjian
7d866ffad7
Mention packager bumps configure.in/configure.
2006-05-19 03:57:09 +00:00
Bruce Momjian
5981b9d03e
Fix typo in pgcvslog, used == instead of =.
2006-03-15 03:24:17 +00:00
Bruce Momjian
f3d99d160d
Add CVS tag lines to files that were lacking them.
2006-03-11 04:38:42 +00:00
Bruce Momjian
f2f5b05655
Update copyright for 2006. Update scripts.
2006-03-05 15:59:11 +00:00
Bruce Momjian
e096406c05
Update to 2006.
2006-03-05 15:21:45 +00:00
Bruce Momjian
10d78c76e9
Update release checlist.
2006-02-12 17:23:31 +00:00
Bruce Momjian
9e66c3e6fe
Move thread_test directory from /tools to /test so source-only tarballs
...
have the directory for the configure test.
2006-02-04 01:00:02 +00:00
Tom Lane
c599a247bb
Simplify lock manager data structures by making a clear separation between
...
the data defining the semantics of a lock method (ie, conflict resolution
table and ancillary data, which is all constant) and the hash tables
storing the current state. The only thing we give up by this is the
ability to use separate hashtables for different lock methods, but there
is no need for that anyway. Put some extra fields into the LockMethod
definition structs to clean up some other uglinesses, like hard-wired
tests for DEFAULT_LOCKMETHOD and USER_LOCKMETHOD. This commit doesn't
do anything about the performance issues we were discussing, but it clears
away some of the underbrush that's in the way of fixing that.
2005-12-09 01:22:04 +00:00
Bruce Momjian
aac96b8994
Fix pgindent of libpq-fe.h by hacking pgindent script.
...
Remove pgbench comment that was causing problems.
2005-11-23 04:23:30 +00:00
Bruce Momjian
558c4367e7
Update error message and documentation for fsync test.
2005-11-16 03:32:04 +00:00
Bruce Momjian
46117e4f2a
Have test_fsync honor -f filename argument.
2005-11-16 01:31:07 +00:00
Bruce Momjian
62fb1d6028
Prevent certain symbols that are used for both typedefs and variable
...
names from being added to pgindent's typedef list. The existance of
them caused weird formatting in the date/type files, and in keywords.c.
Backpatch to 8.1.X.
2005-11-15 14:45:10 +00:00
Bruce Momjian
02c43ffbec
Fix recent problems with BSD indent, including indenting past 80
...
columns, shifting comment to the right when more than 150 'else if'
clauses were used, and update typedefs for 8.1.X.
NetBSD patched updated, with documentation.
2005-11-15 00:43:01 +00:00
Bruce Momjian
19cb457146
Revert pgindent length back to 79 because we are going to fix the BSD
...
indent bug.
2005-11-13 02:38:49 +00:00
Bruce Momjian
6521ea008e
Lower pgident length to 77, document BSD indent bug.
2005-11-07 23:50:20 +00:00
Bruce Momjian
aaf8cb0c72
Change maximum pgindent length from 79 to 78, per Tom.
2005-11-07 22:52:41 +00:00
Tom Lane
2a8d3d83ef
R-tree is dead ... long live GiST.
2005-11-07 17:36:47 +00:00
Bruce Momjian
95af2633c3
Add mention to update FAQ item on most recent release to RELEASE_CHANGES.
2005-11-05 01:38:44 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Bruce Momjian
790c01d280
Update pgindent typedef list.
2005-10-15 02:14:22 +00:00
Peter Eisentraut
15a110ed01
Document the process to update translations.
2005-10-10 19:41:27 +00:00
Alvaro Herrera
a84429a1aa
Remove an unused typedef.
2005-10-07 14:55:36 +00:00
Bruce Momjian
e2d8b79f8b
Suppress FAQ and TODO changes in pgcvslog output.
2005-09-27 17:16:08 +00:00
Bruce Momjian
a5b9e18acc
Add instructions.
2005-09-22 21:59:50 +00:00
Bruce Momjian
5d075bb4cc
Add "codelines" script to compute number of lines in a releaes.
2005-09-22 21:58:58 +00:00
Bruce Momjian
ded5dd6ed0
Update release checklist.
2005-08-25 00:30:10 +00:00
Bruce Momjian
63a67221a1
More beta1 cleanup.
2005-08-24 19:34:34 +00:00
Bruce Momjian
43bf3a6bc6
The attached patch updates the thread test program to run stand-alone on
...
Windows. The test itself is bypassed in configure as discussed, and
libpq has been updated appropriately to allow it to build in thread-safe
mode.
Dave Page
2005-08-23 21:02:05 +00:00
Bruce Momjian
a970a8cb95
Back out incorrect commit.
2005-08-23 20:48:47 +00:00
Bruce Momjian
eef7e30cc1
Fix function name.
2005-08-23 20:45:11 +00:00
Bruce Momjian
26b9dcb640
Minor cleanup.
2005-08-17 01:45:20 +00:00
Bruce Momjian
e19e382804
Update comments.
2005-08-16 19:29:38 +00:00
Bruce Momjian
e7fb5563af
Improve comment.
2005-08-16 19:23:31 +00:00
Bruce Momjian
f2ad4cadbf
Update pgcvslog comment on how to find branch start time.
...
Run autoconf/autoheader in case someone forgot in the past.
2005-08-16 17:46:57 +00:00
Bruce Momjian
505b925276
Fix #elif spacing too.
2005-07-13 15:59:32 +00:00
Bruce Momjian
5d0a43c585
Fix pgindent to not have blank line before #else in variable definition
...
section of a function.
2005-07-13 04:44:42 +00:00
Bruce Momjian
7690b41328
Add backslashes to parentheses in awk regex because if not, they are
...
treated as regex groups.
2005-07-13 04:00:28 +00:00
PostgreSQL Daemon
85f97937d2
testing activitymail
2005-07-08 15:13:09 +00:00
Bruce Momjian
b3d06e5a95
Update typedefs for pgindent.
2005-06-28 23:55:30 +00:00
Bruce Momjian
249802725d
Change awk ~ pattern from "" to //.
...
Remove extra backslash in pattern. Luke Lonergan
2005-06-28 23:16:33 +00:00
Tom Lane
2f5c47e882
Move findoidjoins out of contrib and into src/tools, which is a more
...
logical place for it since it is of no use to users. Per recent
discussions on cleaning up contrib.
2005-06-23 02:33:28 +00:00
Bruce Momjian
fb91a83e0e
Back out make_mkid change.
2005-06-04 18:20:43 +00:00
Bruce Momjian
00750f3f30
Improve readability of config location params by adding newline.
2005-06-04 18:13:59 +00:00
Bruce Momjian
22f0303023
Fix compile of entab to use stdarg.h. Clean up includes.
...
Marko Kreen
2005-05-27 15:15:31 +00:00
Tom Lane
1199026e9e
Update release checklist to reflect that HISTORY and INSTALL don't
...
need to be created by hand anymore.
2005-05-08 23:34:15 +00:00
Bruce Momjian
ce1ab398dd
Update backend flowchart HTML.
2005-05-06 19:13:02 +00:00
Bruce Momjian
33c5fce8db
Update flowchart sections to match current CVS.
2005-05-06 19:07:17 +00:00
Bruce Momjian
63ef676781
Markup improvements.
2005-05-06 18:25:46 +00:00
Bruce Momjian
8903592b10
Update backend flowchard wording
2005-05-06 18:23:13 +00:00
Neil Conway
3fa7901070
This patch changes the use of varargs.h to stdarg.h as
...
required by modern versions of GCC.
Niels Breet
2005-04-15 04:29:32 +00:00
Tom Lane
ad161bcc8a
Merge Resdom nodes into TargetEntry nodes to simplify code and save a
...
few palloc's. I also chose to eliminate the restype and restypmod fields
entirely, since they are redundant with information stored in the node's
contained expression; re-examining the expression at need seems simpler
and more reliable than trying to keep restype/restypmod up to date.
initdb forced due to change in contents of stored rules.
2005-04-06 16:34:07 +00:00
Bruce Momjian
0f3748a28c
Attached patch cleans up the HTML code in tools/backend. This is
...
required for us to pull it into the main website. Same kind of fixes as
last time, just make sure things aren't violating the HTML standard. No
context changes at all.
Magnus Hagander
2005-04-06 15:19:03 +00:00
Bruce Momjian
d1dcaed468
Update pgcvslog examples.
2005-04-01 16:34:31 +00:00
Bruce Momjian
a70574d803
Update pgcvslog examples.
2005-04-01 13:25:10 +00:00
Bruce Momjian
caad817d1c
Add fprintf() custom version to libpgport.
...
Document use of macros for pg_printf functions.
Bump major versions of all interfaces to handle movement of get_progname
from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
2005-03-11 19:13:43 +00:00
Bruce Momjian
c5159bc0c0
Mark file-global function and variables as static.
2005-03-11 15:25:31 +00:00
Bruce Momjian
68c4804b08
Add to release checklist:
...
* Update inet/cidr data types with newest Bind patches
2005-02-02 16:58:52 +00:00
Bruce Momjian
d08889aa8b
Add tools/find_gt_lt to find < and > in SGML source.
...
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:30:59 +00:00
Bruce Momjian
112654c72c
Mention issue with < and > in docs.
2005-01-22 23:39:21 +00:00
Bruce Momjian
31197bbdf5
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
2005-01-18 05:00:35 +00:00
Bruce Momjian
4ea43bdfdf
Update copyright script.
2005-01-03 06:16:54 +00:00
Tom Lane
7e1c8ef4fc
Some more missed copyright notices. Many of these look like they
...
should have been caught by the src/tools/copyright script ... why
weren't they?
2005-01-01 20:44:34 +00:00
Bruce Momjian
2daed8c5b3
Update copyrights that were missed.
2005-01-01 05:43:09 +00:00
PostgreSQL Daemon
2ff501590b
Tag appropriate files for rc3
...
Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
2004-12-31 22:04:05 +00:00
Bruce Momjian
93b808e9c9
Mention libpq.rc.in is now the file to update for releases.
2004-12-20 21:00:48 +00:00
Bruce Momjian
f167dc8802
Test for POSIX.1c 2-arg sigwait() and fail on single-arg version.
2004-12-19 04:06:23 +00:00
Bruce Momjian
ccac38ffb4
Update release changes list to mention pg_config.h.win32.
2004-12-16 22:11:06 +00:00
Bruce Momjian
36af887d6b
Clearify which version numbers are bumped for major and minor releases.
2004-12-13 17:28:54 +00:00
Bruce Momjian
b69170481e
Add reminder to update copyright in sgml file.
2004-10-26 23:42:49 +00:00
Neil Conway
1d6b096941
Update copyright information in documentation. Also, add a note
...
to RELEASE_CHANGES so that this is not forgotten in the future.
2004-10-25 06:40:39 +00:00
Tom Lane
261f184f0c
Update RELEASE_CHANGES to mention updating the timezone database as
...
a routine part of release prep.
2004-10-24 15:01:54 +00:00
Bruce Momjian
cdc84adbdb
Indent comment pushed to new line by else so it is indented by BSD
...
indent.
2004-10-07 14:15:50 +00:00
Bruce Momjian
8a28f50f8a
Improve pgindent processing of comment after 'else'.
...
Improve comment of pg_dump Win32 link workaround.
2004-10-07 13:45:51 +00:00
Bruce Momjian
4e28b08e53
Improve comment after 'else' handling of pgindent.
2004-10-07 02:32:06 +00:00
Bruce Momjian
94954c7f6a
Add mention of win32ver.rc for update for minor release.
2004-10-06 18:15:24 +00:00
Bruce Momjian
afa66ff3d3
Update win32ver.rc to 8,0,000,000. Mention it needs updating in
...
RELEASE_CHANGES.
2004-10-06 15:23:27 +00:00
Bruce Momjian
b3f2b19218
Update length from 75 to 79.
2004-10-02 01:10:58 +00:00
Bruce Momjian
e9ec10494e
Use <> not "" for include of pthread.h.
2004-09-26 01:40:55 +00:00
Bruce Momjian
409de6be6c
Re-add brace removal code but comment it out so we know why we removed
...
it and have it in case we need it for some special case.
2004-09-12 22:21:30 +00:00
Bruce Momjian
47402a9b00
Remove code that delete braces around single statements.
2004-09-12 22:11:27 +00:00
Bruce Momjian
cec5d26d34
We don't use java in our compiles anymore so remove the filter test from
...
pgtest.
2004-09-09 09:57:23 +00:00
Bruce Momjian
15d3f9f6b7
Another pgindent run with lib typedefs added.
2004-08-30 02:54:42 +00:00
Bruce Momjian
ee66401f31
Update typedefs with /lib info.
2004-08-29 17:31:42 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Bruce Momjian
90cb9c3051
Update with new typedefs. Remove java and c++ parts of readme.
2004-08-29 04:49:45 +00:00
Bruce Momjian
da9a8649d8
Update copyright to 2004.
2004-08-29 04:13:13 +00:00
Bruce Momjian
839fe69259
Improve description of release note creation.
2004-07-25 03:30:31 +00:00
Bruce Momjian
97729fa154
Add steps for creating release notes.
2004-07-24 03:06:47 +00:00
Tom Lane
ddf6518b95
Fix to work better with Exuberant's version of ctags.
...
Gavin Sherry
2004-06-25 22:00:40 +00:00
Bruce Momjian
36b8654cb0
Use mkstemp instead of mktemp in thread test, per Jan.
2004-06-09 15:16:17 +00:00
Bruce Momjian
0163983330
When checking for thread safety with src/tools/thread/thread_test.c, the
...
mktemp function wants an argument that contains 6 X, while the current
version only supplies 5 X which will fail on my SuSE 8.1.
Andreas Pflug
2004-05-28 18:37:10 +00:00
Bruce Momjian
e27338f26c
Do thread testing from configure in a much cleaner fashion.
2004-04-27 19:51:12 +00:00
Bruce Momjian
ca8a8baa76
Add comments.
2004-04-27 18:40:50 +00:00
Bruce Momjian
f687c7e87f
Use mktemp for temporary file names, per suggestion from Peter.
2004-04-27 18:36:31 +00:00
Bruce Momjian
b498b795a0
Move postgres.h to the top of the C file.
2004-04-27 17:22:41 +00:00
Bruce Momjian
095ed37f13
Fix subdir for thread test program.
2004-04-26 18:32:33 +00:00
Bruce Momjian
144d828e7f
More thread error improvments.
2004-04-26 00:38:25 +00:00
Bruce Momjian
2f5223600a
More thread error message improvments.
2004-04-26 00:36:18 +00:00
Bruce Momjian
ae5bc8a601
No need to use our standard libs for the thread test --- they might not
...
be compiled yet.
2004-04-25 20:47:56 +00:00
Bruce Momjian
f6646efa4c
Hook thread_test program run at the end of configure run.
...
Add test for cross-compiles that they have to run the thread_test
program on the target machine.
2004-04-23 23:58:12 +00:00
Bruce Momjian
95178c8d24
Report error if thread-test is run without having threading enabled in
...
configure.
2004-04-23 22:21:49 +00:00
Bruce Momjian
66b42d3028
Improve thread test program. Test only functions that need testing.
2004-04-23 20:35:50 +00:00
Bruce Momjian
7a66015e98
Add new auto-detection of thread flags.
...
Allow additional thread flags to be added via port templates.
Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
2004-04-23 18:15:55 +00:00
Bruce Momjian
1b4e82559c
Simplify thread test program.
2004-04-22 23:58:03 +00:00
Bruce Momjian
f9a2d0b2fb
More thread test program improvements.
2004-04-21 20:58:56 +00:00
Bruce Momjian
53b5455387
Improve thread test program to show if non-*_r functions are even called.
2004-04-21 20:51:54 +00:00
Bruce Momjian
055b0d27f6
Add thread program mention of errno thread-safety.
2004-04-06 13:55:17 +00:00
Bruce Momjian
d8fe99d98c
Add comment that sched_yield might be a portability problem.
2004-04-05 14:13:45 +00:00
Bruce Momjian
a86c329f99
Change getpid() while loop to use sched_yield(), greatly speeds up test.
...
sched_yield is a requirement for the test but not for our PostgreSQL
code, so if it causes a portability problem, we will remove it.
2004-04-05 14:12:32 +00:00
Bruce Momjian
a1d63d9232
Have threads wait for parent to test thread-specific pointers before
...
exiting.
2004-04-05 05:43:06 +00:00
Bruce Momjian
53ddde5b74
Add volatile to thread-specific thread variables.
2004-04-05 02:22:14 +00:00
Bruce Momjian
31f48c9afe
Update thread test to only test for 'localhost' and local machine name.
2004-04-05 01:27:58 +00:00
Bruce Momjian
d56b736db0
Update thread test to do getpid() in while loop, also use weather.com
...
rather than slashdot.org for testing.
2004-04-04 17:23:54 +00:00
Bruce Momjian
b803cf4320
Clean up thread test program.
2004-03-28 02:37:31 +00:00
Bruce Momjian
db9a957618
Add test for thread-safe errno to thread test program.
2004-03-27 23:02:44 +00:00
Bruce Momjian
c8aaa5ceec
Remove suggestiong for using test for wal_sync_method.
2004-03-20 16:18:41 +00:00
Bruce Momjian
8726591720
Make test_fsync use optimizer flag.
2004-03-18 23:27:29 +00:00
Bruce Momjian
6b34711824
Allocate 16mb file for testing.
2004-03-18 20:09:33 +00:00
Bruce Momjian
9e231bab65
Have program default to 1000 loops, and add file name and loop option.
...
Make open/close loop testings the same. Add descriptions for certain tests.
2004-03-18 19:54:00 +00:00
Bruce Momjian
9ae9ad155d
Add comment about using this testing for wal_sync_method.
2004-03-18 17:23:56 +00:00
Bruce Momjian
b2906c5be3
Add fsync tests:
...
Compare fsync before and after write's close:
Compare one o_sync write to two:
Compare file sync methods with one 8k write:
Compare file sync methods with 2 8k writes:
2004-03-18 15:26:27 +00:00
Bruce Momjian
5ddecd1e27
Mention which fsync methods are unavailable.
2004-03-18 14:02:58 +00:00
Bruce Momjian
69138a9429
Add permission mode to opens().
2004-03-18 04:11:41 +00:00
Bruce Momjian
bfaa9a0ada
Add missing include
2004-03-18 04:04:36 +00:00
Bruce Momjian
00051c9b56
Remove acccidental object/binary files.
2004-03-18 03:57:58 +00:00
Bruce Momjian
9f2696f266
Add fsync test program. It tests fsync to see if times for fsync are the
...
same when done on the write() ile descriptor and a new descriptor.
it also times various fsync methods.
2004-03-18 03:56:59 +00:00
Bruce Momjian
c6f0559371
Check and set thread-safe functions separately, rather than as a single
...
variable.
Remove thread locking for non-thread-safe functions, instead throw a
compile error.
Platforms will have to re-run tools/thread to record their thread
safety.
2004-02-11 21:44:06 +00:00
Bruce Momjian
011ad7efec
Set only LC_ALL for sort in tags creation.
2004-02-02 17:29:32 +00:00
Bruce Momjian
10bb17e334
Set locale to C before doing sort in make_ctags.
2004-02-01 23:11:33 +00:00
Bruce Momjian
21a1202281
Remove trailing newline from file.
2004-01-04 00:50:11 +00:00
Bruce Momjian
e3107b2844
Mention grabbing typedefs from pgsql/lib too.
2004-01-04 00:11:29 +00:00
Bruce Momjian
85f51dea1c
Supress ecpg thread test if configure didn't enable threads. Fix
...
tools/thread to run even if configure didn't enable threads because this
test is used before enabling threads for the OS.
2003-12-19 23:29:15 +00:00
Bruce Momjian
32abf0e781
Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.
2003-11-30 06:09:54 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Peter Eisentraut
8878cc4cd7
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
...
Fixes compilation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
2003-11-24 13:16:22 +00:00
Peter Eisentraut
d28bacd897
Add note to update config.guess and config.sub at the start of beta.
2003-11-04 10:33:28 +00:00
Bruce Momjian
e69b2f3b0e
Remove weird test in ccsym
2003-10-24 21:28:52 +00:00
Bruce Momjian
cded27cacd
Don't reference pthread.h unless we have threads enabled, per Peter.
2003-10-24 20:48:10 +00:00
Bruce Momjian
d665217278
Fix include used by entab.
2003-10-07 17:40:09 +00:00
Bruce Momjian
a994d5984f
Adjust pgindent for newer awks.
...
Nigel J. Andrews
2003-09-28 00:25:22 +00:00
Bruce Momjian
b4ca39b956
Allow pgindent to work with newer BSD indents.
2003-09-28 00:22:58 +00:00
Bruce Momjian
16e4adc38f
Update bsd indent patch.
2003-09-27 21:26:09 +00:00
Bruce Momjian
ee84100cc1
Cleanup pgindent patch.
2003-09-27 21:19:47 +00:00
Bruce Momjian
bb9ec59419
Add compile step to instructions.
2003-09-27 17:29:30 +00:00
Bruce Momjian
391dceb462
Finalize configuration of thread_test program.
2003-09-27 16:24:45 +00:00
Bruce Momjian
227dd9b427
Rename thread compile flag. Move thread test program to tools/thread,
...
and improve tests.
2003-09-27 15:32:48 +00:00
Bruce Momjian
38eb18092c
Tighten casting of function call pointers for threads.
2003-09-03 22:34:08 +00:00
Bruce Momjian
2310dd3af2
Add reporting of specificy threading failure functions.
2003-09-03 19:36:31 +00:00
Bruce Momjian
4cc247f74b
Add test for thread-safeness of libc functions.
2003-09-03 19:30:31 +00:00
Bruce Momjian
5a288903b9
Guard against pgindent changing =- to = -.
2003-08-30 14:59:34 +00:00
Bruce Momjian
4369432405
Not needed, already in CVS.
2003-08-17 00:14:13 +00:00
Bruce Momjian
bfeabcc84f
Add description of error style.
2003-08-16 23:53:54 +00:00
Bruce Momjian
0e2b12bd96
pgindent fix for new typedefs.
2003-08-08 21:25:06 +00:00
Bruce Momjian
c7fda55cc6
Update pgindent readme.
2003-08-07 15:02:43 +00:00
Bruce Momjian
78154363f9
Update typedef names for pgindent 7.4.
2003-08-07 05:18:14 +00:00
Tom Lane
2f9c859ea1
Fix some copyright notices that weren't updated. Improve copyright tool
...
so it won't miss 'em again.
2003-08-04 23:59:41 +00:00
Bruce Momjian
19f7ca78cc
Fix for 2003 again.
2003-08-04 02:27:25 +00:00
Bruce Momjian
eb20aa9edb
Update copyright script for 2003.
2003-08-04 02:22:37 +00:00
Bruce Momjian
1ffc5b05a3
Update comments.
2003-08-01 13:48:58 +00:00
Bruce Momjian
5fbb42eb3f
Update comments.
2003-08-01 13:48:25 +00:00
Bruce Momjian
83f62e9d29
cvs log used -b for head, not -rHEAD.
2003-08-01 05:52:44 +00:00
Bruce Momjian
b2312c4eae
No need for Static.Entries, use -rHEAD.
2003-07-25 02:11:17 +00:00
Bruce Momjian
8355901a0e
Add example of cvs log pulls _just_ from HEAD.
2003-07-25 01:40:02 +00:00
Bruce Momjian
a7e898785b
Stamp 7.3.4.
2003-07-23 04:08:44 +00:00
Bruce Momjian
bf75f1a063
Adjust pgtest grep.
2003-06-27 22:04:50 +00:00
Bruce Momjian
757b718476
Update pgtest to use 'gmake check'.
2003-06-27 21:46:20 +00:00
Bruce Momjian
3bfabc36b6
Add mention that the grep's have to be adjusted in pgtest.
2003-06-23 19:33:25 +00:00
Bruce Momjian
c1ae39a0cd
Add pgtest script.
2003-06-22 04:22:57 +00:00
Bruce Momjian
4d4953fc41
Make Win32 tests to match existing Cygwin tests, where appropriate.
2003-04-18 01:03:42 +00:00
Bruce Momjian
6976205b4b
Update release steps.
2003-01-29 03:41:54 +00:00
Bruce Momjian
2042daf5c3
Improve symlink handling for C tags file.
2003-01-18 06:06:51 +00:00
Bruce Momjian
9e66243c35
Fixes to pgcvslog for last narrive entry.
2003-01-13 01:57:47 +00:00
Bruce Momjian
bcf7a35f3c
A tiny patch to fix a typo in configure.in and another one in
...
RELEASE_CHANGES.
Manfred Koizar
2003-01-11 04:58:44 +00:00
Bruce Momjian
2d663bbf0e
Update RELEASE checklist.
2002-12-18 20:07:32 +00:00
Bruce Momjian
c465dcc1d0
Add major/minor release changes info to RELEASE_CHANGES file.
2002-12-14 19:45:46 +00:00
Peter Eisentraut
0cd5ce6b11
Compute version number for docs on the fly.
2002-10-12 16:34:28 +00:00
Bruce Momjian
4490c7b14b
Update symbols for 7.3.
2002-09-04 19:11:06 +00:00
Bruce Momjian
2355482e28
Update for 7.3 typedefs.
2002-09-04 19:00:01 +00:00
Bruce Momjian
af3cf2cfa8
Update to reflect Tom's suggestions.
2002-09-04 18:45:52 +00:00
Bruce Momjian
7ae3e126e0
File list cleanup.
2002-09-04 07:31:59 +00:00
Bruce Momjian
0a1e41477f
Update files to be changed.
2002-09-04 07:26:37 +00:00
Bruce Momjian
88958ea875
Improve CVS log grouping.
2002-09-02 17:34:57 +00:00
Bruce Momjian
a78777558c
Add mention of copyright year update.
2002-07-24 17:58:24 +00:00
Bruce Momjian
3c580b8d97
Fix make_ctags for exhuberant tags.
2002-07-15 14:45:51 +00:00
Bruce Momjian
bc3d2e1e35
Allow make_ctags to work with exuberant tags.
2002-07-02 17:45:52 +00:00
Bruce Momjian
d54ae2aff2
Add C++ indent tool.
2002-06-15 19:13:04 +00:00
Bruce Momjian
af3c380158
Update release list.
2002-03-26 05:34:33 +00:00
Bruce Momjian
ebcd74c788
Update sgml version properly.
2002-03-26 05:33:23 +00:00
Bruce Momjian
658371fe9f
Update for 7.2.1.
2002-03-18 23:03:13 +00:00
Bruce Momjian
b0bf66dfbe
Add HTML output option to pgcvslog.
2002-02-18 05:33:13 +00:00
Peter Eisentraut
3ac85b86cb
Update Win32-world version number of libpq++.
2002-01-30 21:59:33 +00:00
Bruce Momjian
1a712718ca
Add IN/EXISTS file.
2002-01-20 05:12:57 +00:00
Tom Lane
8ff263f362
Fix portability problem (result of getopt is int, not char).
2002-01-09 18:21:46 +00:00
Bruce Momjian
ea4f08ed49
Rename make_keywords.README to make_keywords.
2001-11-26 22:41:58 +00:00
Bruce Momjian
07c3f00b14
Rename find_baddefs to find_badmacros
2001-11-26 21:42:24 +00:00
Bruce Momjian
09634eafe1
Indent jdbc case labels using pgjindent.
2001-11-19 23:16:46 +00:00
Bruce Momjian
46d50783bf
Update pgindent README so it gets *.java.in files.
2001-11-19 22:36:11 +00:00
Bruce Momjian
876c7009fb
Make extern C handling more flexible.
2001-11-08 17:03:23 +00:00
Bruce Momjian
c6e25ed1af
Fix replacement of extern C string.
2001-11-07 22:10:02 +00:00
Bruce Momjian
1233d4fd6c
Fix typo.
2001-11-07 21:29:04 +00:00
Bruce Momjian
e644fc25c7
Prevent indenting of 'extern "C"' blocks.
2001-11-07 21:24:28 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
0f450dae8b
More cleanup for stuff after closing brace in first column.
2001-11-05 06:37:51 +00:00
Bruce Momjian
d447dbf392
Handle tabs after closing brace in first column with less indenting.
2001-11-05 05:47:50 +00:00
Bruce Momjian
158129be72
Improve readability of script.
2001-11-05 05:18:43 +00:00
Bruce Momjian
3bb110ebb3
Pull in variables defined in structs; had too many tabs.
2001-11-04 21:27:41 +00:00
Bruce Momjian
8ee7c19e3c
Require closing paren on line above brace to identify function
...
difinition, just for formatting workaround, per Tom's discovery.
2001-11-03 22:34:13 +00:00
Bruce Momjian
f008976bcd
More updates for GNU indent.
2001-11-03 12:34:15 +00:00
Bruce Momjian
ffba91cd1e
Make pgindent use GNU Indent version 2.X better.
2001-11-03 01:49:22 +00:00
Bruce Momjian
04550d3c90
Add check for 'extern "C"' for pgindent.
2001-11-02 23:43:24 +00:00
Bruce Momjian
c41b6b1b9c
Fix small problem Tom Lane found with pgindent run.
2001-10-30 05:38:56 +00:00
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
c29797deeb
Add code to trip trailing newlines in a file.
2001-10-27 13:54:45 +00:00
Bruce Momjian
5ef74fe593
Correct fix for indenting.
2001-10-27 03:31:36 +00:00
Bruce Momjian
b93939a6a7
Adjust NR tests. More accurate.
2001-10-26 17:54:45 +00:00
Bruce Momjian
8c1f4e574b
Add code to not indent enum, per Tom Lane.
2001-10-26 16:21:13 +00:00
Bruce Momjian
99a9f2f6f4
Add ODBC typedefs.
2001-10-26 15:42:54 +00:00
Bruce Momjian
80b9a00439
Add blank line before #endif to #endif's at the end of the file.
2001-10-25 19:57:03 +00:00
Bruce Momjian
3231341eed
Add slash for comment spacing, for Tom.
2001-10-25 19:22:05 +00:00
Bruce Momjian
81d9a9674e
Add comment spaces for trailing ) and comment.
2001-10-25 18:44:42 +00:00
Bruce Momjian
cae059ba5e
Add spacing for single-line comments with trailing semicolon _and_
...
comma, per Tom.
2001-10-25 18:25:23 +00:00
Bruce Momjian
05584c9660
Code cleanup.
2001-10-25 06:27:56 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Bruce Momjian
59da2105d8
Update to prevent CATALOG() from wrapping.
2001-10-25 05:07:56 +00:00
Bruce Momjian
bbc7491de1
Add current typedef symbols to pgindent.
2001-10-25 03:56:35 +00:00
Bruce Momjian
fde8edaf53
Add do { ... } while (0) to more bad macros.
2001-10-25 01:29:37 +00:00
Bruce Momjian
309a04f5b8
Add missing "do { ... } while(0)" in ODBC macros and add find_baddefs
...
script.
2001-10-25 00:50:50 +00:00
Bruce Momjian
3fb3678409
Create pgjindent for java.
2001-09-07 21:25:44 +00:00
Bruce Momjian
5840db21fb
Add back incremental patch for BSD indent.
2001-09-04 03:34:42 +00:00
Bruce Momjian
e5390263ed
Add patch for 0LL for BSD indent/pgindent.
2001-09-03 23:11:20 +00:00
Peter Eisentraut
968d7733a1
Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
...
places that were including the wrong files.
2001-08-24 14:07:50 +00:00
Bruce Momjian
31874ad39b
Update list of files to update.
2001-08-16 21:53:27 +00:00
Bruce Momjian
5ee371d8f3
Update branding for 7.1.3, no HISTORY yet.
2001-08-09 16:38:59 +00:00
Bruce Momjian
398b41a23f
pgindent fix for asterisk indented too much in return type, for Tom.
2001-06-06 20:51:31 +00:00
Bruce Momjian
a62c19e4ec
Fix for comments at top of functions.
2001-05-22 17:24:58 +00:00
Bruce Momjian
e7f47ed5b4
Pgindent fixes for Tom, mostly indenting problems.
2001-05-22 01:28:16 +00:00
Bruce Momjian
8266e8a84b
OK, now pgindent has blank lines before comment blocks, except when
...
there is a brace on the line above it.
2001-05-17 16:11:08 +00:00
Bruce Momjian
2d7795ebb4
Prevent forced blank line before comment block in pgindent.
2001-05-17 15:55:24 +00:00
Bruce Momjian
e4f2bea7fb
Add HISTORY items for 7.1.2.
2001-05-17 13:28:30 +00:00
Bruce Momjian
8783d2a5bf
Add missing space to sample cvs call.
2001-05-17 13:20:35 +00:00
Bruce Momjian
1e7b79cebc
Remove unused tables pg_variable, pg_inheritproc, pg_ipl tables. Initdb
...
forced.
2001-05-14 20:30:21 +00:00
Bruce Momjian
d4dfef1cdb
Stamp for 7.1.2. Ready when you are...
2001-05-11 01:34:14 +00:00
Bruce Momjian
645553eaf6
Improve list.
2001-05-03 17:20:14 +00:00
Bruce Momjian
3bc0ab783b
Updates for 7.1.1. Not done yet.
2001-05-03 16:47:58 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Peter Eisentraut
609fee4717
A much better version of this is now in backend/port/aix.
2001-03-14 21:16:57 +00:00
Peter Eisentraut
8ec7986080
It's "gmake dist" now.
2001-03-14 21:11:53 +00:00
Peter Eisentraut
b651540720
For some ungodly reason my etags doesn't have an --output option, but it
...
does have -o.
2001-03-14 21:07:16 +00:00
Bruce Momjian
83d0e37947
Update email addresses.
2001-03-05 18:09:55 +00:00
Bruce Momjian
a69f81c202
Update flowchart xfig file.
2001-02-22 18:09:20 +00:00
Tom Lane
4a66f9dd54
Change scoping of table and join refnames to conform to SQL92: a JOIN
...
clause with an alias is a <subquery> and therefore hides table references
appearing within it, according to the spec. This is the same as the
preliminary patch I posted to pgsql-patches yesterday, plus some really
grotty code in ruleutils.c to reverse-list a query tree with the correct
alias name depending on context. I'd rather not have done that, but unless
we want to force another initdb for 7.1, there's no other way for now.
2001-02-14 21:35:07 +00:00
Bruce Momjian
281b7d84fc
Add // -> /* */ mapping to pgindent.
2001-02-12 18:30:53 +00:00
Bruce Momjian
3152ef63a6
Source alignment cleanups.
2001-02-11 05:58:41 +00:00
Bruce Momjian
a952c79b23
More updates.
2001-02-11 05:15:25 +00:00
Bruce Momjian
26dc50141b
More cleanup.
2001-02-11 05:13:52 +00:00
Bruce Momjian
755a87332a
Run pgindent over ODBC source. We couldn't do this years ago because we
...
weren't the master source. We are now, and it really needs it.
2001-02-10 07:01:19 +00:00
Bruce Momjian
ba6fda5191
Add ./include/config.h.win32 to RELEASE update list.
2001-01-25 00:01:17 +00:00
Bruce Momjian
623bf843d2
Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.
2001-01-24 19:43:33 +00:00
Bruce Momjian
77b347d24f
Oops. Remove extra semicolon in comment.
2001-01-18 19:12:36 +00:00
Bruce Momjian
20dfd50c41
More cleanup.
2001-01-13 04:58:53 +00:00
Bruce Momjian
93cf749f40
Update pgcvslog to fix problem with duplicate narratives.
2001-01-13 01:49:35 +00:00
Peter Eisentraut
f1ddc19b10
update list of places to change version numbers; reformat
2000-11-24 18:28:20 +00:00
Bruce Momjian
4b71943bb2
Make PROCEDURAL optional in CREATE/DROP LANGUAGE.
2000-11-04 21:04:56 +00:00
Bruce Momjian
bc9b199c26
Change bool to boolean in docs.
2000-11-02 19:26:49 +00:00
Bruce Momjian
433cd770bc
update flags.
2000-10-29 18:13:47 +00:00
Bruce Momjian
5e38665f8a
Update make_mkid
2000-10-11 17:55:34 +00:00
Peter Eisentraut
2a7da3f564
Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matter
...
either way (although the former is preferred by the Cygwin folks
themselves), but using only one seems nicer.
2000-09-29 13:53:35 +00:00
Peter Eisentraut
32163099d7
Add distprep target to take some of the job of the release_prep script.
...
The latter updated accordingly. Also add `dist' and `distcheck' targets
to play with, but caveat packager.
Updated backend/bootstrap and backend/parser makefile to make them
marginally builddir aware and fix the usual set of things.
Add rule to automatically remake config.h dependent on config.h.in and
config.status. (Adopted from Autoconf manual and about every other
package.) On a good day we should now have a complete and accurate set
of dependencies throughout everything.
2000-07-19 16:30:27 +00:00
Bruce Momjian
80c646958a
Attached is a new patch which addresses this problem. (oids in
...
regression tests).
Chris Bitmead
2000-07-02 22:01:27 +00:00
Peter Eisentraut
6fb9d2e347
Version number now set in configure, available through Makefile.global
...
and config.h. Adjusted all referring code.
Scrapped pg_version and changed initdb accordingly. Integrated
src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all
callers.
Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
2000-07-02 15:21:27 +00:00
Peter Eisentraut
1652d43358
Remove fmgrstamp-h business -- not needed and confusing
...
Add options to configure to automatically build for Kerberos
support; no more editing of make files.
2000-06-17 00:10:40 +00:00
Bruce Momjian
df43800fc8
Clean up #include's.
2000-06-15 03:33:12 +00:00
Bruce Momjian
d540a9a6bd
Update include cleaning scripts.
2000-06-14 22:33:06 +00:00
Bruce Momjian
8e6697fcd9
Update include scripts
2000-06-14 22:28:16 +00:00
Bruce Momjian
20ad43b576
Mark functions as static and ifdef NOT_USED as appropriate.
2000-06-08 22:38:00 +00:00
Peter Eisentraut
e3059fc0f5
Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses
...
CPP) to create platform independent files. Unfortunately, that means that
every config.status (or configure) run invariably causes a relink of the
postmaster and also that we can't put these files in the distribution
(usefully). So we make it a little smarter: when the output files already
exist and it notices that it would recreate them in identical form, it
doesn't touch them. In order to avoid re-running the make rule all the time
we update a timestamp file instead.
Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
is detected at configure time, not necessarily named `awk' and have it check
for exit statuses a little better.
In other news... Remove USE_LOCALE from the templates, it was set to `no'
everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
that need this flag should explicitly invoke it. YFLAGS should be a user
variable. Update the makefiles to that effect.
2000-06-07 16:27:00 +00:00
Peter Eisentraut
5b9d0d9a5c
Moved configure script from src/ to the top level directory. Moved
...
configuration helper things into config/ dir. Adjusted some relative paths
in makefiles.
2000-06-06 22:01:15 +00:00
Bruce Momjian
726926a523
Update pgcvslog
2000-06-01 01:34:02 +00:00
Peter Eisentraut
6a68f42648
The heralded `Grand Unified Configuration scheme' (GUC)
...
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.
pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).
Added to configure an --enable-syslog option.
changed all callers from TPRINTF to elog(DEBUG)
2000-05-31 00:28:42 +00:00
Bruce Momjian
35096b568e
Split vacuum and analyze into separate files
2000-05-29 17:40:45 +00:00
Bruce Momjian
398bb1fcb6
Update pgindent
2000-04-12 01:01:49 +00:00
Bruce Momjian
83a57694d1
Update pgindent
2000-04-11 22:15:08 +00:00
Bruce Momjian
862d677682
Update pgindent for 7.0 release
2000-04-11 19:09:04 +00:00
Bruce Momjian
be1d9fea15
Update make_mkid for mkid version 4.0.
2000-03-31 01:41:27 +00:00
Bruce Momjian
b508136d81
Update HISTORY file for 7.0.
2000-03-23 06:30:58 +00:00
Tom Lane
64ef5c82de
Typo correction (// -> /)
2000-03-17 23:17:23 +00:00
Bruce Momjian
f40c50627f
Fix plpsql for bsdi.
2000-02-23 22:24:46 +00:00
Bruce Momjian
020be62dea
Well, here's the first pass on regression
...
tests for the Foreign Key support in 7.0 which
was made against a CVS copy from this
afternoon.
This modifies
src/test/regress/sql/run_check.tests
src/test/regress/sql/alter_table.sql
src/test/regress/expected/alter_table.out
src/test/regress/sql/foreign_key.sql
src/test/regress/expected/foreign_key.out
sszabo@bigpanda.co
2000-02-22 20:58:31 +00:00
Bruce Momjian
25fdc6bac6
Add no CVS to make_mkid.
2000-02-10 18:41:35 +00:00
Bruce Momjian
ecef31ca61
Prevent tags files in cvs directory.
2000-02-10 18:34:26 +00:00
Tom Lane
fb0627d972
Correct minor typos.
2000-01-17 04:47:05 +00:00
Peter Eisentraut
759fba4873
Included all yacc and lex files into the distribution.
2000-01-16 20:05:00 +00:00
Bruce Momjian
3f03f74f36
Update int28out and out8out and _in_ functions to handle trailing zeros
...
properly.
2000-01-10 15:41:34 +00:00
Bruce Momjian
662371cc5d
Prevent _deadcode from showing in ctags and mkid
1999-12-13 04:54:01 +00:00
Bruce Momjian
db12a63ef1
The \p\g fix didn't turn out to be so bad. It even works in other
...
circumstances:
=> select * from foo\x\t\pset border 0 \p\g\\select * from bar;
Also the release prep update so the sql_help.h is generated before
packaging.
Peter.
1999-11-13 02:04:54 +00:00
Bruce Momjian
7acc237744
This patch implements ORACLE's COMMENT SQL command.
...
>From the ORACLE 7 SQL Language Reference Manual:
-----------------------------------------------------
COMMENT
Purpose:
To add a comment about a table, view, snapshot, or
column into the data dictionary.
Prerequisites:
The table, view, or snapshot must be in your own
schema
or you must have COMMENT ANY TABLE system privilege.
Syntax:
COMMENT ON [ TABLE table ] |
[ COLUMN table.column] IS 'text'
You can effectively drop a comment from the database
by setting it to the empty string ''.
-----------------------------------------------------
Example:
COMMENT ON TABLE workorders IS
'Maintains base records for workorder information';
COMMENT ON COLUMN workorders.hours IS
'Number of hours the engineer worked on the task';
to drop a comment:
COMMENT ON COLUMN workorders.hours IS '';
The current patch will simply perform the insert into
pg_description, as per the TODO. And, of course, when
the table is dropped, any comments relating to it
or any of its attributes are also dropped. I haven't
looked at the ODBC source yet, but I do know from
an ODBC client standpoint that the standard does
support the notion of table and column comments.
Hopefully the ODBC driver is already fetching these
values from pg_description, but if not, it should be
trivial.
Hope this makes the grade,
Mike Mascari
(mascarim@yahoo.com )
1999-10-15 01:49:49 +00:00
Bruce Momjian
8ce829ea6a
Update jdbc for release version #>
1999-10-13 11:08:57 +00:00
Bruce Momjian
008f354af4
Add mention of pg_upgrade for release checklist.
1999-09-28 18:08:29 +00:00
Bruce Momjian
9394d62c73
I have been working with user defined types and user defined c
...
functions. One problem that I have encountered with the function
manager is that it does not allow the user to define type conversion
functions that convert between user types. For instance if mytype1,
mytype2, and mytype3 are three Postgresql user types, and if I wish to
define Postgresql conversion functions like
I run into problems, because the Postgresql dynamic loader would look
for a single link symbol, mytype3, for both pieces of object code. If
I just change the name of one of the Postgresql functions (to make the
symbols distinct), the automatic type conversion that Postgresql uses,
for example, when matching operators to arguments no longer finds the
type conversion function.
The solution that I propose, and have implemented in the attatched
patch extends the CREATE FUNCTION syntax as follows. In the first case
above I use the link symbol mytype2_to_mytype3 for the link object
that implements the first conversion function, and define the
Postgresql operator with the following syntax
The patch includes changes to the parser to include the altered
syntax, changes to the ProcedureStmt node in nodes/parsenodes.h,
changes to commands/define.c to handle the extra information in the AS
clause, and changes to utils/fmgr/dfmgr.c that alter the way that the
dynamic loader figures out what link symbol to use. I store the
string for the link symbol in the prosrc text attribute of the pg_proc
table which is currently unused in rows that reference dynamically
loaded
functions.
Bernie Frankpitt
1999-09-28 04:34:56 +00:00
Bruce Momjian
63a85082e3
Reverse out last scan.l patch for minus handling.\
1999-09-28 03:41:40 +00:00
Bruce Momjian
e7cad7b0cb
Add TRUNCATE command, with psql help and sgml additions.
1999-09-23 17:03:39 +00:00
Bruce Momjian
c1d5e88b41
Make pgindent gnu test better.
1999-09-09 19:39:06 +00:00
Bruce Momjian
0e264fb464
Add c.h to exclusion list.
1999-07-17 15:37:30 +00:00
Bruce Momjian
fbe4ad2154
Add config.h as needed.
1999-07-17 04:00:31 +00:00
Bruce Momjian
9679cb3910
More cleanup
1999-07-16 17:46:32 +00:00
Bruce Momjian
773088809d
More cleanup
1999-07-16 17:07:40 +00:00
Bruce Momjian
2e6b1e63a3
Remove unused #includes in *.c files.
1999-07-15 22:40:16 +00:00
Bruce Momjian
40a89e08b2
Cleanups.
1999-07-15 20:32:30 +00:00
Bruce Momjian
fb38a5d8cf
Remove un-needed #include's from *.c files.
1999-07-15 19:21:43 +00:00
Bruce Momjian
353eb3dadf
Add updates.
1999-07-15 16:55:32 +00:00
Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
1999-07-15 15:21:54 +00:00
Bruce Momjian
5a3fa95c39
Update stuff for 6.5.1 release.
1999-07-10 16:28:02 +00:00
Bruce Momjian
9c56b408c4
Add fix for 0x7fU constants to pgindent
1999-05-26 15:20:04 +00:00
Bruce Momjian
fcff1cdf4e
Another pgindent run. Sorry folks.
1999-05-25 22:43:53 +00:00
Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Tom Lane
c96add9a08
Script for preparing derived files during tarball construction.
1999-03-20 17:53:54 +00:00
Bruce Momjian
d5a785cd5a
Update find_typedefs for bsdi 4.0.
1999-02-10 17:14:32 +00:00
Bruce Momjian
4390b0bfbe
Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.
1999-02-02 03:45:56 +00:00
Bruce Momjian
7a6b562fdf
Apply Win32 patch from Horak Daniel.
1999-01-17 06:20:06 +00:00
Bruce Momjian
2be1eccec7
Fix for version, update to 6.5.
1998-12-25 02:20:12 +00:00
Bruce Momjian
5afe8d3478
Add subversion mention
1998-12-23 14:35:42 +00:00
Bruce Momjian
8849655d24
I agree. I think, though, that the best argument presented in the
...
debate was from Paul Vixie, who wanted INET to be the name covering
both IPV4 and IPV6. The following kit makes the needed changes:
Tom Ivar Helbekkmo
1998-10-08 00:19:47 +00:00
Thomas G. Lockhart
445ce6954f
Information is now in the chapter on syntax in the User's Guide.
1998-10-05 02:55:58 +00:00
Bruce Momjian
2d69fd90b9
Integrate new IP type from Tom Ivar Helbekkmo.
1998-10-03 05:41:01 +00:00
Bruce Momjian
f1ab71ec5f
The attached patches fix the following problems:
...
1. The UnixWare tas macro was reformatted (by indent or it like?) which caused
it to break. The asm macro construct is very particular about the %mem
construct -- it has to start in column 1.
2. When compiling libpq++, g++ was used even if configure found the C++ com-
piler to be CC.
3. When compiling libpq++, '-Wno-error' was added to CXXFLAGS, even if the
compiler wasn't g++.
Billy G. Allie
1998-09-11 16:56:24 +00:00
Bruce Momjian
d9d8169858
Fix for length in libpq from Tom Lane.
1998-09-10 15:18:06 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
690235fcdd
Update INSTALL, etc. for release 6.4. Update pgaccess to 0.88.
1998-08-30 01:40:52 +00:00
Bruce Momjian
c9ac0ceb61
Update of changes
1998-08-30 00:17:42 +00:00
Bruce Momjian
9a88848027
update libpq.rc version.
1998-08-29 04:07:08 +00:00
Bruce Momjian
3e87302201
libpq's pqGetnchar() should not return a null-terminated value
...
anymore. Fix for large objects.
1998-08-29 02:09:27 +00:00
Bruce Momjian
7971539020
heap_fetch requires buffer pointer, must be released; heap_getnext
...
no longer returns buffer pointer, can be gotten from scan;
descriptor; bootstrap can create multi-key indexes;
pg_procname index now is multi-key index; oidint2, oidint4, oidname
are gone (must be removed from regression tests); use System Cache
rather than sequential scan in many places; heap_modifytuple no
longer takes buffer parameter; remove unused buffer parameter in
a few other functions; oid8 is not index-able; remove some use of
single-character variable names; cleanup Buffer variables usage
and scan descriptor looping; cleaned up allocation and freeing of
tuples; 18k lines of diff;
1998-08-19 02:04:17 +00:00
Bruce Momjian
ffb120ecc6
Add new \w write command to psql.
1998-08-10 20:31:42 +00:00
Bruce Momjian
5e490118f8
Update flowchart.
1998-08-10 14:39:45 +00:00
Bruce Momjian
2d13c5f1e2
Update flowchart.
1998-08-10 14:32:46 +00:00
Bruce Momjian
addddea313
Update pgindent.
1998-08-09 17:57:31 +00:00
Bruce Momjian
a08dc16c47
New pgindent.
1998-08-09 04:59:10 +00:00
Bruce Momjian
e46df2ff6e
OPTIMIZER_DEBUG additions.
1998-08-07 05:02:32 +00:00
Bruce Momjian
af5fde7491
Make large objects their own relkind type. Fix dups in pg_class_mb
...
files. Fix sequence creation hack for relkind type.
1998-08-06 05:13:14 +00:00
Bruce Momjian
8962ec4bc4
flowchart update
1998-08-05 19:14:23 +00:00
Bruce Momjian
4f4953152d
flowchart update
1998-08-05 19:01:58 +00:00
Bruce Momjian
c8b42a6151
Update flow chart.
1998-08-04 00:42:14 +00:00
Bruce Momjian
439a2af0bc
Update mark/reset index code for multiple indexes, (OR code).
...
Thanks for Vadim for fixes.
1998-08-03 19:41:35 +00:00
Bruce Momjian
b88e9784b6
Cleanup of OR processing.
1998-08-03 05:49:24 +00:00
Bruce Momjian
e05aa52a55
Update flowchart. Add arrow.
1998-07-26 02:17:55 +00:00
Bruce Momjian
128d827d4b
I'm sorry, but I think I introduced a little bug with my last patch.
...
Everyone using an [NOT] EXISTS subquery will have noticed that
already.
The bug is in "subselect.c" in the function "SS_process_sublinks()".
Here the whole function as it *SHOULD BE*:
Stephan
1998-07-24 04:03:10 +00:00
Bruce Momjian
224a62c5b7
Update.
1998-07-21 04:48:31 +00:00
Bruce Momjian
7f61f8a71f
Update.
1998-07-21 04:19:44 +00:00
Bruce Momjian
a6ca652508
Update version.
1998-07-20 10:01:51 +00:00
Bruce Momjian
3a132e9d83
update
1998-07-17 18:19:31 +00:00
Bruce Momjian
da9db56930
change <CODE> to <I>.
1998-07-09 17:59:49 +00:00
Bruce Momjian
b992bb457d
update
1998-07-09 15:45:00 +00:00
Bruce Momjian
f8a4746208
Patches HPUX applied for Tom Lane.
1998-07-06 20:28:09 +00:00
Bruce Momjian
05f9966183
Update layout
1998-07-03 19:30:40 +00:00
Bruce Momjian
3909e4d23a
Update flow chart
1998-07-03 19:17:22 +00:00
Bruce Momjian
34d595729a
update
1998-06-30 04:35:34 +00:00
Bruce Momjian
2584029e31
Rename locking structure names to be clearer. Add narrative to
...
backend flowchart.
1998-06-30 02:33:34 +00:00
Bruce Momjian
cff7e20467
update
1998-06-28 18:59:26 +00:00
Bruce Momjian
b15e7df8c9
backend update.
1998-06-28 16:35:41 +00:00
Bruce Momjian
8986e609ab
Update flowchart and backend descriptions.
1998-06-28 15:00:28 +00:00
Bruce Momjian
0cba552301
Update backend flowchart.
1998-06-28 06:17:14 +00:00
Bruce Momjian
6e771e8dc2
Add files to be updated for release.
1998-06-16 17:04:31 +00:00
Bruce Momjian
56bdbe1f4c
Add remove extra braces code to pgindent.
1998-06-15 20:45:57 +00:00
Bruce Momjian
9af6bd9962
Move FAQ_DEV to docs directory, where it belongs.
1998-05-22 04:20:53 +00:00
Bruce Momjian
dfb731c273
test
1998-05-01 04:33:58 +00:00
Bruce Momjian
c6e484a453
test
1998-05-01 04:31:02 +00:00
Bruce Momjian
fc1000f9bb
test
1998-05-01 04:28:03 +00:00
Bruce Momjian
745c642597
test
1998-05-01 04:26:52 +00:00
Bruce Momjian
08aa9d304b
test
1998-05-01 04:22:24 +00:00
Bruce Momjian
f97b679c82
test
1998-05-01 04:19:55 +00:00
Bruce Momjian
0540a19f12
test
1998-05-01 04:18:15 +00:00
Bruce Momjian
404c73bff9
test
1998-05-01 04:15:50 +00:00
Bruce Momjian
a20df83df9
test
1998-04-30 14:54:27 +00:00
Bruce Momjian
23c0471007
test
1998-04-29 01:47:40 +00:00
Bruce Momjian
ced3333594
test
1998-04-29 01:29:31 +00:00
Bruce Momjian
fcfd60fe73
test
1998-04-29 01:21:08 +00:00
Bruce Momjian
c1c5b39728
test
1998-04-29 00:56:13 +00:00
Bruce Momjian
e8cfd4376d
test
1998-04-29 00:28:56 +00:00
Bruce Momjian
4ec54e7aee
test
1998-04-29 00:25:42 +00:00
Bruce Momjian
7a6111ee4b
test
1998-04-29 00:24:30 +00:00
Bruce Momjian
ba77aa5249
test
1998-04-29 00:13:10 +00:00
Bruce Momjian
227bbcc603
test
1998-04-29 00:10:35 +00:00
Bruce Momjian
c2cc963d18
test
1998-04-28 21:51:34 +00:00
Bruce Momjian
8a9b784bfa
test
1998-04-28 19:50:22 +00:00
Bruce Momjian
89f534e049
test
1998-04-28 19:24:08 +00:00
Bruce Momjian
62eb0e17dc
test
1998-04-28 19:20:22 +00:00
Bruce Momjian
a987f54955
test
1998-04-28 18:59:46 +00:00
Bruce Momjian
0d203b745d
Re-apply Darren's char2-16 removal code.
1998-04-26 04:12:15 +00:00
Bruce Momjian
27c490bed0
Update gram.c scan.c.
1998-04-14 01:52:47 +00:00
Bruce Momjian
66feaefa98
New book to FAQ.
1998-04-12 14:17:40 +00:00
Bruce Momjian
db21523314
Back out char2-char16 removal. Add later.
1998-04-07 18:14:38 +00:00
Bruce Momjian
57b5966405
The following uuencoded, gzip'd file will ...
...
1. Remove the char2, char4, char8 and char16 types from postgresql
2. Change references of char16 to name in the regression tests.
3. Rename the char16.sql regression test to name.sql. 4. Modify
the regression test scripts and outputs to match up.
Might require new regression.{SYSTEM} files...
Darren King
1998-03-30 17:28:21 +00:00
Bruce Momjian
748fab8d5d
Prevent pgindent from being run on odbc in the future.
1998-03-28 02:24:49 +00:00
Bruce Momjian
f74f2d39d8
update for 6.3.1
1998-03-23 16:14:50 +00:00
Marc G. Fournier
d30ad52918
From: Jeroen van Vianen <jeroenv@design.nl>
...
tools.patch patches tools/find_static (use indices to increase
performance) and tools/ccsym (no hardcoded paths).
1998-03-15 08:33:59 +00:00
Bruce Momjian
d45dfd0d65
Reminder for next time.
1998-03-02 05:52:57 +00:00
Bruce Momjian
d067f83b27
pgindent changes for Thomas proc/lock cleanup
1998-02-25 00:31:23 +00:00
Bruce Momjian
fe521fbe76
Update FAQ's for release.
1998-02-18 15:56:06 +00:00
Bruce Momjian
f57cfa5e4d
Html backend_dir cleanup
1998-01-12 14:41:38 +00:00
Bruce Momjian
6cfa6cb95e
Fix CLUSTER.
1998-01-10 05:19:22 +00:00
Bruce Momjian
1b9ab297f3
Change web page directions.
1998-01-07 03:48:29 +00:00
Bruce Momjian
bbd5c21786
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
1997-12-23 21:38:53 +00:00
Bruce Momjian
2f4ccfe053
Make flowchart file smaller.
1997-11-14 22:00:32 +00:00
Bruce Momjian
4cbc06cff1
Add new psql \da, \do, and \dT options.
1997-11-14 21:38:25 +00:00
Bruce Momjian
fcb47f8884
Remember release.txt change.
1997-10-30 22:37:28 +00:00
Bruce Momjian
97b1bb2281
New backend_dir html source.
1997-10-29 23:48:18 +00:00
Bruce Momjian
ee08c36dd3
New backend dirs html file.
1997-10-27 17:53:38 +00:00
Bruce Momjian
8cae12b13b
Add new html development tools, and flow chart.
1997-10-27 16:59:20 +00:00
Bruce Momjian
8a1a39c390
Update for 6.2.1
1997-10-18 16:59:06 +00:00
Bruce Momjian
a805635d21
Cleanups for 6.2.1.
1997-10-16 04:14:30 +00:00
Bruce Momjian
1d3290e7ff
Fix permits.
1997-09-30 18:40:37 +00:00
Bruce Momjian
a638f6625b
Cleanup tmp files for ccsym.
1997-09-28 16:57:44 +00:00
Bruce Momjian
9cd2680f93
ccsym cleanup.
1997-09-28 04:23:04 +00:00
Bruce Momjian
16440d79bb
Cleanup for find_keywords.
1997-09-27 17:25:48 +00:00
Bruce Momjian
87251d17f8
Cleanup for find_keywords.
1997-09-27 17:22:05 +00:00
Bruce Momjian
65b1ed4712
Add fiel to list keywords.
1997-09-27 16:42:21 +00:00
Marc G. Fournier
802fc5f770
This gets things to compile...past this I'll have to test from home, or
...
someone will have to tell me
1997-09-27 00:05:23 +00:00
Marc G. Fournier
1fdd834672
Nothing in this file right now, but will contain appropriate 'chmod's
...
so that permissions are set for the end release...
1997-09-26 22:06:30 +00:00
Marc G. Fournier
ba0b03de2e
Let's hope this fixes the "bug" that was introduced
1997-09-13 16:27:13 +00:00
Bruce Momjian
d88ff48045
Added pgindent/README file.
1997-09-13 11:55:12 +00:00
Bruce Momjian
c853ca05a4
Update pgpatch for GNU.
1997-09-11 21:29:11 +00:00
Bruce Momjian
c8bc4a4e63
Add new pgindent directory and diff file.
1997-09-11 17:22:35 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
108baf70e5
Developer reorganization.
1997-09-08 04:19:50 +00:00
Bruce Momjian
125079e6d7
Reorganize developers files.
1997-09-08 04:14:01 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
5d68d3e957
New entab version.
1997-09-06 03:14:38 +00:00
Bruce Momjian
b71fba22e3
New entab version.
1997-09-06 02:46:43 +00:00
Bruce Momjian
723f66076e
Update entab version.
1997-09-06 01:46:25 +00:00
Bruce Momjian
2718f3097f
Fix for entab.
1997-09-06 01:37:01 +00:00
Bruce Momjian
0aea0f2063
Cleanup.
1997-08-29 21:20:09 +00:00
Bruce Momjian
fddc57bfcd
Add PGINDENT and support program.
1997-08-29 21:13:00 +00:00
Marc G. Fournier
a69c5fc81a
Add ccsym to tools to determine OS/compiler specific symbols
...
Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what
NetBSD is referred to as...someone?)
1997-04-13 17:09:45 +00:00
Bryan Henderson
d7dd9295b7
End of the make file simplifications.
1996-11-12 11:43:32 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00