Re: WIP Patch - Updateable Cursors

From: "FAST PostgreSQL" <fastpgs(at)fast(dot)fujitsu(dot)com(dot)au>
To: Bruce Momjian <bruce(at)momjian(dot)us>, "John Bartlett" <johnb(at)fast(dot)fujitsu(dot)com(dot)au>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WIP Patch - Updateable Cursors
Date: 2007-03-01 04:17:19
Message-ID: 13067.12071172636214.fast.fujitsu.com.au@MHS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Wed, 28 Feb 2007 09:48, Bruce Momjian wrote:

[Added a subejct line]

> FYI, I am not going to be comfortable accepting a final patch that
> contains this email signature:
>
> This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN
> 27 003 693 481. It is confidential to the ordinary user of the email
> address to which it was addressed and may contain copyright and/or
> ---------------------
> legally privileged information. No one else may read, print, store, copy
> or forward all or any of it or its attachments. If you receive this
> email in error, please return to s ender. Thank you.
>
> unless you provide additional details on your contribution of this code
> under a BSD license.

We are happy to provide that. If and when it comes to the final patch being
accepted, we can send a copyright waiver mail which will put our source code
contribution under the BSD license.

Rgds,
Arul Shaji

>
> ---------------------------------------------------------------------------
>
> John Bartlett wrote:
> > Hi,
> >
> >
> >
> > This is the first posting to the community of the WIP patch for the
> > Updatable Cursor implementation.
> >
> >
> >
> > I want to confirm that the community is satisfied that the effort to date
> > is in a suitable direction and to get comments on the development to
> > date.
> >
> >
> >
> > The patch is in the following state:
> >
> >
> >
> > The grammar definition is complete and 'yacc'ed to produce gram.y.c.
> >
> >
> >
> > The functions transformUpdateStmt and transformDeleteStmt have been
> > updated to process the cursor name and obtain the related portal.
> >
> >
> >
> > The change to save the current tuple id (ctid) into the portal, related
> > to the Fetch command has been done.
> >
> >
> >
> > The ctids relating to the Update/Delete statements' TidScan are being
> > extracted to be saved in the executor.
> >
> >
> >
> > The parts in progress are to complete the saving of the ctids from the
> > TidScan into a list stored in a file, plus related searching the list for
> > an individual ctid obtained from the Update/Delete statements.
> >
> >
> >
> > Unstarted as yet:
> >
> >
> >
> > 1) Correctly process, in the database, the Delete / Update of
> > the tuple from the cursor.
> >
> > 2) To enable the cursor name to be defined as a parameter in a
> > PREPARE statement and provided as part if an EXECUTE statement.
> >
> >
> >
> > The community may wish to comment on the following issue:
> >
> >
> >
> > 1) At present the file that will contain the list of ctids is going
> > into a new directory called pg_ctids, analogous to pg_twophase, and also
> > stored in the pg_data directory.
> >
> >
> >
> > Regards,
> > John Bartlett
> >
> > This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN
> > 27 003 693 481. It is confidential to the ordinary user of the email
> > address to which it was addressed and may contain copyright and/or
> > legally privileged information. No one else may read, print, store, copy
> > or forward all or any of it or its attachments. If you receive this email
> > in error, please return to sender. Thank you.
> >
> > If you do not wish to receive commercial email messages from Fujitsu
> > Australia Software Technology Pty Ltd, please email
> > unsubscribe(at)fast(dot)fujitsu(dot)com(dot)au
>
> [ Attachment, skipping... ]
>
> > ---------------------------(end of broadcast)---------------------------
> > TIP 9: In versions below 8.0, the planner will ignore your desire to
> > choose an index scan if your joining column's datatypes do not
> > match
This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 481. It is confidential to the ordinary user of the email address to which it was addressed and may contain copyright and/or legally privileged information. No one else may read, print, store, copy or forward all or any of it or its attachments. If you receive this email in error, please return to sender. Thank you.

If you do not wish to receive commercial email messages from Fujitsu Australia Software Technology Pty Ltd, please email unsubscribe(at)fast(dot)fujitsu(dot)com(dot)au

In response to

  • Re: at 2007-02-27 22:48:52 from Bruce Momjian

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mageshwaran 2007-03-01 04:19:42 Re: POSTGRES WAL
Previous Message Bruno Wolff III 2007-03-01 03:53:21 Re: [HACKERS] urgent: upgraded to 8.2, getting kernel panics

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Glaesemann 2007-03-01 04:41:45 Re: Numeric patch to add special-case representations for < 8 bytes
Previous Message Kris Jurka 2007-03-01 04:01:53 Re: lo_truncate