Re: [SQL] plsql / time statement

2006-02-28 Thread Steve Crawford
Daniel Caune wrote: Hi, Is there any option to set so that psql provides the execution time of each SQL statement executed? \timing (either as a manual command or as a default in your .psqlrc file). Cheers, Steve ---(end of broadcast)--- TI

[SQL] plsql / time statement

2006-02-28 Thread Daniel Caune
Hi,   Is there any option to set so that psql provides the execution time of each SQL statement executed?   Regards,   -- Daniel CAUNE Ubisoft Online Technology (514) 4090 2040 ext. 5418  

Re: [SQL] PLSQL Question regarding multiple inserts

2004-02-29 Thread V i s h a l Kashyap @ [Sai Hertz And Control Systems]
Dear Humble Geek , -- id is primary key insert into users (id, username) values (nextval('someSeq'),'somename'); -- id is also a PK insert into log (id, uid, message) values (nextval('someOtherSeq'),XXX,'New Account'); Assume XXX is the id from the first insert. How do I get that number? Not currv

[SQL] PLSQL Question regarding multiple inserts

2004-02-29 Thread Humble Geek
Hi all. Quick and perhaps silly question, but... I am using Pg 7.3. I am writing a function using pgplsql. This function will perform multiple inserts. Let's say two of the inserts are as follows: -- id is primary key insert into users (id, username) values (nextval('someSeq'),'somename'); -- id

Re: [SQL] Plsql Function with error: No space left on device.

2001-06-27 Thread Tom Lane
"David M. Richter" <[EMAIL PROTECTED]> writes: > FATAL 2: ZeroFill(/usr/local/pgsql/data/pg_xlog/xlogtemp.30164) failed: > No such file or directory You ran out of disk space. Yes, the error message is misleading. That's fixed in current sources. See also http://www.ca.postgresql.org/mhonarc/

Re: [SQL] Plsql Function with error: No space left on device.

2001-06-26 Thread Tom Lane
"David M. Richter" <[EMAIL PROTECTED]> writes: > The query works, but not right.(apart from the timeaspect) > UPDATE image SET seriesoid = r.parentoid > FROM image i JOIN relseries_image000 r ON i.chilioid=r.childoid; You shouldn't mention "image i" in the FROM clause --- since image is already

Re: [SQL] PLSQL

2000-09-13 Thread Jie Liang
Hi, there, http://www.postgresql.org/doxlist.html I.10, III.45 Paulo Roberto Siqueira wrote: > Where can I find a tutorial on PL/SQL for postgres? Is there any > documentation focused on it on postgres' site? > > Thank you -- Jie LIANG Internet Products Inc. 10350 Science Cent

Re: [SQL] PLSQL

2000-09-13 Thread Josh Berkus
Sr. Siquiera, > Where can I find a tutorial on PL/SQL for postgres? Is there any > documentation focused on it on postgres' site? Try: http://www.postgresql.org/users-lounge/docs/v7.0/postgres/c4091.htm -Josh -- __AGLIO DATABASE SOLUTIONS___

[SQL] PLSQL

2000-09-12 Thread Paulo Roberto Siqueira
Where can I find a tutorial on PL/SQL for postgres? Is there any documentation focused on it on postgres' site? Thank you