Search Postgresql Archives

Re: FW: Chunk Delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Reposting accidental private response to list]

On 11/15/07, Abraham, Danny <danny_abraham@xxxxxxx> wrote:
> How do I add a note to a thread?

You add pgsql-general@xxxxxxxxxxxxxx to To: or Cc:. Your mail program
probably has a "Reply to all" button that will accomplish this.

> THE problem is that the table does not have a primary key; Too expensive.

How many attributes? If they're not too many, you could do:

  delete from foo where (a, b) in (select a, b from foo order by a limit 50000);

I take it you want to delete a specific subset of rows, not just random ones?

Alexander.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux