git.postgresql.org Git - postgresql.git/log

git projects / postgresql.git / log
? search:
summary | shortlog | log | commit | commitdiff | tree
first ⋅ prev ⋅ next
postgresql.git
20 years agoI have attached 5 patches (split up for ease of review) to plperl.c.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 17:08:26 +0000 (17:08 +0000)]
I have attached 5 patches (split up for ease of review) to plperl.c.

1. Two minor cleanups:

- We don't need to call hv_exists+hv_fetch; we should just check the
return value of hv_fetch.
- newSVpv("undef",0) is the string "undef", not a real undef.

2. This should fix the bug Andrew Dunstan described in a recent -hackers
post. It replaces three bogus "eval_pv(key, 0)" calls with newSVpv,
and eliminates another redundant hv_exists+hv_fetch pair.

3. plperl_build_tuple_argument builds up a string of Perl code to create
a hash representing the tuple. This patch creates the hash directly.

4. Another minor cleanup: replace a couple of av_store()s with av_push.

5. Analogous to #3 for plperl_trigger_build_args. This patch removes the
static sv_add_tuple_value function, which does much the same as two
other utility functions defined later, and merges the functionality
into plperl_hash_from_tuple.

I have tested the patches to the best of my limited ability, but I would
appreciate it very much if someone else could review and test them too.

(Thanks to Andrew and David Fetter for their help with some testing.)

Abhijit Menon-Sen

20 years agoThis patch clarifies the usage of references in PL/Perl :)
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 16:51:48 +0000 (16:51 +0000)]
This patch clarifies the usage of references in PL/Perl :)

David Fetter

20 years agoHave log_duration only output when log_statement has printed the query.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 16:50:31 +0000 (16:50 +0000)]
Have log_duration only output when log_statement has printed the query.
This handles the new multiple log_statement values.

Ed L.

20 years agoUpdate wording.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 16:27:07 +0000 (16:27 +0000)]
Update wording.

20 years agoUpdate heading of Cygwin FAQ to be Cygwin-specific.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 16:18:35 +0000 (16:18 +0000)]
Update heading of Cygwin FAQ to be Cygwin-specific.

20 years agoNew wording on the three standards.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 16:10:31 +0000 (16:10 +0000)]
New wording on the three standards.

20 years ago> This lets you do something like:
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 05:11:00 +0000 (05:11 +0000)]
> This lets you do something like:
>
> ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc
>
> to produce binaries that do not depend on libgcc_s.so at all.

Oliver Jowett

20 years agoAllow psql booleans to use OFF or off.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 05:02:31 +0000 (05:02 +0000)]
Allow psql booleans to use OFF or off.

Michael Paesold

20 years agoFix pg_ctl -D handling for Win32:
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 04:54:33 +0000 (04:54 +0000)]
Fix pg_ctl -D handling for Win32:

C:\msys1円.0\home\y-asaba>pg_ctl -D data restart
waiting for postmaster to shut down...LOG: received smart shutdown
request.
LOG: shutting down
LOG: database system is shut down
done
postmaster stopped

postmaster starting

C:\msys1円.0\home\y-asaba>postmaster.exe: invalid argument: "'-D'"
Try "postmaster.exe --help" for more information.

Yoshiyuki Asaba

20 years agoAdd full path in error report for version mismatch of binaries.
commit | commitdiff | tree
Bruce Momjian [2004年10月15日 04:32:28 +0000 (04:32 +0000)]
Add full path in error report for version mismatch of binaries.

20 years agopsql code cleanup:
commit | commitdiff | tree
Neil Conway [2004年10月15日 01:36:12 +0000 (01:36 +0000)]
psql code cleanup:

- refactor a bunch of code to call a separate function print_msg() which
checks whether "silent mode" is enabled before printing an error
message.

- rename "silence_mode" to "silent_mode", which IMHO makes more sense

- make the error messages we emit in "waiting" mode more consistent; I
believe this fixes a recent error message regression

