pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francisco André Barbosa Neto <fneto@netaruja.com.br>
To: pgsql-sql@postgresql.org
Subject: crypt function
Date: Wed, 6 Sep 2000 16:39:31 -0300
Message-ID: <001501c0183a$2d722900$23d1d4c8@netaruja.com.br> (raw)



            Hi, my name is Andrew and I'm new to PostgreSQL.
            Nowadays I'm using PostgreSQL version 7.02, and I have a table like this:

name varchar(8)
password varchar(16)

            How can I put the password into the table in a encrypted form, i try to do it:

INSERT INTO TABLE users VALUES ('test',crypt('passtest'));

            But postgre returns an error telling that function crypt didn't exist!!

            How can I fix this problem??

            Thank you by your attention!!!

view thread (2+ messages)  latest in thread

Message-ID: <001501c0183a$2d722900$23d1d4c8@netaruja.com.br>
Permalink:  ../001501c0183a$2d722900$23d1d4c8@netaruja.com.br/
Also on:    postgresql.org/message-id/001501c0183a$2d722900$23d1d4c8@netaruja.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: fneto@netaruja.com.br
  Subject: Re: crypt function
  In-Reply-To: <001501c0183a$2d722900$23d1d4c8@netaruja.com.br>
  References: <001501c0183a$2d722900$23d1d4c8@netaruja.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox