pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedmetadata as XML
3+ messages / 3 participants
[nested] [flat]
* metadata as XML
@ 2009-12-29 20:35 mesued <mesued@gmail.com>
2009-12-30 22:15 ` Re: metadata as XML Richard Broersma <richard.broersma@gmail.com>
2009-12-30 23:58 ` Re: metadata as XML John R Pierce <pierce@hogranch.com>
0 siblings, 2 replies; 3+ messages in thread
From: mesued @ 2009-12-29 20:35 UTC (permalink / raw)
To: pgsql-jdbc
Dear group:
I've a XML formatted data about quality information of my existing
tables in pg database. Hence, I want to store it onto my pg database
as a table and link it with respective existing table. Secondly,
later, I've to call it from the client (browser) side to enable users
get access to the XML data (to help users read the metadata
information about each table).
Could anyone help me figure this out???
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: metadata as XML
2009-12-29 20:35 metadata as XML mesued <mesued@gmail.com>
@ 2009-12-30 22:15 ` Richard Broersma <richard.broersma@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Richard Broersma @ 2009-12-30 22:15 UTC (permalink / raw)
To: mesued <mesued@gmail.com>; +Cc: pgsql-jdbc
On Tue, Dec 29, 2009 at 12:35 PM, mesued <mesued@gmail.com> wrote:
> Could anyone help me figure this out???
I would like to help, but I don't know much about XML other than where
it is located the PostgreSQL docs:
http://www.postgresql.org/docs/8.4/static/functions-xml.html
HTH.
--
Regards,
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: metadata as XML
2009-12-29 20:35 metadata as XML mesued <mesued@gmail.com>
@ 2009-12-30 23:58 ` John R Pierce <pierce@hogranch.com>
1 sibling, 0 replies; 3+ messages in thread
From: John R Pierce @ 2009-12-30 23:58 UTC (permalink / raw)
To: mesued <mesued@gmail.com>; +Cc: pgsql-jdbc
mesued wrote:
> Dear group:
>
> I've a XML formatted data about quality information of my existing
> tables in pg database. Hence, I want to store it onto my pg database
> as a table and link it with respective existing table. Secondly,
> later, I've to call it from the client (browser) side to enable users
> get access to the XML data (to help users read the metadata
> information about each table)
so, you want a table with (tablename text, xml_metadata xml) ?
browsers should under no conditions be connecting directly to your
database, so presumably you'd have a function on the webserver side to
fetch and pass this data back to the client browser.
it seems to me that this metadata is redundant with the information that
can be extractd from information_.schema.tables, ,columns, etc and
perhaps it would be better to have this web service function build your
XML metadata on the fly from the information_schema rather than manually
storing it seperately in its own table, as this way the returned data
will always be accurate.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2009-12-30 23:58 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 20:35 metadata as XML mesued <mesued@gmail.com>
2009-12-30 22:15 ` Richard Broersma <richard.broersma@gmail.com>
2009-12-30 23:58 ` John R Pierce <pierce@hogranch.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox