and leave off
the C:? The previous default was /bin/sh and that certainly will not
work on Win32.
I think another path to try if COMSPEC is not defined is:
%SystemRoot%/system32/cmd.exe
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 9
://cvs2svn.tigris.org
Do not rename or move around a file because your SCM limits, is insane.
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL
=
createplan.c: In function `create_plan':
createplan.c:1244: warning: 'opclass' may be used uninitialized in this function
=
Regards
Gaetano Mendola
---(end of broadcast
Tom Lane wrote:
Gaetano Mendola [EMAIL PROTECTED] writes:
here a patch that
1) Rise the information about the file missing on pg_clog from
detail to error
This violates the message style guidelines, IMHO.
Tom, your opinion is not humble but is is really appreciated, however
I think
and the offset a transaction belong to ?
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
impact.
Is there a low impact concept that override the feature freeze ?
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 8: explain analyze is your friend
Bruce Momjian wrote:
OK, patch attached and applied. I also updated the docs.
Just a note for the docs:
%USERPROFILE%/.pgpass shall be not %USERPROFILE%\.pgpass ?
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 1: subscribe and unsubscribe
to retrieve the active savepoints, is it really impossible to hack
that part ?
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruce Momjian wrote:
| Gaetano Mendola wrote:
|
|Bruce Momjian wrote:
|
|
|Here is the C version of pg_ctl.c written by Andrew Dunstan and updated
|by me.
|
|You can use it by creating a src/bin/pg_ctl_test directory and putting
|the C and Makefile
Andrew Dunstan wrote:
Gaetano Mendola wrote:
Bruce Momjian wrote:
however below the result of my quich review:
1) exit(1) = exit(EXIT_FAILURE)
If we used a number of different error codes I might agree. But it seems
pointless here, and the style is widely used in our code base (I just
counted
Mendola
*** pg_ctl.c2004-05-26 02:48:38.0 +0200
--- pg_ctl.c.orig 2004-05-26 02:43:32.0 +0200
***
*** 26,33
/* postmaster version ident string */
#define PM_VERSIONSTR postmaster (PostgreSQL) PG_VERSION \n
- #define EXIT_FAILURE 1
-
typedef enum
behavior.
my 2 cents.
Regards
Gaetano Mendola
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAIYxo7UpzwH2SGd4RAnr9AJ4//4AO9VaIQmweneB0BJe8DvKJQgCfSJOF
ejQN8TlGBjvntxoBJgk3uIk=
=HcPJ
-END PGP
Neil Conway wrote:
Gaetano Mendola [EMAIL PROTECTED] writes:
10E6 INSERT = real 0m5.161s
user 0m4.010s
sys0m1.150s
What operation is this benchmarking? Only linked-list appends, or
something else?
Only the head append.
Regards
and mantain the length
function constant time.
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 8: explain analyze is your friend
Bruce Momjian wrote:
Is there a TODO here?
I'm just evaluating the performances
of two version the one proposed by
Neil and the one in a stl::list fashion.
Tom suggested also to see if is the
case to implement the function size()
constant time or not.
Regards
Gaetano Mendola
Gaetano Mendola wrote:
Bruce Momjian wrote:
I think this is the patch I like. It does the auto-detect handling as I
hoped. I will just do the doc updates to mention it.
My only issue is that this is per-connection, while I think you have to
create a global variable that defaults to false
This message was cancelled from within Mozilla.
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])
Tom Lane wrote:
Gaetano Mendola [EMAIL PROTECTED] writes:
[ use list with master node and circular linking ]
now is very late here ( 04:17 AM ) so I wrote
the wrong code ( not checked ) but show the idea of
avoid if.
This saves an if during addition of a list item, at the cost of
greater
Tom Lane wrote:
Gaetano Mendola [EMAIL PROTECTED] writes:
[ use list with master node and circular linking ]
now is very late here ( 04:17 AM ) so I wrote
the wrong code ( not checked ) but show the idea of
avoid if.
This saves an if during addition of a list item, at the cost of
greater
Neil Conway wrote:
Gaetano Mendola [EMAIL PROTECTED] writes:
Why instead of reinvent the whell not use, or at least do a C port of
stl::list ?
Because (a) implementing a linked list is pretty trivial (b) the only
difficult part is getting the semantics / API right. I don't see how
std::list
Gaetano Mendola wrote:
--- README.good 2003-10-21 02:40:19.0 +0200
+++ README 2003-10-21 02:37:43.0 +0200
@@ -1,3 +1,3 @@
-PG_autovacuum README
+pg_autovacuum README
@@ -148,8 +148,8
--- README.good 2003-10-21 02:40:19.0 +0200
+++ README 2003-10-21 02:37:43.0 +0200
@@ -1,3 +1,3 @@
-PG_autovacuum README
+pg_autovacuum README
@@ -148,8 +148,8 @@
vacuum analyze is performed.
-AnalyzeThreshold is equal to:
+deleteThreshold is
tabella
Sinstassi:
DROP TABLE nome [, ...] [ CASCADE | RESTRICT ]
Please see my post ( I choose the wron address) on hackers, there are
some typos on the traslation.
Regards
Gaetano Mendola
---(end of broadcast)---
TIP 8: explain analyze is your friend
Peter Eisentraut wrote:
Gaetano Mendola writes:
one question just to know the right action to take:
After having submitted a patch in order to work on a
new patch shall I open another fresh CVS snapshot or shall
I work on top of my old patch not yet applied ( or refused )?
Since applying
Hi,
one question just to know the right action to take:
After having submitted a patch in order to work on a
new patch shall I open another fresh CVS snapshot or shall
I work on top of my old patch not yet applied ( or refused )?
Regards
Gaetano Mendola
---(end of broadcast
Hi,
I think that I cover know all strdup not checked
on the tree backend.
I'm going to investigate now for malloc unchecked.
Regards
Gaetano Mendola
psql.patch
Description: Binary data
---(end of broadcast)---
TIP 6: Have you searched our list
Mendola Gaetano [EMAIL PROTECTED] wrote:
Hi,
I think that I cover know all strdup not checked
on the tree backend.
Of course I forgot to remove the null pointer check
inside the xstrdup, please use this patch instead.
Regards
Gaetano Mendola
psql.patch
Description: Binary data
Tom Lane [EMAIL PROTECTED] wrote:
Mendola Gaetano [EMAIL PROTECTED] writes:
A test for null string is missing here:
MemoryContextStrdup(MemoryContext context, const char *string)
{
char *nstr;
-
- if ( !string )
- {
- elog(ERROR, MemoryContextStrdup called with a NULL pointer
A test for null string is missing here:
*** pgsql/src/backend/utils/mmgr/mcxt.c 2003-09-02 13:30:05.0 +0200
--- pgsql.old/src/backend/utils/mmgr/mcxt.c 2003-08-04 04:40:08.0
+0200
*** char *
*** 620,632
MemoryContextStrdup(MemoryContext context, const char
29 matches
Mail list logo