Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: [WIP] patch...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 9609 of 11009
Post > Topic >>

Re: [WIP] patch - Collation at database level

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) Jul 2, 2008 at 11:14 AM

Radek Strnad escribió:

> 2) What type should all names in CREATE and DROP statement in gram.y
have?
> I've chosen qualified_name but I know it's not the best choice.

I think it should be ColId.

> 3) All collations are created from existing collations. How do I ensure
that
> the collation already exists? Is there any possibility to define it in
> gram.y?

Certainly not -- shouldn't they come from a catalog?  In that case, it
must come in parse analysis (parser/analyze.c I guess) or perhaps later,
when you actually execute the function to create the new collation.

> 5) Also can you look at the pg_catalog and tell me if anything is wrong
with
> it?

Why does a collation have a schema?

What's the "existing collation"?

It seems a bit silly to have enum for what are basically boolean
variables.  Why not just use "true" and "false"?
 
-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 sup****t

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 4 Posts in Topic:
Re: [WIP] patch - Collation at database level
alvherre@[EMAIL PROTECTED  2008-07-02 11:14:23 
Re: [WIP] patch - Collation at database level
tgl@[EMAIL PROTECTED] (T  2008-07-02 12:55:42 
Re: [WIP] patch - Collation at database level
alvherre@[EMAIL PROTECTED  2008-07-02 13:02:36 
Re: [WIP] patch - Collation at database level
Zdenek.Kotala@[EMAIL PROT  2008-07-09 15:18:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 8:23:25 CST 2008.