Re: [ADMIN] md5 collision generator

2005-11-16 Thread Wim Bertels
On Wed, 2005-11-16 at 14:43 -0600, Bruno Wolff III wrote: > On Wed, Nov 16, 2005 at 14:25:44 +0100, > Wim Bertels <[EMAIL PROTECTED]> wrote: > > LS, > > > > the sourcecode of a md5 collision generator has been released, > > it takes about 45 minutes to generate. > > ..so to an "eve" with this kn

Re: [ADMIN] md5 collision generator

2005-11-16 Thread Joe Conway
Matthew D. Fuller wrote: On Wed, Nov 16, 2005 at 10:29:09AM -0500 I heard the voice of Tom Lane, and lo! it spake thus: The existence of this algorithm is disturbing, since it implies that MD5 is weaker than people thought, It occurs to me that, controlling everything that would be poking int

Re: [ADMIN] md5 collision generator

2005-11-16 Thread Matthew D. Fuller
On Wed, Nov 16, 2005 at 10:29:09AM -0500 I heard the voice of Tom Lane, and lo! it spake thus: > > The existence of this algorithm is disturbing, since it implies that > MD5 is weaker than people thought, It occurs to me that, controlling everything that would be poking into that part of the data

Re: [ADMIN] md5 collision generator

2005-11-16 Thread Bruno Wolff III
On Wed, Nov 16, 2005 at 14:25:44 +0100, Wim Bertels <[EMAIL PROTECTED]> wrote: > LS, > > the sourcecode of a md5 collision generator has been released, > it takes about 45 minutes to generate. > ..so to an "eve" with this knowledge md5 is almost the same as plain text.. > > maybe its not bad to

[ADMIN] Receive a record not a tuple - plpgsql

2005-11-16 Thread Flávio Brito
Dear Friends How can I call a function into a function? My problem is: I'm trying to calculate a tax(inss) over a employer salary. I created a function called inss that do it correctly, but when I create another one to show more attributes (inss is not a attribute, it is calculate over a salar

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Kevin Grittner
Our DBAs reviewed the Microsoft documentation you referenced, modified the registry, and rebooted the OS. We've been beating up on the database without seeing the error so far. We'll keep at it for a while. -Kevin >>> Qingqing Zhou <[EMAIL PROTECTED]> >>> On Wed, 16 Nov 2005, Kevin Grittner

Re: [ADMIN] Reg: Changing Column type

2005-11-16 Thread Bruno Wolff III
On Tue, Nov 15, 2005 at 17:22:16 +0530, sandhya <[EMAIL PROTECTED]> wrote: > Hi, > > When i am tring to change the column type from character/Varchar to "int" i > am getting error like, > > ERROR: column "fname" cannot be cast to type "int4" > > I can able to change the column type to "int "

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Tom Lane
Qingqing Zhou <[EMAIL PROTECTED]> writes: > On Wed, 16 Nov 2005, Kevin Grittner wrote: >> [2005-11-16 11:59:29.015 ] 4904 LOG: >> read failed on relation 1663/16385/1494810: -1 bytes, 1450 > 1450 ERROR_NO_SYSTEM_RESOURCES > Insufficient system resources exist to complete the requested service Hm

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Qingqing Zhou
On Wed, 16 Nov 2005, Kevin Grittner wrote: > Ran with this change. Didn't take long to hit it. > > [2005-11-16 11:59:29.015 ] 4904 LOG: > read failed on relation 1663/16385/1494810: -1 bytes, 1450 > [2005-11-16 11:59:29.015 ] 4904 ERROR: > could not read block 25447 of relation 1663/16385/149

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Kevin Grittner
Ran with this change. Didn't take long to hit it. Let me know if there's anything else I can do. [2005-11-16 11:59:29.015 ] 4904 LOG: read failed on relation 1663/16385/1494810: -1 bytes, 1450 [2005-11-16 11:59:29.015 ] 4904 ERROR: could not read block 25447 of relation 1663/16385/1494810: I

Re: [ADMIN] md5 collision generator

2005-11-16 Thread Wim Bertels
On Wed, 2005-11-16 at 10:29 -0500, Tom Lane wrote: > Wim Bertels <[EMAIL PROTECTED]> writes: > > the sourcecode of a md5 collision generator has been released, > > it takes about 45 minutes to generate. > > ..so to an "eve" with this knowledge md5 is almost the same as plain text.. > > Really? >

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Tom Lane
"Kevin Grittner" <[EMAIL PROTECTED]> writes: > On Linux: > md.c:445: warning: implicit declaration of function `GetLastError' Of course. This is a Windows-only hack. > On Windows: > md.c:445: warning: int format, DWORD arg (arg 6) > md.c:457: warning: int format, DWORD arg (arg 7) I think this

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Kevin Grittner
This code generates warnings on both Linux and Windows. My C is too rusty to feel confident of what to do. On Linux: md.c:445: warning: implicit declaration of function `GetLastError' On Windows: md.c:445: warning: int format, DWORD arg (arg 6) md.c:457: warning: int format, DWORD arg (arg 7)

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Tom Lane
"Kevin Grittner" <[EMAIL PROTECTED]> writes: > Is there anything you would like me to include in my build for my > test runs, or any steps you would like me to take during the tests? You might want to insert some debugging elog's into mdread() in md.c, rather than in its caller smgrread. I'm conc

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Kevin Grittner
Is there anything you would like me to include in my build for my test runs, or any steps you would like me to take during the tests? -Kevin >>> Tom Lane <[EMAIL PROTECTED]> >>> As I said before, we really really need to find out what the Windows-level error code is --- "Invalid argument" isn'

Re: [ADMIN] ERROR: could not read block

2005-11-16 Thread Kevin Grittner
I will patch, build, and run similar updates to try to hit the problem. Hopefully I can have something to post later today. -Kevin >>> Qingqing Zhou <[EMAIL PROTECTED]> >>> On Tue, 15 Nov 2005, Kevin Grittner wrote: > > Is there anything that anyone wants me to do at this point, to try > to p

Re: [ADMIN] md5 collision generator

2005-11-16 Thread Tom Lane
Wim Bertels <[EMAIL PROTECTED]> writes: > the sourcecode of a md5 collision generator has been released, > it takes about 45 minutes to generate. > ..so to an "eve" with this knowledge md5 is almost the same as plain text.. Really? The fact that you can construct pairs of strings with matching md

[ADMIN] md5 collision generator

2005-11-16 Thread Wim Bertels
LS, the sourcecode of a md5 collision generator has been released, it takes about 45 minutes to generate. ..so to an "eve" with this knowledge md5 is almost the same as plain text.. maybe its not bad to include eg. sha2 hashes into the options for passwords kr, Wim Bertels

Fw: [ADMIN] Reg: Changing Column type

2005-11-16 Thread sandhya
> Hi all, > I have PostGreSql -8 .2.0 version only. > > say i have a table(sample) with 2 columns like: > name varchar(20),age int; > > But when i give ALTER TABLE sample ALTER COLUMN age TYPE char; > It is working fine. > > BUT when i try to do the same for converting the "char/text" type data t

[ADMIN] restore challenge

2005-11-16 Thread Yogvinder Singh
hi,     I have the backup of the usr/local/pgsql/data folder     can i use this to manually export all the databases to some other same version installation of postgres?     if possible, how come...     if not possible why ?thnks in advance yogi   Disclaimer :- This e-mail message inclu