Re: child/parent creation - Mailing list pgsql-general

From Richard Broersma
Subject Re: child/parent creation
Date
Msg-id AANLkTinsb_Q662DnywF4O3u4iByk4OCv2Zee98cPTv1t@mail.gmail.com
Whole thread Raw
In response to child/parent creation  (Dennis Gearon <gearond@sbcglobal.net>)
List pgsql-general
On Sat, May 29, 2010 at 11:05 AM, Dennis Gearon <gearond@sbcglobal.net> wrote:

> Can the whole three level, 4 member hierarchy be created in one, prepared statement(to avoid SQL injection),
transactionwithout shuttling any information back and forth between the database and the calling script? 

Not yet, but possible in 9.1 this can be done using write-able CTEs if
they are accepted.

http://pgexperts.com/document.html?id=38

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-general by date:

Previous
From: Justin Graf
Date:
Subject: Re: child/parent creation
Next
From: Richard Broersma
Date:
Subject: Write-able CTEs, Update-able views, Hierarchical data, and optimistic locking