MySQL password function - Mailing list pgsql-general

From Roderick A. Anderson
Subject MySQL password function
Date
Msg-id Pine.LNX.4.33.0207101245470.22770-100000@main.cyber-office.net
Whole thread Raw
Responses Re: MySQL password function
Re: MySQL password function
List pgsql-general
Oh my god.  I never thought I'd be asking a MySQL question on this list
but being lazy this week I'll give it a shot.

I'm attempting to convert an application from MySQL to PostgreSQL.  Got
pretty much all done except for a few lines loading some sample data into
the tables.  I didn't even notice this until I got an error message.  Just
cut and pasted the code into psql.

The insert statement has one value of "password('foo')."  Since the app
was designed for MySQL I'm sure I'll run into this later so I need to
figure out the PgSQL way or a workaround.  My guess is this is a function
to encrypt 'foo'.  Is there a similar functionality in Pg?  My look
through Bruce's and the O'Reilly Mammoth books turned up nothing.  Is
there something in contrib that does this?


TIA,
Rod
--
  "Open Source Software - Sometimes you get more than you paid for..."


pgsql-general by date:

Previous
From: Jason Earl
Date:
Subject: Re: XML to Postgres conversion
Next
From: Doug Fields
Date:
Subject: Re: Linux max on shared buffers?