20 years agoUpdate mingw faq.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 22:30:30 +0000 (22:30 +0000)]
Update mingw faq.

20 years agoUpdate Win32 fAQ.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 22:24:53 +0000 (22:24 +0000)]
Update Win32 fAQ.

20 years agoAdd:
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 22:17:57 +0000 (22:17 +0000)]
Add:

> * Allow libpq to access SQLSTATE so pg_ctl can test for connection failure
>
> This would be used for checking if the server is up.
>

20 years agoTypo cleanup.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 21:47:15 +0000 (21:47 +0000)]
Typo cleanup.

20 years agoUpdate standards names.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 21:46:18 +0000 (21:46 +0000)]
Update standards names.

20 years agoUpdate 2003 as an official standard.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 21:39:15 +0000 (21:39 +0000)]
Update 2003 as an official standard.

20 years agoAdd 'int' cast for getpid() because some Solaris releases return long
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 20:23:46 +0000 (20:23 +0000)]
Add 'int' cast for getpid() because some Solaris releases return long
for getpid().

20 years agoAdd:
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:26:40 +0000 (19:26 +0000)]
Add:

<
> * Prevent inet cast to cidr if the unmasked bits are not zero, or
> zero bits

20 years agoAdd "draft".
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:15:02 +0000 (19:15 +0000)]
Add "draft".

20 years agoReorder links.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:13:12 +0000 (19:13 +0000)]
Reorder links.

20 years agoMore URL updates.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:10:30 +0000 (19:10 +0000)]
More URL updates.

20 years agoUpdate markup.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:08:39 +0000 (19:08 +0000)]
Update markup.

20 years agoNew urls.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:07:57 +0000 (19:07 +0000)]
New urls.

20 years agoWorking improvement.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:04:19 +0000 (19:04 +0000)]
Working improvement.

20 years agoFix markup.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:02:08 +0000 (19:02 +0000)]
Fix markup.

20 years agoAdd standards URL's.
commit | commitdiff | tree
Bruce Momjian [2004年10月14日 19:00:42 +0000 (19:00 +0000)]
Add standards URL's.

20 years agopg_restore wording improvement, per Peter.
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 14:24:16 +0000 (14:24 +0000)]
pg_restore wording improvement, per Peter.

20 years agoEnable service use by Cygwin of pg_ctl.
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 10:35:05 +0000 (10:35 +0000)]
Enable service use by Cygwin of pg_ctl.

20 years agoAllow compiles for Cygwin /contrib modules.
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 10:20:04 +0000 (10:20 +0000)]
Allow compiles for Cygwin /contrib modules.

Reini Urban

20 years agoEnable static lib builds on Win32 and Cygwin.
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 09:51:47 +0000 (09:51 +0000)]
Enable static lib builds on Win32 and Cygwin.

20 years agoCleanup some unnecessary void * casts when using pfree() in contrib/xml
commit | commitdiff | tree
Neil Conway [2004年10月13日 01:26:42 +0000 (01:26 +0000)]
Cleanup some unnecessary void * casts when using pfree() in contrib/xml
and contrib/xml2

20 years agoMore minor cosmetic improvements:
commit | commitdiff | tree
Neil Conway [2004年10月13日 01:25:13 +0000 (01:25 +0000)]
More minor cosmetic improvements:

- remove another senseless "extern" keyword that was applied to a
function definition
- change a foo more function signatures from "some_type foo()" to
"some_type foo(void)"
- rewrite another K&R style function definition
- make the type of the "action" function pointer in the KeyWord struct
in src/backend/utils/adt/formatting.c more precise

20 years agoUnbreak regression tests (Peter's recent checkin to executor/spi.c did
commit | commitdiff | tree
Neil Conway [2004年10月13日 01:22:31 +0000 (01:22 +0000)]
Unbreak regression tests (Peter's recent checkin to executor/spi.c did
not update some error message text).

20 years agoAdd:
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 01:03:11 +0000 (01:03 +0000)]
Add:

