Re: [HACKERS] git: uh-oh

2010-08-18 Thread Khee Chin
/dumpfile | git fast-import git reset --hard cd .. --- Regards, Khee Chin. On Wed, Aug 18, 2010 at 11:14 PM, Alvaro Herrera wrote: > Excerpts from Michael Haggerty's message of miƩ ago 18 05:01:29 -0400 2010: > > > cvs2git doesn't currently have this option. I'

Re: [HACKERS] CREATE LIKE INCLUDING COMMENTS and STORAGES

2009-10-04 Thread Khee Chin
CREATE TABLE testdb=> \d foo3; Table "public.foo3" Column | Type | Modifiers +-+--- id | integer | not null Indexes: "foo3_pkey" PRIMARY KEY, btree (id) testdb=> Regards, Khee Chin. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] happy birthday Tom Lane ...

2009-09-18 Thread Khee Chin
Happy birthday Tom, from the sunny island of Singapore. :-) Regards, Khee Chin. On Fri, Sep 18, 2009 at 7:04 PM, Hans-Juergen Schoenig -- PostgreSQL wrote: > Tom, > > On behalf of the entire PostgreSQL team here in Austria I want to wish you a > happy birthday. > We hope tha

Re: [HACKERS] Show method of index

2009-05-11 Thread Khee Chin
Definition -+--+-- pg_expression_1 | text | md5(a::text) pg_expression_2 | text | md5(a || b) btree, for table "public.foo" postgres=# -- Regards, Khee Chin. index.patch Description: Binary data -- Sent via pgsql-hackers mailing list (pgsql-ha

Re: [HACKERS] Show method of index

2009-05-11 Thread Khee Chin
List of relations Schema | Name | Type | Owner | Table | Method | Definition +-+---+--+---++--- public | idx_foo_bt_fooi | index | postgres | foo | btree | md5((a)::text), md5((a || b)) (1 row) postgres=# Regards, Kh

Re: [HACKERS] Show method of index

2009-05-09 Thread Khee Chin
Updated with an additional line in the comments for get_indexdef * if colno == -999, we only want the name of the variables that make up the index Apologies for leaving this out in my earlier post. Regards, Khee Chin. index.patch Description: Binary data -- Sent via pgsql-hackers

Re: [HACKERS] Show method of index

2009-05-09 Thread Khee Chin
s "Expression" FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace LEFT JOIN pg_catalog.pg_index i ON i.indexrelid = c.oid LEFT JOIN pg_catalog.pg_class c2 ON i.indrelid = c2.oid LEFT JOIN pg_catalog.pg_am am ON am.oid = c.relam WHERE c.relkind IN ('i','s',&#x

Re: [HACKERS] Show method of index

2009-05-08 Thread Khee Chin
> > Please add it to wiki.postgresql.org/wiki/CommitFestInProgress > Submitted under http://wiki.postgresql.org/wiki/CommitFest_2009-First#Clients Regards, Khee Chin. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscript

Re: [HACKERS] Show method of index

2009-05-08 Thread Khee Chin
| Table | Method > +---+---+++ > public | test_id_idx | index | postgresql | table1 | btree > public | test_name_idx | index | postgresql | table1 | hash > (2 rows) Attached is a simple patch which adds the above mentioned functionality to psql. Regards, Khee C

Re: [HACKERS] reloptions with a "namespace"

2009-04-03 Thread Khee Chin
used by pg_dumpall on tables created with a fill-factor in 8.3. After some debugging in reloptions.c, I've realised that the issue is caused by fillfactor not having a validnsps in transformRelOptions. Adding an additional condition "&& (validnsps))" at line 595 or 612 appe