Andrew Dunstan
9ac749ceb5
Don't include postgres.h in postgres_fe.h for cpluspluscheck.
...
Error exposed by recent Assert changes.
Complaint from Peter Eisentraut.
2012-12-18 16:30:14 -05:00
Magnus Hagander
c1f856a17f
Properly copy fmgroids.h after clean on Win32
...
Craig Ringer
2012-12-16 14:56:51 +01:00
Bruce Momjian
3bdfd9cb9e
Adjust find_status for newer Linux 'nm' output format.
2012-11-13 21:08:07 -05:00
Andrew Dunstan
e583ffe947
Unbreak MSVC builds after recent Makefile refactoring.
...
Based on a suggestion by Peter Eisentraut.
2012-10-11 12:36:42 -04:00
Tom Lane
95d035e66d
Autoconfiscate selection of 64-bit int type for 64-bit large object API.
...
Get rid of the fundamentally indefensible assumption that "long long int"
exists and is exactly 64 bits wide on every platform Postgres runs on.
Instead let the configure script select the type to use for "pg_int64".
This is a bit of a pain in the rear since we do not want to pollute client
namespace with all the random symbols that pg_config.h defines; instead
we have to create a separate generated header file, "pg_config_ext.h".
But now that the infrastructure is there, we might have the ability to
add some other stuff that's long been wanting in this area.
2012-10-07 21:52:43 -04:00
Peter Eisentraut
05346c131a
PL/pgSQL: rename gram.y to pl_gram.y
...
This makes the naming inside plpgsql consistent and distinguishes the
file from the backend's gram.y file. It will also allow easier
refactoring of the bison make rules later on.
2012-10-04 22:40:33 -04:00
Andrew Dunstan
06623df63b
Allow a few seconds for Windows to catch up with a directory rename when checking pg_upgrade.
2012-10-02 10:40:57 -04:00
Tom Lane
55c1687a97
Run check_keywords.pl anytime gram.c is rebuilt.
...
This script is a bit slow, but still it only takes a fraction of the time
the bison run does, so the overhead doesn't seem intolerable. And we
definitely need some mechanical aid here, because people keep missing
the need to add new keywords to the appropriate keyword-list production.
While at it, I moved check_keywords.pl from src/tools into
src/backend/parser where it's actually used, and did some very minor
cleanup on the script.
2012-09-26 23:12:39 -04:00
Alvaro Herrera
ea7d504998
RELEASE_NOTES: Fix typo
...
Jan Urbański
2012-09-23 16:28:44 -03:00
Peter Eisentraut
8a32819a80
Update translation updates instructions
2012-09-22 22:14:38 -04:00
Andrew Dunstan
a1d021e5d2
Add vcregress.pl target for checking pg_upgrade.
...
This follows recent addition of Windows/Mingw testing.
Backpatch to Release 9.2 so we can get some buildfarm testing
going.
2012-09-10 12:47:50 -04:00
Bruce Momjian
63f1ccd838
Remove src/tool/backend, now that the content is on the web site and wiki.
2012-09-04 12:38:33 -04:00
Andrew Dunstan
ef58b87df2
Restore setting of _USE_32BIT_TIME_T to 32 bit MSVC builds.
...
This was removed in commit cd00406774 ,
we're not quite sure why, but there have been reports of crashes due
to AS Perl being built with it when we are not, and it certainly
seems like the right thing to do. There is still some uncertainty
as to why it sometimes fails and sometimes doesn't.
Original patch from Owais Khani, substantially reworked and
extended by Andrew Dunstan.
2012-08-31 20:38:37 -04:00
Bruce Momjian
5fcb58baca
Add Perl emacs formatting macros to src/tools/editors/emacs.samples.
...
Peter Eisentraut
2012-08-30 21:40:31 -04:00
Bruce Momjian
e40bddb0f3
Have pgindent requre pg_bsd_indent version 1.2 now that a new version
...
has been created by adding #include <stdlib.h> to parse.c.
per request from Kevin Grittner.
2012-08-27 09:31:56 -04:00
Bruce Momjian
86d0d16f8a
Add URL for include file visualization tool.
2012-08-16 18:52:08 -04:00
Bruce Momjian
c04b9c1f3d
Add possible alternate tool for pgrminclude, from Peter Geoghegan
2012-08-16 11:56:00 -04:00
Bruce Momjian
914b1301cc
Adjust pgtest coding to be less complex.
2012-08-10 16:46:02 -04:00
Bruce Momjian
99ed473acb
Fix pgtest to return proper error code based on 'make' return code.
2012-08-10 14:10:59 -04:00
Tom Lane
5078be4804
Tweak new Perl pgindent for compatibility with middle-aged Perls.
...
We seem to have a rough policy that our Perl scripts should work with
Perl 5.8, so make this one do so. Main change is to not use the newfangled
\h character class in regexes; "[ \t]" is a serviceable replacement.
2012-08-07 17:52:53 -04:00
Bruce Momjian
149ac7d455
Replace pgindent shell script with Perl script. Update perltidy
...
instructions to perltidy Perl files that lack Perl file extensions.
pgindent Perl coding by Andrew Dunstan, restructured by me.
2012-08-04 12:41:21 -04:00
Bruce Momjian
76720bdf1a
Remove 'x =- 1' check for pgindent, not needed, per report from Andrew
...
Dunstan.
2012-07-12 14:37:47 -04:00
Bruce Momjian
d17c0135cd
Have copyright.pl skip updating something that is just the current year,
...
to avoid producing dups, e.g. 2012-2012
Backpatch to 9.2.
2012-07-06 12:21:43 -04:00
Bruce Momjian
95203e0833
Modify copyright.pl so all lines are processed, not just the first
...
match, so files that contain embedded copyrights are updated, e.g.
pgsql/help.c.
Backpatch to 9.2.
2012-07-06 11:58:55 -04:00
Bruce Momjian
5198ae8992
Fix copyright.pl to properly skip the .git directory by adding a
...
basename() qualification.
2012-07-06 11:43:59 -04:00
Bruce Momjian
b9eb808bf2
Fix spacing in copyright.pl after being run with missing regex slash
...
(now added).
Backpatch to 9.2.
2012-07-06 10:57:08 -04:00
Bruce Momjian
539d38757a
Fix missing regex slash that caused perltidy to get confused on
...
copyright.pl.
Backpatch to 9.2.
2012-07-04 21:58:48 -04:00
Bruce Momjian
042d9ffc28
Run newly-configured perltidy script on Perl files.
...
Run on HEAD and 9.2.
2012-07-04 21:47:49 -04:00
Bruce Momjian
b33385b89d
Have copyright tool mention that certain files should be updated in back branches.
2012-07-03 12:02:17 -04:00
Bruce Momjian
47463a8098
Remove 'for' loop perltidy argument, and move args to perltidyrc file.
...
Backpatch to 9.2.
Per suggestion from Noah Misch
2012-06-16 10:12:50 -04:00
Bruce Momjian
0acd978259
In pgindent, suppress reading the perltidy RC file using --noprofile.
2012-06-15 22:50:02 -04:00
Bruce Momjian
d6e0207437
Update pgindent Perl indentation instructions based on feedback from
...
Àlvaro and Noah Misch.
Backpatch to 9.2.
2012-06-15 22:43:23 -04:00
Tom Lane
80491a1983
Add 9.2 branch to git_changelog's list.
2012-06-13 22:23:31 -04:00
Tom Lane
f32609db72
Flesh out RELEASE_CHANGES instructions for branching in git.
...
We have this info in the wiki, but it should be here too.
2012-06-13 22:11:06 -04:00
Tom Lane
357c549334
Stamp library minor versions for 9.3.
...
This includes fixing the MSVC copy of ecpg/preproc's version info, which
seems to have been overlooked repeatedly. Can't we fix that so there are
not two copies??
2012-06-13 22:06:26 -04:00
Tom Lane
bed88fceac
Stamp HEAD as 9.3devel.
...
Let the hacking begin ...
2012-06-13 20:03:02 -04:00
Bruce Momjian
927d61eeff
Run pgindent on 9.2 source tree in preparation for first 9.3
...
commit-fest.
2012-06-10 15:20:04 -04:00
Bruce Momjian
60801944fa
Update pgindent install instructions and update typedef list.
2012-06-10 15:15:31 -04:00
Peter Eisentraut
c8e086795a
Remove whitespace from end of lines
...
pgindent and perltidy should clean up the rest.
2012-05-15 22:19:41 +03:00
Bruce Momjian
ebcaa5fcde
Remove BSD/OS (BSDi) port. There are no known users upgrading to
...
Postgres 9.2, and perhaps no existing users either.
2012-05-03 10:58:44 -04:00
Bruce Momjian
7490c48f1e
Mark git_changelog examples with the proper executable names.
2012-05-02 20:42:44 -04:00
Bruce Momjian
f33fe47a91
Add comments suggesting usage of git_changelog to generate release notes.
2012-04-30 11:05:34 -04:00
Bruce Momjian
993ce4e6c9
Add options to git_changelog for use in major release note creation:
...
--details-after
--master-only
--oldest-first
2012-04-27 17:15:41 -04:00
Peter Eisentraut
8bd44677df
entab: Improve makefile
...
A few simplifications and stylistic improvements, found while grepping
around for makefile problems elsewhere.
2012-04-24 21:20:55 +03:00
Robert Haas
5d4b60f2f2
Lots of doc corrections.
...
Josh Kupershmidt
2012-04-23 22:43:09 -04:00
Heikki Linnakangas
49440fff08
Install plpgsql.h to to include/server at "make install".
...
The header file is needed by any module that wants to use the PL/pgSQL
instrumentation plugin interface. Most notably, the pldebugger plugin needs
this. With this patch, it can be built using pgxs, without having the full
server source tree available.
2012-04-16 13:03:16 +03:00
Andrew Dunstan
d2c1740dc2
Remove now redundant pgpipe code.
2012-03-28 23:24:07 -04:00
Robert Haas
7f63527c82
Attempt to unbreak pg_test_timing on Windows.
...
Per buildfarm, and Álvaro Herrera.
2012-03-28 12:22:57 -04:00
Peter Eisentraut
621eb156f1
Add installing entab to pgindent instructions
...
And minor other pgindent documentation tweaks.
2012-03-21 23:33:10 +02:00
Tom Lane
8cae5810eb
Fix MSVC builds for previous patch's addition of a src/port file.
...
(And why in the world is this OBJS list not being scraped from the
corresponding Makefile?)
2012-02-29 00:24:01 -05:00