Re: [HACKERS] System Tables and Triggers

2003-03-02 Thread Tom Lane
Stef Telford <[EMAIL PROTECTED]> writes: > This would seem to be a step backwards to me though, as > now we cant even put triggers on the system tables. Is there any > chance of this being lifted ? Not unless you can explain to us how it can be safe to fire arbitrary user-defined code when t

Re: [HACKERS] System Tables and Triggers

2003-03-02 Thread Hans-Jürgen Schönig
Hi Stef I had the same problem some time ago. I wanted to define a trigger firing on CREATE TABLE (pg_class). This won't work because in most cases system tables are not accessed using the "standard" way for processing queries (parse -> rewrite -> plan -> execute). Therefore triggers are not a

[HACKERS] System Tables and Triggers

2003-03-01 Thread Stef Telford
Hello, First of all, kudos on postgreSQL. That being said, am having a slight problem with it, namely, System tables appear to be 'special tables' and disallow triggers. Perhaps its jst the way i am doing it, however, here is a rather trite example to illustrate (file called system.trig):

Re: [HACKERS] System Tables

2002-11-28 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: >> Has anyone of you a good pointer to a description of where in the system >> tables I may find what informations? > The PostgreSQL Developer's Guide has some information: > http://developer.postgresql.org/docs/postgres/catalogs.html > But IIRC it mig

Re: [HACKERS] System Tables

2002-11-28 Thread Andrew J. Kopciuch
On Thursday 28 November 2002 00:32, Steve Jackson wrote: > Hi > > Has anyone of you a good pointer to a description of where in the system > tables I may find what informations? I try to code a generic procedure > which gets information (like field type, field length, foreign keys...) > about table

Re: [HACKERS] System Tables

2002-11-28 Thread Neil Conway
On Thu, 2002-11-28 at 02:32, Steve Jackson wrote: > Has anyone of you a good pointer to a description of where in the system > tables I may find what informations? The PostgreSQL Developer's Guide has some information: http://developer.postgresql.org/docs/postgres/catalogs.html But IIRC it

[HACKERS] System Tables

2002-11-28 Thread Lee Kindness
See: http://www.us.postgresql.org/users-lounge/docs/7.2/postgres/catalogs.html for PostgreSQL 7.2.x, for 7.3 see: http://developer.postgresql.org/docs/postgres/catalogs.html Lee. Steve Jackson writes: > Hi > > Has anyone of you a good pointer to a description of where in the system > t

[HACKERS] System Tables

2002-11-28 Thread Steve Jackson
Hi Has anyone of you a good pointer to a description of where in the system tables I may find what informations? I try to code a generic procedure which gets information (like field type, field length, foreign keys...) about tables and fields from a system table. Thank you for your help in adv

Re: [HACKERS] System Tables

2001-09-14 Thread Peter Eisentraut
Peter Harvey writes: > Are the table structures of the System Tables changed often? Only between major releases (if necessary). > Have they changed from v7.1.1 and v7.1.2? No. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---(end of bro

[HACKERS] System Tables

2001-09-14 Thread Peter Harvey
Are the table structures of the System Tables changed often? Have they changed from v7.1.1 and v7.1.2? Peter -- +--- | Data Architect | your data; how you want it | http://www.codebydesign.com +--- ---(end of broadcast)