Hi.
In pgstatindex.c and pgstattuple.sql, some variables are defined with
int type. So when we try to get informations about a large index by using
pgstatindex, we get strange value of size and density.
Because the values exceed int-max.
# Like following output. I used pgstatindex just after data
The attached patch fixes problems reported primarily on Vista, but
also on some Windows 2003 and XP installations in which initdb reports
that it cannot find postgres.exe.
This occurs because of security-related changes implemented in Windows
Vista and recent patches on older OS's. When running
I attach fix for --help output. I replaced --NAME... with -NAME and add some
example. getopt parse -- as a end of options and rest of line is not parsed.
This should be backported for 8.3 and 8.2 as well. PG8.1 does not have this options.
Thanks Zdenek
Index:
Function printMixedStruct calls printf with NULL argument. It causes
segmentation fault. Please, apply it for 8.3 - 8.1 too.
thanks Zdenek
Index: src/backend/utils/misc/help_config.c
===
RCS file:
Tatsuhito Kasahara [EMAIL PROTECTED] writes:
In pgstatindex.c and pgstattuple.sql, some variables are defined with
int type. So when we try to get informations about a large index by using
pgstatindex, we get strange value of size and density.
Because the values exceed int-max.
...
I think
Zdenek Kotala [EMAIL PROTECTED] writes:
I attach fix for --help output. I replaced --NAME... with -NAME and add some
example. getopt parse -- as a end of options and rest of line is not parsed.
Surely this is outright wrong. Or if you do have a getopt that acts
that way, the bug is that we
Zdenek Kotala [EMAIL PROTECTED] writes:
Function printMixedStruct calls printf with NULL argument. It causes
segmentation fault. Please, apply it for 8.3 - 8.1 too.
Ugh, I guess we've only tested --describe-config on platforms where
%s treats a NULL pointer the same as an empty string.
Since
Zdenek Kotala wrote:
I attach fix for --help output. I replaced --NAME... with -NAME
But that is wrong.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---(end of broadcast)---
TIP 5: don't forget to increase your free space map
Tom Lane napsal(a):
Zdenek Kotala [EMAIL PROTECTED] writes:
I attach fix for --help output. I replaced --NAME... with -NAME and add some
example. getopt parse -- as a end of options and rest of line is not parsed.
Surely this is outright wrong. Or if you do have a getopt that acts
that way,
Alvaro Herrera napsal(a):
Zdenek Kotala wrote:
It maybe work on linux but I think it is not portable solution.
What we should do is avoid using Solaris' getopt_long and instead use
the copy we have in src/port/.
If I looked correctly there is no getopt_long. There is only getopt with
-
Zdenek Kotala wrote:
Tom Lane napsal(a):
Zdenek Kotala [EMAIL PROTECTED] writes:
I attach fix for --help output. I replaced --NAME... with -NAME and
add some example. getopt parse -- as a end of options and rest of
line is not parsed.
Surely this is outright wrong. Or if you do have a
Zdenek Kotala wrote:
It maybe work on linux but I think it is not portable solution.
What we should do is avoid using Solaris' getopt_long and instead use
the copy we have in src/port/.
--
Alvaro Herrerahttp://www.CommandPrompt.com/
The PostgreSQL Company -
Andrew Dunstan napsal(a):
Zdenek Kotala wrote:
Tom Lane napsal(a):
Zdenek Kotala [EMAIL PROTECTED] writes:
I attach fix for --help output. I replaced --NAME... with -NAME and
add some example. getopt parse -- as a end of options and rest of
line is not parsed.
Surely this is outright
Zdenek Kotala wrote:
If I looked correctly there is no getopt_long. There is only getopt with
- as a option. See PostmasterMain:
while ((opt = getopt(argc, argv,
A:B:c:D:d:EeFf:h:ijk:lN:nOo:Pp:r:S:sTt:W:-:)) != -1)
If I understand correctly the POSIX standard - should not used in a
On Thu, Feb 21, 2008 at 6:44 AM, [EMAIL PROTECTED] wrote:
Hi.
That's the last release and refers to 8.3.0 and not to 8.2.5 as before. Hope
you can tell me if I created it correctly please.
no, it doesn't...
! /* GUC variables */
#ifdef TRACE_SORT
booltrace_sort =
Zdenek Kotala wrote:
However, I get following error on Solaris:
bash-3.2$ /usr/postgres/8.2/bin/postgres -D /tmp/db --share_buffers=16000
/usr/postgres/8.2/bin/postgres: illegal option -- share_buffers=16000
Try postgres --help for more information.
but following command works fine:
Peter Eisentraut napsal(a):
Zdenek Kotala wrote:
However, I get following error on Solaris:
bash-3.2$ /usr/postgres/8.2/bin/postgres -D /tmp/db --share_buffers=16000
/usr/postgres/8.2/bin/postgres: illegal option -- share_buffers=16000
Try postgres --help for more information.
but following
17 matches
Mail list logo