Unix Technical Forum

actualized SQL/PSM patch

This is a discussion on actualized SQL/PSM patch within the Pgsql Patches forums, part of the PostgreSQL category; --> "Pavel Stehule" <pavel.stehule@gmail.com> writes: > I thinking about new directory structure (some like) > pl/sqlsp/ .. sql Stored Procedures ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 04-19-2008, 07:27 AM
Tom Lane
 
Posts: n/a
Default Re: actualized SQL/PSM patch

"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> I thinking about new directory structure (some like)


> pl/sqlsp/ .. sql Stored Procedures
> pl/sqlsp/utils
> pl/sqlsp/plpgsql - only plpgpsm code
> pl/sqlsp/plpgpsm - only plpgsql code


Maybe "common" instead of "utils"?

Also, where did "plpgpsm" come from? This is supposed to be a standard,
so there is no reason to designate it as PG-specific. plpsm seems the
right name.

regards, tom lane

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 04-19-2008, 07:27 AM
Bruce Momjian
 
Posts: n/a
Default Re: actualized SQL/PSM patch

Andrew Dunstan wrote:
>
>
> Jonah H. Harris wrote:
> > On Tue, Apr 1, 2008 at 5:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >
> >> The fundamental problem I've got with this patch is that it adds 400K
> >> of new code (and that's just the code, not counting documentation or
> >> regression tests) that we'll have to maintain, to obtain a feature that
> >> so far as I've heard there is precisely zero demand for.
> >>

> >
> > We have a customer that wants to use it as part of a MySQL-to-Postgres
> > migration.
> >
> >

>
> Using an implementation like this? I suspect anyone wanting to migrate
> their existing SQL/PSM stuff to Postgres will be less than impressed by
> our "function body as a string" mechanism.


What is your point? That because of the $$ strings they might as well
rewrite the whole thing in PL/pgSQL.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 04-19-2008, 07:27 AM
Bruce Momjian
 
Posts: n/a
Default Re: actualized SQL/PSM patch

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > ... I suspect anyone wanting to migrate
> > their existing SQL/PSM stuff to Postgres will be less than impressed by
> > our "function body as a string" mechanism.

>
> Yeah, that's the other little problem with claiming standards-compliance
> as a reason for doing this. We'd really have to suck it up and figure
> some other way of parsing function bodies.


Oh, I understand now, that we aren't going to be 100% standards
compliant based on how we quote our function bodies --- I understand
Andrew's point now.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com