> * Add RESET CONNECTION command to reset all session state
329a331,334
> This would include resetting of all variables (RESET ALL), dropping of
> all temporary tables, removal of any NOTIFYs, etc. This could be used
> for connection pooling. We could also change RESET ALL to have this
> functionality.

20 years agoClarify pg_restore --help wording.
commit | commitdiff | tree
Bruce Momjian [2004年10月13日 00:42:53 +0000 (00:42 +0000)]
Clarify pg_restore --help wording.

20 years agoUpdate Cygwin build to not use DLLINIT, per Cygwin report from Reini
commit | commitdiff | tree
Bruce Momjian [2004年10月12日 22:20:17 +0000 (22:20 +0000)]
Update Cygwin build to not use DLLINIT, per Cygwin report from Reini
Urban

20 years agoMessage style revisions
commit | commitdiff | tree
Peter Eisentraut [2004年10月12日 21:54:45 +0000 (21:54 +0000)]
Message style revisions

20 years agoNew translation
commit | commitdiff | tree
Peter Eisentraut [2004年10月12日 18:10:16 +0000 (18:10 +0000)]
New translation

20 years agoTranslation updates
commit | commitdiff | tree
Peter Eisentraut [2004年10月12日 18:01:20 +0000 (18:01 +0000)]
Translation updates

20 years agoTranslation update
commit | commitdiff | tree
Peter Eisentraut [2004年10月12日 17:57:14 +0000 (17:57 +0000)]
Translation update

20 years agoplpgsql EXIT construct forgot to downcase or quote-strip its identifier
commit | commitdiff | tree
Tom Lane [2004年10月12日 15:44:15 +0000 (15:44 +0000)]
plpgsql EXIT construct forgot to downcase or quote-strip its identifier
argument, leading to label matching failures at run-time. Per report from
Patrick Fiche. Also, fix it so that an unrecognized label argument draws
a more useful error message than 'syntax error'.

20 years agoFix vpath build break, induced by Bruce's recent commit.
commit | commitdiff | tree
Neil Conway [2004年10月12日 04:48:36 +0000 (04:48 +0000)]
Fix vpath build break, induced by Bruce's recent commit.

20 years agoFix a copy-and-paste error: give a distinct memory context a distinct
commit | commitdiff | tree
Neil Conway [2004年10月12日 01:50:04 +0000 (01:50 +0000)]
Fix a copy-and-paste error: give a distinct memory context a distinct
name, mainly for debugging purposes.

20 years agoUpdate reference to pgsql-server.
commit | commitdiff | tree
Tom Lane [2004年10月12日 01:49:48 +0000 (01:49 +0000)]
Update reference to pgsql-server.

20 years agoAdd some pg_config_path.h dependencies for places that include
commit | commitdiff | tree
Bruce Momjian [2004年10月12日 01:04:11 +0000 (01:04 +0000)]
Add some pg_config_path.h dependencies for places that include
pg_config_paths.h outside of /src/port.

21 years agoUse -fPIC not -fpic for BSDen on Sparc. Also switch from
commit | commitdiff | tree
Tom Lane [2004年10月11日 23:27:23 +0000 (23:27 +0000)]
Use -fPIC not -fpic for BSDen on Sparc. Also switch from
$(LD) -x -Bshareable to $(CC) -shared on OpenBSD (I suspect this
should be carried over to the other two as well, but will refrain
pending suggestions from people who actually use those platforms).
Per Stefan Kaltenbrunner.

