Re: [BUGS] ALTER USER SET log_* not allowed...

2004-11-10 Thread Andrew McMillan
entirely. Of course you are superuser when you review such logs, but I wouldn't usually want the db connection from the application to have to run as superuser if I could help it... especially not a web application. Regards, Andrew McMillan. ---

Re: [BUGS] PG do not accept quoted names for tables/columns

2003-02-06 Thread Andrew McMillan
On Thu, 2003-02-06 at 22:26, Yaniv Hamo wrote: > Hi, > I noticed that Postgres issues a fatal error when given a quoted name of > table or column. This is a problem in secured cgi scripts, which quote > everything they get from the user, to avoid malicious users from trying to > execute SQL comma

Re: [BUGS] Bug #891: CAP letters

2003-02-04 Thread Andrew McMillan
On Tue, 2003-02-04 at 21:00, [EMAIL PROTECTED] wrote: > venu ([EMAIL PROTECTED]) reports a bug with a severity of 3 > The lower the number the more severe it is. > > Short Description > CAP letters > > Long Description > i want to port SQL server database to Postgresql,while porting i am > encout

Re: [BUGS] drop tempoary table VERY slow

2002-06-06 Thread Andrew McMillan
On Thu, 2002-06-06 at 01:54, Sam Liddicott wrote: > > > > It would be interesting to see the 'vacuum full analyze' > > results for the > > system tables in that DB, although perhaps less interesting while you > > are running your current solution - maybe a comparison would be > > worthwhile. >

Re: [BUGS] drop tempoary table VERY slow

2002-06-05 Thread Andrew McMillan
On Wed, 2002-06-05 at 21:02, Sam Liddicott wrote: > > > > When did you last do a vacuum? If you are adding and > > dropping temporary > > tables a lot, perhaps you should vacuum pg_class and > > pg_attribute often > > as well. > > I do a vacuum analyse every night on that whole DB, cron logs

Re: [BUGS] drop tempoary table VERY slow

2002-06-02 Thread Andrew McMillan
On Fri, 2002-05-31 at 22:28, Sam Liddicott wrote: > And when I do drop a table CPU usage goes to 99% on one CPU. When did you last do a vacuum? If you are adding and dropping temporary tables a lot, perhaps you should vacuum pg_class and pg_attribute often as well. Regards,

Re: [BUGS] Documentation regarding %ROWTYPE in PL/PgSQL

2002-05-30 Thread Andrew McMillan
On Wed, 2002-05-29 at 01:41, Tom Lane wrote: > > > Is it a good idea to provide an example (such as the above), or should I > > just try and describe the behaviour? > > Examples are generally good things ... OK, the attached documentation patch provides some simple examples of use of tablename

Re: [BUGS] Documentation regarding %ROWTYPE in PL/PgSQL

2002-05-28 Thread Andrew McMillan
On Tue, 2002-05-28 at 04:59, Tom Lane wrote: > Andrew McMillan <[EMAIL PROTECTED]> writes: > > Reading between a few lines I got the impression that the manual > > suggested something like: > > CREATE or REPLACE myfunc( tablename%ROWTYPE ) RETURNS ... > > When I f

[BUGS] Documentation regarding %ROWTYPE in PL/PgSQL

2002-05-27 Thread Andrew McMillan
I recently referred to the manual (section 23.3) to work out how to write a PL/PgSQL function that accepted a row as a parameter. Reading between a few lines I got the impression that the manual suggested something like: CREATE or REPLACE myfunc( tablename%ROWTYPE ) RETURNS ... When I finally g

Re: [BUGS] Bug #605: timestamp(timestamp('a timestamp)) no longer works

2002-03-01 Thread Andrew McMillan
On Sat, 2002-03-02 at 04:16, Thomas Lockhart wrote: > > timestamp(timestamp('a timestamp)) no longer works > > I do this reasonably often in my code by way of being paranoid > > that I might have a date, or a time, where I for sure _really_ > > want it to be a timestamp... > > pcnz=# select timest

Re: [BUGS] Cannot Create plpqsql function!

2001-04-26 Thread Andrew McMillan
Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 ---(end of broadcast)

Re: [BUGS] subselects doesn't work in v7.0.3

2001-01-05 Thread Andrew McMillan
with IN ( ... ) and the use of indexes - you would get better results using EXISTS. Cheers, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267

Re: [BUGS] NT Binary V7.0 - postgres fails start cause PG_VERSION

2000-11-14 Thread Andrew McMillan
0 > , not 7.0 > > No file was uploaded with this report >From the line break in the "should be 7.0 , not 7.0" I wonder if it isn't a CRLF vs LF problem? Regards, Andrew. -- __

Re: [BUGS] Re: to_date problems (Re: Favor for Postgres User at WSI)

2000-11-12 Thread Andrew McMillan
solution. something like: set CENTURY_WINDOW TO '1980'; Would be nicest. Regards, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225

Re: [BUGS] Damn bug!

2000-07-20 Thread Andrew McMillan
{"not","other","full"} {"not","other","full"} (2 rows) testing=# update t1 set c1[2] = 'strange', c1[3] = 'notfull'; UPDATE 2 testing=# select * from t1; c1 -- {"not","strange","full"} {"not","strange","full"} (2 rows) -- So it looks like UPDATE is silently ignoring second and subsequent references to the same array variable. In most cases... A good workaround muight be for you to use the '{"blah", "blah", "blah"}' syntax for updating the array, although it's a pretty messy syntax. Cheers, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267

[BUGS] Periodic freezing of backend processes

2000-07-09 Thread Andrew McMillan
logging except that whenever I do that I tend to run out of disk space :-( Thanks, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267