Re: [GENERAL] Functions

1999-11-03 Thread Simon Drabble
-University of California at Berkeley > 2232 Piedmont Avenue #2120 -Berkeley, California, 94720-2120 USA > http://demog.berkeley.edu/~aperrin --SEIU1199 > > On Wed, 3 Nov 1999, Simon Drabble wrote: > > > Ok, following on from the previous stuff, I&

Re: [GENERAL] Functions

1999-11-03 Thread Simon Drabble
- > Aaron J. Seigo > Sys Admin Ok, thanks, I must admit I wasn't really aware of pl/pgsql, so this gives me a reason to look into it. Simon. > -- "Linux - open doors, not windows." Simon Drabble It's like karma for your brain. [EMAIL PROTECTED]

[GENERAL] Functions

1999-11-03 Thread Simon Drabble
d be the parameter passed to the function: SELECT fn_fubar(20); Simon Buying a SQL book this weekend :) -- "Linux - open doors, not windows." Simon Drabble It's like karma for your brain. [EMAIL PROTECTED]

Re: [GENERAL] insert explanation

1999-10-13 Thread Simon Drabble
ld someone help me to understand this please? > > Regards, > Chai 17681: oid (object ID) of the inserted row 1: number of rows inserted. Simon. -- "Linux - open doors, not windows." Simon Drabble It's like karma for your brain. [EMAIL PROTECTED]

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Simon Drabble
The postmaster will croak if that file exists > when it tries to start again. Hmm. > > -=Fozz > > -- > Doran L. Barton <[EMAIL PROTECTED]> would this not be better? while : do test -e /tmp/.s.PGSQL.5432 && rm /tmp/.s.PGSQL.5432 postmaster >> post.out

Re: [GENERAL] Boneheaded Setup?

1999-08-24 Thread Simon Drabble
nce you have done this, you can add powner as a postgres user and assign rights as necessary. the postgres super-user should really be only used to start/ stop the back-end, and create new users (i.e. admin tasks). Use powner to create databases and work with them. Simon. -- "This message

Re: [GENERAL] CVS Import/Export

1999-08-18 Thread Simon Drabble
ar. Simon. -- "Don't anthropomorphise computers - they don't like it." Simon Drabble It's like karma for your brain. [EMAIL PROTECTED]

Re: [GENERAL] psql : Comment?

1999-08-13 Thread Simon Drabble
Got me an office; I'm there late at night. Standard(?) SQL method is to use -- , e.g. CREATE TABLE foo ( bar int,-- an integer baz text-- some text ); Simon. -- "Don't anthropomorphise computers - they don't like it." Simon Drabb

Re: [GENERAL] how to change delimiter single-quote ?

1999-06-29 Thread Simon Drabble
umn) VALUES ('Some ''quoted'' text'); Simon. -- "Half-dead cat found in box -- Animal Rights group seeks Austrian scientist" Simon Drabble Somewhere in cyberspace [EMAIL PROTECTED]

Re: [GENERAL] Problems with INSERT INTO?

1999-05-24 Thread Simon Drabble
On Mon, 24 May 1999, Simon Drabble wrote: > On Mon, 24 May 1999, Anna Langer wrote: > > > When we created the table in the database we set the attribut to int4. > > We get the problem when we trying to move the interger to the database. > > > > int a=500; >

Re: [GENERAL] Problems with INSERT INTO?

1999-05-24 Thread Simon Drabble
ration shut the system down. Evidently, the software identified Windows NT itself as a virus and disabled it. -- http://www.vcnet.com/bmc/departments/nt/bugs.shtml Simon Drabble Somewhere in cyberspace [EMAIL PROTECTED]

[GENERAL] Selecting from arrays

1999-05-07 Thread Simon Drabble
ent. Is there a quick way to retrieve these rows? Simon. -- Caveat lector Simon Drabble Somewhere in cyberspace [EMAIL PROTECTED]

Re: [GENERAL] The WWW of PostgreSQL

1999-04-15 Thread Simon Drabble
there was no scroll bar in that frame. (I take it that's a frame down thar). In fact some of the menu items were barely visible at all. :( Si. -- "The real reason Heisenberg and Schrodinger didn't get along is because, unknown to many historians, Heisenberg had a dog." Simon Drabble Somewhere in cyberspace

[GENERAL] Foreign Keys

1999-03-08 Thread Simon Drabble
should come with an `Undo' button." Simon Drabble [EMAIL PROTECTED]

[GENERAL] Book recommendation

1999-02-12 Thread Simon Drabble
I'm looking for a really good book on SQL (not Postgres particularly) to include such arcanery as Triggers Stored procedures Query optimisation Examples illustrating these concepts will be a big bonus. Any recommendations? Si. -- Simon Drabble [EMAIL PROTECTED]

Re: [GENERAL] psql -e problem

1999-02-05 Thread Simon Drabble
the members database is not created. > > > > Apart from separating out all the data (COPY blocks) from the command > > lines, and running two or more separate routines to update the data, is > > there anything I can do? > > > > > > Si. > > >

Re: [GENERAL] How to find names of tables in a database?

1998-10-14 Thread Simon Drabble
tes * Web Developer * http://www.valeriemates.com >[EMAIL PROTECTED] * (734) 995-6716 > --- > > > -- There are three kinds of people in this world: Those who can count, and those who can't. Simon Drabble mailto:[EMAIL PROTECTED] ht