21 years agoFix OR-index-scan planner to recognize that a partial index is usable
commit | commitdiff | tree
Tom Lane [2004年10月11日 22:57:00 +0000 (22:57 +0000)]
Fix OR-index-scan planner to recognize that a partial index is usable
for scanning one term of an OR clause if the index's predicate is implied
by that same OR clause term (possibly in conjunction with top-level WHERE
clauses). Per recent example from Dawid Kuroczko,
http://archives.postgresql.org/pgsql-performance/2004-10/msg00095.php
Also, fix a very long-standing bug in index predicate testing, namely the
bizarre ordering of decomposition of predicate and restriction clauses.
AFAICS the correct way is to break down the predicate all the way, and
then for each component term see if you can prove it from the entire
restriction set. The original coding had a purely-implementation-artifact
distinction between ANDing at the top level and ANDing below that, and
proceeded to get the decomposition order wrong everywhere below the top
level, with the result that even slightly complicated AND/OR predicates
could not be proven. For instance, given
create index foop on foo(f2) where f1=42 or f1=1
or (f1 = 11 and f2 = 55);
the old code would fail to match this index to the query
select * from foo where f1 = 11 and f2 = 55;
when it obviously ought to match.

21 years agoUse native Cygwin symlinks so tablespaces work on Win95/98/ME which
commit | commitdiff | tree
Bruce Momjian [2004年10月11日 22:50:48 +0000 (22:50 +0000)]
Use native Cygwin symlinks so tablespaces work on Win95/98/ME which
don't support junction points. Doesn't affect native Win32.

21 years agoAnother try at making plpython autoconfiguration work correctly. Use a
commit | commitdiff | tree
Tom Lane [2004年10月11日 19:32:19 +0000 (19:32 +0000)]
Another try at making plpython autoconfiguration work correctly. Use a
-L spec rather than assuming libpython is in the standard search path
(this returns to the way 7.4 did it). But check the distutils output
to see if it looks like Python has built a shared library, and if so
link with that instead of the probably-not-shared library found in
configdir.

21 years agoFix pg_indexes view so that it shows the index's tablespace not the
commit | commitdiff | tree
Tom Lane [2004年10月11日 17:24:41 +0000 (17:24 +0000)]
Fix pg_indexes view so that it shows the index's tablespace not the
parent table's tablespace, as per gripe from Michael Kleiser. Choose
a more plausible column order for this view and pg_tables. Update
documentation of these views, which was missed in original patch.

21 years agoFix typo in comment.
commit | commitdiff | tree
Neil Conway [2004年10月11日 02:02:41 +0000 (02:02 +0000)]
Fix typo in comment.

21 years agoCosmetic improvements/code cleanup:
commit | commitdiff | tree
Neil Conway [2004年10月10日 23:37:45 +0000 (23:37 +0000)]
Cosmetic improvements/code cleanup:

- replace some function signatures of the form "some_type foo()" with
"some_type foo(void)"
- replace a few instances of a literal 0 being used as a NULL pointer;
there are more instances of this in the code, but I just fixed a few
- in src/backend/utils/mb/wstrncmp.c, replace K&R style function
declarations with ANSI style, remove use of 'register' keyword
- remove an "extern" modifier that was applied to a function definition
(rather than a declaration)

21 years agoUn-break plpython build for non-Windows platforms.
commit | commitdiff | tree
Tom Lane [2004年10月10日 19:07:55 +0000 (19:07 +0000)]
Un-break plpython build for non-Windows platforms.

21 years agoRemove gratuitous editorialization on rpath.
commit | commitdiff | tree
Tom Lane [2004年10月10日 16:13:03 +0000 (16:13 +0000)]
Remove gratuitous editorialization on rpath.

21 years agoAdjust configuration-files GUC behavior as per my recent proposal.
commit | commitdiff | tree
Tom Lane [Sat, 9 Oct 2004 23:13:22 +0000 (23:13 +0000)]
Adjust configuration-files GUC behavior as per my recent proposal.
The vars are renamed to data_directory, config_file, hba_file, and
ident_file, and are guaranteed to be set to accurate absolute paths
during postmaster startup.
This commit does not yet do anything about hiding path values from
non-superusers.

21 years agoTranslation improvement
commit | commitdiff | tree
Peter Eisentraut [Sat, 9 Oct 2004 17:41:17 +0000 (17:41 +0000)]
Translation improvement

