Re: ​ERROR: syntax error at or near "collation"

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: dbatoCloud Solution <dbatocloud17(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: ​ERROR: syntax error at or near "collation"
Date: 2022-01-14 03:43:27
Message-ID: CAKFQuwYr+=rc30UmfTzy-L0yzPPh2Yb6rXpby4i0KMACo3+_AQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thursday, January 13, 2022, dbatoCloud Solution <dbatocloud17(at)gmail(dot)com>
wrote:

>
> Hi All,
>
> I am getting the below error while executing sql file in postgresql ? Can
> somebody suggest plz?
>
>
> SET
> psql:comsod_db_structure.sql:48: ERROR: syntax error at or near
> "collation"
>
> LINE 37: collation varchar(100)
>

Don’t use reserved words as column names.

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2022-01-14 03:58:47 Re: ​ERROR: syntax error at or near "collation"
Previous Message dbatoCloud Solution 2022-01-14 03:40:56 ​ERROR: syntax error at or near "collation"