Groups
Groups
Sign in
Groups
Groups
sqlparse
Conversations
About
Send feedback
Help
Adding new Keywords
78 views
Skip to first unread message
Cristian Orellana
unread,
Jan 7, 2014, 3:56:13 AM
1/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlp...@googlegroups.com
Hi,
I would like to know what needs to be done in order to add new keyword, in particular I need to add MERGE which is used by Teradata syntax.
I do know that there is a keywords.py file, but I'm not sure if anything else is needed.
Thanks
Andi Albrecht
unread,
Jan 7, 2014, 4:11:42 AM
1/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlp...@googlegroups.com
Hi,
adding those keywords to keywords.py should be sufficiant.
For a similar change refer to this commit:
https://github.com/andialbrecht/sqlparse/commit/22a1f4ae7bad8740e554b73a6b01e8451cb68f33
Best regards,
Andi
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlparse" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sqlparse+u...@googlegroups.com
.
> To post to this group, send email to
sqlp...@googlegroups.com
.
> Visit this group at
http://groups.google.com/group/sqlparse
.
> For more options, visit
https://groups.google.com/groups/opt_out
.
Cristian Orellana
unread,
Jan 7, 2014, 1:22:50 PM
1/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlp...@googlegroups.com
Thanks Andi,
I was able to do it just like you said.
Cheers,
Cristian
Anders Qvist
unread,
Jan 7, 2014, 3:14:48 PM
1/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlp...@googlegroups.com
Submit a patch?
--
Reply all
Reply to author
Forward
0 new messages