21 years agoAdd win32 version information for pg_config Makefile.
commit | commitdiff | tree
Bruce Momjian [Sat, 9 Oct 2004 03:57:39 +0000 (03:57 +0000)]
Add win32 version information for pg_config Makefile.

21 years agoMake getpid() use %d consistently for printing.
commit | commitdiff | tree
Bruce Momjian [Sat, 9 Oct 2004 02:46:42 +0000 (02:46 +0000)]
Make getpid() use %d consistently for printing.

21 years agoAdd:
commit | commitdiff | tree
Bruce Momjian [Sat, 9 Oct 2004 01:29:01 +0000 (01:29 +0000)]
Add:

>
811a813,814
> o Re-enable timezone output on log_line_prefix '%t' when a
> shorter timezone string is available

21 years agoSuppress timezone output on log_line_prefix %t on Win32, because it is
commit | commitdiff | tree
Bruce Momjian [Sat, 9 Oct 2004 01:24:47 +0000 (01:24 +0000)]
Suppress timezone output on log_line_prefix %t on Win32, because it is
too long.

21 years agoAdd newline.
commit | commitdiff | tree
Bruce Momjian [Sat, 9 Oct 2004 00:33:28 +0000 (00:33 +0000)]
Add newline.

21 years agoAdd MinGW FAQ.
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 16:52:38 +0000 (16:52 +0000)]
Add MinGW FAQ.

21 years agoMove Win32 TODO items to main TODO list:
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 16:28:32 +0000 (16:28 +0000)]
Move Win32 TODO items to main TODO list:
<
> * Win32
> o Remove per-backend parameter file and move into shared memory?
> o Remove configure.in check for link failure when cause is found
> o Remove readdir() errno patch when runtime/mingwex/dirent.c rev
> 1.4 is released
> o Remove psql newline patch when we find out why mingw outputs an
> extra newline
> o Allow psql to use readline once non-US code pages work with
> backslashes

21 years agoRename FAQ_MSWIN to FAQ_CYGWIN.
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 15:58:21 +0000 (15:58 +0000)]
Rename FAQ_MSWIN to FAQ_CYGWIN.

21 years agoInclude schema name in pg_restore -l output, per request from Phil Endecott.
commit | commitdiff | tree
Tom Lane [Fri, 8 Oct 2004 15:03:26 +0000 (15:03 +0000)]
Include schema name in pg_restore -l output, per request from Phil Endecott.

21 years agoAnother minor tweak to psql startup: set the default values for the PROMPT1,
commit | commitdiff | tree
Neil Conway [Fri, 8 Oct 2004 11:24:19 +0000 (11:24 +0000)]
Another minor tweak to psql startup: set the default values for the PROMPT1,
PROMPT2 and PROMPT3 variables before we read any of the settings specified
via the user on the command-line or in psqlrc, so that the latter can
override the former. Per original patch from Ingo van Lil, simpler fix
suggested by Tom Lane.

21 years agoTweak HPUX shared-library build flags, per Shinji Teragaito.
commit | commitdiff | tree
Tom Lane [Fri, 8 Oct 2004 04:22:59 +0000 (04:22 +0000)]
Tweak HPUX shared-library build flags, per Shinji Teragaito.

21 years agoUpdate CIDR regresion tests to test for network masks inside the last
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 01:45:37 +0000 (01:45 +0000)]
Update CIDR regresion tests to test for network masks inside the last
byte being tested, to catch any future breakage.

21 years agoWhack some sense into the configuration-file-location patch.
commit | commitdiff | tree
Tom Lane [Fri, 8 Oct 2004 01:36:36 +0000 (01:36 +0000)]
Whack some sense into the configuration-file-location patch.
Refactor code into something reasonably understandable, cause
use of the feature to not fail in standalone backends or in
EXEC_BACKEND case, fix sloppy guc.c table entries, make the
documentation minimally usable.

