Skip site navigation (1) Skip section navigation (2)

Re: SQL/XML publishing function experimental patch

From: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: SQL/XML publishing function experimental patch
Date: 2005-09-12 17:41:09
Message-ID: BAY20-F1899DEA2C1EFC4EE0D2ABCF99D0@phx.gbl (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
>1. Why did you base the datatype on cstring?  That's inappropriate for
>anything except guaranteed-short strings, because it's not toastable.

It's only my laziness. I can adapt patch for TEXT. It's only temporary 
solution. The goal is true xml type.

>2. Is it really necessary to hack up the grammar for this?  Seems like
>you should create ordinary functions to manipulate the datatype(s).
>If every datatype thought it could do this sort of thing, we'd have
>a completely unmanageable grammar.
>			regards, tom lane

I prefere any general solution. But there isn't. I hope SQL/XML syntax is 
exception and the solution SQL/XML function is relative clean. There was 
ideas about pretranslators from different syntaxs. Is this idea dead?

Pavel Stehule

Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci.

In response to

pgsql-patches by date

Next:From: Neil ConwayDate: 2005-09-12 17:53:28
Subject: Re: docs: config chapter
Previous:From: Peter EisentrautDate: 2005-09-12 16:56:30
Subject: Re: Autovacuum docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group