[801] in Moira

home help back first fref pref prev next nref lref last post

Re: moira: Ingres system error occurred in add_user_account

daemon@ATHENA.MIT.EDU (David Krikorian)
Sat Oct 15 06:58:39 1994

Date: Sat, 15 Oct 94 06:58:30 -0400
From: David Krikorian <dkk@MIT.EDU>
To: pjb@MIT.EDU
Cc: bug-moira@MIT.EDU, dbadmin@MIT.EDU, op@MIT.EDU, accounts@MIT.EDU
In-Reply-To: [0799] in Moira

[Non-bug-moira people: this is a follow-up to mail about failed
attempts to add a user.  Attempts to add the user with the comment
"conf'd w/ personnel" failed, but with no comment succeeded.]

Pam, it was the apostrophe character which caused the query to fail.
I've heard mostly vague references to the weirdness of quoting (using
the apostrophe character) in Ingres.  But this case makes it look
pretty clear that we should just not be putting apostrophes into
Moira.  I don't know what the circumstances were when you used them
before without failure.  (I don't know of any other problems with
printable characters in Ingres strings -- just the apostraphe.)

BTW, I was able to add the comment with a double-apostrophe (''),
which appears to be Ingres' way of representing an apostrophe within a
text string.  (Ingres text strings are, 'like this,' surrounded by
apostrophes.)

bug-moira and ops people: the errors generated were (from /moira/moira.log):

  Ingres system error occurred code 40100

  SQL error text = E_LQ006A The result of a singleton SELECT query is a
  table of more than one row.

  Moira server encountered INGRES ERROR 40100
  Ingres system error occurred (Query failed)

The line with INGRES ERROR went into /moira/critical.log.
(These paths are on Moira.mit.edu.)

home help back first fref pref prev next nref lref last post