21 years agoDo proper testing of CIDR bits against network mask, e.g. don't allow:
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 01:10:31 +0000 (01:10 +0000)]
Do proper testing of CIDR bits against network mask, e.g. don't allow:

test=# select '204.248.199.1/31'::cidr;

Previous releases erroneously accepted such addresses.

WARN IN RELEASE NOTES

Kevin Brintnall

21 years agoPull comment down into its own paragraph.
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 00:44:07 +0000 (00:44 +0000)]
Pull comment down into its own paragraph.

21 years agoAdd:
commit | commitdiff | tree
Bruce Momjian [Fri, 8 Oct 2004 00:36:23 +0000 (00:36 +0000)]
Add:

* Consider parallel processing a single query

This would involve using multiple threads or processes to do optimization,
sorting, or execution of single query. The major advantage of such a
feature would be to allow multiple CPUs to work together to process a
single query.

21 years agoRemove benchmark comment.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 22:51:13 +0000 (22:51 +0000)]
Remove benchmark comment.

21 years agoChange get_rule_expr so that when the input is a List, it displays the
commit | commitdiff | tree
Tom Lane [Thu, 7 Oct 2004 20:36:52 +0000 (20:36 +0000)]
Change get_rule_expr so that when the input is a List, it displays the
list elements comma-separated instead of barfing. This allows elimination
of half a dozen redundant copies of that behavior, and also makes the
world safe again for pg_get_expr() applied to pg_index.indexprs, per gripe
from Alexander Zhiltsov.

21 years agoRemove mention of -Q option for bench.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 19:37:16 +0000 (19:37 +0000)]
Remove mention of -Q option for bench.

21 years agoMove -DPLPERL_HAVE_UID_GID to the plperl Makefile, for Win32 only.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 19:01:09 +0000 (19:01 +0000)]
Move -DPLPERL_HAVE_UID_GID to the plperl Makefile, for Win32 only.

21 years agoAdd missing null terminator to escaped string; clean up unnecessarily
commit | commitdiff | tree
Tom Lane [Thu, 7 Oct 2004 18:57:26 +0000 (18:57 +0000)]
Add missing null terminator to escaped string; clean up unnecessarily
obscurantist coding conventions.

21 years agoAdd PLperl workaround for Win32 to the *.xs file.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 18:57:18 +0000 (18:57 +0000)]
Add PLperl workaround for Win32 to the *.xs file.

21 years agoFix problems with SQL functions returning rowtypes that have dropped
commit | commitdiff | tree
Tom Lane [Thu, 7 Oct 2004 18:38:51 +0000 (18:38 +0000)]
Fix problems with SQL functions returning rowtypes that have dropped
columns. The returned tuple needs to have appropriate NULL columns
inserted so that it actually matches the declared rowtype. It seemed
convenient to use a JunkFilter for this, so I made some cleanups and
simplifications in the JunkFilter code to allow it to support this
additional functionality. (That in turn exposed a latent bug in
nodeAppend.c, which is that it was returning a tuple slot whose
descriptor didn't match its data.) Also, move check_sql_fn_retval
out of pg_proc.c and into functions.c, where it seems to more naturally
belong.

21 years agoAdd one more byte to malloc for null storage.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 17:29:12 +0000 (17:29 +0000)]
Add one more byte to malloc for null storage.

21 years agoRemove unneeded dash.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 17:04:54 +0000 (17:04 +0000)]
Remove unneeded dash.

21 years agoUpdate comment to fix nibble mention:
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 17:03:50 +0000 (17:03 +0000)]
Update comment to fix nibble mention:

* We are not sure how much precision is in tv_usec, so we
* swap the high and low 16 bits of 'later' and XOR them with
* 'earlier'. On the off chance that the result is 0, we
* loop until it isn't.

Greg Stark

21 years agoEscape single quotes and backslashes used in locales placed in
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 16:53:25 +0000 (16:53 +0000)]
Escape single quotes and backslashes used in locales placed in
postgresql.conf.

Zhong Xubin

21 years agoPrevent install error message when doing cmp on empty tree.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 16:23:28 +0000 (16:23 +0000)]
Prevent install error message when doing cmp on empty tree.

21 years agoAdjust comments previously moved to column 1 by pgident.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 15:21:58 +0000 (15:21 +0000)]
Adjust comments previously moved to column 1 by pgident.

21 years agoBack out unindented modification to file.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 14:19:58 +0000 (14:19 +0000)]
Back out unindented modification to file.

21 years agoIndent comment pushed to new line by else so it is indented by BSD
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 14:15:50 +0000 (14:15 +0000)]
Indent comment pushed to new line by else so it is indented by BSD
indent.

21 years agoAdd as binary mode
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 13:59:45 +0000 (13:59 +0000)]
Add as binary mode

21 years agore-add as binary
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 13:59:20 +0000 (13:59 +0000)]
re-add as binary

21 years agoImprove pgindent processing of comment after 'else'.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 13:45:51 +0000 (13:45 +0000)]
Improve pgindent processing of comment after 'else'.
Improve comment of pg_dump Win32 link workaround.

21 years agoImprove comment after 'else' handling of pgindent.
commit | commitdiff | tree
Bruce Momjian [Thu, 7 Oct 2004 02:32:06 +0000 (02:32 +0000)]
Improve comment after 'else' handling of pgindent.

21 years agoAllow the spinlock test to be compiled successfully in a vpath build.
commit | commitdiff | tree
Neil Conway [Thu, 7 Oct 2004 00:08:04 +0000 (00:08 +0000)]
Allow the spinlock test to be compiled successfully in a vpath build.

21 years agoXOR process PID into a backend's initial random seed, to ensure that
commit | commitdiff | tree
Tom Lane [Thu, 7 Oct 2004 00:03:15 +0000 (00:03 +0000)]
XOR process PID into a backend's initial random seed, to ensure that
different backends get a reasonably wide set of initial seeds even if
gettimeofday returns tv_usec values with only a few bits of precision.
Per recent discussion.

21 years agoDocument what the "rep; nop" x86 assembler sequence is actually equivalent
commit | commitdiff | tree
Neil Conway [Wed, 6 Oct 2004 23:41:59 +0000 (23:41 +0000)]
Document what the "rep; nop" x86 assembler sequence is actually equivalent
to, and what it is intended to do.

21 years agoCapitalize some SQL keywords the previous commit missed, for consistency.
commit | commitdiff | tree
Neil Conway [Wed, 6 Oct 2004 23:31:45 +0000 (23:31 +0000)]
Capitalize some SQL keywords the previous commit missed, for consistency.

21 years agoSay "history is not supported" and remove "on this platform" for lack of
commit | commitdiff | tree
Bruce Momjian [Wed, 6 Oct 2004 19:04:10 +0000 (19:04 +0000)]
Say "history is not supported" and remove "on this platform" for lack of
readline.

21 years agoSuppress psql \s help display for platforms like Win32 that don't
commit | commitdiff | tree
Bruce Momjian [Wed, 6 Oct 2004 18:39:16 +0000 (18:39 +0000)]
Suppress psql \s help display for platforms like Win32 that don't
typically install witn readline, and throw an error if they try to
access it.

21 years agoAdd mention of win32ver.rc for update for minor release.
commit | commitdiff | tree
Bruce Momjian [Wed, 6 Oct 2004 18:15:24 +0000 (18:15 +0000)]
Add mention of win32ver.rc for update for minor release.

21 years agoFix improper defines for uid_t and gid_t. Had them backwards.
commit | commitdiff | tree
Bruce Momjian [Wed, 6 Oct 2004 17:47:53 +0000 (17:47 +0000)]
Fix improper defines for uid_t and gid_t. Had them backwards.

next
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /