| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | jose(at)sferacarta(dot)com (Jose' Soares) |
| Cc: | pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] lock table |
| Date: | 1998-12-11 16:51:44 |
| Message-ID: | 199812111651.LAA12851@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Added to TODO.
> Hi all,
>
> I would to report that LOCK TABLE doesn't work outside
> transactions but PostgreSQL accepts this statement outside
> transactions whithout saying nothing...
>
> prova=> begin work;
> BEGIN
> prova=> select * from films where code = 'BL102';
> code |title |did| date_prod|kind |len
> -----+-----------------+---+----------+----------+-----
> BL102|The African Queen|101|1951-08-11|Drama |01:43
> (1 row)
>
> prova=> commit work;
> END
> prova=> lock table films;
> DELETE 0
>
> Jose'
>
>
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 1998-12-11 17:02:38 | Re: [HACKERS] Sigh, build is broken again |
| Previous Message | Bruce Momjian | 1998-12-11 16:50:24 | Re: [HACKERS] Sigh, build is broken again |